Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID2D1EffectImpl interface

Allows a custom effect's interface and behavior to be specified by the effect author.

When to implement

Applications should implement this interface when using Custom Effects. For more information, see the Custom effects overview.

Members

The ID2D1EffectImpl interface inherits from the IUnknown interface. ID2D1EffectImpl also has these types of members:

Methods

The ID2D1EffectImpl interface has these methods.

MethodDescription
Initialize

The effect can use this method to do one time initialization tasks.

PrepareForRender

Prepares an effect for the rendering process.

SetGraph

The renderer calls this method to provide the effect implementation with a way to specify its transform graph and transform graph changes.

 

Remarks

This interface is created by the effect author from a static factory registered through the ID2D1Factory::RegisterEffect method.

Requirements

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]

Minimum supported phone

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

Header

D2d1effectauthor.h

Library

D2d1.lib

See also

IUnknown
ID2D1Factory::RegisterEffect

 

 

Show:
© 2017 Microsoft