logWhenShaderIsCompiled
If this is true, a log entry is made each time a shader is compiled at application runtime.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public static bool logWhenShaderIsCompiled { get; set; }
Remarks
Setting this property allows the application to turn shader compilation logging on or off at application runtime. Each log entry contains the following: shader name, pass name, shader stage and enabled keywords, if any. Note: this option has no effect in release builds.