Enum BitmapEffectRenderingFlags
- Namespace
- PaintDotNet.Effects
- Assembly
- PaintDotNet.Effects.Core.dll
[Flags]
public enum BitmapEffectRenderingFlags : ulong
Fields
None = 0
SingleThreaded = 1
Only one thread will be used for rendering the effect.
DisableSelectionClipping = 2
An effect's rendering is normally clipped (masked) by the active selection. This flag disables that, giving the effect access to the entire output buffer.
The selection data provided by Environment.Selection is not affected by this flag.
ForceAliasedSelectionQuality = 4
The active selection will be rendered without antialiasing, as if the user had chosen pixelated selection quality in the toolbar.
The selection data provided by Environment.Selection will be pixelated, even if the user had not chosen pixelated selection quality in the toolbar.
It is recommended to use the DisableSelectionClipping flag instead of this one, which will enable access to the full quality selection.FirstTileIsRenderedWithBarrier = 8
Enabling this causes the first tile (that is, the first call to Render) to happen in a single- threaded manner. No other threads will be activated until after the first Render call completes.
UninitializedOutputBuffer = 16
Enabling this causes the effect system to not zero-fill the output buffer before sending it to OnRender(IBitmapEffectOutput). If the effect implementation always sets every output pixel this can improve performance a little. If the effect does not set every output pixel, then the output contents are undefined and there will be rendering artifacts.