Simple class to hold an OpenGL texture.
void setPixels(void const *data)
Copy pixel data from memory location to the texture.
void getPixels(void *data) const
Copy pixel data from the texture to already-allocated memory location.
~GPUtexture()
Destructor, frees the texture in OpenGL.