[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.CustomEffect

CustomEffect Interface

ID2D1EffectImpl

Namespace: C1.Util.DX.Direct2D
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("a248fd3f-3e6c-4e63-9f03-7f68ecc91db9")]
[Shadow(typeof(CustomEffectShadow))]
public interface CustomEffect : 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.