ShaderUtil.GetShaderMessages

Cambiar al Manual
public static ShaderMessage[] GetShaderMessages (Shader s);

Parámetros

sThe Shader instance to check for messages.

Valor de retorno

ShaderMessage[] An array of ShaderMessage structs containing the generated messages.

Descripción

Returns each error and warning generated by the Unity Shader Compiler for the given Shader.