unsigned char m_numChannels
The number of color channels.
unsigned short int m_height
float m_texelSize
The size of a texture pixel.
void save()
Writes the texture to an image file.
Texture & operator=(const Texture &other)
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.