Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
/ tinygl Public archive

Lightweight Rust wrapper for OpenGL on web & desktop

License

Notifications You must be signed in to change notification settings

alixinne/tinygl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]

License

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

About

Lightweight Rust wrapper for OpenGL on web & desktop

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published