Fixed build error in WinUI project
このコミットが含まれているのは:
1 親
5fb3f8ebab
コミット
311eca9a03
1ファイル変更
+4
-1
@@ -1,4 +1,7 @@
|
||||
using System;
|
||||
using ComputeSharp.__Internals;
|
||||
|
||||
#pragma warning disable CS0618
|
||||
|
||||
namespace ComputeSharp.WinUI
|
||||
{
|
||||
@@ -7,7 +10,7 @@ namespace ComputeSharp.WinUI
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of shader to use to render frames.</typeparam>
|
||||
public sealed class ShaderRunner<T> : IShaderRunner
|
||||
where T : struct, IPixelShader<Float4>
|
||||
where T : struct, IPixelShader<Float4>, IShader<T>
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="Func{T1, TResult}"/> instance used to create shaders to run.
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする