G3_TexPlttBase

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

## 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 between `G3*_Begin` and `G3*_End`. If it is issued during this interval, a different texture palette base address can be set for each polygon in `G3*_Begin` and `G3*_End`.

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

## Arguments

`info` | Command list information
`addr` | Specifies the palette base address
`texFmt` | Texture format applying the palette

## Return Values

None

## See Also

`G3*_TexImageParam, G3*_TexCoord`

## Revision History

01/19/2004 Initial Version