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 |
|---|---|
| browserEngineFlavor | The browser engine to filter on, as WebGPUBrowserEngineFlavor. |
| browserName | Name of browser. |
| browserVersion | Browser version. |
| browserVersionComparator | The operator to use when comparing to the browser version. |
| deviceType | Defines the type of the device the browser is running on as WebGPUDeviceType. |
| engineVersion | Browser engine version. |
| engineVersionComparator | The operator to use when comparing to the engine version. |
| features | A list of required features supported by the WebGPU device as WebGPUDeviceFeature. |
| limits | A list of limits required by the WebGPU device as WebGPUDeviceFilterLimit. |