Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WebGPUDeviceFilterLimit

A device limit requirement used by WebGPUDeviceFilterData.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public struct WebGPUDeviceFilterLimit

Remarks

Identifies a specific limit requirement for the WebGPU device, as part of the filter criteria in WebGPUDeviceFilterData. For example, a requirement for the maximum number of textures that can be used in a shader stage to filter devices that don't support enough textures.

Fields

Value

Description

comparatorThe operator to use when comparing to the limit value.
limitThe type of the limit to test.
valueThe value to compare against the limit.