Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WebGPUDeviceFilterData

Set of parameters used to define a WebGPU device or group of WebGPU devices.
Read time 1 minuteLast updated 4 days ago

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

browserEngineFlavorThe browser engine to filter on, as WebGPUBrowserEngineFlavor.
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.
engineVersionBrowser engine version.
engineVersionComparatorThe operator to use when comparing to the engine version.
featuresA list of required features supported by the WebGPU device as WebGPUDeviceFeature.
limitsA list of limits required by the WebGPU device as WebGPUDeviceFilterLimit.