Version: Unity 6.6 (6000.6)
Language : English
Introduction to WebGPU Device Filter asset
Configure WebGPU API usage

Create a WebGPU Device Filter asset

Create a WebGPU Device Filter asset to control exactly which browsers and devices can run your Unity application using the WebGPU API.

To create a WebGPU Device Filter asset:

  1. In your Unity project, navigate to the main menu.
  2. Select Assets > Create > Rendering > Device Filters > WebGPU Device Filter.

Unity creates the WebGPU Device Filter asset in the Assets folder with the file extension .webgpudevicefilter.

Each asset displays two filter lists in the Inspector window:

  • Allow Filters
  • Deny Filters

Refer to Configure WebGPU API usage for instructions on how to set up these lists.

Additional resources

Introduction to WebGPU Device Filter asset
Configure WebGPU API usage
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961