KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Images

Platform-independent image representation. More...

Modules

 Format
 Video image formats.
 

Files

file  img.h
 Platform-independent image type.
 

Data Structures

struct  kos_img_t
 Platform-indpendent image type. More...
 

Functions

void kos_img_free (kos_img_t *img, int struct_also)
 Free a kos_img_t object.
 

Detailed Description

Platform-independent image representation.

Function Documentation

◆ kos_img_free()

void kos_img_free ( kos_img_t img,
int  struct_also 
)

Free a kos_img_t object.

This function frees the data in a kos_img_t object, returning any memory to the heap as appropriate. Optionally, this can also free the object itself, if required.

Parameters
imgThe image object to free.
struct_alsoSet to non-zero to free the image object itself, as well as any data contained therein.