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 zooming in or zooming out is supported, then both must be supported.
D3DPTFILTERCAPS_LINEARMIPLINEAR
Interpolates between the two nearest mipmaps.
D3DPTFILTERCAPS_LINEARMIPNEAREST
Interpolates between the two nearest mipmaps.
D3DPTFILTERCAPS_MIPLINEAR
Uses the appropriate mipmap for texel selection.
D3DPTFILTERCAPS_MIPNEAREST
Uses 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 zooming in or zooming out is supported, then both must be supported.


© 1996 Microsoft Corporation. All rights reserved.