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 12 of file SGBuffer.h.
SGBuffer::SGBuffer | ( | ) |
Definition at line 15 of file SGBuffer.cpp.
void SGBuffer::AttachGeometryFrameBuffer | ( | ) | const |
Definition at line 40 of file SGBuffer.cpp.
void SGBuffer::AttachGeometryFrameBuffer | ( | int | target | ) | const |
Definition at line 45 of file SGBuffer.cpp.
void SGBuffer::AttachLightPass | ( | ) | const |
Definition at line 72 of file SGBuffer.cpp.
void SGBuffer::AttachLightPassTexture | ( | int | textureLayout = 0 | ) | const |
Definition at line 76 of file SGBuffer.cpp.
void SGBuffer::BindLightPass | ( | GLProgramHandle * | lightPassHandle | ) |
Definition at line 63 of file SGBuffer.cpp.
void SGBuffer::GenerateGBuffer | ( | int | width, |
int | height | ||
) |
Definition at line 21 of file SGBuffer.cpp.
int SGBuffer::GetHeight | ( | ) | const |
Definition at line 102 of file SGBuffer.cpp.
GLProgramHandle * SGBuffer::GetLightPassHandle | ( | ) | const |
Definition at line 106 of file SGBuffer.cpp.
const std::vector< SIRender * > & SGBuffer::GetRendersLayer | ( | ) | const |
Definition at line 86 of file SGBuffer.cpp.
int SGBuffer::GetWidth | ( | ) | const |
Definition at line 98 of file SGBuffer.cpp.
void SGBuffer::PushBackToLayer | ( | SIRender * | render | ) |
Definition at line 90 of file SGBuffer.cpp.
void SGBuffer::ReleaseGBuffer | ( | ) |
Definition at line 56 of file SGBuffer.cpp.
void SGBuffer::RemoveToLayer | ( | SIRender * | render | ) |
Definition at line 94 of file SGBuffer.cpp.
void SGBuffer::RenderLightPass | ( | ) | const |
Definition at line 82 of file SGBuffer.cpp.
void SGBuffer::ResizeGBuffer | ( | int | width, |
int | height | ||
) |
Definition at line 51 of file SGBuffer.cpp.