Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

D3D_MIN_PRECISION enumeration

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

Constants

D3D_MIN_PRECISION_DEFAULT

Default minimum precision, which is 32-bit precision.

D3D_MIN_PRECISION_FLOAT_16

Minimum precision is min16float, which is 16-bit floating point.

D3D_MIN_PRECISION_FLOAT_2_8

Minimum precision is min10float, which is 10-bit floating point.

D3D_MIN_PRECISION_RESERVED

Reserved

D3D_MIN_PRECISION_SINT_16

Minimum precision is min16int, which is 16-bit signed integer.

D3D_MIN_PRECISION_UINT_16

Minimum precision is min16uint, which is 16-bit unsigned integer.

D3D_MIN_PRECISION_ANY_16

Minimum precision is any 16-bit value.

D3D_MIN_PRECISION_ANY_10

Minimum precision is any 10-bit value.

Remarks

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

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]

Header

D3DCommon.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft