Renamed Buffer<T>.Size to Length

このコミットが含まれているのは:
Sergio Pedri committed 2020-11-23 12:59:43 +01:00
1 親 052bf969c7
コミット d6d5c4bcc9
8ファイル変更
+46 -46

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

+4 -4
ファイルの表示
@@ -20,9 +20,9 @@ namespace ComputeSharp
/// Creates a new <see cref="ReadWriteBuffer{T}"/> instance with the specified parameters
/// </summary>
/// <param name="device">The <see cref="GraphicsDevice"/> associated with the current instance</param>
/// <param name="size">The number of items to store in the current buffer</param>
internal ReadWriteBuffer(GraphicsDevice device, int size)
: base(device, size, BufferType.ReadWrite)
/// <param name="length">The number of items to store in the current buffer</param>
internal ReadWriteBuffer(GraphicsDevice device, int length)
: base(device, length, BufferType.ReadWrite)
{
}
@@ -36,7 +36,7 @@ namespace ComputeSharp
/// <inheritdoc/>
public override string ToString()
{
return $"ComputeSharp.ReadWriteBuffer<{typeof(T)}>[{Size}]";
return $"ComputeSharp.ReadWriteBuffer<{typeof(T)}>[{Length}]";
}
}
}