GPUSupportedLimits
The GPUSupportedLimits interface of the WebGPU API describes the limits supported by a GPUAdapter.
Available only in secure contexts.
Properties
maxBindGroups
readonly maxBindGroups: number;
maxBindGroupsPlusVertexBuffers
readonly maxBindGroupsPlusVertexBuffers: number;
maxBindingsPerBindGroup
readonly maxBindingsPerBindGroup: number;
maxBufferSize
readonly maxBufferSize: number;
maxColorAttachmentBytesPerSample
readonly maxColorAttachmentBytesPerSample: number;
maxColorAttachments
readonly maxColorAttachments: number;
maxComputeInvocationsPerWorkgroup
readonly maxComputeInvocationsPerWorkgroup: number;
maxComputeWorkgroupSizeX
readonly maxComputeWorkgroupSizeX: number;
maxComputeWorkgroupSizeY
readonly maxComputeWorkgroupSizeY: number;
maxComputeWorkgroupSizeZ
readonly maxComputeWorkgroupSizeZ: number;
maxComputeWorkgroupsPerDimension
readonly maxComputeWorkgroupsPerDimension: number;
maxComputeWorkgroupStorageSize
readonly maxComputeWorkgroupStorageSize: number;
maxDynamicStorageBuffersPerPipelineLayout
readonly maxDynamicStorageBuffersPerPipelineLayout: number;
maxDynamicUniformBuffersPerPipelineLayout
readonly maxDynamicUniformBuffersPerPipelineLayout: number;
maxInterStageShaderVariables
readonly maxInterStageShaderVariables: number;
maxSampledTexturesPerShaderStage
readonly maxSampledTexturesPerShaderStage: number;
maxSamplersPerShaderStage
readonly maxSamplersPerShaderStage: number;
maxStorageBufferBindingSize
readonly maxStorageBufferBindingSize: number;
maxStorageBuffersPerShaderStage
readonly maxStorageBuffersPerShaderStage: number;
maxStorageTexturesPerShaderStage
readonly maxStorageTexturesPerShaderStage: number;
maxTextureArrayLayers
readonly maxTextureArrayLayers: number;
maxTextureDimension1D
readonly maxTextureDimension1D: number;
maxTextureDimension2D
readonly maxTextureDimension2D: number;
maxTextureDimension3D
readonly maxTextureDimension3D: number;
maxUniformBufferBindingSize
readonly maxUniformBufferBindingSize: number;
maxUniformBuffersPerShaderStage
readonly maxUniformBuffersPerShaderStage: number;
maxVertexAttributes
readonly maxVertexAttributes: number;
maxVertexBufferArrayStride
readonly maxVertexBufferArrayStride: number;
maxVertexBuffers
readonly maxVertexBuffers: number;
minStorageBufferOffsetAlignment
readonly minStorageBufferOffsetAlignment: number;
minUniformBufferOffsetAlignment
readonly minUniformBufferOffsetAlignment: number;