17 void GenerateGBuffer(
int width,
int height);
18 void AttachGeometryFrameBuffer()
const;
19 void AttachGeometryFrameBuffer(
int target)
const;
20 void ResizeGBuffer(
int width,
int height);
21 void ReleaseGBuffer();
23 void AttachLightPass()
const;
24 void AttachLightPassTexture(
int textureLayout = 0)
const;
25 void RenderLightPass()
const;
26 const std::vector<SIRender*>& GetRendersLayer()
const;
27 void PushBackToLayer(
SIRender* render);
28 void RemoveToLayer(
SIRender* render);
31 int GetHeight()
const;
36 std::vector<SIRender*> m_rendersLayer;
44 int m_firstTextureId = -1;
45 int m_secondTextureId = -1;
46 int m_depthTextureId = -1;