glsl-strip-comments
v1.0.0
Published
Strip comments from GLSL code.
Downloads
2,138
Readme
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.