diff --git a/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs b/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs index 08063ddd..f386bdfe 100644 --- a/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs +++ b/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs @@ -131,8 +131,8 @@ namespace ComputeSharp.Graphics.Buffers.Abstract /// /// The input array to write data to. /// - /// The input 3D array needs to have each 2D plane stacked on the depth axis. That is, unlike .NET arrays - /// which are traditionally of size [H, W, D], the input one needs to have a layout of [D, H, W]. + /// The input 3D array needs to have each 2D plane stacked on the depth axis. That is, the expected + /// layout of the input array has to be [, , ]. /// public void GetData(T[,,] destination) { @@ -286,8 +286,8 @@ namespace ComputeSharp.Graphics.Buffers.Abstract /// /// The input array to read data from. /// - /// The input 3D array needs to have each 2D plane stacked on the depth axis. That is, unlike .NET arrays - /// which are traditionally of size [H, W, D], the input one needs to have a layout of [D, H, W]. + /// The source 3D array needs to have each 2D plane stacked on the depth axis. That is, the expected + /// layout of the input array has to be [, , ]. /// public void SetData(T[,,] source) { diff --git a/src/ComputeSharp/Extensions/GraphicsDeviceExtensions.cs b/src/ComputeSharp/Extensions/GraphicsDeviceExtensions.cs index d2a6e53d..e22ed529 100644 --- a/src/ComputeSharp/Extensions/GraphicsDeviceExtensions.cs +++ b/src/ComputeSharp/Extensions/GraphicsDeviceExtensions.cs @@ -284,8 +284,8 @@ namespace ComputeSharp /// The input array with the data to copy on the allocated texture. /// A read write instance with the contents of the input array. /// - /// The input 3D array needs to have each 2D plane stacked on the depth axis. That is, unlike .NET arrays - /// which are traditionally of size [H, W, D], the input one needs to have a layout of [D, H, W]. + /// The source 3D array needs to have each 2D plane stacked on the depth axis. + /// That is, the expected layout of the input array has to be [depth, height, width]. /// [Pure] public static ReadOnlyTexture3D AllocateReadOnlyTexture3D(this GraphicsDevice device, T[,,] array) @@ -528,8 +528,8 @@ namespace ComputeSharp /// The input array with the data to copy on the allocated texture. /// A read write instance with the contents of the input array. /// - /// The input 3D array needs to have each 2D plane stacked on the depth axis. That is, unlike .NET arrays - /// which are traditionally of size [H, W, D], the input one needs to have a layout of [D, H, W]. + /// The source 3D array needs to have each 2D plane stacked on the depth axis. + /// That is, the expected layout of the input array has to be [depth, height, width]. /// [Pure] public static ReadWriteTexture3D AllocateReadWriteTexture3D(this GraphicsDevice device, T[,,] array)