ID2D1Image interface (d2d1.h)

Represents a producer of pixels that can fill an arbitrary 2D plane.

Inheritance

The ID2D1Image interface inherits from the ID2D1Resource interface.

Remarks

An ID2D1Image is abstract. Concrete instances can be created through ID2D1DeviceContext::CreateEffect and ID2D1DeviceContext::CreateBitmap.

Images are evaluated lazily. If the type of image passed in is concrete, then the image can be directly sampled from. Other images can act only as a source of pixels and can produce content only as a result of calling ID2D1DeviceContext::DrawImage.

Requirements

Requirement Value
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.h

See also

ID2D1Bitmap

ID2D1DeviceContext

ID2D1Effect

ID2D1Resource

IWICBitmapEncoder