Release Notes
Implemented type support
Rust types can now be passed into permutate
in textual form, either directly in the attribute macro, or via JSON file.
This allows permutations to be generated based on shared types, provided that the generator and crate using permutate
both depend on a compatible upstream crate providing said types.
For example, corresponding type-naming machinery has been added to rust-gpu-bridge
, which allows a bevy
application to compose a rust type, query its name, write that name into a permutate
JSON file, and have that type compilied into a shader crate by rust-gpu-builder
, which is then loaded for rendering by the bevy
application.