This class is defined to be user friendly for loading texture images in OpenGL.
|
Constructor.
|
|
Constructor with parameter.
|
|
Destructor.
|
|
Gets the data array.
|
|
Gets the GL type of pixels.
|
|
Gets the height.
|
|
Gets the width.
|
|
Loads the file.
|
|
Resizes the memory array to width*height.
|
|
Resizes the memory array to a power of two and fills textureTransform, the transformation to apply in OpenGL to draw the good texture.
|