[]
ID2D1EffectImpl
[Guid("a248fd3f-3e6c-4e63-9f03-7f68ecc91db9")]
[Shadow(typeof(CustomEffectShadow))]
public interface ICustomEffect : ICallbackable, IDisposable
Creates any resources used repeatedly during subsequent rendering calls.
void Initialize(EffectContext effectContext, TransformGraph transformGraph)
effectContext
EffectContextAn internal factory interface that creates and returns effect author centric types.
transformGraph
TransformGraphNo documentation.
Prepares an effect for the rendering process.
void PrepareForRender(ChangeType changeType)
changeType
ChangeTypeIndicates the type of change the effect should expect.
The renderer calls this method to provide the effect implementation with a way to specify its transform graph and transform graph changes. The renderer calls this method when: 1) When the effect is first initialized. 2) If the number of inputs to the effect changes.
int SetGraph(TransformGraph transformGraph)
transformGraph
TransformGraphThe graph to which the effect describes its transform topology through the SetDescription call..