public readonly record struct WebGpuLimitsWhat a WebGPU implementation reports it can do.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Every field is one of WGPULimits's, kept in its own record so WebGpuCapabilities can derive GraphicsDeviceFeatures from it in a pure function a test can drive with a browser's numbers on a machine that has no browser.
Fields and properties (15)
public int MaxTextureDimension2DThe largest 2D texture edge, in texels.
public int MaxTextureDimension3DThe largest 3D texture edge, in texels.
public int MaxTextureArrayLayersThe largest array texture layer count.
public int MaxBindGroupsThe largest bound bind group count.
public long MaxUniformBufferBindingSizeThe largest uniform buffer binding, in bytes.
public int MinUniformBufferOffsetAlignmentThe alignment a dynamic uniform offset has to satisfy.
public int MaxVertexBuffersThe largest bound vertex buffer count.
public long MaxBufferSizeThe largest buffer, in bytes.
public int MaxVertexAttributesThe largest vertex attribute count across all buffers.
public int MaxColorAttachmentsThe largest colour attachment count in one pass.
public int MaxDynamicUniformBuffersPerPipelineLayoutThe largest dynamic uniform buffer count in one pipeline layout.
public int MaxComputeWorkgroupSizeXThe largest compute workgroup, in X.
public int MaxComputeWorkgroupSizeYThe largest compute workgroup, in Y.
public int MaxComputeWorkgroupSizeZThe largest compute workgroup, in Z.
public static WebGpuLimits GuaranteedWhat the WebGPU specification guarantees every implementation supports.
Methods (1)
public WebGpuLimits OrGuaranteed()These limits, with anything unreported replaced by the specification's floor.
Used by (10)
- FakeWebGpuBindingVixen.Graphics.WebGPU.Tests
- IWebGpuBindingVixen.Graphics.WebGPU
- NativeWebGpuBindingVixen.Graphics.WebGPU
- NativeWebGpuTestsVixen.Graphics.WebGPU.Tests
- PushConstantRingVixen.Graphics.WebGPU
- WebGpuCapabilitiesVixen.Graphics.WebGPU
- WebGpuCommandTestsVixen.Graphics.WebGPU.Tests
- WebGpuConversionTestsVixen.Graphics.WebGPU.Tests
- WebGpuDeviceVixen.Graphics.WebGPU
- WebGpuDeviceTestsVixen.Graphics.WebGPU.Tests