D3DTEXTUREMIPFILTER

The D3DTEXTUREMIPFILTER enumerated type defines texture mipmap filtering modes for a texture stage.

typedef enum _D3DTEXTUREMIPFILTER {
    D3DTFP_NONE         = 1,  
    D3DTFP_POINT        = 2,  
    D3DTFP_LINEAR       = 3,  
    D3DTFP_FORCE_DWORD  = 0x7fffffff,  
} D3DTEXTUREMIPFILTER;
 

Members

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.
D3DTFP_FORCE_DWORD
Forces this enumerated type to compile to 32 bits in size.

Remarks

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

QuickInfo

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in d3dtypes.h.

See Also

D3DTEXTUREMAGFILTER, D3DTEXTUREMIPFILTER, Texture Filtering