libOGC  1.0
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
Modules | Macros
Texture format

Modules

 Z Texture format
 

Macros

#define GX_CTF_A8   (0x7|_GX_TF_CTF)
 
#define GX_CTF_B8   (0xA|_GX_TF_CTF)
 
#define GX_CTF_G8   (0x9|_GX_TF_CTF)
 
#define GX_CTF_GB8   (0xC|_GX_TF_CTF)
 
#define GX_CTF_R4   (0x0|_GX_TF_CTF)
 
#define GX_CTF_R8   (0x8|_GX_TF_CTF)
 
#define GX_CTF_RA4   (0x2|_GX_TF_CTF)
 
#define GX_CTF_RA8   (0x3|_GX_TF_CTF)
 
#define GX_CTF_RG8   (0xB|_GX_TF_CTF)
 
#define GX_CTF_YUVA8   (0x6|_GX_TF_CTF)
 
#define GX_CTF_Z16L   (0xC|_GX_TF_ZTF|_GX_TF_CTF)
 
#define GX_CTF_Z4   (0x0|_GX_TF_ZTF|_GX_TF_CTF)
 
#define GX_CTF_Z8L   (0xA|_GX_TF_ZTF|_GX_TF_CTF)
 
#define GX_CTF_Z8M   (0x9|_GX_TF_ZTF|_GX_TF_CTF)
 
#define GX_TF_A8   GX_CTF_A8
 
#define GX_TF_CI14   0xa
 
#define GX_TF_CI4   0x8
 
#define GX_TF_CI8   0x9
 
#define GX_TF_CMPR   0xE
 
#define GX_TF_I4   0x0
 
#define GX_TF_I8   0x1
 
#define GX_TF_IA4   0x2
 
#define GX_TF_IA8   0x3
 
#define GX_TF_RGB565   0x4
 
#define GX_TF_RGB5A3   0x5
 
#define GX_TF_RGBA8   0x6
 
#define GX_TL_IA8   0x00
 
#define GX_TL_RGB565   0x01
 
#define GX_TL_RGB5A3   0x02
 

Detailed Description

Macro Definition Documentation

#define GX_CTF_A8   (0x7|_GX_TF_CTF)

For copying 8 bits from alpha

#define GX_CTF_B8   (0xA|_GX_TF_CTF)

For copying 8 bits from blue

#define GX_CTF_G8   (0x9|_GX_TF_CTF)

For copying 8 bits from green

#define GX_CTF_GB8   (0xC|_GX_TF_CTF)

For copying 8 bits from green, 8 bits from blue

#define GX_CTF_R4   (0x0|_GX_TF_CTF)

For copying 4 bits from red

#define GX_CTF_R8   (0x8|_GX_TF_CTF)

For copying 8 bits from red

#define GX_CTF_RA4   (0x2|_GX_TF_CTF)

For copying 4 bits from red, 4 bits from alpha

#define GX_CTF_RA8   (0x3|_GX_TF_CTF)

For copying 8 bits from red, 8 bits from alpha

#define GX_CTF_RG8   (0xB|_GX_TF_CTF)

For copying 8 bits from red, 8 bits from green

#define GX_CTF_Z16L   (0xC|_GX_TF_ZTF|_GX_TF_CTF)

For copying the lower 16 bits of Z

#define GX_CTF_Z4   (0x0|_GX_TF_ZTF|_GX_TF_CTF)

For copying 4 upper bits from Z

#define GX_CTF_Z8L   (0xA|_GX_TF_ZTF|_GX_TF_CTF)

For copying the lower 8 bits of Z

#define GX_CTF_Z8M   (0x9|_GX_TF_ZTF|_GX_TF_CTF)

For copying the middle 8 bits of Z

#define GX_TF_CMPR   0xE

Compressed