Skip to content

Commit 4d2a162

Browse files
committed
Add StaticWrapper VTable
1 parent d64b198 commit 4d2a162

File tree

4 files changed

+24253
-6
lines changed

4 files changed

+24253
-6
lines changed

.silktouch/a1b4e159b3dbe7f3.stout

0 Bytes
Binary file not shown.

generator.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@
206206
{
207207
"Kind": "DllImport",
208208
"IsDefault": true
209+
},
210+
{
211+
"Kind": "StaticWrapper"
209212
}
210213
]
211214
},

sources/Vulkan/Vulkan/Vk.gen.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ public partial class DllImport
1818
}
1919

2020
private readonly unsafe void*[] _slots = new void*[678];
21+
public static IVk Instance { get; } = new StaticWrapper<DllImport>();
22+
23+
public static IVk Create() => Instance;
2124

2225
public static IVk Create(INativeContext ctx) => new Vk(ctx);
2326

0 commit comments

Comments
 (0)