Method | Description | |
---|---|---|
AddRef ( |
Gets a reference to the singleton instance.
|
|
Release ( bool disposing ) : void |
Releases a reference to the singleton instance.
|
|
ResetDevice ( int width, int height ) : void |
Resets the graphics device to whichever is bigger out of the specified resolution or its current size. This behavior means the device will demand-grow to the largest of all its GraphicsDeviceControl clients.
|
Method | Description | |
---|---|---|
CreateDevice ( |
||
GraphicsDeviceService ( ) : Microsoft.Xna.Framework.Graphics |
Constructor is private, because this is a singleton class: client controls should use the public AddRef method instead.
|
public static AddRef ( |
||
windowHandle | ||
width | int | |
height | int | |
return |
public ResetDevice ( int width, int height ) : void | ||
width | int | |
height | int | |
return | void |