기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


Asynchronous shader compilation in the Editor

Resources for compiling shader variants in the background, and using placeholder shaders in the meantime.
읽는 시간 1분최근 업데이트: 한 달 전

Resources for compiling shader variants in the background, and using placeholder shaders in the meantime.

Page

Description

Introduction to asynchronous shader compilationLearn about how asynchronous shader compilation works, and exceptions.
Enable or disable asynchronous shader compilationEnable or disable asynchronous shader compilation in your project, for specific rendering calls, in a specific scope, or for specific Shader objects.
Detect asynchronous shader compilationMonitor the state of asynchronous shader compilation, and perform operations when the state changes.
Avoid cyan placeholder shaders during asynchronous shader compilationConfigure your custom tools to draw something other than the placeholder shader for each material.