|
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. | |
Static Public Member Functions | |
| static GLenum | getGLError () |
| Checks 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 |
|
pure virtual |
Forgets the resource; the context was destroyed.
Implemented in GL2DFont, GLTexture, GLTextures, GLFragmentProgramARB, GLRenderBuffer, GLFrameBuffer, GLBuffer, GLSLShader, and GLSLProgram.
|
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.