|
enum | RenderGroupMode { FORWARD = 0
, DEFERRED = 1
, DEPTH_ONLY = 2
} |
|
Definition at line 14 of file RenderContainer.h.
◆ RenderGroupMode
enum CSE::RenderContainer::RenderGroupMode |
Definition at line 16 of file RenderContainer.h.
16 {
17 FORWARD = 0,
18 DEFERRED = 1,
19 DEPTH_ONLY = 2,
20 };
◆ RenderContainer()
RenderContainer::RenderContainer |
( |
| ) |
|
◆ ~RenderContainer()
RenderContainer::~RenderContainer |
( |
| ) |
|
◆ Exterminate()
void RenderContainer::Exterminate |
( |
| ) |
|
|
protectedvirtual |
Reimplemented in CSE::RenderMgr.
Definition at line 41 of file RenderContainer.cpp.
41 {
42 m_forwardRenderGroup->Exterminate();
43 SAFE_DELETE(m_forwardRenderGroup);
44 m_deferredRenderGroup->Exterminate();
45 SAFE_DELETE(m_deferredRenderGroup);
46 m_depthOnlyRenderGroup->Exterminate();
47 SAFE_DELETE(m_depthOnlyRenderGroup);
48}
◆ Register()
void RenderContainer::Register |
( |
SIRender * |
object, |
|
|
RenderGroupMode |
groupMode |
|
) |
| |
Definition at line 13 of file RenderContainer.cpp.
13 {
14 switch (groupMode) {
15 case FORWARD:
16 m_forwardRenderGroup->RegisterObject(object);
17 break;
18 case DEFERRED:
19 m_deferredRenderGroup->RegisterObject(object);
20 break;
21 case DEPTH_ONLY:
22 m_depthOnlyRenderGroup->RegisterObject(object);
23 break;
24 }
25}
◆ Remove()
void RenderContainer::Remove |
( |
SIRender * |
object, |
|
|
RenderContainer::RenderGroupMode |
groupFlag |
|
) |
| |
Definition at line 27 of file RenderContainer.cpp.
27 {
28 switch (groupFlag) {
29 case FORWARD:
30 m_forwardRenderGroup->RemoveObjects(object);
31 break;
32 case DEFERRED:
33 m_deferredRenderGroup->RemoveObjects(object);
34 break;
35 case DEPTH_ONLY:
36 m_depthOnlyRenderGroup->RegisterObject(object);
37 break;
38 }
39}
◆ m_deferredRenderGroup
SRenderGroup* CSE::RenderContainer::m_deferredRenderGroup = nullptr |
|
protected |
◆ m_depthOnlyRenderGroup
SRenderGroup* CSE::RenderContainer::m_depthOnlyRenderGroup = nullptr |
|
protected |
◆ m_forwardRenderGroup
SRenderGroup* CSE::RenderContainer::m_forwardRenderGroup = nullptr |
|
protected |
◆ m_height
unsigned int* CSE::RenderContainer::m_height = nullptr |
|
protected |
◆ m_width
unsigned int* CSE::RenderContainer::m_width = nullptr |
|
protected |
The documentation for this class was generated from the following files: