ShaderUtil.GetShaderMessageCount

Cambiar al Manual
public static int GetShaderMessageCount (Shader s);

Parámetros

sThe Shader instance to check for messages.

Valor de retorno

int The number of errors and warnings generated by the Unity Shader Compiler.

Descripción

Returns the number of errors and warnings generated by the Unity Shader Compiler for the given Shader.