public static bool ShaderHasError (Shader shader);

Parámetros

shaderThe Shader instance to check for errors.

Valor de retorno

bool True if the Shader generated errors, false if there were no errors.

Descripción

Returns true if the given Shader generated any errors. Ignores warnings.