glslify / glslify/babel-plugin-glslify
exporting the uniform types?
Open
- Dominant language
- JavaScript
- Stars
- 49
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
I like this glsl() babel preprocessor idea and I wanted something similar, not only to work with glslify but also to have something that can statically extract out the uniform types (so I can do code optim without need to resolve them at runtime) as well as providing a better error feedback to user.
What do you think of this idea? Could *glsl()* not yield a string, but instead an object with `{ code, types }`.
An other idea I had, a bit more advanced, is that having the type at compile time could help js type languages like flowtype or typescript.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.