MeVisLab Toolbox Reference
|
Collection of OpenGL related resource classes, such as textures, buffers, fragment programs etc. More...
#include <mlGLResources.h>
Public Member Functions | |
GLResource () | |
virtual | ~GLResource () |
virtual void | contextDestroyed ()=0 |
forget the resource, the context was destroyed | |
Static Public Member Functions | |
static GLenum | getGLError () |
check for OpenGL error (returns GL_INVALID_OPERATION if there is no valid OpenGL context) | |
Protected Attributes | |
GLResource * | _next |
GLResource * | _previous |
Friends | |
class | GLResourceManager |
Collection of OpenGL related resource classes, such as textures, buffers, fragment programs etc.
Abstract base class for GLResources
Definition at line 27 of file mlGLResources.h.
GLResource::GLResource | ( | ) |
|
virtual |
forget the resource, the context was destroyed
Implemented in GL2DFont, GLTexture, GLTextures, GLFragmentProgramARB, GLRenderBuffer, GLFrameBuffer, GLBuffer, GLSLShader, and GLSLProgram.
|
friend |
Definition at line 42 of file mlGLResources.h.
|
protected |
Definition at line 39 of file mlGLResources.h.
|
protected |
Definition at line 40 of file mlGLResources.h.