Restore <TreatWarningsAsErrors> and fix warnings
このコミットが含まれているのは:
1 親
ec901922db
コミット
d8a4a7412d
25ファイル変更
+49
-35
検索条件に一致するファイルはありません
@@ -56,7 +56,7 @@ public sealed partial class HlslBokehBlurProcessor
|
||||
private readonly float KernelsScale;
|
||||
|
||||
/// <summary>
|
||||
/// The mapping of initialized complex kernels and parameters, to speed up the initialization of new <see cref="HlslBokehBlurProcessor{TPixel}"/> instances.
|
||||
/// The mapping of initialized complex kernels and parameters, to speed up the initialization of new <see cref="HlslBokehBlurProcessor"/> instances.
|
||||
/// </summary>
|
||||
private static readonly ConcurrentDictionary<(int Radius, int ComponentsCount), (Vector4[] Parameters, float Scale, Complex64[][] Kernels)> Cache = new();
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using Microsoft.UI.Xaml.Input;
|
||||
namespace ComputeSharp.SwapChain.WinUI.Views;
|
||||
|
||||
/// <summary>
|
||||
/// A view for <see cref="MainViewModel"/>.
|
||||
/// A view for <see cref="ComputeSharp.SwapChain.WinUI.ViewModels.MainViewModel"/>.
|
||||
/// </summary>
|
||||
public sealed partial class MainWindow : Window
|
||||
{
|
||||
|
||||
@@ -76,7 +76,7 @@ internal sealed class SwapChainApplication<T> : Win32Application
|
||||
private bool isResizePending;
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="SwapChainApplication"/> instance with the specified parameters.
|
||||
/// Creates a new <see cref="SwapChainApplication{T}"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="shaderFactory">The <see cref="Func{T1, TResult}"/> instance used to create shaders to run.</param>
|
||||
public SwapChainApplication(Func<TimeSpan, T> shaderFactory)
|
||||
|
||||
@@ -39,13 +39,10 @@ internal unsafe static class Win32ApplicationRunner
|
||||
private static Thread renderThread = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Runs a specified application and starts the main loop to update its state.
|
||||
/// This is the entry point for a given application of type <typeparamref name="T"/>, and it should be
|
||||
/// called as soon as the process is launched, excluding any other additional initialization needed.
|
||||
/// <para>To launch an application, simply add this line to the project being used:</para>
|
||||
/// <c>Win32ApplicationRunner.Run<MyApplication>();</c>
|
||||
/// Runs a specified application and starts the main loop to update its state. This is the entry point for a given application,
|
||||
/// and it should be called as soon as the process is launched, excluding any other additional initialization needed.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of application being launched.</typeparam>
|
||||
/// <param name="application">The input application instance to run.</param>
|
||||
/// <returns>The exit code for the application.</returns>
|
||||
public static int Run(Win32Application application)
|
||||
{
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<Project>
|
||||
<Import Project="..\Directory.Build.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
新しいイシューから参照
ユーザーをブロックする