| 
         
            |  
 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 
 |  | 
 
gDPSetTextureConvert
Format
 #include "gbi.h"
gDPSetTextureConvert(Gfx *gdl,
   unsigned int type)
gsDPSetTextureConvert(unsigned int type)Arguments What This Macro Doesgdl is the pointer to the graphics display list
type is the type (G_TC_CONV, G_TC_FILTCONV, or G_TC_FILT)
 This macro controls the texture filter unit, selecting whether the output should be filtered (G_TC_FILT), color-converted from YUV to RGB (G_TC_CONV), or both color-converted and filtered (G_TC_FILTCONV).
 
 Note
 The default hardware state (mode bits all 0's) represents G_TC_CONV, which is not a very good default state because it is rarely used.
 
 A very common bug is to have your filtered, textured, display list
completed, yet the texture still looks incorrect due to a missing
G_TC_FILT, which inadvertently color-converts the texture.
 
 See Also
 gDPSetConvert
 
 
 
         
            | 
 
   |  
            | 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
 |  |