Click or drag to resize
GraphicsManager Class
A global static class for graphic utilities and management.
Inheritance Hierarchy
SystemObject
  GeonBit.Core.GraphicsGraphicsManager

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class GraphicsManager

The GraphicsManager type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberActiveLightsManager
Manage lights and serve them to materials. This object holds the currently active lights manager, given by the scene.
Public propertyStatic memberViewportSize
Get viewport current size (in pixels).
Top
Methods
  NameDescription
Public methodStatic memberDrawEntity
Render a renderable entity. Will either render immediately, or add to the corresponding rendering queue.
Public methodStatic memberDrawTexture(Texture2D, Rectangle, Rectangle)
Draw a plain texture.
Public methodStatic memberDrawTexture(Texture2D, Rectangle, Vector2, Single, Vector2, NullableColor)
Draw a plain texture.
Public methodStatic memberDrawTiledTexture
Draw a tiled texture.
Public methodStatic memberEndDrawFrame
Finish a drawing frame and render everything in queues.
Public methodStatic memberInitialize
Init GraphicsManager.
Public methodStatic memberStartDrawFrame
Start a drawing frame.
Public methodStatic memberUpdate
Update the graphics manager.
Top
Fields
  NameDescription
Public fieldStatic memberActiveCamera
Currently active camera.
Public fieldStatic memberGraphicsDevice
Graphic device pointer.
Public fieldStatic memberGraphicsDeviceManager
Graphic device manager pointer.
Top
See Also