Update readme to new api usage

This commit is contained in:
Robin Voetter
2022-02-10 01:24:55 +01:00
committed by GitHub
parent 9607e97fe9
commit ed13b3ec74

View File

@@ -70,7 +70,7 @@ Each wrapper struct can be called with an array of the appropriate enums:
```zig
const vk = @import("vulkan");
const BaseDispatch = vk.BaseWrapper(.{
.CreateInstance,
.createInstance = true,
});
```
The wrapper struct then provides wrapper functions for each function pointer in the dispatch struct: