gDPSetTextureLUT [Macro]

Function

gDPSetTextureLUT

Sets the texel type of the texture lookup table (TLUT)

Syntax

#include <ultra64.h>        /* gbi.h */
gDPSetTextureLUT(Gfx *gdl, u32 mode)
gsDPSetTextureLUT(         u32 mode)

Arguments

gdl
Display list pointer
mode
Texture mode:
G_TT_NONE (TLUT not used)
G_TT_RGBA16 (Use 16-bit RGBA format for TLUT entries)
G_TT_IA16 (Use 16-bit IA format for TLUT entries)

Description

The TLUT texel type can be set to either RGBA, IA, or none. When mode is set to G_TT_NONE, textures which do not need palette data are used. For details, see Sections 12.4.6 "Texture Sampling Modes" and 13.8.1 "Memory Organization" in the N64 Programming Manual.

See Also

gDPLoadTextureBlock, gDPLoadTextureBlock_4b, gDPLoadTextureTile, gDPLoadTextureTile_4b, gDPLoadTLUT_pal16, gDPLoadTLUT_pal256, gDPSetTextureDetail, gDPSetTextureLOD, and gDPSetTexturePersp

Revision History

02/01/99   Completely rewritten