项目作者: vtavernier

项目描述 :
Lightweight Rust wrapper for OpenGL on web & desktop
高级语言: Rust
项目地址: git://github.com/vtavernier/tinygl.git
创建时间: 2020-03-07T23:47:23Z
项目社区:https://github.com/vtavernier/tinygl

开源协议:MIT License

下载


tinygl

Build

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.

Building

  • (Optional) Re-generate OpenGL desktop bindings using cargo xtask gen-bindings
  • cargo build

Authors

Alixinne alixinne@pm.me

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT).