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

Feature to generate bindings for bevy #10

Open Swoorup opened 7 months ago

Swoorup commented 7 months ago

wgsl-bindgen is able to currently generate extra bind group layout entries that can be customized to user's liking which is possibly different to that of Wgpu api.

See https://github.com/Swoorup/wgsl-bindgen/blob/main/wgsl_bindgen/src/bindgen/options/bindings.rs

Would be nice to get this to a stage where everything can be customized and target framework can be specified by the user, for eg: bevy?