Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_UNDEFINEDValue: 0 The interpolation mode is undefined. |
D3D_INTERPOLATION_CONSTANTValue: 1 Don't interpolate between register values. |
D3D_INTERPOLATION_LINEARValue: 2 Interpolate linearly between register values. |
D3D_INTERPOLATION_LINEAR_CENTROIDValue: 3 Interpolate linearly between register values but centroid clamped when multisampling. |
D3D_INTERPOLATION_LINEAR_NOPERSPECTIVEValue: 4 Interpolate linearly between register values but with no perspective correction. |
D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_CENTROIDValue: 5 Interpolate linearly between register values but with no perspective correction and centroid clamped when multisampling. |
D3D_INTERPOLATION_LINEAR_SAMPLEValue: 6 Interpolate linearly between register values but sample clamped when multisampling. |
D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_SAMPLEValue: 7 Interpolate linearly between register values but with no perspective correction and sample clamped when multisampling. |
Requirements
| Requirement | Value |
|---|---|
| Header | d3dcommon.h |