D2D1_DEVICE_PROPERTIES structure
Applies to: desktop apps | Metro style apps
Describes properties used in the creation of a device context.
Syntax
typedef struct D2D1_DEVICE_PROPERTIES {
D2D1_CAPABILITIES Capabilities;
D2D1_BUFFER_PRECISION bufferPrecision;
} D2D1_DEVICE_PROPERTIES, *PD2D1_DEVICE_PROPERTIES;
Members
Capabilities
The rendering capabilities of the device. This is used to determine whether compute support is available and at what level.bufferPrecision
The maximum precision buffer than can be created by Direct2D on the device.
Remarks
Use the Capabilities field to determine whether the effect requires compute support.
In order for bufferPrecision to be supported, all Direct2D rendering operations must also support it.
Requirements
Minimum supported client |
Windows 8 Release Preview |
Minimum supported server |
Windows Server 2012 |
Header |
D2D1.h |
Type library |
D2D1.lib |
See also
Send comments about this topic to Microsoft
Build date: 7/13/2012