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 |
Forgets the resource; the context was destroyed. More... | |
Static Public Member Functions | |
static GLenum | getGLError () |
Checks for OpenGL error (returns GL_INVALID_OPERATION if there is no valid OpenGL context). More... | |
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 |
|
pure virtual |
Forgets the resource; the context was destroyed.
Implemented in GLSLProgram, GLSLShader, GLBuffer, GLFrameBuffer, GLRenderBuffer, GLFragmentProgramARB, GLTextures, GLTexture, and GL2DFont.
|
static |
|
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.