Rubeus::GraphicComponents::RGuerrillaRendererComponent class

A guerrilla renderer component. Made for increased performance. Default renderer. Use instead of simple renderer.

Base classes

class RRendererComponent
A renderer component abstraction.

Constructors, destructors, conversion operators

RGuerrillaRendererComponent()
Default constructor.
~RGuerrillaRendererComponent()
Destructor.

Public functions

void begin()
Begins the rendering task.
void submit(const RRenderableObject* renderable) override
Submits the given renderable object.
void end()
Ends the rendering task.
void flush() override
Flushes the render objects.
void push(const RML::Matrix4& matrix) override
Push matrix into render transformation matrix stack.
void pushOverride(RML::Matrix4& matrix) override
Push matrix into render transformation matrix stack.
void pop() override
Pop a matrix from the render stack.

Function documentation

void Rubeus::GraphicComponents::RGuerrillaRendererComponent::submit(const RRenderableObject* renderable) override

Submits the given renderable object.

Parameters
renderable The renderable.

void Rubeus::GraphicComponents::RGuerrillaRendererComponent::push(const RML::Matrix4& matrix) override

Push matrix into render transformation matrix stack.

Parameters
matrix The matrix to add.

void Rubeus::GraphicComponents::RGuerrillaRendererComponent::pushOverride(RML::Matrix4& matrix) override

Push matrix into render transformation matrix stack.

Parameters
matrix The matrix to add.

void Rubeus::GraphicComponents::RGuerrillaRendererComponent::pop() override

Pop a matrix from the render stack.