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