MeVisLabToolboxReference
GLRenderBuffer Class Reference

RenderBuffer resource (frame_buffer_object extension) More...

#include <mlGLResources.h>

Inheritance diagram for GLRenderBuffer:
GLResource

List of all members.

Public Member Functions

 GLRenderBuffer ()
 ~GLRenderBuffer ()
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

RenderBuffer resource (frame_buffer_object extension)

Definition at line 130 of file mlGLResources.h.


Constructor & Destructor Documentation

GLRenderBuffer::GLRenderBuffer ( ) [inline]

Definition at line 132 of file mlGLResources.h.

GLRenderBuffer::~GLRenderBuffer ( ) [inline]

Definition at line 133 of file mlGLResources.h.


Member Function Documentation

virtual void GLRenderBuffer::contextDestroyed ( ) [inline, virtual]

forget the resource, the context was destroyed

Implements GLResource.

Definition at line 148 of file mlGLResources.h.

void GLRenderBuffer::create ( )

create the program (requires valid GL context)

void GLRenderBuffer::destroy ( )

destroy the resource

GLuint GLRenderBuffer::getHandle ( ) const [inline]

get the program's handle (you need to create() the buffer before you get a handle)

Definition at line 136 of file mlGLResources.h.

bool GLRenderBuffer::isValid ( ) const [inline]

check if the program is valid

Definition at line 139 of file mlGLResources.h.


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