Skip to main content

Abstract Class: DeviceLimits

Defined in: modules/core/src/api/adapter/device.ts:109

Limits for a device (max supported sizes of resources, max number of bindings etc)

Constructors​

Constructor​

new DeviceLimits(): DeviceLimits

Returns​

DeviceLimits

Properties​

maxBindGroups​

abstract maxBindGroups: number

Defined in: modules/core/src/api/adapter/device.ts:119

max number of BindGroups


maxBindGroupsPlusVertexBuffers​

abstract maxBindGroupsPlusVertexBuffers: number

Defined in: modules/core/src/api/adapter/device.ts:121

max total bind groups plus vertex buffers usable by one pipeline


maxBindingsPerBindGroup​

abstract maxBindingsPerBindGroup: number

Defined in: modules/core/src/api/adapter/device.ts:123

max bindings in one bind group


maxBufferSize​

abstract maxBufferSize: number

Defined in: modules/core/src/api/adapter/device.ts:151

max total byte size of one GPU buffer allocation


maxColorAttachmentBytesPerSample​

abstract maxColorAttachmentBytesPerSample: number

Defined in: modules/core/src/api/adapter/device.ts:167

max attachment bytes consumed per sample


maxColorAttachments​

abstract maxColorAttachments: number

Defined in: modules/core/src/api/adapter/device.ts:165

max number of color attachments in one render pass


maxComputeInvocationsPerWorkgroup​

abstract maxComputeInvocationsPerWorkgroup: number

Defined in: modules/core/src/api/adapter/device.ts:171

max number of ComputeInvocations per Workgroup


maxComputeWorkgroupSizeX​

abstract maxComputeWorkgroupSizeX: number

Defined in: modules/core/src/api/adapter/device.ts:173

max ComputeWorkgroupSizeX


maxComputeWorkgroupSizeY​

abstract maxComputeWorkgroupSizeY: number

Defined in: modules/core/src/api/adapter/device.ts:175

max ComputeWorkgroupSizeY


maxComputeWorkgroupSizeZ​

abstract maxComputeWorkgroupSizeZ: number

Defined in: modules/core/src/api/adapter/device.ts:177

max ComputeWorkgroupSizeZ


maxComputeWorkgroupsPerDimension​

abstract maxComputeWorkgroupsPerDimension: number

Defined in: modules/core/src/api/adapter/device.ts:179

max ComputeWorkgroupsPerDimension


maxComputeWorkgroupStorageSize​

abstract maxComputeWorkgroupStorageSize: number

Defined in: modules/core/src/api/adapter/device.ts:169

max number of ComputeWorkgroupStorageSize


maxDynamicStorageBuffersPerPipelineLayout​

abstract maxDynamicStorageBuffersPerPipelineLayout: number

Defined in: modules/core/src/api/adapter/device.ts:127

max number of DynamicStorageBuffers per PipelineLayout


maxDynamicUniformBuffersPerPipelineLayout​

abstract maxDynamicUniformBuffersPerPipelineLayout: number

Defined in: modules/core/src/api/adapter/device.ts:125

max number of DynamicUniformBuffers per PipelineLayout


maxInterStageShaderVariables​

abstract maxInterStageShaderVariables: number

Defined in: modules/core/src/api/adapter/device.ts:163

max number of InterStageShaderComponents


maxSampledTexturesPerShaderStage​

abstract maxSampledTexturesPerShaderStage: number

Defined in: modules/core/src/api/adapter/device.ts:129

max number of SampledTextures per ShaderStage


maxSamplersPerShaderStage​

abstract maxSamplersPerShaderStage: number

Defined in: modules/core/src/api/adapter/device.ts:131

max number of Samplers per ShaderStage


maxStorageBufferBindingSize​

abstract maxStorageBufferBindingSize: number

Defined in: modules/core/src/api/adapter/device.ts:149

max number of StorageBufferBindingSize


maxStorageBuffersInFragmentStage​

abstract maxStorageBuffersInFragmentStage: number

Defined in: modules/core/src/api/adapter/device.ts:137

Maximum number of storage buffers visible to the fragment shader stage.


maxStorageBuffersInVertexStage​

abstract maxStorageBuffersInVertexStage: number

Defined in: modules/core/src/api/adapter/device.ts:135

Maximum number of storage buffers visible to the vertex shader stage.


maxStorageBuffersPerShaderStage​

abstract maxStorageBuffersPerShaderStage: number

Defined in: modules/core/src/api/adapter/device.ts:133

max number of StorageBuffers per ShaderStage


maxStorageTexturesInFragmentStage​

abstract maxStorageTexturesInFragmentStage: number

Defined in: modules/core/src/api/adapter/device.ts:143

Maximum number of storage textures visible to the fragment shader stage.


maxStorageTexturesInVertexStage​

abstract maxStorageTexturesInVertexStage: number

Defined in: modules/core/src/api/adapter/device.ts:141

Maximum number of storage textures visible to the vertex shader stage.


maxStorageTexturesPerShaderStage​

abstract maxStorageTexturesPerShaderStage: number

Defined in: modules/core/src/api/adapter/device.ts:139

max number of StorageTextures per ShaderStage


maxTextureArrayLayers​

abstract maxTextureArrayLayers: number

Defined in: modules/core/src/api/adapter/device.ts:117

max number of TextureArrayLayers


maxTextureDimension1D​

abstract maxTextureDimension1D: number

Defined in: modules/core/src/api/adapter/device.ts:111

max number of TextureDimension1D


maxTextureDimension2D​

abstract maxTextureDimension2D: number

Defined in: modules/core/src/api/adapter/device.ts:113

max number of TextureDimension2D


maxTextureDimension3D​

abstract maxTextureDimension3D: number

Defined in: modules/core/src/api/adapter/device.ts:115

max number of TextureDimension3D


maxUniformBufferBindingSize​

abstract maxUniformBufferBindingSize: number

Defined in: modules/core/src/api/adapter/device.ts:147

max number of UniformBufferBindingSize


maxUniformBuffersPerShaderStage​

abstract maxUniformBuffersPerShaderStage: number

Defined in: modules/core/src/api/adapter/device.ts:145

max number of UniformBuffers per ShaderStage


maxVertexAttributes​

abstract maxVertexAttributes: number

Defined in: modules/core/src/api/adapter/device.ts:159

max number of VertexAttributes


maxVertexBufferArrayStride​

abstract maxVertexBufferArrayStride: number

Defined in: modules/core/src/api/adapter/device.ts:161

max number of VertexBufferArrayStride


maxVertexBuffers​

abstract maxVertexBuffers: number

Defined in: modules/core/src/api/adapter/device.ts:157

max number of VertexBuffers


minStorageBufferOffsetAlignment​

abstract minStorageBufferOffsetAlignment: number

Defined in: modules/core/src/api/adapter/device.ts:155

min StorageBufferOffsetAlignment


minUniformBufferOffsetAlignment​

abstract minUniformBufferOffsetAlignment: number

Defined in: modules/core/src/api/adapter/device.ts:153

min UniformBufferOffsetAlignment