D2D1_FILTER enumeration

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;

Constants

D2D1_FILTER_MIN_MAG_MIP_POINT

Use point sampling for minification, magnification, and mip-level sampling.

D2D1_FILTER_MIN_MAG_POINT_MIP_LINEAR

Use point sampling for minification and magnification; use linear interpolation for mip-level sampling.

D2D1_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT

Use point sampling for minification; use linear interpolation for magnification; use point sampling for mip-level sampling.

D2D1_FILTER_MIN_POINT_MAG_MIP_LINEAR

Use point sampling for minification; use linear interpolation for magnification and mip-level sampling.

D2D1_FILTER_MIN_LINEAR_MAG_MIP_POINT

Use linear interpolation for minification; use point sampling for magnification and mip-level sampling.

D2D1_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR

Use linear interpolation for minification; use point sampling for magnification; use linear interpolation for mip-level sampling.

D2D1_FILTER_MIN_MAG_LINEAR_MIP_POINT

Use linear interpolation for minification and magnification; use point sampling for mip-level sampling.

D2D1_FILTER_MIN_MAG_MIP_LINEAR

Use linear interpolation for minification, magnification, and mip-level sampling.

D2D1_FILTER_ANISOTROPIC

Use anisotropic interpolation for minification, magnification, and mip-level sampling.

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 | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1effectauthor.h

Type library

D2d1.lib;
D2d1.dll

See also

D3D11_FILTER

 

 

Community Additions

ADD
Show:
© 2014 Microsoft