IGraphicsDeviceManager Interface
Namespace: Stride.GamesAssembly: Stride.Games.dll
Defines the interface for an object that manages a GraphicsDevice.
public interface IGraphicsDeviceManager
Name | Description | |
---|---|---|
Methods | ||
BeginDraw() | Starts the drawing of a frame. |
|
CreateDevice() | Called to ensure that the device manager has created a valid device. |
|
EndDraw(Boolean) | Called by the game at the end of drawing; if requested, presents the final rendering. |
Methods
BeginDraw()
Starts the drawing of a frame.
bool BeginDraw()
Returns
Type | Description |
---|---|
System.Boolean |
|
CreateDevice()
Called to ensure that the device manager has created a valid device.
void CreateDevice()
EndDraw(Boolean)
Called by the game at the end of drawing; if requested, presents the final rendering.
void EndDraw(bool present)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | present |