Removed ITransferBuffer<T> interface

このコミットが含まれているのは:
Sergio Pedri committed 2021-01-31 19:42:42 +01:00
1 親 9ac24f6486
コミット a7777dfc19
2ファイル変更
+1 -18

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

-17
ファイルの表示
@@ -1,17 +0,0 @@
using System;
namespace ComputeSharp
{
/// <summary>
/// An interface representing a typed readonly buffer used to transfer data to the GPU.
/// </summary>
/// <typeparam name="T">The type of items stored on the buffer.</typeparam>
internal interface ITransferBuffer<T>
where T : unmanaged
{
/// <summary>
/// Gets a <see cref="Span{T}"/> with the data of the current buffer.
/// </summary>
Span<T> Span { get; }
}
}
+1 -1
ファイルの表示
@@ -14,7 +14,7 @@ namespace ComputeSharp
/// A <see langword="class"/> representing a typed buffer stored on CPU memory, that can be used to transfer data to the GPU.
/// </summary>
/// <typeparam name="T">The type of items stored on the buffer.</typeparam>
public sealed unsafe class UploadBuffer<T> : NativeObject, IMemoryOwner<T>, ITransferBuffer<T>
public sealed unsafe class UploadBuffer<T> : NativeObject, IMemoryOwner<T>
where T : unmanaged
{
/// <summary>