D3DTEXTUREFILTER

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.

D3DFILTER_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.

D3DFILTER_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.

D3DFILTER_MIPNEAREST

Similar to D3DFILTER_NEAREST, but uses the appropriate mipmap for texel selection.

D3DFILTER_MIPLINEAR

Similar to D3DFILTER_LINEAR, but uses the appropriate mipmap for texel selection.

D3DFILTER_LINEARMIPNEAREST

Similar to D3DFILTER_MIPNEAREST, but interpolates between the two nearest mipmaps.

D3DFILTER_LINEARMIPLINEAR

Similar to D3DFILTER_MIPLINEAR, but interpolates between the two nearest mipmaps.