Minor code tweaks

このコミットが含まれているのは:
Sergio Pedri committed 2021-01-06 00:05:36 +01:00
1 親 cc53717a9c
コミット 7c156a2dab
6ファイル変更
+6 -9

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

+1 -1
ファイルの表示
@@ -1,6 +1,7 @@
using System;
using System.Diagnostics.Contracts;
using ComputeSharp.Core.Extensions;
using ComputeSharp.Graphics.Resources.Enums;
using Microsoft.Toolkit.Diagnostics;
using TerraFX.Interop;
using static TerraFX.Interop.D3D12_COMMAND_QUEUE_FLAGS;
@@ -18,7 +19,6 @@ using static TerraFX.Interop.D3D12_RESOURCE_STATES;
using static TerraFX.Interop.D3D12_SRV_DIMENSION;
using static TerraFX.Interop.D3D12_UAV_DIMENSION;
using FX = TerraFX.Interop.Windows;
using ComputeSharp.Graphics.Resources.Enums;
namespace ComputeSharp.Graphics.Extensions
{
-1
ファイルの表示
@@ -17,7 +17,6 @@ namespace ComputeSharp.Graphics.Extensions
/// <param name="z">The depthwise offset in the destination texture.</param>
/// <param name="d3D12ResourceSource">The source <see cref="ID3D12Resource"/> (a buffer) to read from.</param>
/// <param name="d3D12PlacedSubresourceFootprintSource">The <see cref="D3D12_PLACED_SUBRESOURCE_FOOTPRINT"/> value describing <paramref name="d3D12ResourceSource"/>.</param>
public static void CopyTextureRegion(
this ref ID3D12GraphicsCommandList d3D12GraphicsCommandList,
ID3D12Resource* d3D12ResourceDestination,
+1 -1
ファイルの表示
@@ -87,7 +87,7 @@ namespace ComputeSharp.Resources
}
/// <summary>
/// Gets the <see cref="Graphics.GraphicsDevice"/> associated with the current instance.
/// Gets the <see cref="ComputeSharp.GraphicsDevice"/> associated with the current instance.
/// </summary>
public GraphicsDevice GraphicsDevice { get; }
+2 -2
ファイルの表示
@@ -53,7 +53,7 @@ namespace ComputeSharp.Resources
/// <summary>
/// Creates a new <see cref="Texture2D{T}"/> instance with the specified parameters.
/// </summary>
/// <param name="device">The <see cref="Graphics.GraphicsDevice"/> associated with the current instance.</param>
/// <param name="device">The <see cref="ComputeSharp.GraphicsDevice"/> associated with the current instance.</param>
/// <param name="height">The height of the texture.</param>
/// <param name="width">The width of the texture.</param>
/// <param name="resourceType">The resource type for the current texture.</param>
@@ -99,7 +99,7 @@ namespace ComputeSharp.Resources
}
/// <summary>
/// Gets the <see cref="Graphics.GraphicsDevice"/> associated with the current instance.
/// Gets the <see cref="ComputeSharp.GraphicsDevice"/> associated with the current instance.
/// </summary>
public GraphicsDevice GraphicsDevice { get; }
+2 -2
ファイルの表示
@@ -53,7 +53,7 @@ namespace ComputeSharp.Resources
/// <summary>
/// Creates a new <see cref="Texture3D{T}"/> instance with the specified parameters.
/// </summary>
/// <param name="device">The <see cref="Graphics.GraphicsDevice"/> associated with the current instance.</param>
/// <param name="device">The <see cref="ComputeSharp.GraphicsDevice"/> associated with the current instance.</param>
/// <param name="height">The height of the texture.</param>
/// <param name="width">The width of the texture.</param>
/// <param name="depth">The depth of the texture.</param>
@@ -103,7 +103,7 @@ namespace ComputeSharp.Resources
}
/// <summary>
/// Gets the <see cref="Graphics.GraphicsDevice"/> associated with the current instance.
/// Gets the <see cref="ComputeSharp.GraphicsDevice"/> associated with the current instance.
/// </summary>
public GraphicsDevice GraphicsDevice { get; }
-2
ファイルの表示
@@ -2,8 +2,6 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>9.0</LangVersion>
</PropertyGroup>
<PropertyGroup>