Limited resources copy size limit to int
このコミットが含まれているのは:
1 親
6bfd6d8a98
コミット
f3d430828c
5ファイル変更
+10
-10
検索条件に一致するファイルはありません
@@ -112,7 +112,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
|
||||
/// <param name="destination">The input memory area to write data to.</param>
|
||||
/// <param name="size">The size of the memory area to write data to.</param>
|
||||
/// <param name="offset">The offset to start reading data from.</param>
|
||||
internal abstract void GetData(ref T destination, nint size, int offset);
|
||||
internal abstract void GetData(ref T destination, int size, int offset);
|
||||
|
||||
/// <summary>
|
||||
/// Writes the contents of a given memory area to a specified area of the current <see cref="Buffer{T}"/> instance.
|
||||
@@ -120,7 +120,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
|
||||
/// <param name="source">The input memory area to read data from.</param>
|
||||
/// <param name="size">The size of the input memory area to read data from.</param>
|
||||
/// <param name="offset">The offset to start writing data to.</param>
|
||||
internal abstract void SetData(ref T source, nint size, int offset);
|
||||
internal abstract void SetData(ref T source, int size, int offset);
|
||||
|
||||
/// <summary>
|
||||
/// Writes the contents of a given <see cref="Buffer{T}"/> to the current <see cref="Buffer{T}"/> instance.
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
internal override unsafe void GetData(ref T destination, nint size, int offset)
|
||||
internal override unsafe void GetData(ref T destination, int size, int offset)
|
||||
{
|
||||
GraphicsDevice.ThrowIfDisposed();
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
internal override unsafe void SetData(ref T source, nint size, int offset)
|
||||
internal override unsafe void SetData(ref T source, int size, int offset)
|
||||
{
|
||||
GraphicsDevice.ThrowIfDisposed();
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
|
||||
/// <param name="y">The vertical offset in the source texture.</param>
|
||||
/// <param name="width">The width of the memory area to copy.</param>
|
||||
/// <param name="height">The height of the memory area to copy.</param>
|
||||
internal void GetData(ref T destination, nint size, int x, int y, int width, int height)
|
||||
internal void GetData(ref T destination, int size, int x, int y, int width, int height)
|
||||
{
|
||||
GraphicsDevice.ThrowIfDisposed();
|
||||
|
||||
@@ -199,7 +199,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
|
||||
/// <param name="y">The vertical offset in the destination texture.</param>
|
||||
/// <param name="width">The width of the memory area to write to.</param>
|
||||
/// <param name="height">The height of the memory area to write to.</param>
|
||||
internal void SetData(ref T source, nint size, int x, int y, int width, int height)
|
||||
internal void SetData(ref T source, int size, int x, int y, int width, int height)
|
||||
{
|
||||
GraphicsDevice.ThrowIfDisposed();
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
|
||||
/// <param name="width">The width of the memory area to copy.</param>
|
||||
/// <param name="height">The height of the memory area to copy.</param>
|
||||
/// <param name="depth">The depth of the memory area to copy.</param>
|
||||
internal void GetData(ref T destination, nint size, int x, int y, int z, int width, int height, int depth)
|
||||
internal void GetData(ref T destination, int size, int x, int y, int z, int width, int height, int depth)
|
||||
{
|
||||
GraphicsDevice.ThrowIfDisposed();
|
||||
|
||||
@@ -217,7 +217,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract
|
||||
/// <param name="width">The width of the memory area to write to.</param>
|
||||
/// <param name="height">The height of the memory area to write to.</param>
|
||||
/// <param name="depth">The depth of the memory area to write to.</param>
|
||||
internal void SetData(ref T source, nint size, int x, int y, int z, int width, int height, int depth)
|
||||
internal void SetData(ref T source, int size, int x, int y, int z, int width, int height, int depth)
|
||||
{
|
||||
GraphicsDevice.ThrowIfDisposed();
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace ComputeSharp
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
internal override unsafe void GetData(ref T destination, nint size, int offset)
|
||||
internal override unsafe void GetData(ref T destination, int size, int offset)
|
||||
{
|
||||
GraphicsDevice.ThrowIfDisposed();
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace ComputeSharp
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
internal override unsafe void SetData(ref T source, nint size, int offset)
|
||||
internal override unsafe void SetData(ref T source, int size, int offset)
|
||||
{
|
||||
GraphicsDevice.ThrowIfDisposed();
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする