The GraphicsManager type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GraphicsManager(GraphicsDevice, ContentManager) |
Initializes a new instance of the GraphicsManager class.
| |
| GraphicsManager(GraphicsDevice, GameWindow, ContentManager) |
Initializes a new instance of the GraphicsManager class.
|
Methods
| Name | Description | |
|---|---|---|
| CreateRenderContext |
Creates a new render context.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Present |
Presents the current back buffer target into the specified presentation target.
| |
| Render(Boolean) |
Renders the graphics screens to the back buffer.
| |
| Render(IPresentationTarget) |
Renders the graphics screens to the back buffer and presents the result into the given
presentation target.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update |
Updates the graphics screens.
|
Extension Methods
| Name | Description | |
|---|---|---|
| GetCopyFilter |
Gets a default CopyFilter that can be used to copy a texture into a render
target.
(Defined by PostProcessHelper.) | |
| GetDefaultNormalTexture |
Gets a 1x1 normal map. The normal vector is (0, 0, 1).
(Defined by TextureHelper.) | |
| GetDefaultTexture2DBlack |
Gets a black 2D texture with 1x1 pixels.
(Defined by TextureHelper.) | |
| GetDefaultTexture2DWhite |
Gets a white 2D texture with 1x1 pixels.
(Defined by TextureHelper.) | |
| GetDefaultTexture3DBlack |
Gets a black 3D texture with 1x1 pixels.
(Defined by TextureHelper.) | |
| GetDefaultTexture3DWhite |
Gets a white 3D texture with 1x1 pixels.
(Defined by TextureHelper.) | |
| GetDefaultTextureCubeBlack |
Gets a cubemap texture where each face consists of 1 black pixel.
(Defined by TextureHelper.) | |
| GetDefaultTextureCubeWhite |
Gets a cubemap texture where each face consists of 1 white pixel.
(Defined by TextureHelper.) | |
| GetDownsampleFilter |
Gets a default DownsampleFilter that can be used to downsample a texture into
a smaller render target.
(Defined by PostProcessHelper.) | |
| GetNormalsFittingTexture |
Gets the normals fitting texture for calculating "best fit" normals.
(Defined by TextureHelper.) |
Properties
| Name | Description | |
|---|---|---|
| Content |
Gets the content manager that can be used to load predefined DigitalRune Graphics content
(e.g. predefined shaders, post-processing effects, lookup textures, etc.).
| |
| Data |
Gets custom data associated with this graphics service or the graphics device.
| |
| EffectBinders |
Gets or sets the effect binders.
| |
| EffectInterpreters |
Gets or sets the effect interpreters.
| |
| Frame |
Gets the number of the current frame.
| |
| GameForm |
Gets the main Form (main window) of the Game. (Only available in
Windows. Not available on these platforms: Silverlight, Windows Phone 7, Xbox 360.)
| |
| GraphicsDevice |
Gets the graphics device.
| |
| PresentationTargets |
A collection of all presentation targets. (Only available in Windows. Not available on these
platforms: Silverlight, Windows Phone 7, Xbox 360.)
| |
| RenderTargetPool |
Gets or sets the render target pool.
| |
| Screens |
Gets or sets the graphics screens.
|