---
title: "GPUSupportedLimits | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

# Interface GPUSupportedLimits

The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. Available only in secure contexts.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits)

interface GPUSupportedLimits {  
    [maxBindGroups](#maxbindgroups): number;  
    [maxBindGroupsPlusVertexBuffers](#maxbindgroupsplusvertexbuffers): number;  
    [maxBindingsPerBindGroup](#maxbindingsperbindgroup): number;  
    [maxBufferSize](#maxbuffersize): number;  
    [maxColorAttachmentBytesPerSample](#maxcolorattachmentbytespersample): number;  
    [maxColorAttachments](#maxcolorattachments): number;  
    [maxComputeInvocationsPerWorkgroup](#maxcomputeinvocationsperworkgroup): number;  
    [maxComputeWorkgroupSizeX](#maxcomputeworkgroupsizex): number;  
    [maxComputeWorkgroupSizeY](#maxcomputeworkgroupsizey): number;  
    [maxComputeWorkgroupSizeZ](#maxcomputeworkgroupsizez): number;  
    [maxComputeWorkgroupsPerDimension](#maxcomputeworkgroupsperdimension): number;  
    [maxComputeWorkgroupStorageSize](#maxcomputeworkgroupstoragesize): number;  
    [maxDynamicStorageBuffersPerPipelineLayout](#maxdynamicstoragebuffersperpipelinelayout): number;  
    [maxDynamicUniformBuffersPerPipelineLayout](#maxdynamicuniformbuffersperpipelinelayout): number;  
    [maxInterStageShaderVariables](#maxinterstageshadervariables): number;  
    [maxSampledTexturesPerShaderStage](#maxsampledtexturespershaderstage): number;  
    [maxSamplersPerShaderStage](#maxsamplerspershaderstage): number;  
    [maxStorageBufferBindingSize](#maxstoragebufferbindingsize): number;  
    [maxStorageBuffersPerShaderStage](#maxstoragebufferspershaderstage): number;  
    [maxStorageTexturesPerShaderStage](#maxstoragetexturespershaderstage): number;  
    [maxTextureArrayLayers](#maxtexturearraylayers): number;  
    [maxTextureDimension1D](#maxtexturedimension1d): number;  
    [maxTextureDimension2D](#maxtexturedimension2d): number;  
    [maxTextureDimension3D](#maxtexturedimension3d): number;  
    [maxUniformBufferBindingSize](#maxuniformbufferbindingsize): number;  
    [maxUniformBuffersPerShaderStage](#maxuniformbufferspershaderstage): number;  
    [maxVertexAttributes](#maxvertexattributes): number;  
    [maxVertexBufferArrayStride](#maxvertexbufferarraystride): number;  
    [maxVertexBuffers](#maxvertexbuffers): number;  
    [minStorageBufferOffsetAlignment](#minstoragebufferoffsetalignment): number;  
    [minUniformBufferOffsetAlignment](#minuniformbufferoffsetalignment): number;  
}

##### Index

### Properties[](#properties)

[maxBindGroups](#maxbindgroups) [maxBindGroupsPlusVertexBuffers](#maxbindgroupsplusvertexbuffers) [maxBindingsPerBindGroup](#maxbindingsperbindgroup) [maxBufferSize](#maxbuffersize) [maxColorAttachmentBytesPerSample](#maxcolorattachmentbytespersample) [maxColorAttachments](#maxcolorattachments) [maxComputeInvocationsPerWorkgroup](#maxcomputeinvocationsperworkgroup) [maxComputeWorkgroupSizeX](#maxcomputeworkgroupsizex) [maxComputeWorkgroupSizeY](#maxcomputeworkgroupsizey) [maxComputeWorkgroupSizeZ](#maxcomputeworkgroupsizez) [maxComputeWorkgroupsPerDimension](#maxcomputeworkgroupsperdimension) [maxComputeWorkgroupStorageSize](#maxcomputeworkgroupstoragesize) [maxDynamicStorageBuffersPerPipelineLayout](#maxdynamicstoragebuffersperpipelinelayout) [maxDynamicUniformBuffersPerPipelineLayout](#maxdynamicuniformbuffersperpipelinelayout) [maxInterStageShaderVariables](#maxinterstageshadervariables) [maxSampledTexturesPerShaderStage](#maxsampledtexturespershaderstage) [maxSamplersPerShaderStage](#maxsamplerspershaderstage) [maxStorageBufferBindingSize](#maxstoragebufferbindingsize) [maxStorageBuffersPerShaderStage](#maxstoragebufferspershaderstage) [maxStorageTexturesPerShaderStage](#maxstoragetexturespershaderstage) [maxTextureArrayLayers](#maxtexturearraylayers) [maxTextureDimension1D](#maxtexturedimension1d) [maxTextureDimension2D](#maxtexturedimension2d) [maxTextureDimension3D](#maxtexturedimension3d) [maxUniformBufferBindingSize](#maxuniformbufferbindingsize) [maxUniformBuffersPerShaderStage](#maxuniformbufferspershaderstage) [maxVertexAttributes](#maxvertexattributes) [maxVertexBufferArrayStride](#maxvertexbufferarraystride) [maxVertexBuffers](#maxvertexbuffers) [minStorageBufferOffsetAlignment](#minstoragebufferoffsetalignment) [minUniformBufferOffsetAlignment](#minuniformbufferoffsetalignment)

## Properties[](#properties-1)

### `Readonly`maxBindGroups[](#maxbindgroups)

maxBindGroups: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxBindGroupsPlusVertexBuffers[](#maxbindgroupsplusvertexbuffers)

maxBindGroupsPlusVertexBuffers: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxBindingsPerBindGroup[](#maxbindingsperbindgroup)

maxBindingsPerBindGroup: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxBufferSize[](#maxbuffersize)

maxBufferSize: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxColorAttachmentBytesPerSample[](#maxcolorattachmentbytespersample)

maxColorAttachmentBytesPerSample: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxColorAttachments[](#maxcolorattachments)

maxColorAttachments: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxComputeInvocationsPerWorkgroup[](#maxcomputeinvocationsperworkgroup)

maxComputeInvocationsPerWorkgroup: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxComputeWorkgroupSizeX[](#maxcomputeworkgroupsizex)

maxComputeWorkgroupSizeX: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxComputeWorkgroupSizeY[](#maxcomputeworkgroupsizey)

maxComputeWorkgroupSizeY: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxComputeWorkgroupSizeZ[](#maxcomputeworkgroupsizez)

maxComputeWorkgroupSizeZ: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxComputeWorkgroupsPerDimension[](#maxcomputeworkgroupsperdimension)

maxComputeWorkgroupsPerDimension: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxComputeWorkgroupStorageSize[](#maxcomputeworkgroupstoragesize)

maxComputeWorkgroupStorageSize: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxDynamicStorageBuffersPerPipelineLayout[](#maxdynamicstoragebuffersperpipelinelayout)

maxDynamicStorageBuffersPerPipelineLayout: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxDynamicUniformBuffersPerPipelineLayout[](#maxdynamicuniformbuffersperpipelinelayout)

maxDynamicUniformBuffersPerPipelineLayout: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxInterStageShaderVariables[](#maxinterstageshadervariables)

maxInterStageShaderVariables: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxSampledTexturesPerShaderStage[](#maxsampledtexturespershaderstage)

maxSampledTexturesPerShaderStage: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxSamplersPerShaderStage[](#maxsamplerspershaderstage)

maxSamplersPerShaderStage: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxStorageBufferBindingSize[](#maxstoragebufferbindingsize)

maxStorageBufferBindingSize: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxStorageBuffersPerShaderStage[](#maxstoragebufferspershaderstage)

maxStorageBuffersPerShaderStage: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxStorageTexturesPerShaderStage[](#maxstoragetexturespershaderstage)

maxStorageTexturesPerShaderStage: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxTextureArrayLayers[](#maxtexturearraylayers)

maxTextureArrayLayers: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxTextureDimension1D[](#maxtexturedimension1d)

maxTextureDimension1D: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxTextureDimension2D[](#maxtexturedimension2d)

maxTextureDimension2D: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxTextureDimension3D[](#maxtexturedimension3d)

maxTextureDimension3D: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxUniformBufferBindingSize[](#maxuniformbufferbindingsize)

maxUniformBufferBindingSize: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxUniformBuffersPerShaderStage[](#maxuniformbufferspershaderstage)

maxUniformBuffersPerShaderStage: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxVertexAttributes[](#maxvertexattributes)

maxVertexAttributes: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxVertexBufferArrayStride[](#maxvertexbufferarraystride)

maxVertexBufferArrayStride: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`maxVertexBuffers[](#maxvertexbuffers)

maxVertexBuffers: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`minStorageBufferOffsetAlignment[](#minstoragebufferoffsetalignment)

minStorageBufferOffsetAlignment: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)

### `Readonly`minUniformBufferOffsetAlignment[](#minuniformbufferoffsetalignment)

minUniformBufferOffsetAlignment: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties)
