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.

Members

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

Methods

The ID2D1Device2 interface has these methods.

MethodDescription
CreateDeviceContext

Creates a new ID2D1DeviceContext2 from a Direct2D device.

FlushDeviceContexts

Flush all device contexts that reference a given bitmap.

GetDxgiDevice

Returns the DXGI device associated with this Direct2D device.

 

Requirements

Header

D2d1_3.h

Library

D2d1_3.lib

DLL

D2d1_3.dll

 

 

Show: