KrisLibrary  1.0.0
Public Member Functions | List of all members
GLDraw::GLTextureObject Class Reference

A GL texture object class. Simplifies allocating and cleaning up texture objects. Usually you only need to interact with GLTexture[X]D and the texture management is handled for you. More...

#include <GLTextureObject.h>

Public Member Functions

 GLTextureObject (const GLTextureObject &)
 
 operator bool () const
 
void generate ()
 
void cleanup ()
 
void bind (unsigned int target) const
 
void unbind (unsigned int target) const
 
bool isNull () const
 

Detailed Description

A GL texture object class. Simplifies allocating and cleaning up texture objects. Usually you only need to interact with GLTexture[X]D and the texture management is handled for you.


The documentation for this class was generated from the following files: