ID2D1Device2 interface

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.

Methods

The ID2D1Device2 interface has these methods.

Method Description
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

   
Target Platform Windows
Header d2d1_3.h