Version: 2019.4
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.