Interface IDeviceEffectImpl
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
Implemented by a custom effect.
ID2D1EffectImpl
public interface IDeviceEffectImpl : IObjectRef, IIsDisposed, IDisposable
- Inherited Members
- Extension Methods
Remarks
For more info, see: Direct2D Custom effects
Methods
- Initialize(IDeviceEffectContext, ITransformGraph)
The effect can use this method to do one time initialization tasks.
ID2D1EffectImpl::Initialize
- PrepareForRender(ChangeType)
Prepares an effect for the rendering process.
ID2D1EffectImpl::PrepareForRender
- SetGraph(ITransformGraph)
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:- When the effect is first initialized.
- If the number of inputs to the effect changes.
ID2D1EffectImpl::SetGraph
- When the effect is first initialized.