4 using SiliconStudio.Core.Diagnostics;
5 using SiliconStudio.Paradox.Games;
7 namespace SiliconStudio.
Paradox.Graphics.Regression
11 public static readonly
Logger TestGameLogger = GlobalLogger.GetLogger(
"TestGameLogger");
13 public int StopOnFrameCount {
get; set; }
19 GraphicsDeviceManager.PreferredBackBufferWidth = 800;
20 GraphicsDeviceManager.PreferredBackBufferHeight = 480;
21 GraphicsDeviceManager.PreferredDepthStencilFormat = PixelFormat.D24_UNorm_S8_UInt;
22 GraphicsDeviceManager.DeviceCreationFlags = DeviceCreationFlags.Debug;
23 GraphicsDeviceManager.PreferredGraphicsProfile =
new[] { GraphicsProfile.Level_9_1 };
24 StopOnFrameCount = -1;
29 base.Update(gameTime);
Base implementation for ILogger.
Current timing used for variable-step (real time) or fixed-step (game time) games.
int FrameCount
Gets the current frame count since the start of the game.
override void Update(GameTime gameTime)
Reference page contains links to related conceptual articles.