gl-shader-errors ![experimental](https://camo.githubusercontent.com/dac819f88a300cef4d60fc98040a4f9d3b4d5a50821a80fc6917639f767da856/687474703a2f2f6261646765732e6769746875622e696f2f73746162696c6974792d6261646765732f646973742f6578706572696d656e74616c2e737667)
"Parses" the log output of gl.getShaderInfoLog
to get separate error objects.
Usage
errors = parse(log)
Where log
is the string output of gl.getShaderInfoLog
, return an array of errors with the following properties:
message
: the error messageline
: the line the error appears in the shader.file
: the file ID that the error appears in.
License
MIT. See LICENSE.md for details.