#include <mlGLResources.h>
Public Member Functions | |
| GLPixelBuffer () | |
| ~GLPixelBuffer () | |
| GLuint | getHandle () const |
| get the pixel buffers'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 pixel buffer (requires valid GL context) | |
| void | destroy () |
| destroy the resource | |
| virtual void | contextDestroyed () |
| forget the resource, the context was destroyed | |
http://www.opengl.org/registry/specs/ARB/pixel_buffer_object.txt
Definition at line 215 of file mlGLResources.h.
| GLPixelBuffer::GLPixelBuffer | ( | ) | [inline] |
Definition at line 217 of file mlGLResources.h.
| GLPixelBuffer::~GLPixelBuffer | ( | ) | [inline] |
Definition at line 218 of file mlGLResources.h.
| virtual void GLPixelBuffer::contextDestroyed | ( | ) | [inline, virtual] |
forget the resource, the context was destroyed
Implements GLResource.
Definition at line 233 of file mlGLResources.h.
| void GLPixelBuffer::create | ( | ) |
create the pixel buffer (requires valid GL context)
| void GLPixelBuffer::destroy | ( | ) |
destroy the resource
| GLuint GLPixelBuffer::getHandle | ( | ) | const [inline] |
get the pixel buffers's handle (you need to create() the buffer before you get a handle)
Definition at line 221 of file mlGLResources.h.
| bool GLPixelBuffer::isValid | ( | ) | const [inline] |
1.5.8