Added UploadBuffer<T> type

このコミットが含まれているのは:
Sergio Pedri committed 2021-01-31 19:41:39 +01:00
1 親 42f6401655
コミット 1857407c3d
5ファイル変更
+240 -18

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

+17
ファイルの表示
@@ -0,0 +1,17 @@
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; }
}
}