GraphicsManager Class |
Namespace: GeonBit.Core.Graphics
public static class GraphicsManager
The GraphicsManager type exposes the following members.
Name | Description | |
---|---|---|
ActiveLightsManager |
Manage lights and serve them to materials.
This object holds the currently active lights manager, given by the scene.
| |
ViewportSize |
Get viewport current size (in pixels).
|
Name | Description | |
---|---|---|
DrawEntity |
Render a renderable entity.
Will either render immediately, or add to the corresponding rendering queue.
| |
DrawTexture(Texture2D, Rectangle, Rectangle) |
Draw a plain texture.
| |
DrawTexture(Texture2D, Rectangle, Vector2, Single, Vector2, NullableColor) |
Draw a plain texture.
| |
DrawTiledTexture |
Draw a tiled texture.
| |
EndDrawFrame |
Finish a drawing frame and render everything in queues.
| |
Initialize |
Init GraphicsManager.
| |
StartDrawFrame |
Start a drawing frame.
| |
Update |
Update the graphics manager.
|
Name | Description | |
---|---|---|
ActiveCamera |
Currently active camera.
| |
GraphicsDevice |
Graphic device pointer.
| |
GraphicsDeviceManager |
Graphic device manager pointer.
|