#include <GlTextureResource.h>

Public Member Functions | |
| GlTextureResource (GLsizei count) | |
| QGLContext * | getContext () const |
| GLsizei | getCount () const |
| operator const GLuint * () const | |
| operator GLuint () const | |
This class has a conversion operator to allow a GlTextureResource object to be used wherever a GLuint* would normally be used.
Definition at line 88 of file GlTextureResource.h.
| GlTextureResource::GlTextureResource | ( | GLsizei | count | ) |
Constructs a Resource object that wraps OpenGL textures.
| count | The number of textures to create. |
Definition at line 97 of file GlTextureResource.h.
| QGLContext* GlTextureResource::getContext | ( | ) | const |
Gets the context which was active when the object was created.
Definition at line 108 of file GlTextureResource.h.
| GLsizei GlTextureResource::getCount | ( | ) | const |
Gets the number of textures.
Definition at line 118 of file GlTextureResource.h.
| GlTextureResource::operator const GLuint * | ( | ) | const |
Convenience operator which allows this object to be used wherever a const GLuint* would normally be used.
NULL if no textures exist. Definition at line 128 of file GlTextureResource.h.
| GlTextureResource::operator GLuint | ( | ) | const |
Convenience operator which allows this object to be used wherever a GLuint would normally be used.
Definition at line 138 of file GlTextureResource.h.