D2D1_CREATION_PROPERTIES structure (d2d1_1.h)

Specifies the options with which the Direct2D device, factory, and device context are created.

Syntax

typedef struct D2D1_CREATION_PROPERTIES {
  D2D1_THREADING_MODE         threadingMode;
  D2D1_DEBUG_LEVEL            debugLevel;
  D2D1_DEVICE_CONTEXT_OPTIONS options;
} D2D1_CREATION_PROPERTIES;

Members

threadingMode

The threading mode with which the corresponding root objects will be created.

debugLevel

The debug level that the root objects should be created with.

options

The device context options that the root objects should be created with.

Remarks

The root objects referred to here are the Direct2D device, Direct2D factory and the Direct2D device context.

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

See also

D2D1CreateDevice

D2D1CreateDeviceContext