[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.ICustomEffect

ICustomEffect Interface

ID2D1EffectImpl

Namespace: GrapeCity.Documents.DX.Direct2D
Assembly: GcDocs.DX.Windows.dll
Syntax
[Guid("a248fd3f-3e6c-4e63-9f03-7f68ecc91db9")]
[Shadow(typeof(CustomEffectShadow))]
public interface ICustomEffect : ICallbackable, IDisposable

Methods

Name Description
Initialize(EffectContext, TransformGraph)

Creates any resources used repeatedly during subsequent rendering calls.

PrepareForRender(ChangeType)

Prepares an effect for the rendering process.

SetGraph(TransformGraph)

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.