/ piacw.com / dev / final / node_modules / glsl-token-string /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[TXT]LICENSE.md2 years ago1.2K0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]README.md2 years ago1.1K0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]fixture.glsl2 years ago322 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]index.js2 years ago225 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]package.json2 years ago1.5K0fb859dc fixed mobile overflwo options [كارل مبارك]
README.md

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.

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80