

#include <nitro/gx/g3imm.h> #include <nitro/gx/g3b.h> #include <nitro/gx/g3c.h> void G3_TexPlttBase(u32 addr, GXTexFmt texFmt);// Below are APIs for creating the display list (command list)void G3B_TexPlttBase( GXDLInfo* info, u32 addr, GXTexFmt texFmt);void G3C_TexPlttBase( GXDLInfo* info, u32 addr, GXTexFmt texFmt);void G3BS_TexPlttBase( GXDLInfo* info, u32 addr, GXTexFmt texFmt);void G3CS_TexPlttBase( GXDLInfo* info, u32 addr, GXTexFmt texFmt);
| info | Command List Information. |
| addr | Specifies the palette base address. |
| texFmt | Texture format applying the palette. |
None.
Sets the base address for the texture palette. A G3*_TexPlttBase command is normally issued before G3*_Begin, but it can also be issued between G3*_Begin and G3*_End. In this case, a different texture-palette base address can be set for each polygon between G3*_Begin and G3*_End.
texFmt must be in a texture format supporting palettes. See the G3*_TexImageParam functions for details on the GXTexFmt type.
G3*_TexImageParam
G3*_TexCoord
2004/01/19 Initial version.
CONFIDENTIAL