TPLGetGXTexObjFromPalette

Syntax

#include <revolution/tpl.h>

void TPLGetGXTexObjFromPalette      ( TPLPalettePtr pal, GXTexObj *to, u32 id );

Arguments

pal Pointer to a texture palette.
to Pointer to a texture object.
id Pointer to the texture descriptor.

Return Values

None.

Description

Takes one texture descriptor from a texture palette structure and then uses the GXInitTexObj function to configure GX settings for using the referenced texture data.

See Also

TPLBind, TPLGet, TPLGetGXTexObjFromPaletteCI

Revision History

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


CONFIDENTIAL