public SampleGame() { // create the graphics device manager and set desired screen resolution _graphicsDeviceManager = new GraphicsDeviceManager(this) { PreferredBackBufferWidth = 1440, PreferredBackBufferHeight = 900 }; // give a chance to override selected graphics device settings (for example, to use a WARP adapter) _graphicsDeviceManager.PreparingDeviceSettings += HandlePreparingDeviceSettings; // initialize the camera _camera = new OrbitCamera { Radius = 2f, Target = new Vector3() }; // initialize the keyboard manager _keyboardManager = new KeyboardManager(this); Content.RootDirectory = "Content"; }