CSEngine
Loading...
Searching...
No Matches
SRenderGroup.h
1
#pragma once
2
3
#include "RenderInterfaces.h"
4
#include "SFrameBuffer.h"
5
6
namespace
CSE {
7
class
SRenderGroup
{
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
}
CSE::CameraBase
Definition
CameraBase.h:8
CSE::GLProgramHandle
Definition
GLProgramHandle.h:50
CSE::RenderMgr
Class for managing rendering operations.
Definition
RenderMgr.h:21
CSE::SFrameBuffer
Definition
SFrameBuffer.h:31
CSE::SIRender
Definition
RenderInterfaces.h:39
CSE::SRenderGroup
Definition
SRenderGroup.h:7
CSE::SRenderGroup::BindSourceBuffer
static void BindSourceBuffer(const SFrameBuffer &buffer, const GLProgramHandle &handle, int layout)
Definition
SRenderGroup.cpp:10
Util
Render
SRenderGroup.h
Generated on Fri Nov 15 2024 01:09:32 for CSEngine by
1.9.8