D3D_INTERPOLATION_MODE enumeration

Specifies interpolation mode, which affects how values are calculated during rasterization.

Syntax


typedef enum D3D_INTERPOLATION_MODE { 
  D3D_INTERPOLATION_UNDEFINED                      = 0,
  D3D_INTERPOLATION_CONSTANT                       = 1,
  D3D_INTERPOLATION_LINEAR                         = 2,
  D3D_INTERPOLATION_LINEAR_CENTROID                = 3,
  D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE           = 4,
  D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_CENTROID  = 5,
  D3D_INTERPOLATION_LINEAR_SAMPLE                  = 6,
  D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_SAMPLE    = 7
} D3D_INTERPOLATION_MODE;

Constants

D3D_INTERPOLATION_UNDEFINED

The interpolation mode is undefined.

D3D_INTERPOLATION_CONSTANT

Don't interpolate between register values.

D3D_INTERPOLATION_LINEAR

Interpolate linearly between register values.

D3D_INTERPOLATION_LINEAR_CENTROID

Interpolate linearly between register values but centroid clamped when multisampling.

D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE

Interpolate linearly between register values but with no perspective correction.

D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_CENTROID

Interpolate linearly between register values but with no perspective correction and centroid clamped when multisampling.

D3D_INTERPOLATION_LINEAR_SAMPLE

Interpolate linearly between register values but sample clamped when multisampling.

D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_SAMPLE

Interpolate linearly between register values but with no perspective correction and sample clamped when multisampling.

Requirements

Header

D3DCommon.h

See also

Common Version Enumerations
D3D11_PARAMETER_DESC

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.