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