GLRenderBuffer< TEXTURE_TYPE > Class Template Reference
Detailed Description
template<GLenum TEXTURE_TYPE>
class cy::GLRenderBuffer< TEXTURE_TYPE >
class cy::GLRenderBuffer< TEXTURE_TYPE >
OpenGL render buffer.
This is the base class for helper classes for render to texture in OpenGL.
#include <cyGL.h>
Inheritance diagram for GLRenderBuffer< TEXTURE_TYPE >:
Protected Attributes | |
GLuint | framebufferID |
The frame-buffer ID. | |
GLuint | depthbufferID |
The depth-buffer ID. | |
GLTexture2< TEXTURE_TYPE > | texture |
The buffer texture. | |
GLsizei | bufferWidth |
The width of the frame buffer. | |
GLsizei | bufferHeight |
The height of the frame buffer. | |
GLint | prevBufferID |
Temporary storage for previous frame-buffer used before binding this buffer. | |
GLint | prevViewport [4] |
Temporary storage for the size and position of the previous frame-buffer used before binding this buffer. | |