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
|
gDPSetTextureConvertFormat#include "gbi.h" gDPSetTextureConvert(Gfx *gdl, unsigned int type) gsDPSetTextureConvert(unsigned int type)Arguments
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
|