D2D1_BUFFER_PRECISION Enumeration

Represents the bit depth of the imaging pipeline in Direct2D.

Syntax

typedef enum D2D1_BUFFER_PRECISION {
  D2D1_BUFFER_PRECISION_UNKNOWN,
  D2D1_BUFFER_PRECISION_8BPC_UNORM,
  D2D1_BUFFER_PRECISION_8BPC_UNORM_SRGB,
  D2D1_BUFFER_PRECISION_16BPC_UNORM,
  D2D1_BUFFER_PRECISION_16BPC_FLOAT,
  D2D1_BUFFER_PRECISION_32BPC_FLOAT,
  D2D1_BUFFER_PRECISION_FORCE_DWORD
} ;

Constants

D2D1_BUFFER_PRECISION_UNKNOWN The buffer precision is not specified.
D2D1_BUFFER_PRECISION_8BPC_UNORM Use 8-bit normalized integer per channel.
D2D1_BUFFER_PRECISION_8BPC_UNORM_SRGB Use 8-bit normalized integer standard RGB data per channel.
D2D1_BUFFER_PRECISION_16BPC_UNORM Use 16-bit normalized integer per channel.
D2D1_BUFFER_PRECISION_16BPC_FLOAT Use 16-bit floats per channel.
D2D1_BUFFER_PRECISION_32BPC_FLOAT Use 32-bit floats per channel.
D2D1_BUFFER_PRECISION_FORCE_DWORD Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits.

Do not use this value.

Remarks

Note   Feature level 9 may or may not support precision types other than 8BPC.
 

Requirements

   
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 d2d1_1.h

See Also

D2D1_RENDERING_CONTROLS

ID2D1DeviceContext::GetRenderingControls

ID2D1DeviceContext::SetRenderingControls