1
0
forked from Rowland/EG
EG/Cesium-1.132/node_modules/glsl-strip-comments/README.md
2025-08-25 17:48:13 +08:00

20 lines
445 B
Markdown

# glsl-strip-comments
Strip comments from GLSL code.
## Usage
[![NPM](https://nodei.co/npm/glsl-strip-comments.png?mini=true)](https://nodei.co/npm/glsl-strip-comments/)
```js
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](https://github.com/stackgl/) for more information.