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
Constructors
GPUSupportedLimits()
public GPUSupportedLimits()
Properties
MaxBindGroups
[Value("maxBindGroups")]
public ulong MaxBindGroups { get; }
Property Value
MaxBindGroupsPlusVertexBuffers
[Value("maxBindGroupsPlusVertexBuffers")]
public ulong MaxBindGroupsPlusVertexBuffers { get; }
Property Value
MaxBindingsPerBindGroup
[Value("maxBindingsPerBindGroup")]
public ulong MaxBindingsPerBindGroup { get; }
Property Value
MaxBufferSize
[Value("maxBufferSize")]
public ulong MaxBufferSize { get; }
Property Value
MaxColorAttachmentBytesPerSample
[Value("maxColorAttachmentBytesPerSample")]
public ulong MaxColorAttachmentBytesPerSample { get; }
Property Value
MaxColorAttachments
[Value("maxColorAttachments")]
public ulong MaxColorAttachments { get; }
Property Value
MaxComputeInvocationsPerWorkgroup
[Value("maxComputeInvocationsPerWorkgroup")]
public ulong MaxComputeInvocationsPerWorkgroup { get; }
Property Value
MaxComputeWorkgroupSizeX
[Value("maxComputeWorkgroupSizeX")]
public ulong MaxComputeWorkgroupSizeX { get; }
Property Value
MaxComputeWorkgroupSizeY
[Value("maxComputeWorkgroupSizeY")]
public ulong MaxComputeWorkgroupSizeY { get; }
Property Value
MaxComputeWorkgroupSizeZ
[Value("maxComputeWorkgroupSizeZ")]
public ulong MaxComputeWorkgroupSizeZ { get; }
Property Value
MaxComputeWorkgroupStorageSize
[Value("maxComputeWorkgroupStorageSize")]
public ulong MaxComputeWorkgroupStorageSize { get; }
Property Value
MaxComputeWorkgroupsPerDimension
[Value("maxComputeWorkgroupsPerDimension")]
public ulong MaxComputeWorkgroupsPerDimension { get; }
Property Value
MaxDynamicStorageBuffersPerPipelineLayout
[Value("maxDynamicStorageBuffersPerPipelineLayout")]
public ulong MaxDynamicStorageBuffersPerPipelineLayout { get; }
Property Value
MaxDynamicUniformBuffersPerPipelineLayout
[Value("maxDynamicUniformBuffersPerPipelineLayout")]
public ulong MaxDynamicUniformBuffersPerPipelineLayout { get; }
Property Value
MaxInterStageShaderVariables
[Value("maxInterStageShaderVariables")]
public ulong MaxInterStageShaderVariables { get; }
Property Value
MaxSampledTexturesPerShaderStage
[Value("maxSampledTexturesPerShaderStage")]
public ulong MaxSampledTexturesPerShaderStage { get; }
Property Value
MaxSamplersPerShaderStage
[Value("maxSamplersPerShaderStage")]
public ulong MaxSamplersPerShaderStage { get; }
Property Value
MaxStorageBufferBindingSize
[Value("maxStorageBufferBindingSize")]
public ulong MaxStorageBufferBindingSize { get; }
Property Value
MaxStorageBuffersPerShaderStage
[Value("maxStorageBuffersPerShaderStage")]
public ulong MaxStorageBuffersPerShaderStage { get; }
Property Value
MaxStorageTexturesPerShaderStage
[Value("maxStorageTexturesPerShaderStage")]
public ulong MaxStorageTexturesPerShaderStage { get; }
Property Value
MaxTextureArrayLayers
[Value("maxTextureArrayLayers")]
public ulong MaxTextureArrayLayers { get; }
Property Value
MaxTextureDimension1D
[Value("maxTextureDimension1D")]
public ulong MaxTextureDimension1D { get; }
Property Value
MaxTextureDimension2D
[Value("maxTextureDimension2D")]
public ulong MaxTextureDimension2D { get; }
Property Value
MaxTextureDimension3D
[Value("maxTextureDimension3D")]
public ulong MaxTextureDimension3D { get; }
Property Value
MaxUniformBufferBindingSize
[Value("maxUniformBufferBindingSize")]
public ulong MaxUniformBufferBindingSize { get; }
Property Value
MaxUniformBuffersPerShaderStage
[Value("maxUniformBuffersPerShaderStage")]
public ulong MaxUniformBuffersPerShaderStage { get; }
Property Value
MaxVertexAttributes
[Value("maxVertexAttributes")]
public ulong MaxVertexAttributes { get; }
Property Value
MaxVertexBufferArrayStride
[Value("maxVertexBufferArrayStride")]
public ulong MaxVertexBufferArrayStride { get; }
Property Value
MaxVertexBuffers
[Value("maxVertexBuffers")]
public ulong MaxVertexBuffers { get; }
Property Value
MinStorageBufferOffsetAlignment
[Value("minStorageBufferOffsetAlignment")]
public ulong MinStorageBufferOffsetAlignment { get; }
Property Value
MinUniformBufferOffsetAlignment
[Value("minUniformBufferOffsetAlignment")]
public ulong MinUniformBufferOffsetAlignment { get; }