MeVisLabToolboxReference
GLFrameBuffer Class Reference

FrameBufferObject resource (frame_buffer_object extension) More...

#include <mlGLResources.h>

Inheritance diagram for GLFrameBuffer:
GLResource

List of all members.

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

Detailed Description

FrameBufferObject resource (frame_buffer_object extension)

Definition at line 158 of file mlGLResources.h.


Constructor & Destructor Documentation

GLFrameBuffer::GLFrameBuffer ( ) [inline]

Definition at line 160 of file mlGLResources.h.

GLFrameBuffer::~GLFrameBuffer ( ) [inline]

Definition at line 161 of file mlGLResources.h.


Member Function Documentation

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.


The documentation for this class was generated from the following file: