#vulkan #memory #graphics #gpu #rendering

macro nobs-vkpipes-macro

codegeneration macros for nobs-vkpipes

1 unstable release

Uses old Rust 2015

0.1.0 Feb 24, 2019

#82 in #rendering


Used in 3 crates (via nobs-vkpipes)

MIT license

66KB
2K SLoC

nobs-vkpipes

Compiles shaders from glsl and generates rust code from spv.

Features

  1. Builder patterns for compute and graphics pipeline generation
  2. Descriptor set definitions for easy accessible descriptor writes and updates
  3. Code generation macros to compile pipeline and descriptor definitions with spv shader code into a rust module. Enables one liner pipeline instantiation and descriptor set allocation.

Documentation

Find a complete documentation of this library at docs.rs.

Setup

Follow the setup instructions for shaderc-rs.

After this you are ready to use nobs-vkpipes!

Contributing

Feel encouraged to contribute!

Dependencies

~1MB
~21K SLoC