GXInitTlutRegion

C Specification

#include <revolution/gx.h>
void GXInitTlutRegion(
GXTlutRegion*     region,
u32               tmem_addr,
GXTlutSize        tlut_size );

Arguments

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.

Return Values

None.

Description

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.

See Also

GXInitTexCacheRegion
GXInitTexPreLoadRegion
GXSetTexRegionCallBack
GXGetTlutRegionAll

GX Default TMEM Configuration

Revision History

03/01/2006 Initial version.