Added the TextureView2D<T> type over Span2D<T>

このコミットが含まれているのは:
Sergio Pedri committed 2021-02-03 18:34:27 +01:00
1 親 56026b3290
コミット a4ded10a10
5ファイル変更
+556 -18

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

+1 -1
ファイルの表示
@@ -15,7 +15,7 @@ namespace ComputeSharp.Resources.Debug
/// <param name="texture">The input <see cref="TransferTexture2D{T}"/> instance with the items to display.</param>
public TransferTexture2DDebugView(TransferTexture2D<T>? texture)
{
Items = texture?.Span.ToArray();
Items = texture?.View.ToArray();
}
/// <summary>