A pointer to the image data or an array of the image data.
Specifies the number of color components in the texture.
If data is an array and width is -1, the width will be infered from the array, otherwise it must be valid.
Specifies the format of the pixel data.
Specifies the data type of the pixel data.
Sets the texture data.