GraphicsDeviceManager Members
The following tables list the members exposed by the GraphicsDeviceManager type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
GraphicsDeviceManager | Creates a new GraphicsDeviceManager and registers it to handle the configuration and management of the graphics device for the specified Game. |
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
DefaultBackBufferHeight | Specifies the default minimum back-buffer height. |
![]() ![]() |
DefaultBackBufferWidth | Specifies the default minimum back-buffer width. |
Public Properties
Name | Description | |
---|---|---|
![]() |
GraphicsDevice | Gets the GraphicsDevice associated with the GraphicsDeviceManager. |
![]() |
GraphicsProfile | Gets the graphics profile, which determines the graphics feature set. |
![]() |
IsFullScreen | Gets or sets a value that indicates whether the device should start in full-screen mode. |
![]() |
PreferMultiSampling | Gets or sets a value that indicates whether to enable a multisampled back buffer. |
![]() |
PreferredBackBufferFormat | Gets or sets the format of the back buffer. |
![]() |
PreferredBackBufferHeight | Gets or sets the preferred back-buffer height. |
![]() |
PreferredBackBufferWidth | Gets or sets the preferred back-buffer width. |
![]() |
PreferredDepthStencilFormat | Gets or sets the format of the depth stencil. |
![]() |
SupportedOrientations | Gets or sets the display orientations that are available if automatic rotation and scaling is enabled. |
![]() |
SynchronizeWithVerticalRetrace | Gets or sets a value that indicates whether to sync to the vertical trace (vsync) when presenting the back buffer. |
Public Methods
Name | Description | |
---|---|---|
![]() |
ApplyChanges | Applies any changes to device-related properties, changing the graphics device as necessary. |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToggleFullScreen | Toggles between full screen and windowed mode. |
![]() |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
CanResetDevice | Determines whether the given GraphicsDeviceInformation is compatible with the existing graphics device. |
![]() |
Dispose | Releases the unmanaged resources used by the GraphicsDeviceManager and optionally releases the managed resources. |
![]() |
Finalize | (Inherited from Object.) |
![]() |
FindBestDevice | Finds the best device configuration that is compatible with the current device preferences. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDeviceCreated | Called when a device is created. Raises the DeviceCreated event. |
![]() |
OnDeviceDisposing | Called when a device is being disposed. Raises the DeviceDisposing event. |
![]() |
OnDeviceReset | Called when the device has been reset. Raises the DeviceReset event. |
![]() |
OnDeviceResetting | Called when the device is about to be reset. Raises the DeviceResetting event. |
![]() |
OnPreparingDeviceSettings | Called when the GraphicsDeviceManager is changing the GraphicsDevice settings (during reset or recreation of the GraphicsDevice). Raises the PreparingDeviceSettings event. |
![]() |
RankDevices | Ranks the given list of devices that satisfy the given preferences. |
Public Events
Name | Description | |
---|---|---|
![]() |
DeviceCreated | Raised when a new graphics device is created. |
![]() |
DeviceDisposing | Raised when the GraphicsDeviceManager is being disposed. |
![]() |
DeviceReset | Raised when the GraphicsDeviceManager is reset. |
![]() |
DeviceResetting | Raised when the GraphicsDeviceManager is about to be reset. |
![]() |
Disposed | Raised when the GraphicsDeviceManager is disposed. |
![]() |
PreparingDeviceSettings | Raised when the GraphicsDeviceManager is changing the GraphicsDevice settings (during reset or recreation of the GraphicsDevice). |
See Also
Reference
GraphicsDeviceManager Class
Microsoft.Xna.Framework Namespace