void save()
Writes the texture to an image file.
unsigned char m_numBytesPerChan
The number of bytes per channel.
float m_texelSize
The size of a texture pixel.
This class represents a texture.
Texture & operator=(const Texture &other)
unsigned short int m_width
The dimensions of the texture.
unsigned char m_numChannels
The number of color channels.
unsigned short int m_height