CSEngine
|
#include <DepthOnlyRenderGroup.h>
Public Member Functions | |
DepthOnlyRenderGroup (const RenderMgr &renderMgr) | |
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 responsible for rendering depth only objects for use in creating shadow maps.
Definition at line 13 of file DepthOnlyRenderGroup.h.
|
explicit |
Constructor for the DepthOnlyRenderGroup.
renderMgr | The render manager to use. |
Definition at line 15 of file DepthOnlyRenderGroup.cpp.
|
overridevirtual |
Removes all objects from the render group.
Implements CSE::SRenderGroup.
Definition at line 71 of file DepthOnlyRenderGroup.cpp.
|
overridevirtual |
Register an object to the render group.
object | The object to be registered. |
Implements CSE::SRenderGroup.
Definition at line 18 of file DepthOnlyRenderGroup.cpp.
|
overridevirtual |
Remove an object from the render group.
object | The object to be removed. |
Implements CSE::SRenderGroup.
Definition at line 26 of file DepthOnlyRenderGroup.cpp.
|
overridevirtual |
Rendering for a depth buffer to use for shadows. The render target depends on the shadow settings.
camera | The light(camera) you want to render. |
Implements CSE::SRenderGroup.
Definition at line 44 of file DepthOnlyRenderGroup.cpp.
References CSE::LightMgr::SHADOW_DISTANCE.