glsl-token-string

WebJar for glsl-token-string

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

glsl-token-string
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

glsl-token-string
WebJar for glsl-token-string
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/glslify/glsl-token-string

Download glsl-token-string

How to add to project

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

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.

glsl-token-string

experimental

Simple helper package that converts an array of GLSL tokens to a plain GLSL source string.

Usage

NPM

src = stringify(tokens)

var tokenize  = require('glsl-tokenizer/string')
var stringify = require('glsl-token-string')
var assert    = require('assert')

var src    = 'vec3 light = vec3(1.0);'
var tokens = tokenize(src)

assert(stringify(tokens) === src)

See Also

License

MIT. See LICENSE.md for details.

org.webjars.npm

Versions

Version
1.0.1