Skip to content

Commit 210df0d

Browse files
Make types internal
1 parent 07c74ad commit 210df0d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/ImageSharp.Drawing.WebGPU/WebGPUSurfaceCapability.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace SixLabors.ImageSharp.Drawing.Processing.Backends;
99
/// <remarks>
1010
/// The backing WebGPU device, queue, texture, and texture view must remain valid while canvases target this surface.
1111
/// </remarks>
12-
public sealed class WebGPUSurfaceCapability
12+
internal sealed class WebGPUSurfaceCapability
1313
{
1414
private readonly WebGPUDeviceHandle deviceHandle;
1515
private readonly WebGPUQueueHandle queueHandle;
@@ -62,15 +62,15 @@ internal WebGPUSurfaceCapability(
6262
/// <summary>
6363
/// Gets the native render target texture format identifier.
6464
/// </summary>
65-
public WebGPUTextureFormatId TargetFormat { get; }
65+
internal WebGPUTextureFormatId TargetFormat { get; }
6666

6767
/// <summary>
6868
/// Gets the surface width in pixels.
6969
/// </summary>
70-
public int Width { get; }
70+
internal int Width { get; }
7171

7272
/// <summary>
7373
/// Gets the surface height in pixels.
7474
/// </summary>
75-
public int Height { get; }
75+
internal int Height { get; }
7676
}

src/ImageSharp.Drawing.WebGPU/WebGPUTextureFormatId.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace SixLabors.ImageSharp.Drawing.Processing.Backends;
55

66
/// <summary>
7-
/// Supported WebGPU texture format identifiers used by <see cref="WebGPUSurfaceCapability"/>.
7+
/// Supported texture format identifiers for native WebGPU targets.
88
/// </summary>
99
/// <remarks>
1010
/// Only formats with storage texture binding support are included.

0 commit comments

Comments
 (0)