glsl-strip-comments
Strip comments from GLSL code.
Last updated 4 years ago by yuichiroharai .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install glsl-strip-comments 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 11
This Week 103
This Month 516
Last Day 37
Last Week 142
Last Month 616
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |