using ABI.Microsoft.Graphics.Canvas; using Microsoft.Graphics.Canvas; #if WINDOWS_UWP namespace ComputeSharp.D2D1.Uwp; #else namespace ComputeSharp.D2D1.WinUI; #endif /// /// Indicates the invalidation type to request when invoking and related methods. /// public enum CanvasEffectInvalidationType : byte { /// /// Invalidates the state of the effect graph, causing it to be configured again the next time it is used. /// /// /// /// This will preserve the last returned instance, if available, and it will only /// mark the internal state as being out of date, resulting in to be called /// the next time the effect is used for drawing. /// /// /// This is much less expensive than creating the effect graph again, and should be preferred if possible. /// /// Update, /// /// Fully invalidates the effect graph, causing it to be created again the next time it is needed. /// /// /// This will cause the last returned instance to be disposed and discarded, /// and to be called again the next time the effect is used for drawing. /// Creation }