1
0
mirror of https://github.com/Memorix101/UnityXNA/ synced 2024-12-30 15:25:35 +01:00
UnityXNA/Assets/Scripts/XNAEmulator/Game/GraphicsDeviceManager.cs

57 lines
1.2 KiB
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
namespace Microsoft.Xna.Framework
{
2023-04-20 01:05:02 +02:00
public class GraphicsDeviceManager
{
private Game game;
2023-04-19 21:55:55 +02:00
private int _preferredBackBufferHeight;
private int _preferredBackBufferWidth;
public GraphicsDevice GraphicsDevice
{
get
{
return game.GraphicsDevice;
}
}
public GraphicsDeviceManager(Game game)
{
// TODO: Complete member initialization
this.game = game;
}
2023-04-19 21:55:55 +02:00
public int PreferredBackBufferWidth
{
get
{
return _preferredBackBufferWidth;
}
set
{
//_shouldApplyChanges = true;
_preferredBackBufferWidth = value;
}
}
public int PreferredBackBufferHeight
{
get
{
return _preferredBackBufferHeight;
}
set
{
//_shouldApplyChanges = true;
_preferredBackBufferHeight = value;
}
}
}
}