MeVisLabToolboxReference
GLDisplayList Class Reference

GL display list resource. More...

#include <mlGLResources.h>

Inheritance diagram for GLDisplayList:
GLResource

List of all members.

Public Member Functions

 GLDisplayList ()
 ~GLDisplayList ()
GLuint getHandle () const
 get the display list'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 display list (requires valid GL context)
void destroy ()
 destroy the resource
virtual void contextDestroyed ()
 forget the resource, the context was destroyed

Detailed Description

GL display list resource.

Definition at line 242 of file mlGLResources.h.


Constructor & Destructor Documentation

GLDisplayList::GLDisplayList ( ) [inline]

Definition at line 244 of file mlGLResources.h.

GLDisplayList::~GLDisplayList ( ) [inline]

Definition at line 245 of file mlGLResources.h.


Member Function Documentation

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

forget the resource, the context was destroyed

Implements GLResource.

Definition at line 260 of file mlGLResources.h.

void GLDisplayList::create ( )

create the display list (requires valid GL context)

void GLDisplayList::destroy ( )

destroy the resource

GLuint GLDisplayList::getHandle ( ) const [inline]

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

Definition at line 248 of file mlGLResources.h.

bool GLDisplayList::isValid ( ) const [inline]

check if the program is valid

Definition at line 251 of file mlGLResources.h.


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