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

D3DPTFILTERCAPS_ Values

Use with the dwTextureFilterCaps field of the d3dFindDeviceSearch class.

D3DPTFILTERCAPS_LINEAR
A 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.
D3DPTFILTERCAPS_LINEARMIPLINEAR
Interpolate between the two nearest mipmaps.
D3DPTFILTERCAPS_LINEARMIPNEAREST
Interpolate between the two nearest mipmaps.
D3DPTFILTERCAPS_MIPLINEAR
Use the appropriate mipmap for texel selection.
D3DPTFILTERCAPS_MIPNEAREST
Use the appropriate mipmap for texel selection.
D3DPTFILTERCAPS_NEAREST
The texel with coordinates nearest to the desired pixel value is used. This applies to both zooming in and zooming out. If either is supported, both zooming in and zooming out must be supported.


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