D2D1_CREATION_PROPERTIES structure

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;
};

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

   
Windows version Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Header d2d1_1.h

See Also

D2D1CreateDevice

D2D1CreateDeviceContext