libogc  v2.9.0
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

◆ GX_CTF_A8

#define GX_CTF_A8   (0x7|_GX_TF_CTF)

For copying 8 bits from alpha

◆ GX_CTF_B8

#define GX_CTF_B8   (0xA|_GX_TF_CTF)

For copying 8 bits from blue

◆ GX_CTF_G8

#define GX_CTF_G8   (0x9|_GX_TF_CTF)

For copying 8 bits from green

◆ GX_CTF_GB8

#define GX_CTF_GB8   (0xC|_GX_TF_CTF)

For copying 8 bits from green, 8 bits from blue

◆ GX_CTF_R4

#define GX_CTF_R4   (0x0|_GX_TF_CTF)

For copying 4 bits from red

◆ GX_CTF_R8

#define GX_CTF_R8   (0x8|_GX_TF_CTF)

For copying 8 bits from red

◆ GX_CTF_RA4

#define GX_CTF_RA4   (0x2|_GX_TF_CTF)

For copying 4 bits from red, 4 bits from alpha

◆ GX_CTF_RA8

#define GX_CTF_RA8   (0x3|_GX_TF_CTF)

For copying 8 bits from red, 8 bits from alpha

◆ GX_CTF_RG8

#define GX_CTF_RG8   (0xB|_GX_TF_CTF)

For copying 8 bits from red, 8 bits from green

◆ GX_CTF_Z16L

#define GX_CTF_Z16L   (0xC|_GX_TF_ZTF|_GX_TF_CTF)

For copying the lower 16 bits of Z

◆ GX_CTF_Z4

#define GX_CTF_Z4   (0x0|_GX_TF_ZTF|_GX_TF_CTF)

For copying 4 upper bits from Z

◆ GX_CTF_Z8L

#define GX_CTF_Z8L   (0xA|_GX_TF_ZTF|_GX_TF_CTF)

For copying the lower 8 bits of Z

◆ GX_CTF_Z8M

#define GX_CTF_Z8M   (0x9|_GX_TF_ZTF|_GX_TF_CTF)

For copying the middle 8 bits of Z

◆ GX_TF_CMPR

#define GX_TF_CMPR   0xE

Compressed