///////////////////////////////////////////////////////////////////////////////// // 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 that specify important information that an effect rendering host /// must be aware of and take into consideration when executing a particular /// effect. /// [Flags] public enum EffectDirectives { /// /// No special directive. /// None = 0, /// /// Specifies that the effect must only execute in one thread at a time. /// Normally multiple threads are used in order to increase performance /// (esp. on dual processor / dual core systems). /// /// /// This does not prevent multiple threads from being used to execute the effect, /// but guarantees that only one rendering thread will be active at any given /// time. /// SingleThreaded = 1, } }