ShaderUtil.ShaderHasError

Declaration

public static bool ShaderHasError(Shader shader);

Parameters

shader The shader to check for compilation errors.

Returns

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

Description

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


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