Move 'ComputeSharp.D2D1.WinUI' files to shared project

このコミットが含まれているのは:
Sergio Pedri committed 2024-08-13 18:02:58 -07:00
1 親 c106c0fd50
コミット a44b585927
46ファイル変更
+49 -6

検索条件に一致するファイルはありません

+34
ファイルの表示
@@ -0,0 +1,34 @@
using ABI.Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas;
namespace ComputeSharp.D2D1.WinUI;
/// <summary>
/// Indicates the invalidation type to request when invoking <see cref="CanvasEffect.InvalidateEffectGraph"/> and related methods.
/// </summary>
public enum CanvasEffectInvalidationType : byte
{
/// <summary>
/// Invalidates the state of the effect graph, causing it to be configured again the next time it is used.
/// </summary>
/// <remarks>
/// <para>
/// This will preserve the last returned <see cref="ICanvasImage"/> instance, if available, and it will only
/// mark the internal state as being out of date, resulting in <see cref="CanvasEffect.ConfigureEffectGraph"/> to be called
/// the next time the effect is used for drawing.
/// </para>
/// <para>
/// This is much less expensive than creating the effect graph again, and should be preferred if possible.
/// </para>
/// </remarks>
Update,
/// <summary>
/// Fully invalidates the effect graph, causing it to be created again the next time it is needed.
/// </summary>
/// <remarks>
/// This will cause the last returned <see cref="ICanvasImage"/> instance to be disposed and discarded,
/// and <see cref="CanvasEffect.BuildEffectGraph"/> to be called again the next time the effect is used for drawing.
/// </remarks>
Creation
}