ID2D1Effect interface (d2d1_1.h)

Represents a basic image-processing construct in Direct2D.

Inheritance

The ID2D1Effect interface inherits from ID2D1Properties. ID2D1Effect also has these types of members:

Methods

The ID2D1Effect interface has these methods.

 
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.

Remarks

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.

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_1.h

See also

ID2D1DeviceContext::CreateEffect

ID2D1Properties