///////////////////////////////////////////////////////////////////////////////// // Paint.NET // // Copyright (C) Rick Brewster, Tom Jackson, and past contributors. // // Portions Copyright (C) Microsoft Corporation. All Rights Reserved. // // See src/Resources/Files/License.txt for full licensing and attribution // // details. // // . // ///////////////////////////////////////////////////////////////////////////////// using System; namespace PaintDotNet.Effects { [Flags] public enum EffectTypeHint : int { /// /// Specifies that Paint.NET may make no special assumptions about the effect. /// This is the default. /// NoHints = 0, /// /// Specifies that the effect does its rendering in such a way that changes /// to a source pixel (x,y) only requires re-rendering of destination pixel /// (x,y) and none others. /// For example, Desaturate is Unary, whereas Blur is not. /// Auto-Levels is not unary because changings any pixel requires the levels /// computation to be recomputed which in turn affects all other pixels. /// Unary = 1, /// /// Specifies that an effect is fast to render. "Fast" is defined as being fast /// enough, in general, to be used for real-time rendering. This may be used /// in the future for an implementation of "effect layers" (layers that apply /// an effect as part of the rendering pipeline). /// For example, Desaturate and Invert Colors are fast whereas Blur is not. /// Fast = 2 } }