#include <FrameBufferObject.h>
Public Member Functions | |
void | BindFBO () |
FrameBufferObject (int autobind=1) | |
~FrameBufferObject () | |
Static Public Member Functions | |
static void | AttachDepthTexture (GLenum textureTarget, GLuint texID) |
static void | AttachRenderBuffer (GLenum attachment, GLuint buffID) |
static void | AttachTexture (GLenum textureTarget, GLenum attachment, GLuint texID) |
static void | DeleteGlobalFBO () |
static void | UnattachRenderBuffer (GLenum attachment) |
static void | UnattachTex (GLenum attachment) |
static void | UnbindFBO () |
Static Public Attributes | |
static int | UseSingleFBO = 1 |
Private Attributes | |
GLuint | _fboID |
Static Private Attributes | |
static GLuint | GlobalFBO = 0 |
Definition at line 28 of file FrameBufferObject.h.
FrameBufferObject::FrameBufferObject | ( | int | autobind = 1 | ) |
Definition at line 38 of file FrameBufferObject.cpp.
Definition at line 51 of file FrameBufferObject.cpp.
void FrameBufferObject::AttachDepthTexture | ( | GLenum | textureTarget, |
GLuint | texID | ||
) | [static] |
Definition at line 69 of file FrameBufferObject.cpp.
void FrameBufferObject::AttachRenderBuffer | ( | GLenum | attachment, |
GLuint | buffID | ||
) | [static] |
Definition at line 95 of file FrameBufferObject.cpp.
void FrameBufferObject::AttachTexture | ( | GLenum | textureTarget, |
GLenum | attachment, | ||
GLuint | texID | ||
) | [static] |
Definition at line 75 of file FrameBufferObject.cpp.
void FrameBufferObject::BindFBO | ( | ) |
Definition at line 80 of file FrameBufferObject.cpp.
void FrameBufferObject::DeleteGlobalFBO | ( | ) | [static] |
Definition at line 60 of file FrameBufferObject.cpp.
void FrameBufferObject::UnattachRenderBuffer | ( | GLenum | attachment | ) | [static] |
Definition at line 101 of file FrameBufferObject.cpp.
void FrameBufferObject::UnattachTex | ( | GLenum | attachment | ) | [static] |
Definition at line 90 of file FrameBufferObject.cpp.
void FrameBufferObject::UnbindFBO | ( | ) | [static] |
Definition at line 85 of file FrameBufferObject.cpp.
GLuint FrameBufferObject::_fboID [private] |
Definition at line 31 of file FrameBufferObject.h.
GLuint FrameBufferObject::GlobalFBO = 0 [static, private] |
Definition at line 30 of file FrameBufferObject.h.
int FrameBufferObject::UseSingleFBO = 1 [static] |
Definition at line 33 of file FrameBufferObject.h.