Added BufferDebugView2D<T> type

このコミットが含まれているのは:
Sergio Pedri committed 2020-12-03 15:50:47 +01:00
1 親 2a38143801
コミット 70a8b095b0
3ファイル変更
+32

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

+2
ファイルの表示
@@ -3,6 +3,7 @@ using ComputeSharp.Exceptions;
using ComputeSharp.Graphics;
using ComputeSharp.Graphics.Buffers.Abstract;
using ComputeSharp.Graphics.Buffers.Enums;
using ComputeSharp.Graphics.Buffers.Views;
namespace ComputeSharp
{
@@ -10,6 +11,7 @@ namespace ComputeSharp
/// A <see langword="class"/> representing a typed read write 2D texture stored on GPU memory.
/// </summary>
/// <typeparam name="T">The type of items stored on the texture.</typeparam>
[DebuggerTypeProxy(typeof(BufferDebugView2D<>))]
[DebuggerDisplay("{ToString(),raw}")]
public sealed class ReadWriteTexture2D<T> : Texture2D<T>
where T : unmanaged