Table of Contents

Method OnSetGraph

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

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

protected virtual void OnSetGraph()

Remarks

The ITransformGraph object is available via the TransformGraph property. The renderer calls this method when:

  • When the effect is first initialized.
  • If the number of inputs to the effect changes.