#include <revolution/gx.h>
void GXInitTlutRegion(
GXTlutRegion* region,
u32 tmem_addr,
GXTlutSize tlut_size );
region |
Pointer to a GXTlutRegion structure. The memory for this structure must be allocated by the application. |
tmem |
Location of TLUT in texture memory. This pointer must be aligned to the table size. |
size |
Size of the table. |
None.
This function initializes a texture lookup table (TLUT) region object.
GXInit creates default TLUT regions, so the application does not need to call this function unless you want a new configuration of TMEM. If so, the application should also set a new TLUT region allocator using GXSetTlutRegionCallBack.
GXInitTexCacheRegion
GXInitTexPreLoadRegion
GXSetTexRegionCallBack
GXGetTlutRegionAll
03/01/2006 Initial version.