Ocular Engine
Ocular::Core::Renderer Class Referenceabstract
Inheritance diagram for Ocular::Core::Renderer:
Ocular::Core::ForwardRenderer Ocular::Editor::ForwardRenderer

Public Member Functions

virtual void render (std::vector< SceneObject * > &objects)=0
virtual void render (std::vector< SceneObject * > &objects, Graphics::Material *material)=0

Protected Member Functions

void sort (std::vector< SceneObject * > &objects)
void bindUniforms (SceneObject *object)

Protected Attributes

Math::Matrix4x4 m_CurrViewMatrix
Math::Matrix4x4 m_CurrProjMatrix

Member Function Documentation

void Ocular::Core::Renderer::sort ( std::vector< SceneObject * > &  objects)

Sorts the objects in the container according to their position to the active camera and their render priority value.

The documentation for this class was generated from the following files: