#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 |
Definition at line 23 of file mlGLResources.h.
| GLResource::GLResource | ( | ) |
| virtual GLResource::~GLResource | ( | ) | [virtual] |
| virtual void GLResource::contextDestroyed | ( | ) | [pure virtual] |
forget the resource, the context was destroyed
Implemented in GL2DFont, GLTexture, GLTextures, GLFragmentProgramARB, GLRenderBuffer, GLFrameBuffer, GLVertexBuffer, GLPixelBuffer, GLDisplayList, GLSLShader, and GLSLProgram.
| static GLenum GLResource::getGLError | ( | ) | [static] |
friend class GLResourceManager [friend] |
Definition at line 38 of file mlGLResources.h.
GLResource* GLResource::_next [protected] |
Definition at line 35 of file mlGLResources.h.
GLResource* GLResource::_previous [protected] |
Definition at line 36 of file mlGLResources.h.
1.5.8