MeVisLabToolboxReference
|
FrameBufferObject resource (frame_buffer_object extension) More...
#include <mlGLResources.h>
Public Member Functions | |
GLFrameBuffer () | |
~GLFrameBuffer () | |
GLuint | getHandle () const |
get the program's handle (you need to create() the buffer before you get a handle) | |
bool | isValid () const |
check if the program is valid | |
void | create () |
create the program (requires valid GL context) | |
void | destroy () |
destroy the resource | |
virtual void | contextDestroyed () |
forget the resource, the context was destroyed |
FrameBufferObject resource (frame_buffer_object extension)
Definition at line 158 of file mlGLResources.h.
GLFrameBuffer::GLFrameBuffer | ( | ) | [inline] |
Definition at line 160 of file mlGLResources.h.
GLFrameBuffer::~GLFrameBuffer | ( | ) | [inline] |
Definition at line 161 of file mlGLResources.h.
virtual void GLFrameBuffer::contextDestroyed | ( | ) | [inline, virtual] |
forget the resource, the context was destroyed
Implements GLResource.
Definition at line 176 of file mlGLResources.h.
void GLFrameBuffer::create | ( | ) |
create the program (requires valid GL context)
void GLFrameBuffer::destroy | ( | ) |
destroy the resource
GLuint GLFrameBuffer::getHandle | ( | ) | const [inline] |
get the program's handle (you need to create() the buffer before you get a handle)
Definition at line 164 of file mlGLResources.h.
bool GLFrameBuffer::isValid | ( | ) | const [inline] |
check if the program is valid
Definition at line 167 of file mlGLResources.h.