Added new shaders to WinUI sample

このコミットが含まれているのは:
Sergio Pedri committed 2021-11-20 00:28:00 +01:00
1 親 0fada8b16e
コミット c32f09ecb3
5ファイル変更
+13 -1

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

@@ -17,6 +17,8 @@
<Compile Include="..\..\ComputeSharp.SwapChain\Shaders\TwoTiledTruchet.cs" Link="Shaders\TwoTiledTruchet.cs" />
<Compile Include="..\..\ComputeSharp.SwapChain\Shaders\Octagrams.cs" Link="Shaders\Octagrams.cs" />
<Compile Include="..\..\ComputeSharp.SwapChain\Shaders\ProteanClouds.cs" Link="Shaders\ProteanClouds.cs" />
<Compile Include="..\..\ComputeSharp.SwapChain\Shaders\PyramidPattern.cs" Link="Shaders\PyramidPattern.cs" />
<Compile Include="..\..\ComputeSharp.SwapChain\Shaders\TriangleGridContouring.cs" Link="Shaders\TriangleGridContouring.cs" />
</ItemGroup>
<ItemGroup>
@@ -65,7 +65,9 @@ namespace ComputeSharp.SwapChain.WinUI.ViewModels
new("Menger Journey", new ShaderRunner<MengerJourney>(static (texture, time) => new(texture, (float)time.TotalSeconds))),
new("Octagrams", new ShaderRunner<Octagrams>(static (texture, time) => new(texture, (float)time.TotalSeconds))),
new("Protean clouds", new ShaderRunner<ProteanClouds>(static (texture, time) => new(texture, (float)time.TotalSeconds))),
new("Two tiled truchet", new ShaderRunner<TwoTiledTruchet>(static (texture, time) => new(texture, (float)time.TotalSeconds)))
new("Two tiled truchet", new ShaderRunner<TwoTiledTruchet>(static (texture, time) => new(texture, (float)time.TotalSeconds))),
new("Pyramid pattern", new ShaderRunner<PyramidPattern>(static (texture, time) => new(texture, (float)time.TotalSeconds))),
new("Triangle grid contouring", new ShaderRunner<TriangleGridContouring>(static (texture, time) => new(texture, (float)time.TotalSeconds)))
};
private ComputeShader selectedComputeShader;