GXInitTlutRegion

Syntax

#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.

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.

See Also

GXInitTexCacheRegion, GXInitTexPreLoadRegion, GXSetTexRegionCallBack, GXGetTlutRegionAll, GX Default TMEM Configuration

Revision History

2006/03/01 Initial version.


CONFIDENTIAL