D2D1_FILTER enumeration (d2d1effectauthor.h)

Represents filtering modes that a transform may select to use on input textures.

Syntax

typedef enum D2D1_FILTER {
  D2D1_FILTER_MIN_MAG_MIP_POINT = 0x00,
  D2D1_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x01,
  D2D1_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x04,
  D2D1_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x05,
  D2D1_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10,
  D2D1_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11,
  D2D1_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14,
  D2D1_FILTER_MIN_MAG_MIP_LINEAR = 0x15,
  D2D1_FILTER_ANISOTROPIC = 0x55,
  D2D1_FILTER_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_FILTER_MIN_MAG_MIP_POINT
Value: 0x00
Use point sampling for minification, magnification, and mip-level sampling.
D2D1_FILTER_MIN_MAG_POINT_MIP_LINEAR
Value: 0x01
Use point sampling for minification and magnification; use linear interpolation for mip-level sampling.
D2D1_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT
Value: 0x04
Use point sampling for minification; use linear interpolation for magnification; use point sampling for mip-level sampling.
D2D1_FILTER_MIN_POINT_MAG_MIP_LINEAR
Value: 0x05
Use point sampling for minification; use linear interpolation for magnification and mip-level sampling.
D2D1_FILTER_MIN_LINEAR_MAG_MIP_POINT
Value: 0x10
Use linear interpolation for minification; use point sampling for magnification and mip-level sampling.
D2D1_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR
Value: 0x11
Use linear interpolation for minification; use point sampling for magnification; use linear interpolation for mip-level sampling.
D2D1_FILTER_MIN_MAG_LINEAR_MIP_POINT
Value: 0x14
Use linear interpolation for minification and magnification; use point sampling for mip-level sampling.
D2D1_FILTER_MIN_MAG_MIP_LINEAR
Value: 0x15
Use linear interpolation for minification, magnification, and mip-level sampling.
D2D1_FILTER_ANISOTROPIC
Value: 0x55
Use anisotropic interpolation for minification, magnification, and mip-level sampling.
D2D1_FILTER_FORCE_DWORD
Value: 0xffffffff

Remarks

This enumeration has the same numeric values as D3D11_FILTER.

Requirements

   
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Header d2d1effectauthor.h

See also

D3D11_FILTER