issues
search
Swoorup
/
wgsl-bindgen
Generate typesafe Rust bindings for wgsl shaders in wgpu
https://crates.io/crates/wgsl_bindgen
MIT License
33
stars
6
forks
source link
Support naga oil flavour of wgsl
#1
Closed
Swoorup
closed
7 months ago
Swoorup
commented
7 months ago
Const assertions for alignment and type sizes
Plug your own wgsl types
Support modules in wgsl.
Provided an example of how to use the WgslBindgenOptionBuilder in the
build.rs
file to generate Rust bindings for WGSL shaders.
build.rs
file to generate Rust bindings for WGSL shaders.