Ocular Engine
Ocular::Core::ForwardRenderer Class Reference

#include <ForwardRenderer.hpp>

Inheritance diagram for Ocular::Core::ForwardRenderer:

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from Ocular::Core::Renderer
void sort (std::vector< SceneObject * > &objects)
void bindUniforms (SceneObject *object)
- Protected Attributes inherited from Ocular::Core::Renderer
Math::Matrix4x4 m_CurrViewMatrix
Math::Matrix4x4 m_CurrProjMatrix

Detailed Description

Basic forward renderer.

Each object is sorted based off of render priority and proximity to the active camera. They are then rendered individually, one-at-a-time.

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