#include <revolution/tpl.h> void TPLGetGXTexObjFromPalette ( TPLPalettePtr pal, GXTexObj *to, u32 id );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.
pal |
Pointer to the TPL file. |
to |
Pointer to a texture object. |
id |
Pointer to the texture descriptor. |
None.
TPLBind, TPLGet, TPLGetGXTexObjFromPaletteCI
2006/06/20 Initial version.
CONFIDENTIAL