Class for creating and managing the GraphicsDevice, used by the windows forms controls implements the IGraphicsDeviceService, that is responsible for retrieving GraphicsDevice objects. More...
Public Member Functions | |
void | Release (bool disposing) |
Releases a reference to the VisGraphicsDevice instance. More... | |
void | ResetDevice (int width, int height) |
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. More... | |
Static Public Member Functions | |
static VisGraphicsDevice | Add (IntPtr windowHandle, int width, int height) |
Adds a reference to the VisGraphicsDevice instance. Creates the instance, if called for first time. More... | |
Properties | |
GraphicsDevice | GraphicsDevice [get] |
Gets the current graphics device. More... | |
Events | |
EventHandler< EventArgs > | DeviceCreated |
EventHandler< EventArgs > | DeviceDisposing |
EventHandler< EventArgs > | DeviceReset |
EventHandler< EventArgs > | DeviceResetting |
Class for creating and managing the GraphicsDevice, used by the windows forms controls implements the IGraphicsDeviceService, that is responsible for retrieving GraphicsDevice objects.
Definition at line 16 of file VisGraphicsDevice.cs.
|
static |
Adds a reference to the VisGraphicsDevice instance. Creates the instance, if called for first time.
Definition at line 78 of file VisGraphicsDevice.cs.
void visLU.VisGraphicsDevice.Release | ( | bool | disposing) |
Releases a reference to the VisGraphicsDevice instance.
Definition at line 93 of file VisGraphicsDevice.cs.
void visLU.VisGraphicsDevice.ResetDevice | ( | int | width, |
int | height | ||
) |
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.
Definition at line 117 of file VisGraphicsDevice.cs.
|
get |
Gets the current graphics device.
Definition at line 44 of file VisGraphicsDevice.cs.