logWhenShaderIsCompiled
Whether Unity adds a log entry each time it compiles a shader at runtime.
Read time 1 minuteLast updated 3 days ago
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.