Add new rendering mode setting to sample app

このコミットが含まれているのは:
Sergio Pedri committed 2023-01-21 20:35:53 +01:00
1 親 0deddde903
コミット 9c7ecdb654
6ファイル変更
+80 -27

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

-20
ファイルの表示
@@ -1,20 +0,0 @@
using System.Runtime.CompilerServices;
namespace ComputeSharp.SwapChain.Core.Converters;
/// <summary>
/// A class with some static converters for <see cref="bool"/> values.
/// </summary>
public static class BoolConverter
{
/// <summary>
/// Negates an input <see cref="bool"/> value.
/// </summary>
/// <param name="value">The <see cref="bool"/> value to negate.</param>
/// <returns>The negated value of <paramref name="value"/>.</returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool Not(bool value)
{
return !value;
}
}