Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

WebGPUDeviceLimit

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A limit value provided by the WebGPU device.

Identifies the limit values supported by the WebGPU device, as a requirement for expected functionality.

Properties

Property Description
NoneA default value used to indicate no limit requirement.
MaxUniformBufferBindingSizeMaximum size of a uniform buffer binding.
MaxStorageBufferBindingSizeMaximum size of a storage buffer binding.
MaxBufferSizeMaximum size of a buffer.
MaxTextureDimension1DMaximum dimension of a 1D texture.
MaxTextureDimension2DMaximum dimension of a 2D texture.
MaxTextureDimension3DMaximum dimension of a 3D texture.
MaxTextureArrayLayersMaximum number of texture array layers.
MaxBindGroupsMaximum number of bind groups.
MaxBindGroupsPlusVertexBuffersMaximum number of bind groups plus vertex buffers.
MaxBindingsPerBindGroupMaximum number of bindings per bind group.
MaxDynamicUniformBuffersPerPipelineLayoutMaximum number of dynamic uniform buffers per pipeline layout.
MaxDynamicStorageBuffersPerPipelineLayoutMaximum number of dynamic storage buffers per pipeline layout.
MaxSampledTexturesPerShaderStageMaximum number of sampled textures per shader stage.
MaxSamplersPerShaderStageMaximum number of samplers per shader stage.
MaxStorageBuffersPerShaderStageMaximum number of storage buffers per shader stage.
MaxStorageBuffersInVertexStageMaximum number of storage buffers in the vertex stage.
MaxStorageBuffersInFragmentStageMaximum number of storage buffers in the fragment stage.
MaxStorageTexturesPerShaderStageMaximum number of storage textures per shader stage.
MaxStorageTexturesInVertexStageMaximum number of storage textures in the vertex stage.
MaxStorageTexturesInFragmentStageMaximum number of storage textures in the fragment stage.
MaxUniformBuffersPerShaderStageMaximum number of uniform buffers per shader stage.
MinUniformBufferOffsetAlignmentMinimum uniform buffer offset alignment.
MinStorageBufferOffsetAlignmentMinimum storage buffer offset alignment.
MaxVertexBuffersMaximum number of vertex buffers.
MaxVertexAttributesMaximum number of vertex attributes.
MaxVertexBufferArrayStrideMaximum vertex buffer array stride.
MaxInterStageShaderVariablesMaximum number of inter-stage shader variables.
MaxColorAttachmentsMaximum number of color attachments.
MaxColorAttachmentBytesPerSampleMaximum number of bytes per sample for color attachments.
MaxComputeWorkgroupStorageSizeMaximum compute workgroup storage size.
MaxComputeInvocationsPerWorkgroupMaximum number of compute invocations per workgroup.
MaxComputeWorkgroupSizeXMaximum compute workgroup size in the X dimension.
MaxComputeWorkgroupSizeYMaximum compute workgroup size in the Y dimension.
MaxComputeWorkgroupSizeZMaximum compute workgroup size in the Z dimension.
MaxComputeWorkgroupsPerDimensionMaximum number of compute workgroups per dimension.