文档

Unity Engine

Unity Engine

WebGPUDeviceFilterData

Set of parameters used to define a WebGPU device or group of WebGPU devices.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

Specify a list of parameters to identify a WebGPU device or set of WebGPU devices. Enter values for one or multiple parameters. The parameter values are processed using logical AND operation to check if the device properties match with all the specified values.
Unity ignores the filter if all parameters are empty.

Fields

Value

Description

browserNameName of browser.
browserVersionBrowser version.
browserVersionComparatorThe operator to use when comparing to the browser version.
deviceTypeDefines the type of the device the browser is running on as WebGPUDeviceType.
featuresA list of required features supported by the WebGPU device as WebGPUDeviceFeature.
limitsA list of limits required by the WebGPU device as WebGPUDeviceFilterLimit.