Version: 2021.2
言語: 日本語
public static bool ShaderHasWarnings (Shader shader);

パラメーター

shader The shader to check for compilation warnings.

戻り値

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

説明

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