gDPSetTextureLOD.3p 1.08 KB
.TH gDPSetTextureLOD 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
gDPSetTextureLOD, gsDPSetTextureLOD
\- enable and disable for LOD or mipmapped textures.
.SH C SPECIFICATION
.nf
\f3#include "gbi.h"

gDPSetTextureLOD(Gfx *gdl, unsigned int mode)

gsDPSetTextureLOD(unsigned int mode)

\fP
.fi
.SH PARAMETERS
.TP 10
.I *gdl
graphics display list pointer.
.TP
.I type
\f3G_TL_TILE, G_TL_LOD.\fP
.SH DESCRIPTION
\f3G_TL_TILE\fP disables LOD tile selection.
In one cycle mode, the tile selected in
.I gSPTexture()
is the tile used for texturing.
In two cycle mode, CC receives texels from the tile selected in
.I gSPTexture()
and from tile+1.
This pair of texture tiles can be used for dual texture tile applications.
.PP
\f3G_TL_LOD\fP 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 mipmaped texel.
.SH SEE ALSO
.IR gSPTexture (3P)
.IR gDPSetCombineMode (3P)