CSEngine
Loading...
Searching...
No Matches
DepthOnlyRenderGroup.h
1#pragma once
2
3#include "../../Util/Render/SRenderGroup.h"
4#include <list>
5
6namespace CSE {
7
8 class SShaderGroup;
9
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}
void RegisterObject(SIRender *object) override
void RemoveObjects(SIRender *object) override
void RenderAll(const CameraBase &camera) const override
Class for managing rendering operations.
Definition RenderMgr.h:21