Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3D11_FILTER_TYPE enumeration

Types of magnification or minification sampler filters.

Syntax


typedef enum D3D11_FILTER_TYPE { 
  D3D11_FILTER_TYPE_POINT   = 0,
  D3D11_FILTER_TYPE_LINEAR  = 1
} D3D11_FILTER_TYPE;

Constants

D3D11_FILTER_TYPE_POINT

Point filtering used as a texture magnification or minification filter. The texel with coordinates nearest to the desired pixel value is used. The texture filter to be used between mipmap levels is nearest-point mipmap filtering. The rasterizer uses the color from the texel of the nearest mipmap texture.

D3D11_FILTER_TYPE_LINEAR

Bilinear interpolation filtering used as a texture magnification or minification filter. A weighted average of a 2 x 2 area of texels surrounding the desired pixel is used. The texture filter to use between mipmap levels is trilinear mipmap interpolation. The rasterizer linearly interpolates pixel color, using the texels of the two nearest mipmap textures.

Requirements

Header

D3D11.h

See also

Core Enumerations

 

 

Show:
© 2017 Microsoft