Renamed resource debug view types
このコミットが含まれているのは:
1 親
d557d7264e
コミット
3d9e1899c7
6ファイル変更
+10
-10
検索条件に一致するファイルはありません
@@ -11,7 +11,7 @@ namespace ComputeSharp
|
||||
/// A <see langword="class"/> representing a typed readonly 2D texture stored on GPU memory.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items stored on the texture.</typeparam>
|
||||
[DebuggerTypeProxy(typeof(BufferDebugView2D<>))]
|
||||
[DebuggerTypeProxy(typeof(Texture2DDebugView<>))]
|
||||
[DebuggerDisplay("{ToString(),raw}")]
|
||||
public sealed class ReadOnlyTexture2D<T> : Texture2D<T>
|
||||
where T : unmanaged
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace ComputeSharp
|
||||
/// A <see langword="class"/> representing a typed readonly 3D texture stored on GPU memory.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items stored on the texture.</typeparam>
|
||||
[DebuggerTypeProxy(typeof(BufferDebugView3D<>))]
|
||||
[DebuggerTypeProxy(typeof(Texture3DDebugView<>))]
|
||||
[DebuggerDisplay("{ToString(),raw}")]
|
||||
public sealed class ReadOnlyTexture3D<T> : Texture3D<T>
|
||||
where T : unmanaged
|
||||
|
||||
@@ -11,7 +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<>))]
|
||||
[DebuggerTypeProxy(typeof(Texture2DDebugView<>))]
|
||||
[DebuggerDisplay("{ToString(),raw}")]
|
||||
public sealed class ReadWriteTexture2D<T> : Texture2D<T>
|
||||
where T : unmanaged
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace ComputeSharp
|
||||
/// A <see langword="class"/> representing a typed readonly 3D texture stored on GPU memory.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items stored on the texture.</typeparam>
|
||||
[DebuggerTypeProxy(typeof(BufferDebugView3D<>))]
|
||||
[DebuggerTypeProxy(typeof(Texture3DDebugView<>))]
|
||||
[DebuggerDisplay("{ToString(),raw}")]
|
||||
public sealed class ReadWriteTexture3D<T> : Texture3D<T>
|
||||
where T : unmanaged
|
||||
|
||||
+3
-3
@@ -7,14 +7,14 @@ namespace ComputeSharp.Graphics.Buffers.Views
|
||||
/// A debug proxy used to display items in a <see cref="Texture2D{T}"/> instance.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items to display.</typeparam>
|
||||
internal sealed class BufferDebugView2D<T>
|
||||
internal sealed class Texture2DDebugView<T>
|
||||
where T : unmanaged
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="BufferDebugView2D{T}"/> class with the specified parameters.
|
||||
/// Initializes a new instance of the <see cref="Texture2DDebugView{T}"/> class with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="texture">The input <see cref="Texture2D{T}"/> instance with the items to display.</param>
|
||||
public BufferDebugView2D(Texture2D<T>? texture)
|
||||
public Texture2DDebugView(Texture2D<T>? texture)
|
||||
{
|
||||
if (texture is not null)
|
||||
{
|
||||
+3
-3
@@ -7,14 +7,14 @@ namespace ComputeSharp.Graphics.Buffers.Views
|
||||
/// A debug proxy used to display items in a <see cref="Texture3D{T}"/> instance.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items to display.</typeparam>
|
||||
internal sealed class BufferDebugView3D<T>
|
||||
internal sealed class Texture3DDebugView<T>
|
||||
where T : unmanaged
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="BufferDebugView3D{T}"/> class with the specified parameters.
|
||||
/// Initializes a new instance of the <see cref="Texture3DDebugView{T}"/> class with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="texture">The input <see cref="Texture3D{T}"/> instance with the items to display.</param>
|
||||
public BufferDebugView3D(Texture3D<T>? texture)
|
||||
public Texture3DDebugView(Texture3D<T>? texture)
|
||||
{
|
||||
if (texture is not null)
|
||||
{
|
||||
新しいイシューから参照
ユーザーをブロックする