D3D_INTERPOLATION_MODE enumeration (d3dcommon.h)

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
} ;

Constants

 
D3D_INTERPOLATION_UNDEFINED
Value: 0
The interpolation mode is undefined.
D3D_INTERPOLATION_CONSTANT
Value: 1
Don't interpolate between register values.
D3D_INTERPOLATION_LINEAR
Value: 2
Interpolate linearly between register values.
D3D_INTERPOLATION_LINEAR_CENTROID
Value: 3
Interpolate linearly between register values but centroid clamped when multisampling.
D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE
Value: 4
Interpolate linearly between register values but with no perspective correction.
D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_CENTROID
Value: 5
Interpolate linearly between register values but with no perspective correction and centroid clamped when multisampling.
D3D_INTERPOLATION_LINEAR_SAMPLE
Value: 6
Interpolate linearly between register values but sample clamped when multisampling.
D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_SAMPLE
Value: 7
Interpolate linearly between register values but with no perspective correction and sample clamped when multisampling.

Requirements

Requirement Value
Header d3dcommon.h

See also

Common Version Enumerations

D3D11_PARAMETER_DESC