#vulkan #macro #graphics #proc-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

#221 in #vulkan

Download history 6/week @ 2024-02-16 8/week @ 2024-02-23 2/week @ 2024-03-01 3/week @ 2024-03-08 4/week @ 2024-03-15 74/week @ 2024-03-29

81 downloads per month
Used in gaclen

Apache-2.0 OR MIT

130KB
2.5K SLoC

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

~30MB
~659K SLoC