GetShaderMessageCount(Shader)
Returns the number of errors and warnings generated by the Unity Shader Compiler for the given Shader.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetShaderMessageCount(Shader s)
Parameters
Returns
Type | Description |
|---|---|
| int | The number of errors and warnings generated by the Unity Shader Compiler. |