Method OnInitialize
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
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
protected virtual void OnInitialize()
Remarks
The IDeviceEffectContext and ITransformGraph objects are available via the EffectContext and TransformGraph properties.