| .. | ||
| .npmignore | ||
| index.js | ||
| package.json | ||
| README.md | ||
glsl-strip-comments
Strip comments from GLSL code.
Usage
var glslStripComments = require("glsl-strip-comments");
var output;
// WebGL 1.0
output = glslStripComments(input);
// WebGL 2.0
output = glslStripComments(input, { version: '300 es' });
See glsl-tokenizer for more information.
