public Game1() { graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = 1280; graphics.PreferredBackBufferHeight = 768; graphics.GraphicsProfile = GraphicsProfile.HiDef; graphics.ApplyChanges(); input = new InputEngine(this); debug = new DebugEngine(); shapeDrawer = new ImmediateShapeDrawer(); IsMouseVisible = true; Content.RootDirectory = "Content"; }
public Game1() { graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = 1920; graphics.PreferredBackBufferHeight = 1080; graphics.GraphicsProfile = GraphicsProfile.HiDef; graphics.ApplyChanges(); FourK_RT = new RenderTarget2D(GraphicsDevice, 3820, 2160, false, SurfaceFormat.Color, DepthFormat.Depth24Stencil8); input = new InputEngine(this); debug = new DebugEngine(); shapeDrawer = new ImmediateShapeDrawer(); Window.AllowUserResizing = true; IsMouseVisible = true; Content.RootDirectory = "Content"; }