TPLGetGXTexObjFromPalette

C Specification


#include <revolution/tpl.h>  
void TPLGetGXTexObjFromPalette ( TPLPalettePtr pal, GXTexObj *to, u32 id );

Description

One texture descriptor is taken from the TPL data structure, and the GX settings for using the referenced texture data are made with the GXInitTexObj function.

Arguments

pal Pointer to the TPL file.
to Pointer to a texture object.
id Pointer to the texture descriptor.

Return Values

None.

See Also

TPLBind, TPLGet, TPLGetGXTexObjFromPaletteCI

Revision History

2006/06/20 Initial version.


CONFIDENTIAL