namespace XFESystem.Desktop;
/// <summary>Read-only cooperative render cancellation; checking never consumes input.</summary>
public interface IDesktopRenderYieldCanvas
{
bool RenderYieldRequested { get; }
}
/// <summary>The current frame is incomplete and must not be cached or presented.</summary>
public sealed class DesktopRenderYieldException : Exception
{
public DesktopRenderYieldException() : base("Rendering yielded to pending interactive input.") { }
}
namespace XFESystem.Desktop;
/// <summary>Read-only cooperative render cancellation; checking never consumes input.</summary>
public interface IDesktopRenderYieldCanvas
{
bool RenderYieldRequested { get; }
}
/// <summary>The current frame is incomplete and must not be cached or presented.</summary>
public sealed class DesktopRenderYieldException : Exception
{
public DesktopRenderYieldException() : base("Rendering yielded to pending interactive input.") { }
}