libnds
Loading...
Searching...
No Matches
Data Fields
sImage Struct Reference

A generic image structure. More...

#include <image.h>

Data Fields

int bpp
 Bits per pixel (should be 4 8 16 or 24)
 
short height
 The height of the image in pixels.
 
union { 
 
   u16 *   data16 
 pointer to 16 bit data.
 
   u32 *   data32 
 pointer to 32 bit data.
 
   u8 *   data8 
 pointer to 8 bit data.
 
image 
 A union of data pointers to the pixel data.
 
unsigned short * palette
 A pointer to the palette data.
 
short width
 The width of the image in pixels.
 

Detailed Description

A generic image structure.


The documentation for this struct was generated from the following file: