This is VulkanMemoryAllocator, packaged for the Zig build system.
- Add
VulkanMemoryAllocator
to the dependency list inbuild.zig.zon
:
zig fetch --save git+https://github.com/johan0A/VulkanMemoryAllocator#v3.3.0
- Config
build.zig
:
...
const vma_dep = b.dependency("VulkanMemoryAllocator", .{
.target = target,
.optimize = optimize,
});
your_compilation.linkLibrary("vma", vma_dep.artifact("VulkanMemoryAllocator"));
...