GXGetTlutObjAll

Syntax

#include <revolution/gx.h>

void GXGetTlutObjAll(
    const GXTlutObj*    tlut_obj, 
    void**              lut,
    GXTlutFmt*          fmt,
    u16*                n_entries );

Arguments

tlut_obj Pointer to a GXTlutObj structure The memory for this object must be allocated by the application.
lut Returns a pointer to the look-up table data
fmt Returns the format of the entries in the TLUT.
n_entries Returns the number of entries in the TLUT.

Return Values

None.

Description

This function returns all the parameters describing a texture lookup table (TLUT) object. This object describes the location of the TLUT in main memory, its format and the number of entries.

See Also

GXInitTlutObj

Revision History

2006/03/01 Initial version.


CONFIDENTIAL