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.
| Name | Type | Description |
|---|---|---|
| gl | WebGLRenderingContext |
the WebGLContext |
| shader | WebGLShader |
the shader to log errors for |
| Type | Description |
|---|---|
| void |