#vulkan #macro #graphics #proc-macro #gaclen

gaclen_shader

修改 vulkano_shader! 的过程宏重新导出

8 个版本

0.0.14 2020 年 5 月 3 日
0.0.13 2020 年 4 月 26 日
0.0.10 2020 年 3 月 19 日
0.0.9 2020 年 1 月 26 日
0.0.6 2019 年 11 月 24 日

#219 in #vulkan

41 次每月下载
用于 gaclen

Apache-2.0 OR MIT

130KB
2.5K SLoC

vulkano_shader! 宏的修改版本。

为了运行宏,需要访问 gaclen crate

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

修改包括对生成代码的调整,以使用 gaclen::vulkano,避免在依赖于 gaclen 的项目中包含 vulkano。

依赖项

~30MB
~661K SLoC