Skip to content

API Reference / @gtkx/gl / getShaderInfoLog

Function: getShaderInfoLog()

getShaderInfoLog(shader): string

Defined in: overrides.d.ts:7

Reads the info log for a shader object, containing compilation diagnostics.

Parameters

shader

number

The name of the shader object to query.

Returns

string

The shader info log, or an empty string when none is available.

Released under the MPL-2.0 License.