#include <mlGLResources.h>

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 | |
Definition at line 242 of file mlGLResources.h.
| GLDisplayList::GLDisplayList | ( | ) | [inline] |
Definition at line 244 of file mlGLResources.h.
| GLDisplayList::~GLDisplayList | ( | ) | [inline] |
Definition at line 245 of file mlGLResources.h.
| 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] |
1.5.8