diff --git a/src/ComputeSharp.Graphics/Buffers/Abstract/StructuredBuffer{T}.cs b/src/ComputeSharp.Graphics/Buffers/Abstract/StructuredBuffer{T}.cs index b2fcec46..86528ee7 100644 --- a/src/ComputeSharp.Graphics/Buffers/Abstract/StructuredBuffer{T}.cs +++ b/src/ComputeSharp.Graphics/Buffers/Abstract/StructuredBuffer{T}.cs @@ -1,5 +1,4 @@ -using System; -using ComputeSharp.Graphics.Buffers.Enums; +using ComputeSharp.Graphics.Buffers.Enums; using ComputeSharp.Graphics.Buffers.Interop; using ComputeSharp.Graphics.Commands; using ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp.Graphics/Buffers/Abstract/Texture2D{T}.cs b/src/ComputeSharp.Graphics/Buffers/Abstract/Texture2D{T}.cs index 780e81de..a3c9cee6 100644 --- a/src/ComputeSharp.Graphics/Buffers/Abstract/Texture2D{T}.cs +++ b/src/ComputeSharp.Graphics/Buffers/Abstract/Texture2D{T}.cs @@ -171,7 +171,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract /// The vertical offset in the destination texture. /// The width of the memory area to write to. /// The height of the memory area to write to. - public void SetData(ref T source, nint size, int x, int y, int width, int height) + internal void SetData(ref T source, nint size, int x, int y, int width, int height) { GraphicsDevice.ThrowIfDisposed(); diff --git a/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs b/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs index c86d5618..adcb4106 100644 --- a/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs +++ b/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs @@ -116,7 +116,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract /// The width of the memory area to copy. /// The height of the memory area to copy. /// The depth of the memory area to copy. - public 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, nint size, int x, int y, int z, int width, int height, int depth) { GraphicsDevice.ThrowIfDisposed(); @@ -189,7 +189,7 @@ namespace ComputeSharp.Graphics.Buffers.Abstract /// The width of the memory area to write to. /// The height of the memory area to write to. /// The depth of the memory area to write to. - public 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, nint size, int x, int y, int z, int width, int height, int depth) { GraphicsDevice.ThrowIfDisposed();