ShaderUtil.ShaderHasWarnings

Declaration

public static bool ShaderHasWarnings(Shader shader);

Parameters

shader The shader to check for compilation warnings.

Returns

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

Description

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


Did you find this page useful? Please give it a rating: