[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.ICustomEffect

Interface ICustomEffect

Namespace
GrapeCity.Documents.DX.Direct2D
Assembly
GcDocs.DX.Windows.dll

ID2D1EffectImpl

[Guid("a248fd3f-3e6c-4e63-9f03-7f68ecc91db9")]
[Shadow(typeof(CustomEffectShadow))]
public interface ICustomEffect : ICallbackable, IDisposable
Inherited Members
System.IDisposable.Dispose()

Methods

Initialize(EffectContext, TransformGraph)

Creates any resources used repeatedly during subsequent rendering calls.

void Initialize(EffectContext effectContext, TransformGraph transformGraph)

Parameters

effectContext EffectContext

An internal factory interface that creates and returns effect author centric types.

transformGraph TransformGraph

No documentation.

PrepareForRender(ChangeType)

Prepares an effect for the rendering process.

void PrepareForRender(ChangeType changeType)

Parameters

changeType ChangeType

Indicates the type of change the effect should expect.

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.

int SetGraph(TransformGraph transformGraph)

Parameters

transformGraph TransformGraph

The graph to which the effect describes its transform topology through the SetDescription call..

Returns

int