Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

D3DFILTER_ Values

Defines the supported texture filter modes used by the D3DRENDERSTATE_TEXTUREMAG render state.

D3DFILTER_LINEAR
Weighted average of a 2-by-2 area of texels surrounding the desired pixel is used. This applies to both zooming in and zooming out. If either is supported, then both zooming in and zooming out must be supported.
D3DFILTER_LINEARMIPLINEAR
Similar to D3DFILTER_MIPLINEAR, but interpolates between the two nearest mipmaps.
D3DFILTER_LINEARMIPNEAREST
Similar to D3DFILTER_MIPNEAREST, but interpolates between the two nearest mipmaps.
D3DFILTER_MIPLINEAR
Similar to D3DFILTER_LINEAR, but uses the appropriate mipmap for texel selection.
D3DFILTER_MIPNEAREST
Similar to D3DFILTER_NEAREST, but uses the appropriate mipmap for texel selection.
D3DFILTER_NEAREST
Texel with coordinates nearest to the desired pixel value is used. This applies to both zooming in and zooming out. If either zooming in or zooming out is supported, both must be supported.


© 1997 Microsoft Corporation. All rights reserved. Terms of Use.