Version: Unity 6.7 Alpha (6000.7)
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 InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
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