More code tweaks, improved XML docs

このコミットが含まれているのは:
Sergio Pedri committed 2020-11-19 18:40:16 +01:00
1 親 b32a8ae9e2
コミット a6ad87200b
4ファイル変更
+24 -21

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

+1 -1
ファイルの表示
@@ -44,7 +44,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
/// <inheritdoc/>
public override unsafe void SetData(ReadOnlySpan<T> span, int offset, int count)
{
using Buffer<T> transferBuffer = new Buffer<T>(GraphicsDevice, count, count * ElementSizeInBytes, BufferType.Transfer);
using Buffer<T> transferBuffer = new Buffer<T>(GraphicsDevice, count, count * ElementSizeInBytes, BufferType.Upload);
using (MappedResource resource = transferBuffer.MapResource())
{