Version: 2020.2
LanguageEnglish
  • C#

PreprocessorOverride.ForceCachingPreprocessor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Use the Caching Shader Preprocessor.

The Caching Shader Preprocessor is a shader preprocessor that is optimized for fast compilation. It caches intermediate preprocessing data to speed up shader import and compilation in the Unity Editor. It offers improved performance over platform compilers' preprocessors and has well-defined behaviour across all platforms and shader types.