gDPSetTextureLUT [macro]
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 is the display list pointer.
- mode is the texture mode:
G_TT_NONE (TLUT not used)
G_TT_RGBA16 (Use 16-bit RGBA format for TLUT entries)
G_TT_IA1 (Use 16-bit IA format for TLUT entries)
Explanation
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 Section 12.4.6, "Texture-Sampling Modes" and Section 13.8.1, "Memory Organization," in the N64 Online Programming Manual.
See Also
gDPLoadTextureBlock
gDPLoadTextureBlock_4b
gDPLoadTextureTile
gDPLoadTextureTile_4b
gDPLoadTLUT_pal16
gDPLoadTLUT_pal256
gDPSetTextureDetail
gDPSetTextureLOD
gDPSetTexturePersp
Revision History
2/1/99 Completely rewritten.
|
Nintendo® Confidential
Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.
Copyright © 1998-1999
Nintendo of America Inc. All rights reserved Nintendo and N64 are registered trademarks of Nintendo
Last Updated April, 1999
|