#vulkan #vk #memory #allocator #ash

vk-mem

Rust ffi bindings and idiomatic wrapper for AMD Vulkan Memory Allocator (VMA)

6 releases

✓ Uses Rust 2018 edition

0.1.5 Mar 12, 2019
0.1.4 Mar 5, 2019
0.1.3 Dec 17, 2018

#107 in Graphics APIs

Download history 6/week @ 2018-12-04 38/week @ 2018-12-11 81/week @ 2018-12-18 4/week @ 2018-12-25 7/week @ 2019-01-01 13/week @ 2019-01-08 10/week @ 2019-01-15 4/week @ 2019-01-22 3/week @ 2019-01-29 12/week @ 2019-02-05 3/week @ 2019-02-12 3/week @ 2019-02-19 11/week @ 2019-02-26 329/week @ 2019-03-05

165 downloads per month

MIT/Apache

246KB
4K SLoC

vk-mem

vk-mem on travis-ci.com Latest version Documentation MIT APACHE2

This crate provides an FFI layer and idiomatic rust wrappers for the excellent AMD Vulkan Memory Allocator (VMA) C/C++ library.

For MoltenVK on macOS, you need to have the proper environment variables set. Something like:

export SDK_PATH=/path/to/vulkansdk-macos-1.1.92.0
export DYLD_LIBRARY_PATH=$SDK_PATH/macOS/lib
export VK_ICD_FILENAMES=$SDK_PATH/macOS/etc/vulkan/icd.d/MoltenVK_icd.json
export VK_LAYER_PATH=$SDK_PATH/macOS/etc/vulkan/explicit_layer.d
cargo test

License

Licensed under either of

at your option.

Credits and Special Thanks

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Contributions are always welcome; please look at the issue tracker to see what known improvements are documented.

Code of Conduct

Contribution to the vk-mem crate is organized under the terms of the Contributor Covenant, the maintainer of vk-mem, @gwihlidal, promises to intervene to uphold that code of conduct.

Dependencies

~3MB
~78K SLoC

  • build build.rs
  • build cc 1.0+parallel
  • build optional bindgen 0.48.1