CSEngine
|
#include <ForwardRenderGroup.h>
Public Member Functions | |
ForwardRenderGroup (const RenderMgr &renderMgr) | |
~ForwardRenderGroup () override | |
void | RegisterObject (SIRender *object) override |
void | RemoveObjects (SIRender *object) override |
void | RenderAll (const CameraBase &camera) const override |
void | Exterminate () override |
Public Member Functions inherited from CSE::SRenderGroup | |
SRenderGroup (const RenderMgr &renderMgr) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from CSE::SRenderGroup | |
static void | BindSourceBuffer (const SFrameBuffer &buffer, const GLProgramHandle &handle, int layout) |
Protected Attributes inherited from CSE::SRenderGroup | |
const RenderMgr * | m_renderMgr |
This class is used for forward-rendering objects. It contains a collection of objects which should be forward-rendered.
Definition at line 16 of file ForwardRenderGroup.h.
|
explicit |
Constructor for the ForwardRenderGroup class.
renderMgr | The render manager object. |
Definition at line 14 of file ForwardRenderGroup.cpp.
|
overridedefault |
Destructor for the ForwardRenderGroup class.
|
overridevirtual |
Clear all objects in the forward-rendering list.
Implements CSE::SRenderGroup.
Definition at line 98 of file ForwardRenderGroup.cpp.
|
overridevirtual |
Register an object to be forward-rendered.
object | The object to be registered. |
Implements CSE::SRenderGroup.
Definition at line 20 of file ForwardRenderGroup.cpp.
|
overridevirtual |
Remove an object from the forward-rendering list.
object | The object to be removed. |
Implements CSE::SRenderGroup.
Definition at line 32 of file ForwardRenderGroup.cpp.
|
overridevirtual |
Render the objects to be forward-rendered.
camera | Structure containing information values of the camera to be drawn. |
Implements CSE::SRenderGroup.
Definition at line 56 of file ForwardRenderGroup.cpp.
References CSE::LightMgr::AttachLightToShader(), CSE::SRenderGroup::BindSourceBuffer(), CSE::LightMgr::GetLightMapCount(), and CSE::LightMgr::GetShadowCount().