glsl-strip-comments

1.0.0 • Public • Published

glsl-strip-comments

Strip comments from GLSL code.

Usage

NPM

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.

Readme

Keywords

Package Sidebar

Install

npm i glsl-strip-comments

Weekly Downloads

745

Version

1.0.0

License

MIT

Last publish

Collaborators

  • yuichiroharai