Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D2D1_BUFFER_PRECISION enumeration

Represents the bit depth of the imaging pipeline in Direct2D.

Syntax


typedef enum D2D1_BUFFER_PRECISION { 
  D2D1_BUFFER_PRECISION_UNKNOWN          = 0,
  D2D1_BUFFER_PRECISION_8BPC_UNORM       = 1,
  D2D1_BUFFER_PRECISION_8BPC_UNORM_SRGB  = 2,
  D2D1_BUFFER_PRECISION_16BPC_UNORM      = 3,
  D2D1_BUFFER_PRECISION_16BPC_FLOAT      = 4,
  D2D1_BUFFER_PRECISION_32BPC_FLOAT      = 5,
  D2D1_BUFFER_PRECISION_FORCE_DWORD      = 0xffffffff
} D2D1_BUFFER_PRECISION;

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 | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

See also

ID2D1DeviceContext::SetRenderingControls
ID2D1DeviceContext::GetRenderingControls
D2D1_RENDERING_CONTROLS

 

 

Show:
© 2017 Microsoft