ID2D1Device interface

Represents a resource domain whose objects and device contexts can be used together.

Methods

The ID2D1Device interface has these methods.

Method Description
ID2D1Device::ClearResources Clears all of the rendering resources used by Direct2D.
ID2D1Device::CreateDeviceContext Creates a new device context from a Direct2D device.
ID2D1Device::CreatePrintControl Creates an ID2D1PrintControl object that converts Direct2D primitives stored in ID2D1CommandList into a fixed page representation. The print sub-system then consumes the primitives.
ID2D1Device::CreatePrintControl Creates an ID2D1PrintControl object that converts Direct2D primitives stored in ID2D1CommandList into a fixed page representation. The print sub-system then consumes the primitives.
ID2D1Device::GetMaximumTextureMemory Sets the maximum amount of texture memory Direct2D accumulates before it purges the image caches and cached texture allocations.
ID2D1Device::SetMaximumTextureMemory Sets the maximum amount of texture memory Direct2D accumulates before it purges the image caches and cached texture allocations.

Requirements

   
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]
Target Platform Windows
Header d2d1_1.h

See Also

D2D1CreateDevice

ID2D1Factory1::CreateDevice

ID2D1Resource