GUInity
Public Member Functions | Public Attributes | List of all members
Texture Class Reference
Inheritance diagram for Texture:
Asset

Public Member Functions

 Texture (void *buffer, int width, int height)
 
void init ()
 
- Public Member Functions inherited from Asset
 Asset ()
 
virtual ~Asset ()
 
void setAssetID (unsigned int newAssetID)
 
unsigned int getAssetID () const
 
string getPath ()
 
void setPath (string newPath)
 
void setName (string name)
 
string getName ()
 
void setCRC (int crc)
 
int setCRC ()
 

Public Attributes

void * data
 
int width
 
int height
 
GLuint textureID
 

Member Function Documentation

void Texture::init ( )

Once OpenGL data has been loaded, we can get rid of the Image buffer


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