logPrettyShaderError

logPrettyShaderError(gl: WebGLRenderingContext, shader: WebGLShader) → {void}

will log a shader error highlighting the lines with the error also will add numbers along the side.

Parameters:
Name Type Description
gl WebGLRenderingContext

the WebGLContext

shader WebGLShader

the shader to log errors for

Returns:
Type Description
void
Powered by webdoc!