Table of Contents

Class GPUSupportedLimits

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The GPUSupportedLimits interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} describes the limits supported by a GPUAdapter.

[Value("GPUSupportedLimits")]
public class GPUSupportedLimits
Inheritance
GPUSupportedLimits
Inherited Members

Remarks

The GPUSupportedLimits object for the current adapter is accessed via the Limits property.

You should note that, rather than reporting the exact limits of each GPU, browsers will likely report different tier values of different limits to reduce the unique information available to drive-by fingerprinting. For example, the tiers of a certain limit might be 2048, 8192, and 32768. If your GPU's actual limit is 16384, the browser will still report 8192.

Given that different browsers will handle this differently and the tier values may change over time, it is hard to provide an accurate account of what limit values to expect — thorough testing is advised.

-The WebGPU API

See also on MDN

Constructors

GPUSupportedLimits()

public GPUSupportedLimits()

Properties

MaxBindGroups

[Value("maxBindGroups")]
public ulong MaxBindGroups { get; }

Property Value

ulong

MaxBindGroupsPlusVertexBuffers

[Value("maxBindGroupsPlusVertexBuffers")]
public ulong MaxBindGroupsPlusVertexBuffers { get; }

Property Value

ulong

MaxBindingsPerBindGroup

[Value("maxBindingsPerBindGroup")]
public ulong MaxBindingsPerBindGroup { get; }

Property Value

ulong

MaxBufferSize

[Value("maxBufferSize")]
public ulong MaxBufferSize { get; }

Property Value

ulong

MaxColorAttachmentBytesPerSample

[Value("maxColorAttachmentBytesPerSample")]
public ulong MaxColorAttachmentBytesPerSample { get; }

Property Value

ulong

MaxColorAttachments

[Value("maxColorAttachments")]
public ulong MaxColorAttachments { get; }

Property Value

ulong

MaxComputeInvocationsPerWorkgroup

[Value("maxComputeInvocationsPerWorkgroup")]
public ulong MaxComputeInvocationsPerWorkgroup { get; }

Property Value

ulong

MaxComputeWorkgroupSizeX

[Value("maxComputeWorkgroupSizeX")]
public ulong MaxComputeWorkgroupSizeX { get; }

Property Value

ulong

MaxComputeWorkgroupSizeY

[Value("maxComputeWorkgroupSizeY")]
public ulong MaxComputeWorkgroupSizeY { get; }

Property Value

ulong

MaxComputeWorkgroupSizeZ

[Value("maxComputeWorkgroupSizeZ")]
public ulong MaxComputeWorkgroupSizeZ { get; }

Property Value

ulong

MaxComputeWorkgroupStorageSize

[Value("maxComputeWorkgroupStorageSize")]
public ulong MaxComputeWorkgroupStorageSize { get; }

Property Value

ulong

MaxComputeWorkgroupsPerDimension

[Value("maxComputeWorkgroupsPerDimension")]
public ulong MaxComputeWorkgroupsPerDimension { get; }

Property Value

ulong

MaxDynamicStorageBuffersPerPipelineLayout

[Value("maxDynamicStorageBuffersPerPipelineLayout")]
public ulong MaxDynamicStorageBuffersPerPipelineLayout { get; }

Property Value

ulong

MaxDynamicUniformBuffersPerPipelineLayout

[Value("maxDynamicUniformBuffersPerPipelineLayout")]
public ulong MaxDynamicUniformBuffersPerPipelineLayout { get; }

Property Value

ulong

MaxInterStageShaderVariables

[Value("maxInterStageShaderVariables")]
public ulong MaxInterStageShaderVariables { get; }

Property Value

ulong

MaxSampledTexturesPerShaderStage

[Value("maxSampledTexturesPerShaderStage")]
public ulong MaxSampledTexturesPerShaderStage { get; }

Property Value

ulong

MaxSamplersPerShaderStage

[Value("maxSamplersPerShaderStage")]
public ulong MaxSamplersPerShaderStage { get; }

Property Value

ulong

MaxStorageBufferBindingSize

[Value("maxStorageBufferBindingSize")]
public ulong MaxStorageBufferBindingSize { get; }

Property Value

ulong

MaxStorageBuffersPerShaderStage

[Value("maxStorageBuffersPerShaderStage")]
public ulong MaxStorageBuffersPerShaderStage { get; }

Property Value

ulong

MaxStorageTexturesPerShaderStage

[Value("maxStorageTexturesPerShaderStage")]
public ulong MaxStorageTexturesPerShaderStage { get; }

Property Value

ulong

MaxTextureArrayLayers

[Value("maxTextureArrayLayers")]
public ulong MaxTextureArrayLayers { get; }

Property Value

ulong

MaxTextureDimension1D

[Value("maxTextureDimension1D")]
public ulong MaxTextureDimension1D { get; }

Property Value

ulong

MaxTextureDimension2D

[Value("maxTextureDimension2D")]
public ulong MaxTextureDimension2D { get; }

Property Value

ulong

MaxTextureDimension3D

[Value("maxTextureDimension3D")]
public ulong MaxTextureDimension3D { get; }

Property Value

ulong

MaxUniformBufferBindingSize

[Value("maxUniformBufferBindingSize")]
public ulong MaxUniformBufferBindingSize { get; }

Property Value

ulong

MaxUniformBuffersPerShaderStage

[Value("maxUniformBuffersPerShaderStage")]
public ulong MaxUniformBuffersPerShaderStage { get; }

Property Value

ulong

MaxVertexAttributes

[Value("maxVertexAttributes")]
public ulong MaxVertexAttributes { get; }

Property Value

ulong

MaxVertexBufferArrayStride

[Value("maxVertexBufferArrayStride")]
public ulong MaxVertexBufferArrayStride { get; }

Property Value

ulong

MaxVertexBuffers

[Value("maxVertexBuffers")]
public ulong MaxVertexBuffers { get; }

Property Value

ulong

MinStorageBufferOffsetAlignment

[Value("minStorageBufferOffsetAlignment")]
public ulong MinStorageBufferOffsetAlignment { get; }

Property Value

ulong

MinUniformBufferOffsetAlignment

[Value("minUniformBufferOffsetAlignment")]
public ulong MinUniformBufferOffsetAlignment { get; }

Property Value

ulong