Class CustomEffectImpl
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
public abstract class CustomEffectImpl : RefTrackedObject, ISerializable, IDeviceEffectImpl, IObjectRef, IIsDisposed, IDisposable, IFactoryProperty, IInternalImpl
- Inheritance
-
CustomEffectImpl
- Implements
- Derived
- Inherited Members
Properties
Methods
- Initialize(IDeviceEffectContext, ITransformGraph)
The effect can use this method to do one time initialization tasks.
ID2D1EffectImpl::Initialize
- OnInitialize()
The effect can use this method to do one time initialization tasks.
This method is called when the effect is created, immediately after the constructor.
For more information, see ID2D1EffectImpl::Initialize
- OnPrepareForRender(ChangeType)
Prepares an effect for the rendering process.
For more information, see ID2D1Effect::PrepareForRender
- OnSetGraph()
The renderer calls this method to provide the effect implementation with a way to specify its transform graph and transform graph changes.
For more information, see ID2D1EffectImpl::SetGraph
- 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.