Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughsk/glsl-extract-sync
A synchronous version of the glsl-extract module
https://github.com/hughsk/glsl-extract-sync
Last synced: 8 days ago
JSON representation
A synchronous version of the glsl-extract module
- Host: GitHub
- URL: https://github.com/hughsk/glsl-extract-sync
- Owner: hughsk
- License: other
- Created: 2014-06-03T00:09:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-03T00:09:22.000Z (over 10 years ago)
- Last Synced: 2024-10-17T16:37:43.232Z (22 days ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# glsl-extract-sync [![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)
A synchronous version of [@chrisdickinson](http://github.com/chrisdickinson)'s
[glsl-extract](http://github.com/chrisdickinson/glsl-extract) module, originally
sourced from [@mikolalysenko](http://github.com/mikolalysenko)'s
[gl-shader](http://git.io/YgJnBQ) module.## Usage
[![NPM](https://nodei.co/npm/glsl-extract-sync.png)](https://nodei.co/npm/glsl-extract-sync/)
### exports = extract(shaderString)
Returns an object with the `attributes` and `uniforms` defined in a given shader
string.## License
MIT. See [LICENSE.md](http://github.com/hughsk/glsl-extract-sync/blob/master/LICENSE.md) for details.