Enum InspectTokenAction
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Core.dll
public enum InspectTokenAction
Fields
None = 0
If this value is returned from OnInspectTokenChanges(), the output image created by OnCreateOutput() will be retained. OnUpdateOutput() will not be called, and then the output image will be rendered using IDeviceContext.DrawImage().
RecreateOutput = 1
If this value is returned from OnInspectTokenChanges(), the output image created by OnCreateOutput() will be disposed.
Then, both OnCreateOutput() and OnUpdateOutput() will be called, and then the output image will be rendered using IDeviceContext.DrawImage().UpdateOutput = 2
If this value is returned from OnInspectTokenChanges(), the output image created by the earlier call to OnCreateOutput() will be retained. OnCreateOutput() will not be called again.
Then, OnUpdateOutput() will be called, and then the output image will be rendered using IDeviceContext.DrawImage().