using Microsoft.UI.Xaml.Controls;
namespace ComputeSharp.SwapChain.Core.Converters;
///
/// A class with some static converters for rendering state.
///
public static class RenderingPauseConverter
{
///
/// Gets a symbol for an input rendering state.
///
/// Whether or not the rendering is currently paused.
/// A symbol representing the next action for the rendering.
public static Symbol ConvertPausedToSymbol(bool value)
{
return value ? Symbol.Play : Symbol.Pause;
}
}