Version: Unity 6.2 Alpha (6000.2)
Language : English
Cache behavior in Web
WebGL2

Web graphics APIs

The Web Player supports multiple graphics APIs that you can select from the Player settingsSettings that let you set various player-specific options for the final game built by Unity. More info
See in Glossary
.

Web graphics APIs help you create high-performance applications with rich visuals for web browsers across multiple platforms. They also reduce the need to worry about complicated graphics programming.

WebGL2 is the default graphics API and is compatible with most devices and browsers, but lacks more modern features that WebGPU provides.

WebGPU is a modern graphics API that enables features such as compute shadersA program that runs on the GPU. More info
See in Glossary
and indirect rendering. However, WebGPU is experimental and not recommended for production usage.

Topic Description
WebGL2 Information, features, and recommendations unique to the WebGL2 graphics API.
WebGPU (Experimental) Information, features, and limitations unique to the WebGPU graphics API.

Additional resources:



对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
Cache behavior in Web
WebGL2
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961