Table of Contents

Interface IDevice

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Represents a resource domain whose objects and device contexts can be used together.
This interface corresponds to the follow Direct2D interfaces: ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4, ID2D1Device5, ID2D1Device6

public interface IDevice : IDirect2DResource, IObjectRef, IIsDisposed, IDisposable, IFactoryProperty, IInternalImpl
Inherited Members
Extension Methods

Properties

MaximumTextureMemory

Gets or sets the maximum amount of texture memory Direct2D accumulates before it purges the image caches and cached texture allocations, in bytes.

RenderingPriority

Gets or sets the priority of Direct2D rendering operations performed on any device context associated with the device.

Methods

ClearResources(int)

Clears all of the rendering resources used by Direct2D.

CreateDeviceContext(DeviceContextOptions)

Creates a new device context from a Direct2D device.