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
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 |
|
See also
- ID2D1DeviceContext::SetRenderingControls
- ID2D1DeviceContext::GetRenderingControls
- D2D1_RENDERING_CONTROLS