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