CSEngine
Loading...
Searching...
No Matches
DepthOnlyRenderGroup.h
1
#pragma once
2
3
#include "../../Util/Render/SRenderGroup.h"
4
#include <list>
5
6
namespace
CSE {
7
8
class
SShaderGroup;
9
13
class
DepthOnlyRenderGroup
:
public
SRenderGroup
{
14
private
:
15
typedef
std::vector<SIRender*> RenderInterfaces;
16
typedef
std::unordered_map<SShaderGroup*, RenderInterfaces> ProgramRenderLayer;
17
18
public
:
24
explicit
DepthOnlyRenderGroup
(
const
RenderMgr
& renderMgr);
25
31
void
RegisterObject
(
SIRender
*
object
)
override
;
32
38
void
RemoveObjects
(
SIRender
*
object
)
override
;
39
44
void
RenderAll
(
const
CameraBase
& camera)
const override
;
45
49
void
Exterminate
()
override
;
50
51
private
:
52
ProgramRenderLayer m_depthObjects;
53
};
54
}
CSE::CameraBase
Definition
CameraBase.h:8
CSE::DepthOnlyRenderGroup
Definition
DepthOnlyRenderGroup.h:13
CSE::DepthOnlyRenderGroup::RegisterObject
void RegisterObject(SIRender *object) override
Definition
DepthOnlyRenderGroup.cpp:18
CSE::DepthOnlyRenderGroup::Exterminate
void Exterminate() override
Definition
DepthOnlyRenderGroup.cpp:71
CSE::DepthOnlyRenderGroup::RemoveObjects
void RemoveObjects(SIRender *object) override
Definition
DepthOnlyRenderGroup.cpp:26
CSE::DepthOnlyRenderGroup::RenderAll
void RenderAll(const CameraBase &camera) const override
Definition
DepthOnlyRenderGroup.cpp:44
CSE::RenderMgr
Class for managing rendering operations.
Definition
RenderMgr.h:21
CSE::SIRender
Definition
RenderInterfaces.h:39
CSE::SRenderGroup
Definition
SRenderGroup.h:7
Manager
Render
DepthOnlyRenderGroup.h
Generated on Fri Nov 22 2024 01:09:31 for CSEngine by
1.9.8