SharedGraphicsDeviceManager Members
The following tables list the members exposed by the SharedGraphicsDeviceManager type.
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
DefaultBackBufferHeight | Specifies the default back-buffer height. |
![]() ![]() |
DefaultBackBufferWidth | Specifies the default back-buffer width. |
Public Properties
Name | Description | |
---|---|---|
![]() |
Current | Gets the current SharedGraphicsDeviceManager. |
![]() |
GraphicsDevice | Gets the GraphicsDevice associated with the SharedGraphicsDeviceManager. |
![]() |
GraphicsProfile | Gets the GraphicsProfile associated with the SharedGraphicsDeviceManager. |
![]() |
MultiSampleCount | Gets or sets the number of per-pixel samples. |
![]() |
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. |
![]() |
PresentationInterval | Gets or sets the maximum rate at which the swap chain's back buffers can be presented to the front buffer. |
![]() |
RenderTargetUsage | Gets or sets render target usage flags. |
![]() |
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.) |
![]() |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Dispose | Releases the unmanaged resources used by the SharedGraphicsDeviceManager and optionally releases the managed resources. |
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
Public Events
Name | Description | |
---|---|---|
![]() |
DeviceCreated | Raised when a new graphics device is created. |
![]() |
DeviceDisposing | Raised when the GraphicsDevice is being disposed. |
![]() |
DeviceReset | Raised when the GraphicsDevice is reset. |
![]() |
DeviceResetting | Raised when the GraphicsDevice is about to be reset. |
![]() |
Disposed | Raised when the SharedGraphicsDeviceManager is disposed. |
See Also
Reference
SharedGraphicsDeviceManager Class
Microsoft.Xna.Framework Namespace