We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be6c5d6 commit b8ad544Copy full SHA for b8ad544
1 file changed
README.md
@@ -0,0 +1,24 @@
1
+# VulkanMemoryAllocator
2
+
3
+This is [VulkanMemoryAllocator](https://gpuopen.com/vulkan-memory-allocator/),
4
+packaged for the [Zig](https://ziglang.org/) build system.
5
6
+## how to use
7
8
+1. Add `zclay` to the dependency list in `build.zig.zon`:
9
10
+```sh
11
+zig fetch --save git+https://github.com/johan0A/VulkanMemoryAllocator#v3.2.1
12
+```
13
14
+2. Config `build.zig`:
15
16
+```zig
17
+...
18
+const vma_dep = b.dependency("VulkanMemoryAllocator", .{
19
+ .target = target,
20
+ .optimize = optimize,
21
+});
22
+your_compilation.linkLibrary("vma", zclay_dep.artifact("VulkanMemoryAllocator"));
23
24
0 commit comments