static void loadPKMData(const char *filename, ETCHeader *etcHeader, unsigned char **textureData)
Load header and texture data from a pkm file into memory.
static void createTexture(unsigned int width, unsigned int height, GLvoid **textureData)
Create a texture using random data.
static void getCompressedTextureFormats(GLint **textureFormats, int *numberOfTextureFormats)
Uses glGetIntegerv to get the number of compressed texture formats and the formats themselves...
static void deleteTextureData(GLvoid **textureData)
Deletes previously created texture.
static void reversePixelLine(float *destination, const float *source, int lineWidth)
Copies float pixel data of one line of the image from source to destination in the reverse direction...
static void loadData(const char *filename, unsigned char **textureData)
Load texture data from a file into memory.
static bool isETCSupported(bool verbose=false)
Reports whether or not ETC (Ericsson Texture Compression) is supported.