Rubeus::GraphicComponents::RRendererComponent class

A renderer component abstraction.

Base classes

class Rubeus::RMasterComponent
A master component. Serves as parent class for all components.

Derived classes

class RGuerrillaRendererComponent
A guerrilla renderer component. Made for increased performance. Default renderer. Use instead of simple renderer.
class RSimpleRendererComponent
A simple renderer. Only for testing purposes.

Public functions

void submit(const RRenderableObject* renderable) pure virtual
Submits the given renderable object to render queue.
void flush() pure virtual
Flushes the render objects' queue after displaying them.
void push(const RML::Matrix4& matrix) virtual
Push a tranform into the tranformation stack.
void pushOverride(RML::Matrix4& matrix) virtual
Push a tranform into the tranformation stack, while disrespecting already present matrices/.
void pop() virtual
Pop and return a tranform from the tranformation stack.

Function documentation

void Rubeus::GraphicComponents::RRendererComponent::submit(const RRenderableObject* renderable) pure virtual

Submits the given renderable object to render queue.

Parameters
renderable The renderable.

void Rubeus::GraphicComponents::RRendererComponent::push(const RML::Matrix4& matrix) virtual

Push a tranform into the tranformation stack.

Parameters
matrix The Matrix4 object to push in.

void Rubeus::GraphicComponents::RRendererComponent::pushOverride(RML::Matrix4& matrix) virtual

Push a tranform into the tranformation stack, while disrespecting already present matrices/.

Parameters
matrix The Matrix4 object to push in.