Fixed some XML docs
このコミットが含まれているのは:
1 親
6338f2511e
コミット
b340dc633d
21ファイル変更
+49
-49
検索条件に一致するファイルはありません
@@ -120,6 +120,7 @@ namespace ComputeSharp.Graphics.Commands
|
||||
/// <param name="d3D12ResourceSource">The source <see cref="ID3D12Resource"/> (a texture) to read from.</param>
|
||||
/// <param name="x">The horizontal offset in the destination texture.</param>
|
||||
/// <param name="y">The vertical offset in the destination texture.</param>
|
||||
/// <param name="z">The depthwise offset in the destination texture.</param>
|
||||
/// <param name="width">The width of the memory area to read from.</param>
|
||||
/// <param name="height">The height of the memory area to read from.</param>
|
||||
/// <param name="depth">The depth of the memory area to read from.</param>
|
||||
@@ -166,7 +167,7 @@ namespace ComputeSharp.Graphics.Commands
|
||||
/// <summary>
|
||||
/// Sets a given <see cref="PipelineData"/> object ready to be executed.
|
||||
/// </summary>
|
||||
/// <param name="pipelineState">The input <see cref="PipelineData"/> to setup.</param>
|
||||
/// <param name="pipelineData">The input <see cref="PipelineData"/> to setup.</param>
|
||||
public readonly void SetPipelineData(PipelineData pipelineData)
|
||||
{
|
||||
this.d3D12GraphicsCommandList.Get()->SetComputeRootSignature(pipelineData.D3D12RootSignature);
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace ComputeSharp.Graphics.Commands.Interop
|
||||
/// Rents a new CPU and GPU handle pair to use in a memory buffer.
|
||||
/// </summary>
|
||||
/// <param name="d3D12CpuDescriptorHandle">The resulting <see cref="D3D12_CPU_DESCRIPTOR_HANDLE"/> value.</param>
|
||||
/// <param name="d3D12CpuDescriptorHandle">The resulting <see cref="D3D12_GPU_DESCRIPTOR_HANDLE"/> value.</param>
|
||||
/// <param name="d3D12GpuDescriptorHandle">The resulting <see cref="D3D12_GPU_DESCRIPTOR_HANDLE"/> value.</param>
|
||||
public void Rent(
|
||||
out D3D12_CPU_DESCRIPTOR_HANDLE d3D12CpuDescriptorHandle,
|
||||
out D3D12_GPU_DESCRIPTOR_HANDLE d3D12GpuDescriptorHandle)
|
||||
@@ -106,7 +106,7 @@ namespace ComputeSharp.Graphics.Commands.Interop
|
||||
/// Returns a CPU and GPU handle pair for later use.
|
||||
/// </summary>
|
||||
/// <param name="d3D12CpuDescriptorHandle">The returned <see cref="D3D12_CPU_DESCRIPTOR_HANDLE"/> value.</param>
|
||||
/// <param name="d3D12CpuDescriptorHandle">The returned <see cref="D3D12_GPU_DESCRIPTOR_HANDLE"/> value.</param>
|
||||
/// <param name="d3D12GpuDescriptorHandle">The returned <see cref="D3D12_GPU_DESCRIPTOR_HANDLE"/> value.</param>
|
||||
public void Return(
|
||||
D3D12_CPU_DESCRIPTOR_HANDLE d3D12CpuDescriptorHandle,
|
||||
D3D12_GPU_DESCRIPTOR_HANDLE d3D12GpuDescriptorHandle)
|
||||
|
||||
@@ -19,11 +19,10 @@ namespace ComputeSharp.Graphics.Commands
|
||||
private ComPtr<ID3D12PipelineState> d3D12PipelineState;
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="PipelineState"/> instance with the specified parameters.
|
||||
/// Creates a new <see cref="PipelineData"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="device">The <see cref="GraphicsDevice"/> to use.</param>
|
||||
/// <param name="rootSignature">The <see cref="ID3D12RootSignature"/> value for the current shader.</param>
|
||||
/// <param name="computeShader">The bytecode for the compute shader to run.</param>
|
||||
/// <param name="d3D12RootSignature">The <see cref="ID3D12RootSignature"/> value for the current shader.</param>
|
||||
/// <param name="d3D12PipelineState">The compiled pipeline state to reuse for the current shader.</param>
|
||||
public PipelineData(ComPtr<ID3D12RootSignature> d3D12RootSignature, ComPtr<ID3D12PipelineState> d3D12PipelineState)
|
||||
{
|
||||
this.d3D12RootSignature = d3D12RootSignature;
|
||||
|
||||
@@ -423,6 +423,7 @@ namespace ComputeSharp.Graphics.Extensions
|
||||
/// </summary>
|
||||
/// <param name="d3D12Device">The target <see cref="ID3D12Device"/> to use to create the command list.</param>
|
||||
/// <param name="d3D12CommandListType">The type of command list to create.</param>
|
||||
/// <param name="d3D12CommandAllocator">The command allocator to use to create the command list.</param>
|
||||
/// <returns>A pointer to the newly allocated <see cref="ID3D12GraphicsCommandList"/> instance.</returns>
|
||||
/// <exception cref="Exception">Thrown when the creation of the command list fails.</exception>
|
||||
public static ComPtr<ID3D12GraphicsCommandList> CreateCommandList(
|
||||
|
||||
@@ -152,11 +152,11 @@ namespace ComputeSharp
|
||||
internal bool IsCacheCoherentUMA { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether the current device supports the creation of <see cref="Buffers.Abstract.Texture2D{T}"/>
|
||||
/// Checks whether the current device supports the creation of <see cref="Resources.Texture2D{T}"/>
|
||||
/// resources for a specified type <typeparamref name="T"/>.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of values to check support for.</typeparam>
|
||||
/// <returns>Whether <see cref="Buffers.Abstract.Texture2D{T}"/> instances can be created by the current device.</returns>
|
||||
/// <returns>Whether <see cref="Resources.Texture2D{T}"/> instances can be created by the current device.</returns>
|
||||
[Pure]
|
||||
public bool IsTexture2DSupportedForType<T>()
|
||||
where T : unmanaged
|
||||
@@ -167,11 +167,11 @@ namespace ComputeSharp
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether the current device supports the creation of <see cref="Buffers.Abstract.Texture3D{T}"/>
|
||||
/// Checks whether the current device supports the creation of <see cref="Resources.Texture3D{T}"/>
|
||||
/// resources for a specified type <typeparamref name="T"/>.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of values to check support for.</typeparam>
|
||||
/// <returns>Whether <see cref="Buffers.Abstract.Texture3D{T}"/> instances can be created by the current device.</returns>
|
||||
/// <returns>Whether <see cref="Resources.Texture3D{T}"/> instances can be created by the current device.</returns>
|
||||
[Pure]
|
||||
public bool IsTexture3DSupportedForType<T>()
|
||||
where T : unmanaged
|
||||
@@ -181,7 +181,7 @@ namespace ComputeSharp
|
||||
return this.d3D12Device.Get()->IsDxgiFormatSupported(DXGIFormatHelper.GetForType<T>(), D3D12_FORMAT_SUPPORT1_TEXTURE3D);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D12DescriptorHandleAllocator.Allocate"/>
|
||||
/// <inheritdoc cref="ID3D12DescriptorHandleAllocator.Rent"/>
|
||||
internal void RentShaderResourceViewDescriptorHandles(
|
||||
out D3D12_CPU_DESCRIPTOR_HANDLE d3D12CpuDescriptorHandle,
|
||||
out D3D12_GPU_DESCRIPTOR_HANDLE d3D12GpuDescriptorHandle)
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace ComputeSharp
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="GraphicsDeviceInfo"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="description">The available info for the associate device.</param>
|
||||
/// <param name="dxgiDescription1">The available info for the associated device.</param>
|
||||
internal unsafe GraphicsDeviceInfo(DXGI_ADAPTER_DESC1* dxgiDescription1)
|
||||
{
|
||||
Luid = Luid.FromLUID(dxgiDescription1->AdapterLuid);
|
||||
|
||||
@@ -174,7 +174,6 @@ namespace ComputeSharp.Graphics.Helpers
|
||||
/// Copies the content of a source memory area to the 3D area pointed by an input pointer.
|
||||
/// The destination memory area has padding in each row, while the source does not.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of values to read.</typeparam>
|
||||
/// <param name="source">The source memory area to read from.</param>
|
||||
/// <param name="destination">The pointer that indicates the 3D memory area to write to.</param>
|
||||
/// <param name="height">The height of the 3D memory area to write to.</param>
|
||||
@@ -219,7 +218,6 @@ namespace ComputeSharp.Graphics.Helpers
|
||||
/// Copies a 3D memory area pointed by a pointer value to a target memory area.
|
||||
/// The source memory area has padding in each row, while the target does not.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of values to read.</typeparam>
|
||||
/// <param name="source">The pointer that indicates the memory area to read from.</param>
|
||||
/// <param name="height">The height of the 3D memory area to read.</param>
|
||||
/// <param name="depth">The depth of the 3D memory area to read.</param>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
/// </summary>
|
||||
/// <param name="x">The horizontal offset of the value to get.</param>
|
||||
/// <param name="y">The vertical offset of the value to get.</param>
|
||||
/// <param name="y">The depthwise offset of the value to get.</param>
|
||||
/// <param name="z">The depthwise offset of the value to get.</param>
|
||||
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
|
||||
public TPixel this[int x, int y, int z] { get; }
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
/// <param name="x">The horizontal offset of the value to get.</param>
|
||||
/// <param name="y">The vertical offset of the value to get.</param>
|
||||
/// <param name="y">The depthwise offset of the value to get.</param>
|
||||
/// <param name="z">The depthwise offset of the value to get.</param>
|
||||
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
|
||||
public T this[int x, int y, int z] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyTexture3D<T>)}<T>[int,int,int]");
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする