#vulkan #macro #gaclen

macro gaclen_shader

Tweaked re-export of vulkano_shader! procedural macro

8 releases

0.0.14 May 3, 2020
0.0.13 Apr 26, 2020
0.0.10 Mar 19, 2020
0.0.9 Jan 26, 2020
0.0.6 Nov 24, 2019

#351 in Rust patterns

Download history 9/week @ 2020-07-27 29/week @ 2020-08-10 13/week @ 2020-08-17 14/week @ 2020-08-24 12/week @ 2020-08-31 31/week @ 2020-09-07 6/week @ 2020-09-14 3/week @ 2020-09-21 3/week @ 2020-09-28 12/week @ 2020-10-05 3/week @ 2020-10-12 12/week @ 2020-10-19 2/week @ 2020-10-26 12/week @ 2020-11-02 4/week @ 2020-11-09

65 downloads per month
Used in gaclen

Apache-2.0 OR MIT

130KB
2.5K SLoC


lib.rs:

Tweaked version of vulkano_shader! macro.

In order to function the macro requires access to gaclen crate:

// Allow `shader!` macro to use this project's gaclen dependency.
extern crate gaclen;

The changes include tweaks to the generated code to use gaclen::vulkano to avoid the necessity of including vulkano in gaclen-dependent projects.

Dependencies

~23MB
~527K SLoC