gl-shader-errors

WebJar for gl-shader-errors

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

gl-shader-errors
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

gl-shader-errors
WebJar for gl-shader-errors
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/stackgl/gl-shader-errors

Download gl-shader-errors

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/gl-shader-errors/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>gl-shader-errors</artifactId>
    <version>1.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/gl-shader-errors/
implementation 'org.webjars.npm:gl-shader-errors:1.0.3'
// https://jarcasting.com/artifacts/org.webjars.npm/gl-shader-errors/
implementation ("org.webjars.npm:gl-shader-errors:1.0.3")
'org.webjars.npm:gl-shader-errors:jar:1.0.3'
<dependency org="org.webjars.npm" name="gl-shader-errors" rev="1.0.3">
  <artifact name="gl-shader-errors" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='gl-shader-errors', version='1.0.3')
)
libraryDependencies += "org.webjars.npm" % "gl-shader-errors" % "1.0.3"
[org.webjars.npm/gl-shader-errors "1.0.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

gl-shader-errors experimental

"Parses" the log output of gl.getShaderInfoLog to get separate error objects.

Usage

NPM

errors = parse(log)

Where log is the string output of gl.getShaderInfoLog, return an array of errors with the following properties:

  • message: the error message
  • line: the line the error appears in the shader.
  • file: the file ID that the error appears in.

License

MIT. See LICENSE.md for details.

org.webjars.npm

stackgl

Modular WebGL components

Versions

Version
1.0.3