N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

gDPSetTextureLOD

Format
#include "gbi.h"

gDPSetTextureLOD(Gfx *gdl,
   unsigned int mode)
gsDPSetTextureLOD(unsigned int mode)
Arguments
  • gdl is the pointer to the graphics display list
  • type is the type (G_TL_TILE or G_TL_LOD)
What This Macro Does
It enables or disables for LOD or MIP mapped textures using the following type settings:
  • G_TL_TILE disables LOD tile selection. In one-cycle mode, the tile selected in gSPTexture is the tile used for texturing. In two-cycle mode, CC receives texels from the tile selected in gSPTexture and from tile+1. This pair of texture tiles can be used for dual texture tile applications.
  • G_TL_LOD selects a pair of tiles from a contiguous texture tile sequence. LOD determines which pair of texture tiles are selected. The CC can do mip-mapping by using the texels sampled from these two tiles. The two texel samples are linearly interpolated with LOD fraction to produce the final MIP mapped texel.
See Also
gSPTexture
gDPSetCombineMode



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
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998