Add IComputeShaderDescriptor<T>, adjust namespaces

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-15 21:28:02 +02:00
1 親 de498f338a
コミット cecafb8d88
15ファイル変更
+51 -70

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

+2 -1
ファイルの表示
@@ -1,4 +1,5 @@
using System;
using ComputeSharp.Descriptors;
using TerraFX.Interop.Windows;
namespace ComputeSharp.SwapChain.Backend;
@@ -11,7 +12,7 @@ namespace ComputeSharp.SwapChain.Backend;
/// The main point of this type is to hide the complexity of <see cref="Win32Application"/> from the non-NativeAOT sample.
/// </remarks>
internal static class Win32ApplicationFactory<T>
where T : struct, IComputeShader<float4>
where T : struct, IComputeShader<float4>, IComputeShaderDescriptor<T>
{
/// <summary>
/// The <see cref="Func{T1, TResult}"/> instance used to create shaders to run.