tinygl is an environment to create OpenGL programs in Rust with:
- Pre-processing of GLSL shader code (#include support, syntax checking, etc.), using shaderc
- Conversion of GLSL shaders to SPIR-V or transpilation to GLSL ES for WebGL, also using shaderc
- Rust code generation for loading shaders, programs and type-checked uniform setter methods
This is a project currently under heavy development, do not expect any kind of stability for a while.
- (Optional) Re-generate OpenGL desktop bindings using
cargo xtask gen-bindings
cargo build
Alixinne [email protected]
Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT).