ShaderUtil.GetShaderMessageCount
Parameters
| s | The Shader instance to check for messages. |
Returns
int The number of errors and warnings generated by the Unity Shader Compiler.
Description 描述
Returns the number of errors and warnings generated by the Unity Shader Compiler for the given Shader.