libogc  v2.9.0
Macros
Number of components in an attribute

Macros

#define GX_F32   4
 
#define GX_RGB565   0
 
#define GX_RGB8   1
 
#define GX_RGBA4   3
 
#define GX_RGBA6   4
 
#define GX_RGBA8   5
 
#define GX_RGBX8   2
 
#define GX_S16   3
 
#define GX_S8   1
 
#define GX_U16   2
 
#define GX_U8   0
 

Detailed Description

Macro Definition Documentation

◆ GX_F32

#define GX_F32   4

32-bit floating-point

◆ GX_RGB565

#define GX_RGB565   0

16-bit RGB

◆ GX_RGB8

#define GX_RGB8   1

24-bit RGB

◆ GX_RGBA4

#define GX_RGBA4   3

16-bit RGBA

◆ GX_RGBA6

#define GX_RGBA6   4

24-bit RGBA

◆ GX_RGBA8

#define GX_RGBA8   5

32-bit RGBA

◆ GX_RGBX8

#define GX_RGBX8   2

32-bit RGBX

◆ GX_S16

#define GX_S16   3

Signed 16-bit integer

◆ GX_S8

#define GX_S8   1

Signed 8-bit integer

◆ GX_U16

#define GX_U16   2

Unsigned 16-bit integer

◆ GX_U8

#define GX_U8   0

Unsigned 8-bit integer