Share via


SharedGraphicsDeviceManager Members

The following tables list the members exposed by the SharedGraphicsDeviceManager type.

Public Fields

Name Description
Public Field Static DefaultBackBufferHeight Specifies the default back-buffer height.
Public Field Static DefaultBackBufferWidth Specifies the default back-buffer width.

Public Properties

Name Description
Public Property Current Gets the current SharedGraphicsDeviceManager.
Public Property GraphicsDevice Gets the GraphicsDevice associated with the SharedGraphicsDeviceManager.
Public Property GraphicsProfile Gets the GraphicsProfile associated with the SharedGraphicsDeviceManager.
Public Property MultiSampleCount Gets or sets the number of per-pixel samples.
Public Property PreferredBackBufferFormat Gets or sets the format of the back buffer.
Public Property PreferredBackBufferHeight Gets or sets the preferred back-buffer height.
Public Property PreferredBackBufferWidth Gets or sets the preferred back-buffer width.
Public Property PreferredDepthStencilFormat Gets or sets the format of the depth stencil.
Public Property PresentationInterval Gets or sets the maximum rate at which the swap chain's back buffers can be presented to the front buffer.
Public Property RenderTargetUsage Gets or sets render target usage flags.
Public Property 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
Public Method ApplyChanges Applies any changes to device-related properties, changing the graphics device as necessary.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Dispose Releases the unmanaged resources used by the SharedGraphicsDeviceManager and optionally releases the managed resources.
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

Public Events

Name Description
Public Event DeviceCreated Raised when a new graphics device is created.
Public Event DeviceDisposing Raised when the GraphicsDevice is being disposed.
Public Event DeviceReset Raised when the GraphicsDevice is reset.
Public Event DeviceResetting Raised when the GraphicsDevice is about to be reset.
Public Event Disposed Raised when the SharedGraphicsDeviceManager is disposed.

See Also

Reference

SharedGraphicsDeviceManager Class
Microsoft.Xna.Framework Namespace