#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.
The GXInit function creates default TLUT regions, so the application does not need to call this function unless a new configuration of TMEM is needed. When using this function, the application must also set a new TLUT region allocator using the GXSetTlutRegionCallBack function.
GXInitTexCacheRegion, GXInitTexPreLoadRegion, GXSetTexRegionCallBack, GXGetTlutRegionAll, GX Default TMEM Configuration
2006/03/01 Initial version.
CONFIDENTIAL