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

パラメーター

shader The shader to check for compilation errors.

戻り値

bool Returns true if the shader has any compilation errors. Otherwise, returns false.

説明

Checks if a shader has any compilation errors. Ignores warnings.