TPLGetGXTexObjFromPaletteCI

Syntax

#include <revolution/tpl.h>

void TPLGetGXTexObjFromPaletteCI    ( TPLPalettePtr pal, GXTexObj *to,
                                      GXTlutObj *tlo, GXTlut tluts, u32 id );

Arguments

pal Pointer to a texture palette.
to Pointer to a texture object.
tlo Pointer to a texture lookup table (TLUT) object.
id Pointer to the texture descriptor.

Return Values

None.

Description

Takes one texture descriptor from a texture palette structure and then uses the GXInitTexObjCI function to configure GX settings for using the referenced texture data. This function is an instruction for configuring textures that use the color lookup table (CLUT).

See Also

TPLBind, TPLGet, TPLGetGXTexObjFromPalette

Revision History

2008/07/29 Changed the notation for TPL files and TPL data to "texture palettes."
2006/06/20 Initial version.


CONFIDENTIAL