![]() |
VR-Forces 4.0.4 Class Documentation
|
An object which wraps an OpenGL frame buffer object and allows rendering To a texture. More...
Public Member Functions | |
| DtFrameBufferObject (unsigned int width, unsigned int height) | |
| ~DtFrameBufferObject () | |
| void | resize (unsigned int width, unsigned int height) |
| Resize the frame buffer. | |
| void | attachTexture2D (unsigned int textureId) |
| Attach a texture to the frame buffer object. | |
| bool | valid () |
| Check to see if the frame buffer is valid. | |
| void | bind () |
| Bind the current frame buffer. | |
| void | unbind () |
| Unbind the current frame buffer, use system frame buffer. | |
Protected Attributes | |
| bool | myBoundFlag |
| unsigned int | myFrameBuffer |
| unsigned int | myDepthBuffer |
An object which wraps an OpenGL frame buffer object and allows rendering To a texture.
| makVrv::DtFrameBufferObject::DtFrameBufferObject | ( | unsigned int | width, |
| unsigned int | height | ||
| ) |
| void makVrv::DtFrameBufferObject::resize | ( | unsigned int | width, |
| unsigned int | height | ||
| ) |
Resize the frame buffer.
| void makVrv::DtFrameBufferObject::attachTexture2D | ( | unsigned int | textureId | ) |
Attach a texture to the frame buffer object.
Check to see if the frame buffer is valid.
| void makVrv::DtFrameBufferObject::bind | ( | ) |
Bind the current frame buffer.
| void makVrv::DtFrameBufferObject::unbind | ( | ) |
Unbind the current frame buffer, use system frame buffer.
bool makVrv::DtFrameBufferObject::myBoundFlag [protected] |
unsigned int makVrv::DtFrameBufferObject::myFrameBuffer [protected] |
unsigned int makVrv::DtFrameBufferObject::myDepthBuffer [protected] |