gl-shader-errors
v1.0.3
Published
"Parses" the log output of gl.getShaderInfoLog
Downloads
787
Readme
gl-shader-errors
"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.