ID2D1Device2 interface (d2d1_3.h)

Represents a resource domain whose objects and device contexts can be used together. This interface performs all the same functions as the existing ID2D1Device1 interface. It also enables the creation of ID2D1DeviceContext2 objects.

Inheritance

The ID2D1Device2 interface inherits from ID2D1Device1. ID2D1Device2 also has these types of members:

Methods

The ID2D1Device2 interface has these methods.

 
ID2D1Device2::CreateDeviceContext

Creates a new ID2D1DeviceContext2 from a Direct2D device.
ID2D1Device2::FlushDeviceContexts

Flush all device contexts that reference a given bitmap.
ID2D1Device2::GetDxgiDevice

Returns the DXGI device associated with this Direct2D device.

Requirements

Requirement Value
Target Platform Windows
Header d2d1_3.h