Renamed Buffer<T>.Size to Length

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

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

+3 -3
ファイルの表示
@@ -21,10 +21,10 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
/// Creates a new <see cref="StructuredBuffer{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>
/// <param name="length">The number of items to store in the current buffer</param>
/// <param name="bufferType">The buffer type for the current buffer</param>
internal StructuredBuffer(GraphicsDevice device, int size, BufferType bufferType)
: base(device, size, size * Unsafe.SizeOf<T>(), bufferType)
internal StructuredBuffer(GraphicsDevice device, int length, BufferType bufferType)
: base(device, length, length * Unsafe.SizeOf<T>(), bufferType)
{
}