EG/Cesium-1.132/node_modules/glsl-strip-comments
2025-08-25 17:48:13 +08:00
..
.npmignore 补充Cesium文件 2025-08-25 17:48:13 +08:00
index.js 补充Cesium文件 2025-08-25 17:48:13 +08:00
package.json 补充Cesium文件 2025-08-25 17:48:13 +08:00
README.md 补充Cesium文件 2025-08-25 17:48:13 +08:00

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.