ID2D1Effect interface

Represents a basic image-processing construct in Direct2D.


The ID2D1Effect interface has these methods.

Method Description
ID2D1Effect::GetInput Gets the given input image by index.
ID2D1Effect::GetInputCount Gets the number of inputs to the effect.
ID2D1Effect::GetOutput Gets the output image from the effect.
ID2D1Effect::SetInput Sets the given input image by index.
ID2D1Effect::SetInputCount Allows the application to change the number of inputs to an effect.
ID2D1Effect::SetInputEffect Sets the given input effect by index.


An effect takes zero or more input images, and has an output image. The images that are input into and output from an effect are lazily evaluated. This definition is sufficient to allow an arbitrary graph of effects to be created from the application by feeding output images into the input image of the next effect in the chain.


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