Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
} ;
Constants
D2D1_BUFFER_PRECISION_UNKNOWNValue: 0 The buffer precision is not specified.  | 
D2D1_BUFFER_PRECISION_8BPC_UNORMValue: 1 Use 8-bit normalized integer per channel.  | 
D2D1_BUFFER_PRECISION_8BPC_UNORM_SRGBValue: 2 Use 8-bit normalized integer standard RGB data per channel.  | 
D2D1_BUFFER_PRECISION_16BPC_UNORMValue: 3 Use 16-bit normalized integer per channel.  | 
D2D1_BUFFER_PRECISION_16BPC_FLOATValue: 4 Use 16-bit floats per channel.  | 
D2D1_BUFFER_PRECISION_32BPC_FLOATValue: 5 Use 32-bit floats per channel.  | 
D2D1_BUFFER_PRECISION_FORCE_DWORDValue: 0xffffffff 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
| 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 | d2d1_1.h |