static void saveTexture(const Texture &texture, std::string filename)
TODO.
static Texture readTexture(std::string filename)
Returns a new texture if the file contains readable image data or a null point if the file couldn't b...
unsigned char m_numChannels
The number of color channels.
unsigned short int m_height
This class represents a texture.
unsigned short int m_width
The dimensions of the texture.
unsigned char m_numBytesPerChan
The number of bytes per channel.