9 releases

Uses old Rust 2015

0.3.2 Feb 15, 2018
0.3.1 Feb 15, 2018
0.2.2 Feb 14, 2018
0.2.1 Dec 17, 2016
0.0.1 Mar 16, 2016

#653 in Graphics APIs

MIT license

140KB
2.5K SLoC

vk_generator Version

Rust binding generator for the Vulkan API.

Documentation

Custom Generators

vk_generator supports the usage of custom generators, which can be implemented as traits on the VkRegistry type. To do so, one must enable the unstable_generator_api cargo feature. It is important to note that, as the feature name suggests, the internal API is entirely unstable and may be subject to change at any point.


lib.rs:

Automatically generates bindings for the Vulkan API. In order to use, first create a VkRegistry struct with a valid Vulkan XML file, and then call either one of the two generation functions (gen_global() or gen_struct()) or a custom one. Further documentation can be found in VkRegistry and GenConfig, and looking over the provided examples is encouraged.

Dependencies

~410KB