#include <revolution/gd.h>
void GDSetTexTlut( GXTexMapID id, u32 tmem_addr, GXTlutFmt format );
|
The hardware texture map ID to change. |
|
The location of the TLUT in TMEM. This address must reside in the upper half of TMEM and align to 512 bytes. |
|
The format for the TLUT. |
None.
This function is used to set the TLUT parameters for a given hardware texture map ID. Unlike the GX library, which uses texture objects, GD functions set the hardware registers directly.
The TLUT parameters set by this function are only used if the texture map is set to a color index format. For these textures, you must indicate where the TLUT is found in texture memory (TMEM) and the format of the TLUT.
GXInitTlutObj
GXLoadTlut
GDSetTexImgAttr
03/01/2006 Initial version.