◆ Framebuffer()
Framebuffer::Framebuffer |
( |
Id |
fbo | ) |
|
If the frame buffer has already been initialized, you can pass it in with this constructor
- Parameters
-
fbo | the frame buffer object handle. |
◆ ~Framebuffer()
Framebuffer::~Framebuffer |
( |
| ) |
|
Apply the configuration for this framebuffer to the OpenGL state.
◆ Bind()
void Framebuffer::Bind |
( |
| ) |
|
Bind the texture without applying configuration.
◆ Clear()
void Framebuffer::Clear |
( |
| ) |
|
Clear out this framebuffer.
◆ clearColor
Vector3 Framebuffer::clearColor = Vector3(0.0f, 0.0f, 1.0f) |
What clear color to draw to this frame buffer
◆ clearFlags
int Framebuffer::clearFlags = GL_COLOR_BUFFER_BIT |
What bit(s) to clear in this buffer.
◆ depthTest
bool Framebuffer::depthTest = false |
Should we enable depth testing?
The documentation for this class was generated from the following files: