Ocular Engine
|
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 | |
Graphics::UniformBuffer * | m_UniformBufferPerObject |
Math::Matrix4x4 | m_CurrViewMatrix |
Math::Matrix4x4 | m_CurrProjMatrix |
|
protected |
Sorts the objects in the container according to their position to the active camera and their render priority value.