CSEngine
Loading...
Searching...
No Matches
SRenderGroup.h
1#pragma once
2
3#include "RenderInterfaces.h"
4#include "SFrameBuffer.h"
5
6namespace CSE {
8 public:
9 SRenderGroup(const RenderMgr& renderMgr) : m_renderMgr(&renderMgr) {}
10 virtual ~SRenderGroup() = default;
11
12 virtual void RegisterObject(SIRender* object) = 0;
13
14 virtual void RemoveObjects(SIRender* object) = 0;
15
16 virtual void RenderAll(const CameraBase& camera) const = 0;
17
18 virtual void Exterminate() = 0;
19
20 protected:
26 static void BindSourceBuffer(const SFrameBuffer& buffer, const GLProgramHandle& handle, int layout);
27
28 protected:
29 const RenderMgr* m_renderMgr;
30 };
31}
Class for managing rendering operations.
Definition RenderMgr.h:21
static void BindSourceBuffer(const SFrameBuffer &buffer, const GLProgramHandle &handle, int layout)