Update WinUI sample to run on NativeAOT

このコミットが含まれているのは:
Sergio Pedri committed 2024-08-24 15:40:58 -07:00
1 親 1286194241
コミット 47204e8f83
8ファイル変更
+31 -23

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

+2 -2
ファイルの表示
@@ -8,7 +8,7 @@ namespace ComputeSharp.SwapChain.Core.Shaders;
/// <summary>
/// An base effect for an animated pixel shader.
/// </summary>
public abstract class PixelShaderEffect : CanvasEffect
public abstract partial class PixelShaderEffect : CanvasEffect
{
/// <summary>
/// The current elapsed time.
@@ -57,7 +57,7 @@ public abstract class PixelShaderEffect : CanvasEffect
/// </summary>
/// <typeparam name="T">The type of pixel shader to render.</typeparam>
/// <param name="factory">The input <typeparamref name="T"/> factory.</param>
public sealed class For<T>(For<T>.Factory factory) : PixelShaderEffect
public sealed partial class For<T>(For<T>.Factory factory) : PixelShaderEffect
where T : unmanaged, ID2D1PixelShader, ID2D1PixelShaderDescriptor<T>
{
/// <summary>
+1 -1
ファイルの表示
@@ -11,7 +11,7 @@ namespace ComputeSharp.SwapChain.Core.Shaders.Runners;
/// <summary>
/// A specialized <see cref="PixelShaderEffect"/> for <see cref="ContouredLayers"/>.
/// </summary>
public sealed class D2D1ContouredLayersEffect : PixelShaderEffect
public sealed partial class D2D1ContouredLayersEffect : PixelShaderEffect
{
/// <summary>
/// The reusable <see cref="PixelShaderEffect{T}"/> node to use to render frames.