class
RLayerA layer class. Manages layer renders and groups.
Contents
Derived classes
- class RMainLayer
- Rendering Layer used for drawing UI elements to the screen.
Constructors, destructors, conversion operators
Public functions
- auto addGameObject(RGameObject* gameObject) -> RLayer& pure virtual
- Adds a game object to this layer.
- void draw() pure virtual
- Draw the complete layer.
Function documentation
Rubeus:: GraphicComponents:: RLayer:: ~RLayer() virtual defaulted
Destructor.
RLayer& Rubeus:: GraphicComponents:: RLayer:: addGameObject(RGameObject* gameObject) pure virtual
Adds a game object to this layer.
Parameters | |
---|---|
gameObject | The game object to pass in. |
Returns | Reference to this layer. Provides chaining group additions. E.g. layer.addGameObject(g1).addGameObject(g2); |
void Rubeus:: GraphicComponents:: RLayer:: draw() pure virtual
Draw the complete layer.