Skip to main content
ID2D1Effect interface

Represents a basic image-processing construct in Direct2D.

When to implement

Custom implementations are not supported.

Members

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

Methods

The ID2D1Effect interface has these methods.

MethodDescription
GetInput

Gets the given input image by index.

GetInputCount

Gets the number of inputs to the effect.

GetOutput

Gets the output image from the effect.

SetInput

Sets the given input image by index.

SetInputCount

Allows the application to change the number of inputs to an effect.

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

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

DLL

D2d1.dll

See also

ID2D1DeviceContext::CreateEffect

 

 

Microsoft führt eine Onlineumfrage durch, um Ihre Meinung zur -Website zu erfahren. Wenn Sie sich zur Teilnahme entscheiden, wird Ihnen die Onlineumfrage angezeigt, sobald Sie die -Website verlassen.

Möchten Sie teilnehmen?