Platform SDK: DirectX

CONST_D3DTEXTUREMIPFILTER

The CONST_D3DTEXTUREMIPFILTER enumeration defines texture mipmap filtering modes for a texture stage.

Enum CONST_D3DTEXTUREMIPFILTER
    D3DTFP_NONE         = 1  
    D3DTFP_POINT        = 2  
    D3DTFP_LINEAR       = 3  
End Enum
D3DTFP_NONE
Mipmapping disabled. The rasterizer should use the magnification filter instead.
D3DTFP_POINT
Nearest point mipmap filtering. The rasterizer uses the color from the texel of the nearest mipmap texture.
D3DTFP_LINEAR
Trilinear mipmap interpolation. The rasterizer linearly interpolates pixel color using the texels of the two nearest mipmap textures.

Remarks

You set a texture stage's magnification filter by calling the Direct3DDevice7.SetTextureStageState method with the D3DTSS_MIPFILTER value as the second parameter, and one of constants of this enumeration as the third parameter.

See Also

CONST_D3DTEXTUREMAGFILTER, CONST_D3DTEXTUREMIPFILTER, Texture Filtering