CSEngine
|
Public Member Functions | |
void | GenerateGBuffer (int width, int height) |
void | AttachGeometryFrameBuffer () const |
void | AttachGeometryFrameBuffer (int target) const |
void | ResizeGBuffer (int width, int height) |
void | ReleaseGBuffer () |
void | BindLightPass (GLProgramHandle *lightPassHandle) |
void | AttachLightPass () const |
void | AttachLightPassTexture (int textureLayout=0) const |
void | RenderLightPass () const |
const std::vector< SIRender * > & | GetRendersLayer () const |
void | PushBackToLayer (SIRender *render) |
void | RemoveToLayer (SIRender *render) |
int | GetWidth () const |
int | GetHeight () const |
GLProgramHandle * | GetLightPassHandle () const |
Definition at line 13 of file SGBuffer.h.
SGBuffer::SGBuffer | ( | ) |
Definition at line 12 of file SGBuffer.cpp.
void SGBuffer::AttachGeometryFrameBuffer | ( | ) | const |
Definition at line 37 of file SGBuffer.cpp.
void SGBuffer::AttachGeometryFrameBuffer | ( | int | target | ) | const |
Definition at line 42 of file SGBuffer.cpp.
void SGBuffer::AttachLightPass | ( | ) | const |
Definition at line 69 of file SGBuffer.cpp.
void SGBuffer::AttachLightPassTexture | ( | int | textureLayout = 0 | ) | const |
Definition at line 73 of file SGBuffer.cpp.
void SGBuffer::BindLightPass | ( | GLProgramHandle * | lightPassHandle | ) |
Definition at line 60 of file SGBuffer.cpp.
void SGBuffer::GenerateGBuffer | ( | int | width, |
int | height ) |
Definition at line 18 of file SGBuffer.cpp.
int SGBuffer::GetHeight | ( | ) | const |
Definition at line 99 of file SGBuffer.cpp.
GLProgramHandle * SGBuffer::GetLightPassHandle | ( | ) | const |
Definition at line 103 of file SGBuffer.cpp.
const std::vector< SIRender * > & SGBuffer::GetRendersLayer | ( | ) | const |
Definition at line 83 of file SGBuffer.cpp.
int SGBuffer::GetWidth | ( | ) | const |
Definition at line 95 of file SGBuffer.cpp.
void SGBuffer::PushBackToLayer | ( | SIRender * | render | ) |
Definition at line 87 of file SGBuffer.cpp.
void SGBuffer::ReleaseGBuffer | ( | ) |
Definition at line 53 of file SGBuffer.cpp.
void SGBuffer::RemoveToLayer | ( | SIRender * | render | ) |
Definition at line 91 of file SGBuffer.cpp.
void SGBuffer::RenderLightPass | ( | ) | const |
Definition at line 79 of file SGBuffer.cpp.
void SGBuffer::ResizeGBuffer | ( | int | width, |
int | height ) |
Definition at line 48 of file SGBuffer.cpp.