D3D_MIN_PRECISION enumeration (d3dcommon.h)

Values that indicate the minimum desired interpolation precision.

Syntax

typedef enum D3D_MIN_PRECISION {
  D3D_MIN_PRECISION_DEFAULT = 0,
  D3D_MIN_PRECISION_FLOAT_16 = 1,
  D3D_MIN_PRECISION_FLOAT_2_8 = 2,
  D3D_MIN_PRECISION_RESERVED = 3,
  D3D_MIN_PRECISION_SINT_16 = 4,
  D3D_MIN_PRECISION_UINT_16 = 5,
  D3D_MIN_PRECISION_ANY_16 = 0xf0,
  D3D_MIN_PRECISION_ANY_10 = 0xf1
} ;

Constants

 
D3D_MIN_PRECISION_DEFAULT
Value: 0
Default minimum precision, which is 32-bit precision.
D3D_MIN_PRECISION_FLOAT_16
Value: 1
Minimum precision is min16float, which is 16-bit floating point.
D3D_MIN_PRECISION_FLOAT_2_8
Value: 2
Minimum precision is min10float, which is 10-bit floating point.
D3D_MIN_PRECISION_RESERVED
Value: 3
Reserved
D3D_MIN_PRECISION_SINT_16
Value: 4
Minimum precision is min16int, which is 16-bit signed integer.
D3D_MIN_PRECISION_UINT_16
Value: 5
Minimum precision is min16uint, which is 16-bit unsigned integer.
D3D_MIN_PRECISION_ANY_16
Value: 0xf0
Minimum precision is any 16-bit value.
D3D_MIN_PRECISION_ANY_10
Value: 0xf1
Minimum precision is any 10-bit value.

Remarks

For more info, see Scalar Types and Using HLSL minimum precision.

Requirements

Requirement Value
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 d3dcommon.h

See also

Common Version Enumerations