GLUS
Functions
glus_image_pkm.h File Reference

Go to the source code of this file.

Functions

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

Function Documentation

GLUSAPI 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.
GLUSAPI 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.