GLUS
Functions
glus_image_pkm.c File Reference
#include "GL/glus.h"

Functions

GLUSboolean GLUSAPIENTRY glusImageLoadPkm (const GLUSchar *filename, GLUSpkmimage *pkmimage)
 Loads a PKM image. More...
 
GLUSvoid GLUSAPIENTRY glusImageDestroyPkm (GLUSpkmimage *pkmimage)
 Destroys the content of a PKM structure. More...
 

Function Documentation

GLUSvoid GLUSAPIENTRY glusImageDestroyPkm ( GLUSpkmimage pkmimage)

Destroys the content of a PKM structure.

Has to be called for freeing the resources.

Parameters
pkmimageThe PKM file structure.
GLUSboolean GLUSAPIENTRY glusImageLoadPkm ( const GLUSchar filename,
GLUSpkmimage pkmimage 
)

Loads a PKM image.

Parameters
filenameThe name of the file to load.
pkmimageThe structure to fill the PKM data.
Returns
GLUS_TRUE, if loading succeeded.