UnloadImage

Unloads an image

Synopsis

void UnloadImage (void *imageBuffer)

Description

Unloads an image file previously loaded with LoadImage(), and frees all resources acquired during the load process.

Call this function only if you allowed LoadImage() to allocate the destination buffer for you by passing a NULL buffer pointer to LoadImage(). If you allocated your own image buffer and passed it to LoadImage(), you must free the buffer yourself.

Arguments

imageBuffer
Pointer to a buffer which was allocated previously by the LoadImage() function.

Associated Files

lib3do.lib, parse3do.h

See Also

LoadImage