G3*_TexPlttBase

C Specification

#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);

Arguments

info Command List Information
addr Specifies the palette base address
texFmt Texture format applying the palette

Return Values

None.

Description

This function sets the base address for the texture palette. The G3*_TexPlttBase command is normally issued before G3*_Begin, but can be issued also between G3*_Begin and G3*_End. In that case, the base address of a different texture palette can be set for each polygon between G3*_Begin and G3*_End.

texFmt must be in a texture format supporting palettes. See G3*_TexImageParam for details on the GXTexFmt type.

See Also

G3*_TexImageParam, G3*_TexCoord

Revision History

01/19/2004 Initial version.