public static bool ShaderHasError (Shader shader);

파라미터

shaderThe Shader instance to check for errors.

반환

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

설명

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