#include <revolution/tpl.h>void TPLGetGXTexObjFromPaletteCI ( TPLPalettePtr pal, GXTexObj *to,
GXTlutObj *tlo, GXTlut tluts, u32 id );One texture descriptor is taken from the TPL data structure, and GX settings for using the referenced texture data are made with the GXInitTexObjCI function. This function is an instruction for configuring textures that use the color lookup table (CLUT).
pal |
Pointer to the TPL file. |
to |
Pointer to a texture object. |
tlo |
Pointer to a texture lookup table (TLUT) object. |
id |
Pointer to the texture descriptor. |
None.
TPLBind, TPLGet, TPLGetGXTexObjFromPalette
2006/06/20 Initial version.
CONFIDENTIAL