logWhenShaderIsCompiled
Whether Unity adds a log entry each time it compiles a shader at runtime.
阅读时间1 分钟最后更新于 3 天前
Definition
- Type: Property
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor.CoreModule
public bool logWhenShaderIsCompiled { get; set; }
Remarks
Each log entry contains the shader name, pass name, shader stage, and enabled keywords. This setting has no effect in release builds. For the global setting, refer to GraphicsSettings.logWhenShaderIsCompiled.