Version: 2020.2
言語: 日本語
public static bool ShaderHasError (Shader shader);

パラメーター

shader The 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.