Version: Unity 6.2 Alpha (6000.2)
Language : English
Create a shader variant collection
Introduction to asynchronous shader compilation

Asynchronous shader compilation in the Editor

Resources for compiling shaderA program that runs on the GPU. More info
See in Glossary
variants in the background, and using placeholder shaders in the meantime.

Page Description
Introduction to asynchronous shader compilation Learn about how asynchronous shader compilation works, and exceptions.
Enable or disable asynchronous shader compilation Enable or disable asynchronous shader compilation in your project, for specific rendering calls, in a specific scope, or for specific Shader objectsAn instance of the Shader class, a Shader object is container for shader programs and GPU instructions, and information that tells Unity how to use them. Use them with materials to determine the appearance of your scene. More info
See in Glossary
.
Detect asynchronous shader compilation Monitor the state of asynchronous shader compilation, and perform operations when the state changes.
Avoid cyan placeholder shaders during asynchronous shader compilation Configure your custom tools to draw something other than the placeholder shader for each material.
Create a shader variant collection
Introduction to asynchronous shader compilation
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961