ShaderUtil.ShaderHasError

public static bool ShaderHasError(Shader shader);

Parameters

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

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答