#include <mlGLResources.h>

Public Member Functions | |
| GLVertexBuffer () | |
| ~GLVertexBuffer () | |
| GLuint | getHandle () const |
| get the vertex buffer'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 vertex buffer (requires valid GL context) | |
| void | destroy () |
| destroy the resource | |
| virtual void | contextDestroyed () |
| forget the resource, the context was destroyed | |
Definition at line 186 of file mlGLResources.h.
| GLVertexBuffer::GLVertexBuffer | ( | ) | [inline] |
Definition at line 188 of file mlGLResources.h.
| GLVertexBuffer::~GLVertexBuffer | ( | ) | [inline] |
Definition at line 189 of file mlGLResources.h.
| virtual void GLVertexBuffer::contextDestroyed | ( | ) | [inline, virtual] |
forget the resource, the context was destroyed
Implements GLResource.
Definition at line 204 of file mlGLResources.h.
| void GLVertexBuffer::create | ( | ) |
create the vertex buffer (requires valid GL context)
| void GLVertexBuffer::destroy | ( | ) |
destroy the resource
| GLuint GLVertexBuffer::getHandle | ( | ) | const [inline] |
get the vertex buffer's handle (you need to create() the buffer before you get a handle)
Definition at line 192 of file mlGLResources.h.
| bool GLVertexBuffer::isValid | ( | ) | const [inline] |
1.5.8