diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs index 78e83019..9f7954ec 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs @@ -118,7 +118,10 @@ public abstract unsafe partial class TransferTexture1D : IReferenceTrackedObj } } - /// + /// + /// Gets a representing a view over the mapped contents of the current instance. + /// + /// The returned view is only valid while the current instance is not disposed. public Span Span { [MethodImpl(MethodImplOptions.AggressiveInlining)] diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs index e6f23d3f..d759cc09 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs @@ -113,7 +113,10 @@ public abstract unsafe partial class TransferTexture2D : IReferenceTrackedObj /// internal ref readonly D3D12_PLACED_SUBRESOURCE_FOOTPRINT D3D12PlacedSubresourceFootprint => ref this.d3D12PlacedSubresourceFootprint; - /// + /// + /// Gets a representing a view over the mapped contents of the current instance. + /// + /// The returned view is only valid while the current instance is not disposed. public TextureView2D View { [MethodImpl(MethodImplOptions.AggressiveInlining)] diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs index 6502ee60..6bfa8790 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs @@ -121,7 +121,10 @@ public abstract unsafe partial class TransferTexture3D : IReferenceTrackedObj /// internal ref readonly D3D12_PLACED_SUBRESOURCE_FOOTPRINT D3D12PlacedSubresourceFootprint => ref this.d3D12PlacedSubresourceFootprint; - /// + /// + /// Gets a representing a view over the mapped contents of the current instance. + /// + /// The returned view is only valid while the current instance is not disposed. public TextureView3D View { [MethodImpl(MethodImplOptions.AggressiveInlining)]