Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

WebGPUDeviceFilterData

struct in UnityEngine

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Set of parameters used to define a WebGPU device or group of WebGPU devices.

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.

Properties

Property 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.