Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WebGPUDeviceLimit

A limit value provided by the WebGPU device.
Read time 2 minutesLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum WebGPUDeviceLimit

Remarks

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

Fields

Value

Description

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