public static bool ShaderHasError (Shader shader);

Parameters

shaderThe Shader instance to check for errors.

Returns

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

Description

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