Platform SDK: DirectX

CONST_D3DTEXTUREMAGFILTER

The CONST_D3DTEXTUREMAGFILTER enumeration defines texture magnification filtering modes for a texture stage.

Enum CONST_D3DTEXTUREMAGFILTER
    D3DTFG_POINT        = 1  
    D3DTFG_LINEAR       = 2  
    D3DTFG_FLATCUBIC    = 3  
    D3DTFG_GAUSSIANCUBIC= 4  
    D3DTFG_ANISOTROPIC  = 5  
End Enum
D3DTFG_POINT
Point filtering. The texel with coordinates nearest to the desired pixel value is used.
D3DTFG_LINEAR
Bilinear interpolation filtering. A weighted average of a 2×2 area of texels surrounding the desired pixel is used.
D3DTFG_FLATCUBIC
Not currently supported; do not use.
D3DTFG_GAUSSIANCUBIC
Not currently supported; do not use.
D3DTFG_ANISOTROPIC
Anisotropic texture filtering. Compensates for distortion caused by the difference in angle between the texture polygon and the plane of the screen.

Remarks

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

See Also

CONST_D3DTEXTUREMINFILTER, CONST_D3DTEXTUREMIPFILTER, Texture Filtering