typedef enum _D3DTEXTUREFILTER {
D3DFILTER_NEAREST = 1,
D3DFILTER_LINEAR = 2,
D3DFILTER_MIPNEAREST = 3,
D3DFILTER_MIPLINEAR = 4,
D3DFILTER_LINEARMIPNEAREST = 5,
D3DFILTER_LINEARMIPLINEAR = 6,
} D3DTEXTUREFILTER;
Defines the supported texture filter modes used by the D3DRENDERSTATE_TEXTUREMAG render state in the D3DRENDERSTATETYPE enumerated type.
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.
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.
Similar to D3DFILTER_NEAREST, but uses the appropriate mipmap for texel selection.
Similar to D3DFILTER_LINEAR, but uses the appropriate mipmap for texel selection.
Similar to D3DFILTER_MIPNEAREST, but interpolates between the two nearest mipmaps.
Similar to D3DFILTER_MIPLINEAR, but interpolates between the two nearest mipmaps.