comparison src/zamikongine/vulkan.nim @ 19:b55d6ecde79d

did: introduce scene graph, meshs and generic vertex buffers
author Sam <sam@basx.dev>
date Mon, 09 Jan 2023 11:04:19 +0700
parents src/vulkan.nim@90e117952f74
children c3c963e7c1a6
comparison
equal deleted inserted replaced
18:90e117952f74 19:b55d6ecde79d
1 # Written by Leonardo Mariscal <leo@ldmd.mx>, 2019
2
3 ## Vulkan Bindings
4 ## ====
5 ## WARNING: This is a generated file. Do not edit
6 ## Any edits will be overwritten by the generator.
7
8 when defined(linux):
9 import x11/x
10 import x11/xlib
11 when defined(windows):
12 import winim
13
14 var vkGetProc: proc(procName: cstring): pointer {.cdecl.}
15
16 import dynlib
17
18 when defined(windows):
19 {. emit: """#define VK_USE_PLATFORM_WIN32_KHR""" .}
20 const vkDLL = "vulkan-1.dll"
21 elif defined(linux):
22 {.passl: gorge("pkg-config --libs vulkan").}
23 {. emit: """#define VK_USE_PLATFORM_X11_KHR""" .}
24 const vkDLL = "libvulkan.so.1"
25 else:
26 raise quit("Unsupported platform")
27
28 let vkHandleDLL = loadLib(vkDLL)
29 if isNil(vkHandleDLL):
30 quit("could not load: " & vkDLL)
31
32 vkGetProc = proc(procName: cstring): pointer {.cdecl.} =
33 result = symAddr(vkHandleDLL, procName)
34 if result == nil:
35 raiseInvalidLibrary(procName)
36
37 proc setVKGetProc*(getProc: proc(procName: cstring): pointer {.cdecl.}) =
38 vkGetProc = getProc
39
40 type
41 VkHandle* = int64
42 VkNonDispatchableHandle* = int64
43 ANativeWindow = ptr object
44 CAMetalLayer = ptr object
45 AHardwareBuffer = ptr object
46 VkBool32* = distinct uint32
47
48 # Enums
49 const
50 VK_MAX_PHYSICAL_DEVICE_NAME_SIZE* = 256
51 VK_UUID_SIZE* = 16
52 VK_LUID_SIZE* = 8
53 VK_LUID_SIZE_KHR* = VK_LUID_SIZE
54 VK_MAX_EXTENSION_NAME_SIZE* = 256
55 VK_MAX_DESCRIPTION_SIZE* = 256
56 VK_MAX_MEMORY_TYPES* = 32
57 VK_MAX_MEMORY_HEAPS* = 16
58 VK_LOD_CLAMP_NONE* = 1000.0f
59 VK_REMAINING_MIP_LEVELS* = (not 0'u32)
60 VK_REMAINING_ARRAY_LAYERS* = (not 0'u32)
61 VK_WHOLE_SIZE* = (not 0'u64)
62 VK_ATTACHMENT_UNUSED* = (not 0'u32)
63 VK_TRUE* = VkBool32(1)
64 VK_FALSE* = VkBool32(0)
65 VK_QUEUE_FAMILY_IGNORED* = (not 0'u32)
66 VK_QUEUE_FAMILY_EXTERNAL* = (not 0'u32) - 1
67 VK_QUEUE_FAMILY_EXTERNAL_KHR* = VK_QUEUE_FAMILY_EXTERNAL
68 VK_QUEUE_FAMILY_FOREIGN_EXT* = (not 0'u32) - 2
69 VK_SUBPASS_EXTERNAL* = (not 0'u32)
70 VK_MAX_DEVICE_GROUP_SIZE* = 32
71 VK_MAX_DEVICE_GROUP_SIZE_KHR* = VK_MAX_DEVICE_GROUP_SIZE
72 VK_MAX_DRIVER_NAME_SIZE* = 256
73 VK_MAX_DRIVER_NAME_SIZE_KHR* = VK_MAX_DRIVER_NAME_SIZE
74 VK_MAX_DRIVER_INFO_SIZE* = 256
75 VK_MAX_DRIVER_INFO_SIZE_KHR* = VK_MAX_DRIVER_INFO_SIZE
76 VK_SHADER_UNUSED_KHR* = (not 0'u32)
77 VK_SHADER_UNUSED_NV* = VK_SHADER_UNUSED_KHR
78
79 type
80 VkImageLayout* {.size: sizeof(cint).} = enum
81 VK_IMAGE_LAYOUT_UNDEFINED = 0
82 VK_IMAGE_LAYOUT_GENERAL = 1
83 VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL = 2
84 VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL = 3
85 VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL = 4
86 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL = 5
87 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL = 6
88 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL = 7
89 VK_IMAGE_LAYOUT_PREINITIALIZED = 8
90 VK_IMAGE_LAYOUT_PRESENT_SRC_KHR = 1000001002,
91 VkAttachmentLoadOp* {.size: sizeof(cint).} = enum
92 VK_ATTACHMENT_LOAD_OP_LOAD = 0
93 VK_ATTACHMENT_LOAD_OP_CLEAR = 1
94 VK_ATTACHMENT_LOAD_OP_DONT_CARE = 2
95 VkAttachmentStoreOp* {.size: sizeof(cint).} = enum
96 VK_ATTACHMENT_STORE_OP_STORE = 0
97 VK_ATTACHMENT_STORE_OP_DONT_CARE = 1
98 VkImageType* {.size: sizeof(cint).} = enum
99 VK_IMAGE_TYPE_1D = 0
100 VK_IMAGE_TYPE_2D = 1
101 VK_IMAGE_TYPE_3D = 2
102 VkImageTiling* {.size: sizeof(cint).} = enum
103 VK_IMAGE_TILING_OPTIMAL = 0
104 VK_IMAGE_TILING_LINEAR = 1
105 VkImageViewType* {.size: sizeof(cint).} = enum
106 VK_IMAGE_VIEW_TYPE_1D = 0
107 VK_IMAGE_VIEW_TYPE_2D = 1
108 VK_IMAGE_VIEW_TYPE_3D = 2
109 VK_IMAGE_VIEW_TYPE_CUBE = 3
110 VK_IMAGE_VIEW_TYPE_1D_ARRAY = 4
111 VK_IMAGE_VIEW_TYPE_2D_ARRAY = 5
112 VK_IMAGE_VIEW_TYPE_CUBE_ARRAY = 6
113 VkCommandBufferLevel* {.size: sizeof(cint).} = enum
114 VK_COMMAND_BUFFER_LEVEL_PRIMARY = 0
115 VK_COMMAND_BUFFER_LEVEL_SECONDARY = 1
116 VkComponentSwizzle* {.size: sizeof(cint).} = enum
117 VK_COMPONENT_SWIZZLE_IDENTITY = 0
118 VK_COMPONENT_SWIZZLE_ZERO = 1
119 VK_COMPONENT_SWIZZLE_ONE = 2
120 VK_COMPONENT_SWIZZLE_R = 3
121 VK_COMPONENT_SWIZZLE_G = 4
122 VK_COMPONENT_SWIZZLE_B = 5
123 VK_COMPONENT_SWIZZLE_A = 6
124 VkDescriptorType* {.size: sizeof(cint).} = enum
125 VK_DESCRIPTOR_TYPE_SAMPLER = 0
126 VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER = 1
127 VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE = 2
128 VK_DESCRIPTOR_TYPE_STORAGE_IMAGE = 3
129 VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER = 4
130 VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER = 5
131 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER = 6
132 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER = 7
133 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC = 8
134 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC = 9
135 VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT = 10
136 VkQueryType* {.size: sizeof(cint).} = enum
137 VK_QUERY_TYPE_OCCLUSION = 0
138 VK_QUERY_TYPE_PIPELINE_STATISTICS = 1
139 VK_QUERY_TYPE_TIMESTAMP = 2
140 VkBorderColor* {.size: sizeof(cint).} = enum
141 VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK = 0
142 VK_BORDER_COLOR_INT_TRANSPARENT_BLACK = 1
143 VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK = 2
144 VK_BORDER_COLOR_INT_OPAQUE_BLACK = 3
145 VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE = 4
146 VK_BORDER_COLOR_INT_OPAQUE_WHITE = 5
147 VkPipelineBindPoint* {.size: sizeof(cint).} = enum
148 VK_PIPELINE_BIND_POINT_GRAPHICS = 0
149 VK_PIPELINE_BIND_POINT_COMPUTE = 1
150 VkPipelineCacheHeaderVersion* {.size: sizeof(cint).} = enum
151 VK_PIPELINE_CACHE_HEADER_VERSION_ONE = 1
152 VkPrimitiveTopology* {.size: sizeof(cint).} = enum
153 VK_PRIMITIVE_TOPOLOGY_POINT_LIST = 0
154 VK_PRIMITIVE_TOPOLOGY_LINE_LIST = 1
155 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP = 2
156 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST = 3
157 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP = 4
158 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN = 5
159 VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY = 6
160 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY = 7
161 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY = 8
162 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY = 9
163 VK_PRIMITIVE_TOPOLOGY_PATCH_LIST = 10
164 VkSharingMode* {.size: sizeof(cint).} = enum
165 VK_SHARING_MODE_EXCLUSIVE = 0
166 VK_SHARING_MODE_CONCURRENT = 1
167 VkIndexType* {.size: sizeof(cint).} = enum
168 VK_INDEX_TYPE_UINT16 = 0
169 VK_INDEX_TYPE_UINT32 = 1
170 VkFilter* {.size: sizeof(cint).} = enum
171 VK_FILTER_NEAREST = 0
172 VK_FILTER_LINEAR = 1
173 VkSamplerMipmapMode* {.size: sizeof(cint).} = enum
174 VK_SAMPLER_MIPMAP_MODE_NEAREST = 0
175 VK_SAMPLER_MIPMAP_MODE_LINEAR = 1
176 VkSamplerAddressMode* {.size: sizeof(cint).} = enum
177 VK_SAMPLER_ADDRESS_MODE_REPEAT = 0
178 VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT = 1
179 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = 2
180 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3
181 VkCompareOp* {.size: sizeof(cint).} = enum
182 VK_COMPARE_OP_NEVER = 0
183 VK_COMPARE_OP_LESS = 1
184 VK_COMPARE_OP_EQUAL = 2
185 VK_COMPARE_OP_LESS_OR_EQUAL = 3
186 VK_COMPARE_OP_GREATER = 4
187 VK_COMPARE_OP_NOT_EQUAL = 5
188 VK_COMPARE_OP_GREATER_OR_EQUAL = 6
189 VK_COMPARE_OP_ALWAYS = 7
190 VkPolygonMode* {.size: sizeof(cint).} = enum
191 VK_POLYGON_MODE_FILL = 0
192 VK_POLYGON_MODE_LINE = 1
193 VK_POLYGON_MODE_POINT = 2
194 VkCullModeFlagBits* {.size: sizeof(cint).} = enum
195 VK_CULL_MODE_NONE = 0
196 VK_CULL_MODE_FRONT_BIT = 1
197 VK_CULL_MODE_BACK_BIT = 2
198 VK_CULL_MODE_FRONT_AND_BACK = 3
199 VkFrontFace* {.size: sizeof(cint).} = enum
200 VK_FRONT_FACE_COUNTER_CLOCKWISE = 0
201 VK_FRONT_FACE_CLOCKWISE = 1
202 VkBlendFactor* {.size: sizeof(cint).} = enum
203 VK_BLEND_FACTOR_ZERO = 0
204 VK_BLEND_FACTOR_ONE = 1
205 VK_BLEND_FACTOR_SRC_COLOR = 2
206 VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR = 3
207 VK_BLEND_FACTOR_DST_COLOR = 4
208 VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR = 5
209 VK_BLEND_FACTOR_SRC_ALPHA = 6
210 VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA = 7
211 VK_BLEND_FACTOR_DST_ALPHA = 8
212 VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA = 9
213 VK_BLEND_FACTOR_CONSTANT_COLOR = 10
214 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR = 11
215 VK_BLEND_FACTOR_CONSTANT_ALPHA = 12
216 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA = 13
217 VK_BLEND_FACTOR_SRC_ALPHA_SATURATE = 14
218 VK_BLEND_FACTOR_SRC1_COLOR = 15
219 VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR = 16
220 VK_BLEND_FACTOR_SRC1_ALPHA = 17
221 VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA = 18
222 VkBlendOp* {.size: sizeof(cint).} = enum
223 VK_BLEND_OP_ADD = 0
224 VK_BLEND_OP_SUBTRACT = 1
225 VK_BLEND_OP_REVERSE_SUBTRACT = 2
226 VK_BLEND_OP_MIN = 3
227 VK_BLEND_OP_MAX = 4
228 VkStencilOp* {.size: sizeof(cint).} = enum
229 VK_STENCIL_OP_KEEP = 0
230 VK_STENCIL_OP_ZERO = 1
231 VK_STENCIL_OP_REPLACE = 2
232 VK_STENCIL_OP_INCREMENT_AND_CLAMP = 3
233 VK_STENCIL_OP_DECREMENT_AND_CLAMP = 4
234 VK_STENCIL_OP_INVERT = 5
235 VK_STENCIL_OP_INCREMENT_AND_WRAP = 6
236 VK_STENCIL_OP_DECREMENT_AND_WRAP = 7
237 VkLogicOp* {.size: sizeof(cint).} = enum
238 VK_LOGIC_OP_CLEAR = 0
239 VK_LOGIC_OP_AND = 1
240 VK_LOGIC_OP_AND_REVERSE = 2
241 VK_LOGIC_OP_COPY = 3
242 VK_LOGIC_OP_AND_INVERTED = 4
243 VK_LOGIC_OP_NO_OP = 5
244 VK_LOGIC_OP_XOR = 6
245 VK_LOGIC_OP_OR = 7
246 VK_LOGIC_OP_NOR = 8
247 VK_LOGIC_OP_EQUIVALENT = 9
248 VK_LOGIC_OP_INVERT = 10
249 VK_LOGIC_OP_OR_REVERSE = 11
250 VK_LOGIC_OP_COPY_INVERTED = 12
251 VK_LOGIC_OP_OR_INVERTED = 13
252 VK_LOGIC_OP_NAND = 14
253 VK_LOGIC_OP_SET = 15
254 VkInternalAllocationType* {.size: sizeof(cint).} = enum
255 VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE = 0
256 VkSystemAllocationScope* {.size: sizeof(cint).} = enum
257 VK_SYSTEM_ALLOCATION_SCOPE_COMMAND = 0
258 VK_SYSTEM_ALLOCATION_SCOPE_OBJECT = 1
259 VK_SYSTEM_ALLOCATION_SCOPE_CACHE = 2
260 VK_SYSTEM_ALLOCATION_SCOPE_DEVICE = 3
261 VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE = 4
262 VkPhysicalDeviceType* {.size: sizeof(cint).} = enum
263 VK_PHYSICAL_DEVICE_TYPE_OTHER = 0
264 VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU = 1
265 VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU = 2
266 VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU = 3
267 VK_PHYSICAL_DEVICE_TYPE_CPU = 4
268 VkVertexInputRate* {.size: sizeof(cint).} = enum
269 VK_VERTEX_INPUT_RATE_VERTEX = 0
270 VK_VERTEX_INPUT_RATE_INSTANCE = 1
271 VkFormat* {.size: sizeof(cint).} = enum
272 VK_FORMAT_UNDEFINED = 0
273 VK_FORMAT_R4G4_UNORM_PACK8 = 1
274 VK_FORMAT_R4G4B4A4_UNORM_PACK16 = 2
275 VK_FORMAT_B4G4R4A4_UNORM_PACK16 = 3
276 VK_FORMAT_R5G6B5_UNORM_PACK16 = 4
277 VK_FORMAT_B5G6R5_UNORM_PACK16 = 5
278 VK_FORMAT_R5G5B5A1_UNORM_PACK16 = 6
279 VK_FORMAT_B5G5R5A1_UNORM_PACK16 = 7
280 VK_FORMAT_A1R5G5B5_UNORM_PACK16 = 8
281 VK_FORMAT_R8_UNORM = 9
282 VK_FORMAT_R8_SNORM = 10
283 VK_FORMAT_R8_USCALED = 11
284 VK_FORMAT_R8_SSCALED = 12
285 VK_FORMAT_R8_UINT = 13
286 VK_FORMAT_R8_SINT = 14
287 VK_FORMAT_R8_SRGB = 15
288 VK_FORMAT_R8G8_UNORM = 16
289 VK_FORMAT_R8G8_SNORM = 17
290 VK_FORMAT_R8G8_USCALED = 18
291 VK_FORMAT_R8G8_SSCALED = 19
292 VK_FORMAT_R8G8_UINT = 20
293 VK_FORMAT_R8G8_SINT = 21
294 VK_FORMAT_R8G8_SRGB = 22
295 VK_FORMAT_R8G8B8_UNORM = 23
296 VK_FORMAT_R8G8B8_SNORM = 24
297 VK_FORMAT_R8G8B8_USCALED = 25
298 VK_FORMAT_R8G8B8_SSCALED = 26
299 VK_FORMAT_R8G8B8_UINT = 27
300 VK_FORMAT_R8G8B8_SINT = 28
301 VK_FORMAT_R8G8B8_SRGB = 29
302 VK_FORMAT_B8G8R8_UNORM = 30
303 VK_FORMAT_B8G8R8_SNORM = 31
304 VK_FORMAT_B8G8R8_USCALED = 32
305 VK_FORMAT_B8G8R8_SSCALED = 33
306 VK_FORMAT_B8G8R8_UINT = 34
307 VK_FORMAT_B8G8R8_SINT = 35
308 VK_FORMAT_B8G8R8_SRGB = 36
309 VK_FORMAT_R8G8B8A8_UNORM = 37
310 VK_FORMAT_R8G8B8A8_SNORM = 38
311 VK_FORMAT_R8G8B8A8_USCALED = 39
312 VK_FORMAT_R8G8B8A8_SSCALED = 40
313 VK_FORMAT_R8G8B8A8_UINT = 41
314 VK_FORMAT_R8G8B8A8_SINT = 42
315 VK_FORMAT_R8G8B8A8_SRGB = 43
316 VK_FORMAT_B8G8R8A8_UNORM = 44
317 VK_FORMAT_B8G8R8A8_SNORM = 45
318 VK_FORMAT_B8G8R8A8_USCALED = 46
319 VK_FORMAT_B8G8R8A8_SSCALED = 47
320 VK_FORMAT_B8G8R8A8_UINT = 48
321 VK_FORMAT_B8G8R8A8_SINT = 49
322 VK_FORMAT_B8G8R8A8_SRGB = 50
323 VK_FORMAT_A8B8G8R8_UNORM_PACK32 = 51
324 VK_FORMAT_A8B8G8R8_SNORM_PACK32 = 52
325 VK_FORMAT_A8B8G8R8_USCALED_PACK32 = 53
326 VK_FORMAT_A8B8G8R8_SSCALED_PACK32 = 54
327 VK_FORMAT_A8B8G8R8_UINT_PACK32 = 55
328 VK_FORMAT_A8B8G8R8_SINT_PACK32 = 56
329 VK_FORMAT_A8B8G8R8_SRGB_PACK32 = 57
330 VK_FORMAT_A2R10G10B10_UNORM_PACK32 = 58
331 VK_FORMAT_A2R10G10B10_SNORM_PACK32 = 59
332 VK_FORMAT_A2R10G10B10_USCALED_PACK32 = 60
333 VK_FORMAT_A2R10G10B10_SSCALED_PACK32 = 61
334 VK_FORMAT_A2R10G10B10_UINT_PACK32 = 62
335 VK_FORMAT_A2R10G10B10_SINT_PACK32 = 63
336 VK_FORMAT_A2B10G10R10_UNORM_PACK32 = 64
337 VK_FORMAT_A2B10G10R10_SNORM_PACK32 = 65
338 VK_FORMAT_A2B10G10R10_USCALED_PACK32 = 66
339 VK_FORMAT_A2B10G10R10_SSCALED_PACK32 = 67
340 VK_FORMAT_A2B10G10R10_UINT_PACK32 = 68
341 VK_FORMAT_A2B10G10R10_SINT_PACK32 = 69
342 VK_FORMAT_R16_UNORM = 70
343 VK_FORMAT_R16_SNORM = 71
344 VK_FORMAT_R16_USCALED = 72
345 VK_FORMAT_R16_SSCALED = 73
346 VK_FORMAT_R16_UINT = 74
347 VK_FORMAT_R16_SINT = 75
348 VK_FORMAT_R16_SFLOAT = 76
349 VK_FORMAT_R16G16_UNORM = 77
350 VK_FORMAT_R16G16_SNORM = 78
351 VK_FORMAT_R16G16_USCALED = 79
352 VK_FORMAT_R16G16_SSCALED = 80
353 VK_FORMAT_R16G16_UINT = 81
354 VK_FORMAT_R16G16_SINT = 82
355 VK_FORMAT_R16G16_SFLOAT = 83
356 VK_FORMAT_R16G16B16_UNORM = 84
357 VK_FORMAT_R16G16B16_SNORM = 85
358 VK_FORMAT_R16G16B16_USCALED = 86
359 VK_FORMAT_R16G16B16_SSCALED = 87
360 VK_FORMAT_R16G16B16_UINT = 88
361 VK_FORMAT_R16G16B16_SINT = 89
362 VK_FORMAT_R16G16B16_SFLOAT = 90
363 VK_FORMAT_R16G16B16A16_UNORM = 91
364 VK_FORMAT_R16G16B16A16_SNORM = 92
365 VK_FORMAT_R16G16B16A16_USCALED = 93
366 VK_FORMAT_R16G16B16A16_SSCALED = 94
367 VK_FORMAT_R16G16B16A16_UINT = 95
368 VK_FORMAT_R16G16B16A16_SINT = 96
369 VK_FORMAT_R16G16B16A16_SFLOAT = 97
370 VK_FORMAT_R32_UINT = 98
371 VK_FORMAT_R32_SINT = 99
372 VK_FORMAT_R32_SFLOAT = 100
373 VK_FORMAT_R32G32_UINT = 101
374 VK_FORMAT_R32G32_SINT = 102
375 VK_FORMAT_R32G32_SFLOAT = 103
376 VK_FORMAT_R32G32B32_UINT = 104
377 VK_FORMAT_R32G32B32_SINT = 105
378 VK_FORMAT_R32G32B32_SFLOAT = 106
379 VK_FORMAT_R32G32B32A32_UINT = 107
380 VK_FORMAT_R32G32B32A32_SINT = 108
381 VK_FORMAT_R32G32B32A32_SFLOAT = 109
382 VK_FORMAT_R64_UINT = 110
383 VK_FORMAT_R64_SINT = 111
384 VK_FORMAT_R64_SFLOAT = 112
385 VK_FORMAT_R64G64_UINT = 113
386 VK_FORMAT_R64G64_SINT = 114
387 VK_FORMAT_R64G64_SFLOAT = 115
388 VK_FORMAT_R64G64B64_UINT = 116
389 VK_FORMAT_R64G64B64_SINT = 117
390 VK_FORMAT_R64G64B64_SFLOAT = 118
391 VK_FORMAT_R64G64B64A64_UINT = 119
392 VK_FORMAT_R64G64B64A64_SINT = 120
393 VK_FORMAT_R64G64B64A64_SFLOAT = 121
394 VK_FORMAT_B10G11R11_UFLOAT_PACK32 = 122
395 VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 = 123
396 VK_FORMAT_D16_UNORM = 124
397 VK_FORMAT_X8_D24_UNORM_PACK32 = 125
398 VK_FORMAT_D32_SFLOAT = 126
399 VK_FORMAT_S8_UINT = 127
400 VK_FORMAT_D16_UNORM_S8_UINT = 128
401 VK_FORMAT_D24_UNORM_S8_UINT = 129
402 VK_FORMAT_D32_SFLOAT_S8_UINT = 130
403 VK_FORMAT_BC1_RGB_UNORM_BLOCK = 131
404 VK_FORMAT_BC1_RGB_SRGB_BLOCK = 132
405 VK_FORMAT_BC1_RGBA_UNORM_BLOCK = 133
406 VK_FORMAT_BC1_RGBA_SRGB_BLOCK = 134
407 VK_FORMAT_BC2_UNORM_BLOCK = 135
408 VK_FORMAT_BC2_SRGB_BLOCK = 136
409 VK_FORMAT_BC3_UNORM_BLOCK = 137
410 VK_FORMAT_BC3_SRGB_BLOCK = 138
411 VK_FORMAT_BC4_UNORM_BLOCK = 139
412 VK_FORMAT_BC4_SNORM_BLOCK = 140
413 VK_FORMAT_BC5_UNORM_BLOCK = 141
414 VK_FORMAT_BC5_SNORM_BLOCK = 142
415 VK_FORMAT_BC6H_UFLOAT_BLOCK = 143
416 VK_FORMAT_BC6H_SFLOAT_BLOCK = 144
417 VK_FORMAT_BC7_UNORM_BLOCK = 145
418 VK_FORMAT_BC7_SRGB_BLOCK = 146
419 VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK = 147
420 VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK = 148
421 VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK = 149
422 VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK = 150
423 VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK = 151
424 VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK = 152
425 VK_FORMAT_EAC_R11_UNORM_BLOCK = 153
426 VK_FORMAT_EAC_R11_SNORM_BLOCK = 154
427 VK_FORMAT_EAC_R11G11_UNORM_BLOCK = 155
428 VK_FORMAT_EAC_R11G11_SNORM_BLOCK = 156
429 VK_FORMAT_ASTC_4x4_UNORM_BLOCK = 157
430 VK_FORMAT_ASTC_4x4_SRGB_BLOCK = 158
431 VK_FORMAT_ASTC_5x4_UNORM_BLOCK = 159
432 VK_FORMAT_ASTC_5x4_SRGB_BLOCK = 160
433 VK_FORMAT_ASTC_5x5_UNORM_BLOCK = 161
434 VK_FORMAT_ASTC_5x5_SRGB_BLOCK = 162
435 VK_FORMAT_ASTC_6x5_UNORM_BLOCK = 163
436 VK_FORMAT_ASTC_6x5_SRGB_BLOCK = 164
437 VK_FORMAT_ASTC_6x6_UNORM_BLOCK = 165
438 VK_FORMAT_ASTC_6x6_SRGB_BLOCK = 166
439 VK_FORMAT_ASTC_8x5_UNORM_BLOCK = 167
440 VK_FORMAT_ASTC_8x5_SRGB_BLOCK = 168
441 VK_FORMAT_ASTC_8x6_UNORM_BLOCK = 169
442 VK_FORMAT_ASTC_8x6_SRGB_BLOCK = 170
443 VK_FORMAT_ASTC_8x8_UNORM_BLOCK = 171
444 VK_FORMAT_ASTC_8x8_SRGB_BLOCK = 172
445 VK_FORMAT_ASTC_10x5_UNORM_BLOCK = 173
446 VK_FORMAT_ASTC_10x5_SRGB_BLOCK = 174
447 VK_FORMAT_ASTC_10x6_UNORM_BLOCK = 175
448 VK_FORMAT_ASTC_10x6_SRGB_BLOCK = 176
449 VK_FORMAT_ASTC_10x8_UNORM_BLOCK = 177
450 VK_FORMAT_ASTC_10x8_SRGB_BLOCK = 178
451 VK_FORMAT_ASTC_10x10_UNORM_BLOCK = 179
452 VK_FORMAT_ASTC_10x10_SRGB_BLOCK = 180
453 VK_FORMAT_ASTC_12x10_UNORM_BLOCK = 181
454 VK_FORMAT_ASTC_12x10_SRGB_BLOCK = 182
455 VK_FORMAT_ASTC_12x12_UNORM_BLOCK = 183
456 VK_FORMAT_ASTC_12x12_SRGB_BLOCK = 184
457 VkStructureType* {.size: sizeof(cint).} = enum
458 VK_STRUCTURE_TYPE_APPLICATION_INFO = 0
459 VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO = 1
460 VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO = 2
461 VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO = 3
462 VK_STRUCTURE_TYPE_SUBMIT_INFO = 4
463 VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO = 5
464 VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE = 6
465 VK_STRUCTURE_TYPE_BIND_SPARSE_INFO = 7
466 VK_STRUCTURE_TYPE_FENCE_CREATE_INFO = 8
467 VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO = 9
468 VK_STRUCTURE_TYPE_EVENT_CREATE_INFO = 10
469 VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO = 11
470 VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO = 12
471 VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO = 13
472 VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO = 14
473 VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO = 15
474 VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO = 16
475 VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO = 17
476 VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO = 18
477 VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO = 19
478 VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO = 20
479 VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO = 21
480 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO = 22
481 VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO = 23
482 VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO = 24
483 VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO = 25
484 VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO = 26
485 VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO = 27
486 VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO = 28
487 VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO = 29
488 VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO = 30
489 VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO = 31
490 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO = 32
491 VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO = 33
492 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO = 34
493 VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET = 35
494 VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET = 36
495 VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO = 37
496 VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO = 38
497 VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO = 39
498 VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO = 40
499 VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO = 41
500 VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO = 42
501 VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO = 43
502 VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER = 44
503 VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER = 45
504 VK_STRUCTURE_TYPE_MEMORY_BARRIER = 46
505 VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO = 47
506 VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO = 48
507 VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR = 1000001000 # added by sam
508 VK_STRUCTURE_TYPE_PRESENT_INFO_KHR = 1000001001 # added by sam
509 VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR = 1000004000 # added by sam
510 VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR = 1000009000 # added by sam
511 VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT = 1000128004 # added by sam
512 VkSubpassContents* {.size: sizeof(cint).} = enum
513 VK_SUBPASS_CONTENTS_INLINE = 0
514 VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS = 1
515 VkResult* {.size: sizeof(cint).} = enum
516 VK_ERROR_OUT_OF_DATE_KHR = -1000001004 # added by sam
517 VK_ERROR_UNKNOWN = -13
518 VK_ERROR_FRAGMENTED_POOL = -12
519 VK_ERROR_FORMAT_NOT_SUPPORTED = -11
520 VK_ERROR_TOO_MANY_OBJECTS = -10
521 VK_ERROR_INCOMPATIBLE_DRIVER = -9
522 VK_ERROR_FEATURE_NOT_PRESENT = -8
523 VK_ERROR_EXTENSION_NOT_PRESENT = -7
524 VK_ERROR_LAYER_NOT_PRESENT = -6
525 VK_ERROR_MEMORY_MAP_FAILED = -5
526 VK_ERROR_DEVICE_LOST = -4
527 VK_ERROR_INITIALIZATION_FAILED = -3
528 VK_ERROR_OUT_OF_DEVICE_MEMORY = -2
529 VK_ERROR_OUT_OF_HOST_MEMORY = -1
530 VK_SUCCESS = 0
531 VK_NOT_READY = 1
532 VK_TIMEOUT = 2
533 VK_EVENT_SET = 3
534 VK_EVENT_RESET = 4
535 VK_INCOMPLETE = 5
536 VK_SUBOPTIMAL_KHR = 1000001003, # added by sam
537 VkDynamicState* {.size: sizeof(cint).} = enum
538 VK_DYNAMIC_STATE_VIEWPORT = 0
539 VK_DYNAMIC_STATE_SCISSOR = 1
540 VK_DYNAMIC_STATE_LINE_WIDTH = 2
541 VK_DYNAMIC_STATE_DEPTH_BIAS = 3
542 VK_DYNAMIC_STATE_BLEND_CONSTANTS = 4
543 VK_DYNAMIC_STATE_DEPTH_BOUNDS = 5
544 VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK = 6
545 VK_DYNAMIC_STATE_STENCIL_WRITE_MASK = 7
546 VK_DYNAMIC_STATE_STENCIL_REFERENCE = 8
547 VkDescriptorUpdateTemplateType* {.size: sizeof(cint).} = enum
548 VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET = 0
549 VkObjectType* {.size: sizeof(cint).} = enum
550 VK_OBJECT_TYPE_UNKNOWN = 0
551 VK_OBJECT_TYPE_INSTANCE = 1
552 VK_OBJECT_TYPE_PHYSICAL_DEVICE = 2
553 VK_OBJECT_TYPE_DEVICE = 3
554 VK_OBJECT_TYPE_QUEUE = 4
555 VK_OBJECT_TYPE_SEMAPHORE = 5
556 VK_OBJECT_TYPE_COMMAND_BUFFER = 6
557 VK_OBJECT_TYPE_FENCE = 7
558 VK_OBJECT_TYPE_DEVICE_MEMORY = 8
559 VK_OBJECT_TYPE_BUFFER = 9
560 VK_OBJECT_TYPE_IMAGE = 10
561 VK_OBJECT_TYPE_EVENT = 11
562 VK_OBJECT_TYPE_QUERY_POOL = 12
563 VK_OBJECT_TYPE_BUFFER_VIEW = 13
564 VK_OBJECT_TYPE_IMAGE_VIEW = 14
565 VK_OBJECT_TYPE_SHADER_MODULE = 15
566 VK_OBJECT_TYPE_PIPELINE_CACHE = 16
567 VK_OBJECT_TYPE_PIPELINE_LAYOUT = 17
568 VK_OBJECT_TYPE_RENDER_PASS = 18
569 VK_OBJECT_TYPE_PIPELINE = 19
570 VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT = 20
571 VK_OBJECT_TYPE_SAMPLER = 21
572 VK_OBJECT_TYPE_DESCRIPTOR_POOL = 22
573 VK_OBJECT_TYPE_DESCRIPTOR_SET = 23
574 VK_OBJECT_TYPE_FRAMEBUFFER = 24
575 VK_OBJECT_TYPE_COMMAND_POOL = 25
576 VkQueueFlagBits* {.size: sizeof(cint).} = enum
577 VK_QUEUE_GRAPHICS_BIT = 1
578 VK_QUEUE_COMPUTE_BIT = 2
579 VK_QUEUE_TRANSFER_BIT = 4
580 VK_QUEUE_SPARSE_BINDING_BIT = 8
581 VkMemoryPropertyFlagBits* {.size: sizeof(cint).} = enum
582 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT = 1
583 VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT = 2
584 VK_MEMORY_PROPERTY_HOST_COHERENT_BIT = 4
585 VK_MEMORY_PROPERTY_HOST_CACHED_BIT = 8
586 VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT = 16
587 VkMemoryHeapFlagBits* {.size: sizeof(cint).} = enum
588 VK_MEMORY_HEAP_DEVICE_LOCAL_BIT = 1
589 VkAccessFlagBits* {.size: sizeof(cint).} = enum
590 VK_ACCESS_INDIRECT_COMMAND_READ_BIT = 1
591 VK_ACCESS_INDEX_READ_BIT = 2
592 VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT = 4
593 VK_ACCESS_UNIFORM_READ_BIT = 8
594 VK_ACCESS_INPUT_ATTACHMENT_READ_BIT = 16
595 VK_ACCESS_SHADER_READ_BIT = 32
596 VK_ACCESS_SHADER_WRITE_BIT = 64
597 VK_ACCESS_COLOR_ATTACHMENT_READ_BIT = 128
598 VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT = 256
599 VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT = 512
600 VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT = 1024
601 VK_ACCESS_TRANSFER_READ_BIT = 2048
602 VK_ACCESS_TRANSFER_WRITE_BIT = 4096
603 VK_ACCESS_HOST_READ_BIT = 8192
604 VK_ACCESS_HOST_WRITE_BIT = 16384
605 VK_ACCESS_MEMORY_READ_BIT = 32768
606 VK_ACCESS_MEMORY_WRITE_BIT = 65536
607 VkBufferUsageFlagBits* {.size: sizeof(cint).} = enum
608 VK_BUFFER_USAGE_TRANSFER_SRC_BIT = 1
609 VK_BUFFER_USAGE_TRANSFER_DST_BIT = 2
610 VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT = 4
611 VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT = 8
612 VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT = 16
613 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT = 32
614 VK_BUFFER_USAGE_INDEX_BUFFER_BIT = 64
615 VK_BUFFER_USAGE_VERTEX_BUFFER_BIT = 128
616 VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT = 256
617 VkBufferCreateFlagBits* {.size: sizeof(cint).} = enum
618 VK_BUFFER_CREATE_SPARSE_BINDING_BIT = 1
619 VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT = 2
620 VK_BUFFER_CREATE_SPARSE_ALIASED_BIT = 4
621 VkShaderStageFlagBits* {.size: sizeof(cint).} = enum
622 VK_SHADER_STAGE_VERTEX_BIT = 1
623 VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT = 2
624 VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT = 4
625 VK_SHADER_STAGE_GEOMETRY_BIT = 8
626 VK_SHADER_STAGE_FRAGMENT_BIT = 16
627 VK_SHADER_STAGE_ALL_GRAPHICS = 31
628 VK_SHADER_STAGE_COMPUTE_BIT = 32
629 VK_SHADER_STAGE_ALL = 2147483647
630 VkImageUsageFlagBits* {.size: sizeof(cint).} = enum
631 VK_IMAGE_USAGE_TRANSFER_SRC_BIT = 1
632 VK_IMAGE_USAGE_TRANSFER_DST_BIT = 2
633 VK_IMAGE_USAGE_SAMPLED_BIT = 4
634 VK_IMAGE_USAGE_STORAGE_BIT = 8
635 VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT = 16
636 VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT = 32
637 VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT = 64
638 VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT = 128
639 VkImageCreateFlagBits* {.size: sizeof(cint).} = enum
640 VK_IMAGE_CREATE_SPARSE_BINDING_BIT = 1
641 VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT = 2
642 VK_IMAGE_CREATE_SPARSE_ALIASED_BIT = 4
643 VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT = 8
644 VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT = 16
645 VkPipelineCreateFlagBits* {.size: sizeof(cint).} = enum
646 VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT = 1
647 VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT = 2
648 VK_PIPELINE_CREATE_DERIVATIVE_BIT = 4
649 VkColorComponentFlagBits* {.size: sizeof(cint).} = enum
650 VK_COLOR_COMPONENT_R_BIT = 1
651 VK_COLOR_COMPONENT_G_BIT = 2
652 VK_COLOR_COMPONENT_B_BIT = 4
653 VK_COLOR_COMPONENT_A_BIT = 8
654 VkFenceCreateFlagBits* {.size: sizeof(cint).} = enum
655 VK_FENCE_CREATE_SIGNALED_BIT = 1
656 VkFormatFeatureFlagBits* {.size: sizeof(cint).} = enum
657 VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT = 1
658 VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT = 2
659 VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT = 4
660 VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT = 8
661 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT = 16
662 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT = 32
663 VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT = 64
664 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT = 128
665 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT = 256
666 VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT = 512
667 VK_FORMAT_FEATURE_BLIT_SRC_BIT = 1024
668 VK_FORMAT_FEATURE_BLIT_DST_BIT = 2048
669 VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT = 4096
670 VkQueryControlFlagBits* {.size: sizeof(cint).} = enum
671 VK_QUERY_CONTROL_PRECISE_BIT = 1
672 VkQueryResultFlagBits* {.size: sizeof(cint).} = enum
673 VK_QUERY_RESULT_64_BIT = 1
674 VK_QUERY_RESULT_WAIT_BIT = 2
675 VK_QUERY_RESULT_WITH_AVAILABILITY_BIT = 4
676 VK_QUERY_RESULT_PARTIAL_BIT = 8
677 VkCommandBufferUsageFlagBits* {.size: sizeof(cint).} = enum
678 VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT = 1
679 VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT = 2
680 VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT = 4
681 VkQueryPipelineStatisticFlagBits* {.size: sizeof(cint).} = enum
682 VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT = 1
683 VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT = 2
684 VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT = 4
685 VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT = 8
686 VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT = 16
687 VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT = 32
688 VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT = 64
689 VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT = 128
690 VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT = 256
691 VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT = 512
692 VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT = 1024
693 VkImageAspectFlagBits* {.size: sizeof(cint).} = enum
694 VK_IMAGE_ASPECT_COLOR_BIT = 1
695 VK_IMAGE_ASPECT_DEPTH_BIT = 2
696 VK_IMAGE_ASPECT_STENCIL_BIT = 4
697 VK_IMAGE_ASPECT_METADATA_BIT = 8
698 VkSparseImageFormatFlagBits* {.size: sizeof(cint).} = enum
699 VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT = 1
700 VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT = 2
701 VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT = 4
702 VkSparseMemoryBindFlagBits* {.size: sizeof(cint).} = enum
703 VK_SPARSE_MEMORY_BIND_METADATA_BIT = 1
704 VkPipelineStageFlagBits* {.size: sizeof(cint).} = enum
705 VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT = 1
706 VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT = 2
707 VK_PIPELINE_STAGE_VERTEX_INPUT_BIT = 4
708 VK_PIPELINE_STAGE_VERTEX_SHADER_BIT = 8
709 VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT = 16
710 VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT = 32
711 VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT = 64
712 VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT = 128
713 VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT = 256
714 VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT = 512
715 VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT = 1024
716 VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT = 2048
717 VK_PIPELINE_STAGE_TRANSFER_BIT = 4096
718 VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT = 8192
719 VK_PIPELINE_STAGE_HOST_BIT = 16384
720 VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT = 32768
721 VK_PIPELINE_STAGE_ALL_COMMANDS_BIT = 65536
722 VkCommandPoolCreateFlagBits* {.size: sizeof(cint).} = enum
723 VK_COMMAND_POOL_CREATE_TRANSIENT_BIT = 1
724 VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT = 2
725 VkCommandPoolResetFlagBits* {.size: sizeof(cint).} = enum
726 VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT = 1
727 VkCommandBufferResetFlagBits* {.size: sizeof(cint).} = enum
728 VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT = 1
729 VkSampleCountFlagBits* {.size: sizeof(cint).} = enum
730 VK_SAMPLE_COUNT_1_BIT = 1
731 VK_SAMPLE_COUNT_2_BIT = 2
732 VK_SAMPLE_COUNT_4_BIT = 4
733 VK_SAMPLE_COUNT_8_BIT = 8
734 VK_SAMPLE_COUNT_16_BIT = 16
735 VK_SAMPLE_COUNT_32_BIT = 32
736 VK_SAMPLE_COUNT_64_BIT = 64
737 VkAttachmentDescriptionFlagBits* {.size: sizeof(cint).} = enum
738 VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT = 1
739 VkStencilFaceFlagBits* {.size: sizeof(cint).} = enum
740 VK_STENCIL_FACE_FRONT_BIT = 1
741 VK_STENCIL_FACE_BACK_BIT = 2
742 VK_STENCIL_FACE_FRONT_AND_BACK = 3
743 VkDescriptorPoolCreateFlagBits* {.size: sizeof(cint).} = enum
744 VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT = 1
745 VkDependencyFlagBits* {.size: sizeof(cint).} = enum
746 VK_DEPENDENCY_BY_REGION_BIT = 1
747 VkSemaphoreType* {.size: sizeof(cint).} = enum
748 VK_SEMAPHORE_TYPE_BINARY = 0
749 VK_SEMAPHORE_TYPE_TIMELINE = 1
750 VkSemaphoreWaitFlagBits* {.size: sizeof(cint).} = enum
751 VK_SEMAPHORE_WAIT_ANY_BIT = 1
752 VkPresentModeKHR* {.size: sizeof(cint).} = enum
753 VK_PRESENT_MODE_IMMEDIATE_KHR = 0
754 VK_PRESENT_MODE_MAILBOX_KHR = 1
755 VK_PRESENT_MODE_FIFO_KHR = 2
756 VK_PRESENT_MODE_FIFO_RELAXED_KHR = 3
757 VkColorSpaceKHR* {.size: sizeof(cint).} = enum
758 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR = 0
759 VkDisplayPlaneAlphaFlagBitsKHR* {.size: sizeof(cint).} = enum
760 VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR = 1
761 VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR = 2
762 VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR = 4
763 VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR = 8
764 VkCompositeAlphaFlagBitsKHR* {.size: sizeof(cint).} = enum
765 VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR = 1
766 VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR = 2
767 VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR = 4
768 VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR = 8
769 VkSurfaceTransformFlagBitsKHR* {.size: sizeof(cint).} = enum
770 VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR = 1
771 VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR = 2
772 VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR = 4
773 VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR = 8
774 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR = 16
775 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR = 32
776 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR = 64
777 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR = 128
778 VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR = 256
779 VkSwapchainImageUsageFlagBitsANDROID* {.size: sizeof(cint).} = enum
780 VK_SWAPCHAIN_IMAGE_USAGE_SHARED_BIT_ANDROID = 1
781 VkTimeDomainEXT* {.size: sizeof(cint).} = enum
782 VK_TIME_DOMAIN_DEVICE_EXT = 0
783 VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT = 1
784 VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT = 2
785 VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT = 3
786 VkDebugReportFlagBitsEXT* {.size: sizeof(cint).} = enum
787 VK_DEBUG_REPORT_INFORMATION_BIT_EXT = 1
788 VK_DEBUG_REPORT_WARNING_BIT_EXT = 2
789 VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT = 4
790 VK_DEBUG_REPORT_ERROR_BIT_EXT = 8
791 VK_DEBUG_REPORT_DEBUG_BIT_EXT = 16
792 VkDebugReportObjectTypeEXT* {.size: sizeof(cint).} = enum
793 VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT = 0
794 VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT = 1
795 VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT = 2
796 VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT = 3
797 VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT = 4
798 VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT = 5
799 VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT = 6
800 VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT = 7
801 VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT = 8
802 VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT = 9
803 VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT = 10
804 VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT = 11
805 VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT = 12
806 VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT = 13
807 VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT = 14
808 VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT = 15
809 VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT = 16
810 VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT = 17
811 VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT = 18
812 VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT = 19
813 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT = 20
814 VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT = 21
815 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT = 22
816 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT = 23
817 VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT = 24
818 VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT = 25
819 VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT = 26
820 VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT = 27
821 VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT = 28
822 VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT = 29
823 VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT = 30
824 VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT = 33
825 VkRasterizationOrderAMD* {.size: sizeof(cint).} = enum
826 VK_RASTERIZATION_ORDER_STRICT_AMD = 0
827 VK_RASTERIZATION_ORDER_RELAXED_AMD = 1
828 VkExternalMemoryHandleTypeFlagBitsNV* {.size: sizeof(cint).} = enum
829 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV = 1
830 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV = 2
831 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV = 4
832 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV = 8
833 VkExternalMemoryFeatureFlagBitsNV* {.size: sizeof(cint).} = enum
834 VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV = 1
835 VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV = 2
836 VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV = 4
837 VkValidationCheckEXT* {.size: sizeof(cint).} = enum
838 VK_VALIDATION_CHECK_ALL_EXT = 0
839 VK_VALIDATION_CHECK_SHADERS_EXT = 1
840 VkValidationFeatureEnableEXT* {.size: sizeof(cint).} = enum
841 VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT = 0
842 VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT = 1
843 VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT = 2
844 VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT = 3
845 VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT = 4
846 VkValidationFeatureDisableEXT* {.size: sizeof(cint).} = enum
847 VK_VALIDATION_FEATURE_DISABLE_ALL_EXT = 0
848 VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT = 1
849 VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT = 2
850 VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT = 3
851 VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT = 4
852 VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT = 5
853 VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT = 6
854 VkSubgroupFeatureFlagBits* {.size: sizeof(cint).} = enum
855 VK_SUBGROUP_FEATURE_BASIC_BIT = 1
856 VK_SUBGROUP_FEATURE_VOTE_BIT = 2
857 VK_SUBGROUP_FEATURE_ARITHMETIC_BIT = 4
858 VK_SUBGROUP_FEATURE_BALLOT_BIT = 8
859 VK_SUBGROUP_FEATURE_SHUFFLE_BIT = 16
860 VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT = 32
861 VK_SUBGROUP_FEATURE_CLUSTERED_BIT = 64
862 VK_SUBGROUP_FEATURE_QUAD_BIT = 128
863 VkIndirectCommandsLayoutUsageFlagBitsNV* {.size: sizeof(cint).} = enum
864 VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_NV = 1
865 VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NV = 2
866 VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NV = 4
867 VkIndirectStateFlagBitsNV* {.size: sizeof(cint).} = enum
868 VK_INDIRECT_STATE_FLAG_FRONTFACE_BIT_NV = 1
869 VkIndirectCommandsTokenTypeNV* {.size: sizeof(cint).} = enum
870 VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV = 0
871 VK_INDIRECT_COMMANDS_TOKEN_TYPE_STATE_FLAGS_NV = 1
872 VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV = 2
873 VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NV = 3
874 VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV = 4
875 VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NV = 5
876 VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NV = 6
877 VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_TASKS_NV = 7
878 VkExternalMemoryHandleTypeFlagBits* {.size: sizeof(cint).} = enum
879 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT = 1
880 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT = 2
881 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT = 4
882 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT = 8
883 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT = 16
884 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT = 32
885 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT = 64
886 VkExternalMemoryFeatureFlagBits* {.size: sizeof(cint).} = enum
887 VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT = 1
888 VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT = 2
889 VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT = 4
890 VkExternalSemaphoreHandleTypeFlagBits* {.size: sizeof(cint).} = enum
891 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT = 1
892 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT = 2
893 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT = 4
894 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT = 8
895 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT = 16
896 VkExternalSemaphoreFeatureFlagBits* {.size: sizeof(cint).} = enum
897 VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT = 1
898 VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT = 2
899 VkSemaphoreImportFlagBits* {.size: sizeof(cint).} = enum
900 VK_SEMAPHORE_IMPORT_TEMPORARY_BIT = 1
901 VkExternalFenceHandleTypeFlagBits* {.size: sizeof(cint).} = enum
902 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT = 1
903 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT = 2
904 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT = 4
905 VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT = 8
906 VkExternalFenceFeatureFlagBits* {.size: sizeof(cint).} = enum
907 VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT = 1
908 VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT = 2
909 VkFenceImportFlagBits* {.size: sizeof(cint).} = enum
910 VK_FENCE_IMPORT_TEMPORARY_BIT = 1
911 VkSurfaceCounterFlagBitsEXT* {.size: sizeof(cint).} = enum
912 VK_SURFACE_COUNTER_VBLANK_EXT = 1
913 VkDisplayPowerStateEXT* {.size: sizeof(cint).} = enum
914 VK_DISPLAY_POWER_STATE_OFF_EXT = 0
915 VK_DISPLAY_POWER_STATE_SUSPEND_EXT = 1
916 VK_DISPLAY_POWER_STATE_ON_EXT = 2
917 VkDeviceEventTypeEXT* {.size: sizeof(cint).} = enum
918 VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT = 0
919 VkDisplayEventTypeEXT* {.size: sizeof(cint).} = enum
920 VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT = 0
921 VkPeerMemoryFeatureFlagBits* {.size: sizeof(cint).} = enum
922 VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT = 1
923 VK_PEER_MEMORY_FEATURE_COPY_DST_BIT = 2
924 VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT = 4
925 VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT = 8
926 VkMemoryAllocateFlagBits* {.size: sizeof(cint).} = enum
927 VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT = 1
928 VkDeviceGroupPresentModeFlagBitsKHR* {.size: sizeof(cint).} = enum
929 VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR = 1
930 VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR = 2
931 VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR = 4
932 VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR = 8
933 VkViewportCoordinateSwizzleNV* {.size: sizeof(cint).} = enum
934 VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV = 0
935 VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV = 1
936 VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV = 2
937 VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV = 3
938 VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV = 4
939 VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV = 5
940 VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV = 6
941 VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV = 7
942 VkDiscardRectangleModeEXT* {.size: sizeof(cint).} = enum
943 VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT = 0
944 VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT = 1
945 VkPointClippingBehavior* {.size: sizeof(cint).} = enum
946 VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES = 0
947 VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY = 1
948 VkSamplerReductionMode* {.size: sizeof(cint).} = enum
949 VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE = 0
950 VK_SAMPLER_REDUCTION_MODE_MIN = 1
951 VK_SAMPLER_REDUCTION_MODE_MAX = 2
952 VkTessellationDomainOrigin* {.size: sizeof(cint).} = enum
953 VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT = 0
954 VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT = 1
955 VkSamplerYcbcrModelConversion* {.size: sizeof(cint).} = enum
956 VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY = 0
957 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY = 1
958 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709 = 2
959 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601 = 3
960 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020 = 4
961 VkSamplerYcbcrRange* {.size: sizeof(cint).} = enum
962 VK_SAMPLER_YCBCR_RANGE_ITU_FULL = 0
963 VK_SAMPLER_YCBCR_RANGE_ITU_NARROW = 1
964 VkChromaLocation* {.size: sizeof(cint).} = enum
965 VK_CHROMA_LOCATION_COSITED_EVEN = 0
966 VK_CHROMA_LOCATION_MIDPOINT = 1
967 VkBlendOverlapEXT* {.size: sizeof(cint).} = enum
968 VK_BLEND_OVERLAP_UNCORRELATED_EXT = 0
969 VK_BLEND_OVERLAP_DISJOINT_EXT = 1
970 VK_BLEND_OVERLAP_CONJOINT_EXT = 2
971 VkCoverageModulationModeNV* {.size: sizeof(cint).} = enum
972 VK_COVERAGE_MODULATION_MODE_NONE_NV = 0
973 VK_COVERAGE_MODULATION_MODE_RGB_NV = 1
974 VK_COVERAGE_MODULATION_MODE_ALPHA_NV = 2
975 VK_COVERAGE_MODULATION_MODE_RGBA_NV = 3
976 VkCoverageReductionModeNV* {.size: sizeof(cint).} = enum
977 VK_COVERAGE_REDUCTION_MODE_MERGE_NV = 0
978 VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV = 1
979 VkValidationCacheHeaderVersionEXT* {.size: sizeof(cint).} = enum
980 VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT = 1
981 VkShaderInfoTypeAMD* {.size: sizeof(cint).} = enum
982 VK_SHADER_INFO_TYPE_STATISTICS_AMD = 0
983 VK_SHADER_INFO_TYPE_BINARY_AMD = 1
984 VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD = 2
985 VkQueueGlobalPriorityEXT* {.size: sizeof(cint).} = enum
986 VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT = 128
987 VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT = 256
988 VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT = 512
989 VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT = 1024
990 VkDebugUtilsMessageSeverityFlagBitsEXT* {.size: sizeof(cint).} = enum
991 VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT = 1
992 VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT = 16
993 VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT = 256
994 VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT = 4096
995 VkDebugUtilsMessageTypeFlagBitsEXT* {.size: sizeof(cint).} = enum
996 VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT = 1
997 VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT = 2
998 VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT = 4
999 VkConservativeRasterizationModeEXT* {.size: sizeof(cint).} = enum
1000 VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT = 0
1001 VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT = 1
1002 VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT = 2
1003 VkDescriptorBindingFlagBits* {.size: sizeof(cint).} = enum
1004 VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT = 1
1005 VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT = 2
1006 VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT = 4
1007 VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT = 8
1008 VkVendorId* {.size: sizeof(cint).} = enum
1009 VK_VENDOR_ID_VIV = 65537
1010 VK_VENDOR_ID_VSI = 65538
1011 VK_VENDOR_ID_KAZAN = 65539
1012 VK_VENDOR_ID_CODEPLAY = 65540
1013 VK_VENDOR_ID_MESA = 65541
1014 VkDriverId* {.size: sizeof(cint).} = enum
1015 VK_DRIVER_ID_AMD_PROPRIETARY = 1
1016 VK_DRIVER_ID_AMD_OPEN_SOURCE = 2
1017 VK_DRIVER_ID_MESA_RADV = 3
1018 VK_DRIVER_ID_NVIDIA_PROPRIETARY = 4
1019 VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS = 5
1020 VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA = 6
1021 VK_DRIVER_ID_IMAGINATION_PROPRIETARY = 7
1022 VK_DRIVER_ID_QUALCOMM_PROPRIETARY = 8
1023 VK_DRIVER_ID_ARM_PROPRIETARY = 9
1024 VK_DRIVER_ID_GOOGLE_SWIFTSHADER = 10
1025 VK_DRIVER_ID_GGP_PROPRIETARY = 11
1026 VK_DRIVER_ID_BROADCOM_PROPRIETARY = 12
1027 VK_DRIVER_ID_MESA_LLVMPIPE = 13
1028 VK_DRIVER_ID_MOLTENVK = 14
1029 VkConditionalRenderingFlagBitsEXT* {.size: sizeof(cint).} = enum
1030 VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT = 1
1031 VkResolveModeFlagBits* {.size: sizeof(cint).} = enum
1032 VK_RESOLVE_MODE_NONE = 0
1033 VK_RESOLVE_MODE_SAMPLE_ZERO_BIT = 1
1034 VK_RESOLVE_MODE_AVERAGE_BIT = 2
1035 VK_RESOLVE_MODE_MIN_BIT = 4
1036 VK_RESOLVE_MODE_MAX_BIT = 8
1037 VkShadingRatePaletteEntryNV* {.size: sizeof(cint).} = enum
1038 VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV = 0
1039 VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV = 1
1040 VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV = 2
1041 VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV = 3
1042 VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV = 4
1043 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV = 5
1044 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV = 6
1045 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV = 7
1046 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV = 8
1047 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV = 9
1048 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV = 10
1049 VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV = 11
1050 VkCoarseSampleOrderTypeNV* {.size: sizeof(cint).} = enum
1051 VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV = 0
1052 VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV = 1
1053 VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV = 2
1054 VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV = 3
1055 VkGeometryInstanceFlagBitsKHR* {.size: sizeof(cint).} = enum
1056 VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR = 1
1057 VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR = 2
1058 VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR = 4
1059 VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR = 8
1060 VkGeometryFlagBitsKHR* {.size: sizeof(cint).} = enum
1061 VK_GEOMETRY_OPAQUE_BIT_KHR = 1
1062 VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR = 2
1063 VkBuildAccelerationStructureFlagBitsKHR* {.size: sizeof(cint).} = enum
1064 VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR = 1
1065 VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR = 2
1066 VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR = 4
1067 VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR = 8
1068 VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR = 16
1069 VkCopyAccelerationStructureModeKHR* {.size: sizeof(cint).} = enum
1070 VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR = 0
1071 VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR = 1
1072 VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR = 2
1073 VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR = 3
1074 VkAccelerationStructureTypeKHR* {.size: sizeof(cint).} = enum
1075 VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR = 0
1076 VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR = 1
1077 VkGeometryTypeKHR* {.size: sizeof(cint).} = enum
1078 VK_GEOMETRY_TYPE_TRIANGLES_KHR = 0
1079 VK_GEOMETRY_TYPE_AABBS_KHR = 1
1080 VkAccelerationStructureMemoryRequirementsTypeKHR* {.size: sizeof(cint).} = enum
1081 VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_KHR = 0
1082 VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_KHR = 1
1083 VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_KHR = 2
1084 VkAccelerationStructureBuildTypeKHR* {.size: sizeof(cint).} = enum
1085 VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR = 0
1086 VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR = 1
1087 VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR = 2
1088 VkRayTracingShaderGroupTypeKHR* {.size: sizeof(cint).} = enum
1089 VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR = 0
1090 VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR = 1
1091 VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR = 2
1092 VkMemoryOverallocationBehaviorAMD* {.size: sizeof(cint).} = enum
1093 VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD = 0
1094 VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD = 1
1095 VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD = 2
1096 VkScopeNV* {.size: sizeof(cint).} = enum
1097 VK_SCOPE_DEVICE_NV = 1
1098 VK_SCOPE_WORKGROUP_NV = 2
1099 VK_SCOPE_SUBGROUP_NV = 3
1100 VK_SCOPE_QUEUE_FAMILY_NV = 5
1101 VkComponentTypeNV* {.size: sizeof(cint).} = enum
1102 VK_COMPONENT_TYPE_FLOAT16_NV = 0
1103 VK_COMPONENT_TYPE_FLOAT32_NV = 1
1104 VK_COMPONENT_TYPE_FLOAT64_NV = 2
1105 VK_COMPONENT_TYPE_SINT8_NV = 3
1106 VK_COMPONENT_TYPE_SINT16_NV = 4
1107 VK_COMPONENT_TYPE_SINT32_NV = 5
1108 VK_COMPONENT_TYPE_SINT64_NV = 6
1109 VK_COMPONENT_TYPE_UINT8_NV = 7
1110 VK_COMPONENT_TYPE_UINT16_NV = 8
1111 VK_COMPONENT_TYPE_UINT32_NV = 9
1112 VK_COMPONENT_TYPE_UINT64_NV = 10
1113 VkDeviceDiagnosticsConfigFlagBitsNV* {.size: sizeof(cint).} = enum
1114 VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_SHADER_DEBUG_INFO_BIT_NV = 1
1115 VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_RESOURCE_TRACKING_BIT_NV = 2
1116 VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_AUTOMATIC_CHECKPOINTS_BIT_NV = 4
1117 VkPipelineCreationFeedbackFlagBitsEXT* {.size: sizeof(cint).} = enum
1118 VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT = 1
1119 VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT = 2
1120 VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT = 4
1121 VkFullScreenExclusiveEXT* {.size: sizeof(cint).} = enum
1122 VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT = 0
1123 VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT = 1
1124 VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT = 2
1125 VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT = 3
1126 VkPerformanceCounterScopeKHR* {.size: sizeof(cint).} = enum
1127 VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR = 0
1128 VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR = 1
1129 VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR = 2
1130 VkPerformanceCounterUnitKHR* {.size: sizeof(cint).} = enum
1131 VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR = 0
1132 VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR = 1
1133 VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR = 2
1134 VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR = 3
1135 VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR = 4
1136 VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR = 5
1137 VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR = 6
1138 VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR = 7
1139 VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR = 8
1140 VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR = 9
1141 VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR = 10
1142 VkPerformanceCounterStorageKHR* {.size: sizeof(cint).} = enum
1143 VK_PERFORMANCE_COUNTER_STORAGE_INT32_KHR = 0
1144 VK_PERFORMANCE_COUNTER_STORAGE_INT64_KHR = 1
1145 VK_PERFORMANCE_COUNTER_STORAGE_UINT32_KHR = 2
1146 VK_PERFORMANCE_COUNTER_STORAGE_UINT64_KHR = 3
1147 VK_PERFORMANCE_COUNTER_STORAGE_FLOAT32_KHR = 4
1148 VK_PERFORMANCE_COUNTER_STORAGE_FLOAT64_KHR = 5
1149 VkPerformanceCounterDescriptionFlagBitsKHR* {.size: sizeof(cint).} = enum
1150 VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_KHR = 1
1151 VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_KHR = 2
1152 VkPerformanceConfigurationTypeINTEL* {.size: sizeof(cint).} = enum
1153 VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL = 0
1154 VkQueryPoolSamplingModeINTEL* {.size: sizeof(cint).} = enum
1155 VK_QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL = 0
1156 VkPerformanceOverrideTypeINTEL* {.size: sizeof(cint).} = enum
1157 VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL = 0
1158 VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL = 1
1159 VkPerformanceParameterTypeINTEL* {.size: sizeof(cint).} = enum
1160 VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL = 0
1161 VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL = 1
1162 VkPerformanceValueTypeINTEL* {.size: sizeof(cint).} = enum
1163 VK_PERFORMANCE_VALUE_TYPE_UINT32_INTEL = 0
1164 VK_PERFORMANCE_VALUE_TYPE_UINT64_INTEL = 1
1165 VK_PERFORMANCE_VALUE_TYPE_FLOAT_INTEL = 2
1166 VK_PERFORMANCE_VALUE_TYPE_BOOL_INTEL = 3
1167 VK_PERFORMANCE_VALUE_TYPE_STRING_INTEL = 4
1168 VkShaderFloatControlsIndependence* {.size: sizeof(cint).} = enum
1169 VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY = 0
1170 VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL = 1
1171 VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE = 2
1172 VkPipelineExecutableStatisticFormatKHR* {.size: sizeof(cint).} = enum
1173 VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR = 0
1174 VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR = 1
1175 VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR = 2
1176 VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR = 3
1177 VkLineRasterizationModeEXT* {.size: sizeof(cint).} = enum
1178 VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT = 0
1179 VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT = 1
1180 VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT = 2
1181 VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT = 3
1182 VkToolPurposeFlagBitsEXT* {.size: sizeof(cint).} = enum
1183 VK_TOOL_PURPOSE_VALIDATION_BIT_EXT = 1
1184 VK_TOOL_PURPOSE_PROFILING_BIT_EXT = 2
1185 VK_TOOL_PURPOSE_TRACING_BIT_EXT = 4
1186 VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT = 8
1187 VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT = 16
1188
1189 # Types
1190
1191 # stub types if we are on the wrong platform, so we don't need to "when" all platform functions
1192 when not defined(linux):
1193 type
1194 Display* = ptr object
1195 VisualID* = ptr object
1196 Window* = ptr object
1197 when not defined(windows):
1198 type
1199 HINSTANCE* = ptr object
1200 HWND* = ptr object
1201 HMONITOR* = ptr object
1202 HANDLE* = ptr object
1203 SECURITY_ATTRIBUTES* = ptr object
1204 DWORD* = ptr object
1205 LPCWSTR* = ptr object
1206
1207 type
1208 RROutput* = ptr object
1209 wl_display* = ptr object
1210 wl_surface* = ptr object
1211 xcb_connection_t* = ptr object
1212 xcb_visualid_t* = ptr object
1213 xcb_window_t* = ptr object
1214 IDirectFB* = ptr object
1215 IDirectFBSurface* = ptr object
1216 zx_handle_t* = ptr object
1217 GgpStreamDescriptor* = ptr object
1218 GgpFrameToken* = ptr object
1219
1220 template vkMakeVersion*(major, minor, patch: untyped): untyped =
1221 (((major) shl 22) or ((minor) shl 12) or (patch))
1222
1223 template vkVersionMajor*(version: untyped): untyped =
1224 ((uint32)(version) shr 22)
1225
1226 template vkVersionMinor*(version: untyped): untyped =
1227 (((uint32)(version) shr 12) and 0x000003FF)
1228
1229 template vkVersionPatch*(version: untyped): untyped =
1230 ((uint32)(version) and 0x00000FFF)
1231
1232 const vkApiVersion1_0* = vkMakeVersion(1, 0, 0)
1233 const vkApiVersion1_1* = vkMakeVersion(1, 1, 0)
1234 const vkApiVersion1_2* = vkMakeVersion(1, 2, 0)
1235
1236 type
1237 VkSampleMask* = distinct uint32
1238 VkFlags* = distinct uint32
1239 VkDeviceSize* = distinct uint64
1240 VkDeviceAddress* = distinct uint64
1241 VkFramebufferCreateFlags* = distinct VkFlags
1242 VkQueryPoolCreateFlags* = distinct VkFlags
1243 VkRenderPassCreateFlags* = distinct VkFlags
1244 VkSamplerCreateFlags* = distinct VkFlags
1245 VkPipelineLayoutCreateFlags* = distinct VkFlags
1246 VkPipelineCacheCreateFlags* = distinct VkFlags
1247 VkPipelineDepthStencilStateCreateFlags* = distinct VkFlags
1248 VkPipelineDynamicStateCreateFlags* = distinct VkFlags
1249 VkPipelineColorBlendStateCreateFlags* = distinct VkFlags
1250 VkPipelineMultisampleStateCreateFlags* = distinct VkFlags
1251 VkPipelineRasterizationStateCreateFlags* = distinct VkFlags
1252 VkPipelineViewportStateCreateFlags* = distinct VkFlags
1253 VkPipelineTessellationStateCreateFlags* = distinct VkFlags
1254 VkPipelineInputAssemblyStateCreateFlags* = distinct VkFlags
1255 VkPipelineVertexInputStateCreateFlags* = distinct VkFlags
1256 VkPipelineShaderStageCreateFlags* = distinct VkFlags
1257 VkDescriptorSetLayoutCreateFlags* = distinct VkFlags
1258 VkBufferViewCreateFlags* = distinct VkFlags
1259 VkInstanceCreateFlags* = distinct VkFlags
1260 VkDeviceCreateFlags* = distinct VkFlags
1261 VkDeviceQueueCreateFlags* = distinct VkFlags
1262 VkQueueFlags* = distinct VkFlags
1263 VkMemoryPropertyFlags* = distinct VkFlags
1264 VkMemoryHeapFlags* = distinct VkFlags
1265 VkAccessFlags* = distinct VkFlags
1266 VkBufferUsageFlags* = distinct VkFlags
1267 VkBufferCreateFlags* = distinct VkFlags
1268 VkShaderStageFlags* = distinct VkFlags
1269 VkImageUsageFlags* = distinct VkFlags
1270 VkImageCreateFlags* = distinct VkFlags
1271 VkImageViewCreateFlags* = distinct VkFlags
1272 VkPipelineCreateFlags* = distinct VkFlags
1273 VkColorComponentFlags* = distinct VkFlags
1274 VkFenceCreateFlags* = distinct VkFlags
1275 VkSemaphoreCreateFlags* = distinct VkFlags
1276 VkFormatFeatureFlags* = distinct VkFlags
1277 VkQueryControlFlags* = distinct VkFlags
1278 VkQueryResultFlags* = distinct VkFlags
1279 VkShaderModuleCreateFlags* = distinct VkFlags
1280 VkEventCreateFlags* = distinct VkFlags
1281 VkCommandPoolCreateFlags* = distinct VkFlags
1282 VkCommandPoolResetFlags* = distinct VkFlags
1283 VkCommandBufferResetFlags* = distinct VkFlags
1284 VkCommandBufferUsageFlags* = distinct VkFlags
1285 VkQueryPipelineStatisticFlags* = distinct VkFlags
1286 VkMemoryMapFlags* = distinct VkFlags
1287 VkImageAspectFlags* = distinct VkFlags
1288 VkSparseMemoryBindFlags* = distinct VkFlags
1289 VkSparseImageFormatFlags* = distinct VkFlags
1290 VkSubpassDescriptionFlags* = distinct VkFlags
1291 VkPipelineStageFlags* = distinct VkFlags
1292 VkSampleCountFlags* = distinct VkFlags
1293 VkAttachmentDescriptionFlags* = distinct VkFlags
1294 VkStencilFaceFlags* = distinct VkFlags
1295 VkCullModeFlags* = distinct VkFlags
1296 VkDescriptorPoolCreateFlags* = distinct VkFlags
1297 VkDescriptorPoolResetFlags* = distinct VkFlags
1298 VkDependencyFlags* = distinct VkFlags
1299 VkSubgroupFeatureFlags* = distinct VkFlags
1300 VkIndirectCommandsLayoutUsageFlagsNV* = distinct VkFlags
1301 VkIndirectStateFlagsNV* = distinct VkFlags
1302 VkGeometryFlagsKHR* = distinct VkFlags
1303 VkGeometryFlagsNV* = VkGeometryFlagsKHR
1304 VkGeometryInstanceFlagsKHR* = distinct VkFlags
1305 VkGeometryInstanceFlagsNV* = VkGeometryInstanceFlagsKHR
1306 VkBuildAccelerationStructureFlagsKHR* = distinct VkFlags
1307 VkBuildAccelerationStructureFlagsNV* = VkBuildAccelerationStructureFlagsKHR
1308 VkPrivateDataSlotCreateFlagsEXT* = distinct VkFlags
1309 VkDescriptorUpdateTemplateCreateFlags* = distinct VkFlags
1310 VkDescriptorUpdateTemplateCreateFlagsKHR* = VkDescriptorUpdateTemplateCreateFlags
1311 VkPipelineCreationFeedbackFlagsEXT* = distinct VkFlags
1312 VkPerformanceCounterDescriptionFlagsKHR* = distinct VkFlags
1313 VkAcquireProfilingLockFlagsKHR* = distinct VkFlags
1314 VkSemaphoreWaitFlags* = distinct VkFlags
1315 VkSemaphoreWaitFlagsKHR* = VkSemaphoreWaitFlags
1316 VkPipelineCompilerControlFlagsAMD* = distinct VkFlags
1317 VkShaderCorePropertiesFlagsAMD* = distinct VkFlags
1318 VkDeviceDiagnosticsConfigFlagsNV* = distinct VkFlags
1319 VkCompositeAlphaFlagsKHR* = distinct VkFlags
1320 VkDisplayPlaneAlphaFlagsKHR* = distinct VkFlags
1321 VkSurfaceTransformFlagsKHR* = distinct VkFlags
1322 VkSwapchainCreateFlagsKHR* = distinct VkFlags
1323 VkDisplayModeCreateFlagsKHR* = distinct VkFlags
1324 VkDisplaySurfaceCreateFlagsKHR* = distinct VkFlags
1325 VkAndroidSurfaceCreateFlagsKHR* = distinct VkFlags
1326 VkViSurfaceCreateFlagsNN* = distinct VkFlags
1327 VkWaylandSurfaceCreateFlagsKHR* = distinct VkFlags
1328 VkWin32SurfaceCreateFlagsKHR* = distinct VkFlags
1329 VkXlibSurfaceCreateFlagsKHR* = distinct VkFlags
1330 VkXcbSurfaceCreateFlagsKHR* = distinct VkFlags
1331 VkDirectFBSurfaceCreateFlagsEXT* = distinct VkFlags
1332 VkIOSSurfaceCreateFlagsMVK* = distinct VkFlags
1333 VkMacOSSurfaceCreateFlagsMVK* = distinct VkFlags
1334 VkMetalSurfaceCreateFlagsEXT* = distinct VkFlags
1335 VkImagePipeSurfaceCreateFlagsFUCHSIA* = distinct VkFlags
1336 VkStreamDescriptorSurfaceCreateFlagsGGP* = distinct VkFlags
1337 VkHeadlessSurfaceCreateFlagsEXT* = distinct VkFlags
1338 VkPeerMemoryFeatureFlags* = distinct VkFlags
1339 VkPeerMemoryFeatureFlagsKHR* = VkPeerMemoryFeatureFlags
1340 VkMemoryAllocateFlags* = distinct VkFlags
1341 VkMemoryAllocateFlagsKHR* = VkMemoryAllocateFlags
1342 VkDeviceGroupPresentModeFlagsKHR* = distinct VkFlags
1343 VkDebugReportFlagsEXT* = distinct VkFlags
1344 VkCommandPoolTrimFlags* = distinct VkFlags
1345 VkCommandPoolTrimFlagsKHR* = VkCommandPoolTrimFlags
1346 VkExternalMemoryHandleTypeFlagsNV* = distinct VkFlags
1347 VkExternalMemoryFeatureFlagsNV* = distinct VkFlags
1348 VkExternalMemoryHandleTypeFlags* = distinct VkFlags
1349 VkExternalMemoryHandleTypeFlagsKHR* = VkExternalMemoryHandleTypeFlags
1350 VkExternalMemoryFeatureFlags* = distinct VkFlags
1351 VkExternalMemoryFeatureFlagsKHR* = VkExternalMemoryFeatureFlags
1352 VkExternalSemaphoreHandleTypeFlags* = distinct VkFlags
1353 VkExternalSemaphoreHandleTypeFlagsKHR* = VkExternalSemaphoreHandleTypeFlags
1354 VkExternalSemaphoreFeatureFlags* = distinct VkFlags
1355 VkExternalSemaphoreFeatureFlagsKHR* = VkExternalSemaphoreFeatureFlags
1356 VkSemaphoreImportFlags* = distinct VkFlags
1357 VkSemaphoreImportFlagsKHR* = VkSemaphoreImportFlags
1358 VkExternalFenceHandleTypeFlags* = distinct VkFlags
1359 VkExternalFenceHandleTypeFlagsKHR* = VkExternalFenceHandleTypeFlags
1360 VkExternalFenceFeatureFlags* = distinct VkFlags
1361 VkExternalFenceFeatureFlagsKHR* = VkExternalFenceFeatureFlags
1362 VkFenceImportFlags* = distinct VkFlags
1363 VkFenceImportFlagsKHR* = VkFenceImportFlags
1364 VkSurfaceCounterFlagsEXT* = distinct VkFlags
1365 VkPipelineViewportSwizzleStateCreateFlagsNV* = distinct VkFlags
1366 VkPipelineDiscardRectangleStateCreateFlagsEXT* = distinct VkFlags
1367 VkPipelineCoverageToColorStateCreateFlagsNV* = distinct VkFlags
1368 VkPipelineCoverageModulationStateCreateFlagsNV* = distinct VkFlags
1369 VkPipelineCoverageReductionStateCreateFlagsNV* = distinct VkFlags
1370 VkValidationCacheCreateFlagsEXT* = distinct VkFlags
1371 VkDebugUtilsMessageSeverityFlagsEXT* = distinct VkFlags
1372 VkDebugUtilsMessageTypeFlagsEXT* = distinct VkFlags
1373 VkDebugUtilsMessengerCreateFlagsEXT* = distinct VkFlags
1374 VkDebugUtilsMessengerCallbackDataFlagsEXT* = distinct VkFlags
1375 VkPipelineRasterizationConservativeStateCreateFlagsEXT* = distinct VkFlags
1376 VkDescriptorBindingFlags* = distinct VkFlags
1377 VkDescriptorBindingFlagsEXT* = VkDescriptorBindingFlags
1378 VkConditionalRenderingFlagsEXT* = distinct VkFlags
1379 VkResolveModeFlags* = distinct VkFlags
1380 VkResolveModeFlagsKHR* = VkResolveModeFlags
1381 VkPipelineRasterizationStateStreamCreateFlagsEXT* = distinct VkFlags
1382 VkPipelineRasterizationDepthClipStateCreateFlagsEXT* = distinct VkFlags
1383 VkSwapchainImageUsageFlagsANDROID* = distinct VkFlags
1384 VkToolPurposeFlagsEXT* = distinct VkFlags
1385 VkInstance* = distinct VkHandle
1386 VkPhysicalDevice* = distinct VkHandle
1387 VkDevice* = distinct VkHandle
1388 VkQueue* = distinct VkHandle
1389 VkCommandBuffer* = distinct VkHandle
1390 VkDeviceMemory* = distinct VkNonDispatchableHandle
1391 VkCommandPool* = distinct VkNonDispatchableHandle
1392 VkBuffer* = distinct VkNonDispatchableHandle
1393 VkBufferView* = distinct VkNonDispatchableHandle
1394 VkImage* = distinct VkNonDispatchableHandle
1395 VkImageView* = distinct VkNonDispatchableHandle
1396 VkShaderModule* = distinct VkNonDispatchableHandle
1397 VkPipeline* = distinct VkNonDispatchableHandle
1398 VkPipelineLayout* = distinct VkNonDispatchableHandle
1399 VkSampler* = distinct VkNonDispatchableHandle
1400 VkDescriptorSet* = distinct VkNonDispatchableHandle
1401 VkDescriptorSetLayout* = distinct VkNonDispatchableHandle
1402 VkDescriptorPool* = distinct VkNonDispatchableHandle
1403 VkFence* = distinct VkNonDispatchableHandle
1404 VkSemaphore* = distinct VkNonDispatchableHandle
1405 VkEvent* = distinct VkNonDispatchableHandle
1406 VkQueryPool* = distinct VkNonDispatchableHandle
1407 VkFramebuffer* = distinct VkNonDispatchableHandle
1408 VkRenderPass* = distinct VkNonDispatchableHandle
1409 VkPipelineCache* = distinct VkNonDispatchableHandle
1410 VkIndirectCommandsLayoutNV* = distinct VkNonDispatchableHandle
1411 VkDescriptorUpdateTemplate* = distinct VkNonDispatchableHandle
1412 VkDescriptorUpdateTemplateKHR* = VkDescriptorUpdateTemplate
1413 VkSamplerYcbcrConversion* = distinct VkNonDispatchableHandle
1414 VkSamplerYcbcrConversionKHR* = VkSamplerYcbcrConversion
1415 VkValidationCacheEXT* = distinct VkNonDispatchableHandle
1416 VkAccelerationStructureKHR* = distinct VkNonDispatchableHandle
1417 VkAccelerationStructureNV* = VkAccelerationStructureKHR
1418 VkPerformanceConfigurationINTEL* = distinct VkNonDispatchableHandle
1419 VkDeferredOperationKHR* = distinct VkNonDispatchableHandle
1420 VkPrivateDataSlotEXT* = distinct VkNonDispatchableHandle
1421 VkDisplayKHR* = distinct VkNonDispatchableHandle
1422 VkDisplayModeKHR* = distinct VkNonDispatchableHandle
1423 VkSurfaceKHR* = distinct VkNonDispatchableHandle
1424 VkSwapchainKHR* = distinct VkNonDispatchableHandle
1425 VkDebugReportCallbackEXT* = distinct VkNonDispatchableHandle
1426 VkDebugUtilsMessengerEXT* = distinct VkNonDispatchableHandle
1427 VkDescriptorUpdateTemplateTypeKHR* = VkDescriptorUpdateTemplateType
1428 VkPointClippingBehaviorKHR* = VkPointClippingBehavior
1429 VkResolveModeFlagBitsKHR* = VkResolveModeFlagBits
1430 VkDescriptorBindingFlagBitsEXT* = VkDescriptorBindingFlagBits
1431 VkSemaphoreTypeKHR* = VkSemaphoreType
1432 VkGeometryFlagBitsNV* = VkGeometryFlagBitsKHR
1433 VkGeometryInstanceFlagBitsNV* = VkGeometryInstanceFlagBitsKHR
1434 VkBuildAccelerationStructureFlagBitsNV* = VkBuildAccelerationStructureFlagBitsKHR
1435 VkCopyAccelerationStructureModeNV* = VkCopyAccelerationStructureModeKHR
1436 VkAccelerationStructureTypeNV* = VkAccelerationStructureTypeKHR
1437 VkGeometryTypeNV* = VkGeometryTypeKHR
1438 VkRayTracingShaderGroupTypeNV* = VkRayTracingShaderGroupTypeKHR
1439 VkAccelerationStructureMemoryRequirementsTypeNV* = VkAccelerationStructureMemoryRequirementsTypeKHR
1440 VkSemaphoreWaitFlagBitsKHR* = VkSemaphoreWaitFlagBits
1441 VkExternalMemoryHandleTypeFlagBitsKHR* = VkExternalMemoryHandleTypeFlagBits
1442 VkExternalMemoryFeatureFlagBitsKHR* = VkExternalMemoryFeatureFlagBits
1443 VkExternalSemaphoreHandleTypeFlagBitsKHR* = VkExternalSemaphoreHandleTypeFlagBits
1444 VkExternalSemaphoreFeatureFlagBitsKHR* = VkExternalSemaphoreFeatureFlagBits
1445 VkSemaphoreImportFlagBitsKHR* = VkSemaphoreImportFlagBits
1446 VkExternalFenceHandleTypeFlagBitsKHR* = VkExternalFenceHandleTypeFlagBits
1447 VkExternalFenceFeatureFlagBitsKHR* = VkExternalFenceFeatureFlagBits
1448 VkFenceImportFlagBitsKHR* = VkFenceImportFlagBits
1449 VkPeerMemoryFeatureFlagBitsKHR* = VkPeerMemoryFeatureFlagBits
1450 VkMemoryAllocateFlagBitsKHR* = VkMemoryAllocateFlagBits
1451 VkTessellationDomainOriginKHR* = VkTessellationDomainOrigin
1452 VkSamplerYcbcrModelConversionKHR* = VkSamplerYcbcrModelConversion
1453 VkSamplerYcbcrRangeKHR* = VkSamplerYcbcrRange
1454 VkChromaLocationKHR* = VkChromaLocation
1455 VkSamplerReductionModeEXT* = VkSamplerReductionMode
1456 VkShaderFloatControlsIndependenceKHR* = VkShaderFloatControlsIndependence
1457 VkDriverIdKHR* = VkDriverId
1458 PFN_vkInternalAllocationNotification* = proc(pUserData: pointer; size: csize_t; allocationType: VkInternalAllocationType; allocationScope: VkSystemAllocationScope) {.cdecl.}
1459 PFN_vkInternalFreeNotification* = proc(pUserData: pointer; size: csize_t; allocationType: VkInternalAllocationType; allocationScope: VkSystemAllocationScope) {.cdecl.}
1460 PFN_vkReallocationFunction* = proc(pUserData: pointer; pOriginal: pointer; size: csize_t; alignment: csize_t; allocationScope: VkSystemAllocationScope): pointer {.cdecl.}
1461 PFN_vkAllocationFunction* = proc(pUserData: pointer; size: csize_t; alignment: csize_t; allocationScope: VkSystemAllocationScope): pointer {.cdecl.}
1462 PFN_vkFreeFunction* = proc(pUserData: pointer; pMemory: pointer) {.cdecl.}
1463 PFN_vkVoidFunction* = proc() {.cdecl.}
1464 PFN_vkDebugReportCallbackEXT* = proc(flags: VkDebugReportFlagsEXT; objectType: VkDebugReportObjectTypeEXT; cbObject: uint64; location: csize_t; messageCode: int32; pLayerPrefix: cstring; pMessage: cstring; pUserData: pointer): VkBool32 {.cdecl.}
1465 PFN_vkDebugUtilsMessengerCallbackEXT* = proc(messageSeverity: VkDebugUtilsMessageSeverityFlagBitsEXT, messageTypes: VkDebugUtilsMessageTypeFlagsEXT, pCallbackData: VkDebugUtilsMessengerCallbackDataEXT, userData: pointer): VkBool32 {.cdecl.}
1466
1467 VkOffset2D* = object
1468 x*: int32
1469 y*: int32
1470
1471 VkOffset3D* = object
1472 x*: int32
1473 y*: int32
1474 z*: int32
1475
1476 VkExtent2D* = object
1477 width*: uint32
1478 height*: uint32
1479
1480 VkExtent3D* = object
1481 width*: uint32
1482 height*: uint32
1483 depth*: uint32
1484
1485 VkViewport* = object
1486 x*: float32
1487 y*: float32
1488 width*: float32
1489 height*: float32
1490 minDepth*: float32
1491 maxDepth*: float32
1492
1493 VkRect2D* = object
1494 offset*: VkOffset2D
1495 extent*: VkExtent2D
1496
1497 VkClearRect* = object
1498 rect*: VkRect2D
1499 baseArrayLayer*: uint32
1500 layerCount*: uint32
1501
1502 VkComponentMapping* = object
1503 r*: VkComponentSwizzle
1504 g*: VkComponentSwizzle
1505 b*: VkComponentSwizzle
1506 a*: VkComponentSwizzle
1507
1508 VkPhysicalDeviceProperties* = object
1509 apiVersion*: uint32
1510 driverVersion*: uint32
1511 vendorID*: uint32
1512 deviceID*: uint32
1513 deviceType*: VkPhysicalDeviceType
1514 deviceName*: array[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, char]
1515 pipelineCacheUUID*: array[VK_UUID_SIZE, uint8]
1516 limits*: VkPhysicalDeviceLimits
1517 sparseProperties*: VkPhysicalDeviceSparseProperties
1518
1519 VkExtensionProperties* = object
1520 extensionName*: array[VK_MAX_EXTENSION_NAME_SIZE, char]
1521 specVersion*: uint32
1522
1523 VkLayerProperties* = object
1524 layerName*: array[VK_MAX_EXTENSION_NAME_SIZE, char]
1525 specVersion*: uint32
1526 implementationVersion*: uint32
1527 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
1528
1529 VkApplicationInfo* = object
1530 sType*: VkStructureType
1531 pNext*: pointer
1532 pApplicationName*: cstring
1533 applicationVersion*: uint32
1534 pEngineName*: cstring
1535 engineVersion*: uint32
1536 apiVersion*: uint32
1537
1538 VkAllocationCallbacks* = object
1539 pUserData*: pointer
1540 pfnAllocation*: PFN_vkAllocationFunction
1541 pfnReallocation*: PFN_vkReallocationFunction
1542 pfnFree*: PFN_vkFreeFunction
1543 pfnInternalAllocation*: PFN_vkInternalAllocationNotification
1544 pfnInternalFree*: PFN_vkInternalFreeNotification
1545
1546 VkDeviceQueueCreateInfo* = object
1547 sType*: VkStructureType
1548 pNext*: pointer
1549 flags*: VkDeviceQueueCreateFlags
1550 queueFamilyIndex*: uint32
1551 queueCount*: uint32
1552 pQueuePriorities*: ptr float32
1553
1554 VkDeviceCreateInfo* = object
1555 sType*: VkStructureType
1556 pNext*: pointer
1557 flags*: VkDeviceCreateFlags
1558 queueCreateInfoCount*: uint32
1559 pQueueCreateInfos*: ptr VkDeviceQueueCreateInfo
1560 enabledLayerCount*: uint32
1561 ppEnabledLayerNames*: cstringArray
1562 enabledExtensionCount*: uint32
1563 ppEnabledExtensionNames*: cstringArray
1564 pEnabledFeatures*: ptr VkPhysicalDeviceFeatures
1565
1566 VkInstanceCreateInfo* = object
1567 sType*: VkStructureType
1568 pNext*: pointer
1569 flags*: VkInstanceCreateFlags
1570 pApplicationInfo*: ptr VkApplicationInfo
1571 enabledLayerCount*: uint32
1572 ppEnabledLayerNames*: cstringArray
1573 enabledExtensionCount*: uint32
1574 ppEnabledExtensionNames*: cstringArray
1575
1576 VkQueueFamilyProperties* = object
1577 queueFlags*: VkQueueFlags
1578 queueCount*: uint32
1579 timestampValidBits*: uint32
1580 minImageTransferGranularity*: VkExtent3D
1581
1582 VkPhysicalDeviceMemoryProperties* = object
1583 memoryTypeCount*: uint32
1584 memoryTypes*: array[VK_MAX_MEMORY_TYPES, VkMemoryType]
1585 memoryHeapCount*: uint32
1586 memoryHeaps*: array[VK_MAX_MEMORY_HEAPS, VkMemoryHeap]
1587
1588 VkMemoryAllocateInfo* = object
1589 sType*: VkStructureType
1590 pNext*: pointer
1591 allocationSize*: VkDeviceSize
1592 memoryTypeIndex*: uint32
1593
1594 VkMemoryRequirements* = object
1595 size*: VkDeviceSize
1596 alignment*: VkDeviceSize
1597 memoryTypeBits*: uint32
1598
1599 VkSparseImageFormatProperties* = object
1600 aspectMask*: VkImageAspectFlags
1601 imageGranularity*: VkExtent3D
1602 flags*: VkSparseImageFormatFlags
1603
1604 VkSparseImageMemoryRequirements* = object
1605 formatProperties*: VkSparseImageFormatProperties
1606 imageMipTailFirstLod*: uint32
1607 imageMipTailSize*: VkDeviceSize
1608 imageMipTailOffset*: VkDeviceSize
1609 imageMipTailStride*: VkDeviceSize
1610
1611 VkMemoryType* = object
1612 propertyFlags*: VkMemoryPropertyFlags
1613 heapIndex*: uint32
1614
1615 VkMemoryHeap* = object
1616 size*: VkDeviceSize
1617 flags*: VkMemoryHeapFlags
1618
1619 VkMappedMemoryRange* = object
1620 sType*: VkStructureType
1621 pNext*: pointer
1622 memory*: VkDeviceMemory
1623 offset*: VkDeviceSize
1624 size*: VkDeviceSize
1625
1626 VkFormatProperties* = object
1627 linearTilingFeatures*: VkFormatFeatureFlags
1628 optimalTilingFeatures*: VkFormatFeatureFlags
1629 bufferFeatures*: VkFormatFeatureFlags
1630
1631 VkImageFormatProperties* = object
1632 maxExtent*: VkExtent3D
1633 maxMipLevels*: uint32
1634 maxArrayLayers*: uint32
1635 sampleCounts*: VkSampleCountFlags
1636 maxResourceSize*: VkDeviceSize
1637
1638 VkDescriptorBufferInfo* = object
1639 buffer*: VkBuffer
1640 offset*: VkDeviceSize
1641 range*: VkDeviceSize
1642
1643 VkDescriptorImageInfo* = object
1644 sampler*: VkSampler
1645 imageView*: VkImageView
1646 imageLayout*: VkImageLayout
1647
1648 VkWriteDescriptorSet* = object
1649 sType*: VkStructureType
1650 pNext*: pointer
1651 dstSet*: VkDescriptorSet
1652 dstBinding*: uint32
1653 dstArrayElement*: uint32
1654 descriptorCount*: uint32
1655 descriptorType*: VkDescriptorType
1656 pImageInfo*: ptr VkDescriptorImageInfo
1657 pBufferInfo*: ptr ptr VkDescriptorBufferInfo
1658 pTexelBufferView*: ptr VkBufferView
1659
1660 VkCopyDescriptorSet* = object
1661 sType*: VkStructureType
1662 pNext*: pointer
1663 srcSet*: VkDescriptorSet
1664 srcBinding*: uint32
1665 srcArrayElement*: uint32
1666 dstSet*: VkDescriptorSet
1667 dstBinding*: uint32
1668 dstArrayElement*: uint32
1669 descriptorCount*: uint32
1670
1671 VkBufferCreateInfo* = object
1672 sType*: VkStructureType
1673 pNext*: pointer
1674 flags*: VkBufferCreateFlags
1675 size*: VkDeviceSize
1676 usage*: VkBufferUsageFlags
1677 sharingMode*: VkSharingMode
1678 queueFamilyIndexCount*: uint32
1679 pQueueFamilyIndices*: ptr uint32
1680
1681 VkBufferViewCreateInfo* = object
1682 sType*: VkStructureType
1683 pNext*: pointer
1684 flags*: VkBufferViewCreateFlags
1685 buffer*: VkBuffer
1686 format*: VkFormat
1687 offset*: VkDeviceSize
1688 range*: VkDeviceSize
1689
1690 VkImageSubresource* = object
1691 aspectMask*: VkImageAspectFlags
1692 mipLevel*: uint32
1693 arrayLayer*: uint32
1694
1695 VkImageSubresourceLayers* = object
1696 aspectMask*: VkImageAspectFlags
1697 mipLevel*: uint32
1698 baseArrayLayer*: uint32
1699 layerCount*: uint32
1700
1701 VkImageSubresourceRange* = object
1702 aspectMask*: VkImageAspectFlags
1703 baseMipLevel*: uint32
1704 levelCount*: uint32
1705 baseArrayLayer*: uint32
1706 layerCount*: uint32
1707
1708 VkMemoryBarrier* = object
1709 sType*: VkStructureType
1710 pNext*: pointer
1711 srcAccessMask*: VkAccessFlags
1712 dstAccessMask*: VkAccessFlags
1713
1714 VkBufferMemoryBarrier* = object
1715 sType*: VkStructureType
1716 pNext*: pointer
1717 srcAccessMask*: VkAccessFlags
1718 dstAccessMask*: VkAccessFlags
1719 srcQueueFamilyIndex*: uint32
1720 dstQueueFamilyIndex*: uint32
1721 buffer*: VkBuffer
1722 offset*: VkDeviceSize
1723 size*: VkDeviceSize
1724
1725 VkImageMemoryBarrier* = object
1726 sType*: VkStructureType
1727 pNext*: pointer
1728 srcAccessMask*: VkAccessFlags
1729 dstAccessMask*: VkAccessFlags
1730 oldLayout*: VkImageLayout
1731 newLayout*: VkImageLayout
1732 srcQueueFamilyIndex*: uint32
1733 dstQueueFamilyIndex*: uint32
1734 image*: VkImage
1735 subresourceRange*: VkImageSubresourceRange
1736
1737 VkImageCreateInfo* = object
1738 sType*: VkStructureType
1739 pNext*: pointer
1740 flags*: VkImageCreateFlags
1741 imageType*: VkImageType
1742 format*: VkFormat
1743 extent*: VkExtent3D
1744 mipLevels*: uint32
1745 arrayLayers*: uint32
1746 samples*: VkSampleCountFlagBits
1747 tiling*: VkImageTiling
1748 usage*: VkImageUsageFlags
1749 sharingMode*: VkSharingMode
1750 queueFamilyIndexCount*: uint32
1751 pQueueFamilyIndices*: ptr uint32
1752 initialLayout*: VkImageLayout
1753
1754 VkSubresourceLayout* = object
1755 offset*: VkDeviceSize
1756 size*: VkDeviceSize
1757 rowPitch*: VkDeviceSize
1758 arrayPitch*: VkDeviceSize
1759 depthPitch*: VkDeviceSize
1760
1761 VkImageViewCreateInfo* = object
1762 sType*: VkStructureType
1763 pNext*: pointer
1764 flags*: VkImageViewCreateFlags
1765 image*: VkImage
1766 viewType*: VkImageViewType
1767 format*: VkFormat
1768 components*: VkComponentMapping
1769 subresourceRange*: VkImageSubresourceRange
1770
1771 VkBufferCopy* = object
1772 srcOffset*: VkDeviceSize
1773 dstOffset*: VkDeviceSize
1774 size*: VkDeviceSize
1775
1776 VkSparseMemoryBind* = object
1777 resourceOffset*: VkDeviceSize
1778 size*: VkDeviceSize
1779 memory*: VkDeviceMemory
1780 memoryOffset*: VkDeviceSize
1781 flags*: VkSparseMemoryBindFlags
1782
1783 VkSparseImageMemoryBind* = object
1784 subresource*: VkImageSubresource
1785 offset*: VkOffset3D
1786 extent*: VkExtent3D
1787 memory*: VkDeviceMemory
1788 memoryOffset*: VkDeviceSize
1789 flags*: VkSparseMemoryBindFlags
1790
1791 VkSparseBufferMemoryBindInfo* = object
1792 buffer*: VkBuffer
1793 bindCount*: uint32
1794 pBinds*: ptr VkSparseMemoryBind
1795
1796 VkSparseImageOpaqueMemoryBindInfo* = object
1797 image*: VkImage
1798 bindCount*: uint32
1799 pBinds*: ptr VkSparseMemoryBind
1800
1801 VkSparseImageMemoryBindInfo* = object
1802 image*: VkImage
1803 bindCount*: uint32
1804 pBinds*: ptr VkSparseImageMemoryBind
1805
1806 VkBindSparseInfo* = object
1807 sType*: VkStructureType
1808 pNext*: pointer
1809 waitSemaphoreCount*: uint32
1810 pWaitSemaphores*: ptr VkSemaphore
1811 bufferBindCount*: uint32
1812 pBufferBinds*: ptr VkSparseBufferMemoryBindInfo
1813 imageOpaqueBindCount*: uint32
1814 pImageOpaqueBinds*: ptr VkSparseImageOpaqueMemoryBindInfo
1815 imageBindCount*: uint32
1816 pImageBinds*: ptr VkSparseImageMemoryBindInfo
1817 signalSemaphoreCount*: uint32
1818 pSignalSemaphores*: ptr VkSemaphore
1819
1820 VkImageCopy* = object
1821 srcSubresource*: VkImageSubresourceLayers
1822 srcOffset*: VkOffset3D
1823 dstSubresource*: VkImageSubresourceLayers
1824 dstOffset*: VkOffset3D
1825 extent*: VkExtent3D
1826
1827 VkImageBlit* = object
1828 srcSubresource*: VkImageSubresourceLayers
1829 srcOffsets*: array[2, VkOffset3D]
1830 dstSubresource*: VkImageSubresourceLayers
1831 dstOffsets*: array[2, VkOffset3D]
1832
1833 VkBufferImageCopy* = object
1834 bufferOffset*: VkDeviceSize
1835 bufferRowLength*: uint32
1836 bufferImageHeight*: uint32
1837 imageSubresource*: VkImageSubresourceLayers
1838 imageOffset*: VkOffset3D
1839 imageExtent*: VkExtent3D
1840
1841 VkImageResolve* = object
1842 srcSubresource*: VkImageSubresourceLayers
1843 srcOffset*: VkOffset3D
1844 dstSubresource*: VkImageSubresourceLayers
1845 dstOffset*: VkOffset3D
1846 extent*: VkExtent3D
1847
1848 VkShaderModuleCreateInfo* = object
1849 sType*: VkStructureType
1850 pNext*: pointer
1851 flags*: VkShaderModuleCreateFlags
1852 codeSize*: uint
1853 pCode*: ptr uint32
1854
1855 VkDescriptorSetLayoutBinding* = object
1856 binding*: uint32
1857 descriptorType*: VkDescriptorType
1858 descriptorCount*: uint32
1859 stageFlags*: VkShaderStageFlags
1860 pImmutableSamplers*: ptr VkSampler
1861
1862 VkDescriptorSetLayoutCreateInfo* = object
1863 sType*: VkStructureType
1864 pNext*: pointer
1865 flags*: VkDescriptorSetLayoutCreateFlags
1866 bindingCount*: uint32
1867 pBindings*: ptr VkDescriptorSetLayoutBinding
1868
1869 VkDescriptorPoolSize* = object
1870 `type`*: VkDescriptorType
1871 descriptorCount*: uint32
1872
1873 VkDescriptorPoolCreateInfo* = object
1874 sType*: VkStructureType
1875 pNext*: pointer
1876 flags*: VkDescriptorPoolCreateFlags
1877 maxSets*: uint32
1878 poolSizeCount*: uint32
1879 pPoolSizes*: ptr VkDescriptorPoolSize
1880
1881 VkDescriptorSetAllocateInfo* = object
1882 sType*: VkStructureType
1883 pNext*: pointer
1884 descriptorPool*: VkDescriptorPool
1885 descriptorSetCount*: uint32
1886 pSetLayouts*: ptr VkDescriptorSetLayout
1887
1888 VkSpecializationMapEntry* = object
1889 constantID*: uint32
1890 offset*: uint32
1891 size*: uint
1892
1893 VkSpecializationInfo* = object
1894 mapEntryCount*: uint32
1895 pMapEntries*: ptr VkSpecializationMapEntry
1896 dataSize*: uint
1897 pData*: pointer
1898
1899 VkPipelineShaderStageCreateInfo* = object
1900 sType*: VkStructureType
1901 pNext*: pointer
1902 flags*: VkPipelineShaderStageCreateFlags
1903 stage*: VkShaderStageFlagBits
1904 module*: VkShaderModule
1905 pName*: cstring
1906 pSpecializationInfo*: ptr VkSpecializationInfo
1907
1908 VkComputePipelineCreateInfo* = object
1909 sType*: VkStructureType
1910 pNext*: pointer
1911 flags*: VkPipelineCreateFlags
1912 stage*: VkPipelineShaderStageCreateInfo
1913 layout*: VkPipelineLayout
1914 basePipelineHandle*: VkPipeline
1915 basePipelineIndex*: int32
1916
1917 VkVertexInputBindingDescription* = object
1918 binding*: uint32
1919 stride*: uint32
1920 inputRate*: VkVertexInputRate
1921
1922 VkVertexInputAttributeDescription* = object
1923 location*: uint32
1924 binding*: uint32
1925 format*: VkFormat
1926 offset*: uint32
1927
1928 VkPipelineVertexInputStateCreateInfo* = object
1929 sType*: VkStructureType
1930 pNext*: pointer
1931 flags*: VkPipelineVertexInputStateCreateFlags
1932 vertexBindingDescriptionCount*: uint32
1933 pVertexBindingDescriptions*: ptr VkVertexInputBindingDescription
1934 vertexAttributeDescriptionCount*: uint32
1935 pVertexAttributeDescriptions*: ptr VkVertexInputAttributeDescription
1936
1937 VkPipelineInputAssemblyStateCreateInfo* = object
1938 sType*: VkStructureType
1939 pNext*: pointer
1940 flags*: VkPipelineInputAssemblyStateCreateFlags
1941 topology*: VkPrimitiveTopology
1942 primitiveRestartEnable*: VkBool32
1943
1944 VkPipelineTessellationStateCreateInfo* = object
1945 sType*: VkStructureType
1946 pNext*: pointer
1947 flags*: VkPipelineTessellationStateCreateFlags
1948 patchControlPoints*: uint32
1949
1950 VkPipelineViewportStateCreateInfo* = object
1951 sType*: VkStructureType
1952 pNext*: pointer
1953 flags*: VkPipelineViewportStateCreateFlags
1954 viewportCount*: uint32
1955 pViewports*: ptr VkViewport
1956 scissorCount*: uint32
1957 pScissors*: ptr VkRect2D
1958
1959 VkPipelineRasterizationStateCreateInfo* = object
1960 sType*: VkStructureType
1961 pNext*: pointer
1962 flags*: VkPipelineRasterizationStateCreateFlags
1963 depthClampEnable*: VkBool32
1964 rasterizerDiscardEnable*: VkBool32
1965 polygonMode*: VkPolygonMode
1966 cullMode*: VkCullModeFlags
1967 frontFace*: VkFrontFace
1968 depthBiasEnable*: VkBool32
1969 depthBiasConstantFactor*: float32
1970 depthBiasClamp*: float32
1971 depthBiasSlopeFactor*: float32
1972 lineWidth*: float32
1973
1974 VkPipelineMultisampleStateCreateInfo* = object
1975 sType*: VkStructureType
1976 pNext*: pointer
1977 flags*: VkPipelineMultisampleStateCreateFlags
1978 rasterizationSamples*: VkSampleCountFlagBits
1979 sampleShadingEnable*: VkBool32
1980 minSampleShading*: float32
1981 pSampleMask*: ptr VkSampleMask
1982 alphaToCoverageEnable*: VkBool32
1983 alphaToOneEnable*: VkBool32
1984
1985 VkPipelineColorBlendAttachmentState* = object
1986 blendEnable*: VkBool32
1987 srcColorBlendFactor*: VkBlendFactor
1988 dstColorBlendFactor*: VkBlendFactor
1989 colorBlendOp*: VkBlendOp
1990 srcAlphaBlendFactor*: VkBlendFactor
1991 dstAlphaBlendFactor*: VkBlendFactor
1992 alphaBlendOp*: VkBlendOp
1993 colorWriteMask*: VkColorComponentFlags
1994
1995 VkPipelineColorBlendStateCreateInfo* = object
1996 sType*: VkStructureType
1997 pNext*: pointer
1998 flags*: VkPipelineColorBlendStateCreateFlags
1999 logicOpEnable*: VkBool32
2000 logicOp*: VkLogicOp
2001 attachmentCount*: uint32
2002 pAttachments*: ptr VkPipelineColorBlendAttachmentState
2003 blendConstants*: array[4, float32]
2004
2005 VkPipelineDynamicStateCreateInfo* = object
2006 sType*: VkStructureType
2007 pNext*: pointer
2008 flags*: VkPipelineDynamicStateCreateFlags
2009 dynamicStateCount*: uint32
2010 pDynamicStates*: ptr VkDynamicState
2011
2012 VkStencilOpState* = object
2013 failOp*: VkStencilOp
2014 passOp*: VkStencilOp
2015 depthFailOp*: VkStencilOp
2016 compareOp*: VkCompareOp
2017 compareMask*: uint32
2018 writeMask*: uint32
2019 reference*: uint32
2020
2021 VkPipelineDepthStencilStateCreateInfo* = object
2022 sType*: VkStructureType
2023 pNext*: pointer
2024 flags*: VkPipelineDepthStencilStateCreateFlags
2025 depthTestEnable*: VkBool32
2026 depthWriteEnable*: VkBool32
2027 depthCompareOp*: VkCompareOp
2028 depthBoundsTestEnable*: VkBool32
2029 stencilTestEnable*: VkBool32
2030 front*: VkStencilOpState
2031 back*: VkStencilOpState
2032 minDepthBounds*: float32
2033 maxDepthBounds*: float32
2034
2035 VkGraphicsPipelineCreateInfo* = object
2036 sType*: VkStructureType
2037 pNext*: pointer
2038 flags*: VkPipelineCreateFlags
2039 stageCount*: uint32
2040 pStages*: ptr VkPipelineShaderStageCreateInfo
2041 pVertexInputState*: ptr VkPipelineVertexInputStateCreateInfo
2042 pInputAssemblyState*: ptr VkPipelineInputAssemblyStateCreateInfo
2043 pTessellationState*: ptr VkPipelineTessellationStateCreateInfo
2044 pViewportState*: ptr VkPipelineViewportStateCreateInfo
2045 pRasterizationState*: ptr VkPipelineRasterizationStateCreateInfo
2046 pMultisampleState*: ptr VkPipelineMultisampleStateCreateInfo
2047 pDepthStencilState*: ptr VkPipelineDepthStencilStateCreateInfo
2048 pColorBlendState*: ptr VkPipelineColorBlendStateCreateInfo
2049 pDynamicState*: ptr VkPipelineDynamicStateCreateInfo
2050 layout*: VkPipelineLayout
2051 renderPass*: VkRenderPass
2052 subpass*: uint32
2053 basePipelineHandle*: VkPipeline
2054 basePipelineIndex*: int32
2055
2056 VkPipelineCacheCreateInfo* = object
2057 sType*: VkStructureType
2058 pNext*: pointer
2059 flags*: VkPipelineCacheCreateFlags
2060 initialDataSize*: uint
2061 pInitialData*: pointer
2062
2063 VkPushConstantRange* = object
2064 stageFlags*: VkShaderStageFlags
2065 offset*: uint32
2066 size*: uint32
2067
2068 VkPipelineLayoutCreateInfo* = object
2069 sType*: VkStructureType
2070 pNext*: pointer
2071 flags*: VkPipelineLayoutCreateFlags
2072 setLayoutCount*: uint32
2073 pSetLayouts*: ptr VkDescriptorSetLayout
2074 pushConstantRangeCount*: uint32
2075 pPushConstantRanges*: ptr VkPushConstantRange
2076
2077 VkSamplerCreateInfo* = object
2078 sType*: VkStructureType
2079 pNext*: pointer
2080 flags*: VkSamplerCreateFlags
2081 magFilter*: VkFilter
2082 minFilter*: VkFilter
2083 mipmapMode*: VkSamplerMipmapMode
2084 addressModeU*: VkSamplerAddressMode
2085 addressModeV*: VkSamplerAddressMode
2086 addressModeW*: VkSamplerAddressMode
2087 mipLodBias*: float32
2088 anisotropyEnable*: VkBool32
2089 maxAnisotropy*: float32
2090 compareEnable*: VkBool32
2091 compareOp*: VkCompareOp
2092 minLod*: float32
2093 maxLod*: float32
2094 borderColor*: VkBorderColor
2095 unnormalizedCoordinates*: VkBool32
2096
2097 VkCommandPoolCreateInfo* = object
2098 sType*: VkStructureType
2099 pNext*: pointer
2100 flags*: VkCommandPoolCreateFlags
2101 queueFamilyIndex*: uint32
2102
2103 VkCommandBufferAllocateInfo* = object
2104 sType*: VkStructureType
2105 pNext*: pointer
2106 commandPool*: VkCommandPool
2107 level*: VkCommandBufferLevel
2108 commandBufferCount*: uint32
2109
2110 VkCommandBufferInheritanceInfo* = object
2111 sType*: VkStructureType
2112 pNext*: pointer
2113 renderPass*: VkRenderPass
2114 subpass*: uint32
2115 framebuffer*: VkFramebuffer
2116 occlusionQueryEnable*: VkBool32
2117 queryFlags*: VkQueryControlFlags
2118 pipelineStatistics*: VkQueryPipelineStatisticFlags
2119
2120 VkCommandBufferBeginInfo* = object
2121 sType*: VkStructureType
2122 pNext*: pointer
2123 flags*: VkCommandBufferUsageFlags
2124 pInheritanceInfo*: ptr VkCommandBufferInheritanceInfo
2125
2126 VkRenderPassBeginInfo* = object
2127 sType*: VkStructureType
2128 pNext*: pointer
2129 renderPass*: VkRenderPass
2130 framebuffer*: VkFramebuffer
2131 renderArea*: VkRect2D
2132 clearValueCount*: uint32
2133 pClearValues*: ptr VkClearValue
2134
2135 VkClearColorValue* {.union.} = object
2136 float32*: array[4, float32]
2137 int32*: array[4, int32]
2138 uint32*: array[4, uint32]
2139
2140 VkClearDepthStencilValue* = object
2141 depth*: float32
2142 stencil*: uint32
2143
2144 VkClearValue* {.union.} = object
2145 color*: VkClearColorValue
2146 depthStencil*: VkClearDepthStencilValue
2147
2148 VkClearAttachment* = object
2149 aspectMask*: VkImageAspectFlags
2150 colorAttachment*: uint32
2151 clearValue*: VkClearValue
2152
2153 VkAttachmentDescription* = object
2154 flags*: VkAttachmentDescriptionFlags
2155 format*: VkFormat
2156 samples*: VkSampleCountFlagBits
2157 loadOp*: VkAttachmentLoadOp
2158 storeOp*: VkAttachmentStoreOp
2159 stencilLoadOp*: VkAttachmentLoadOp
2160 stencilStoreOp*: VkAttachmentStoreOp
2161 initialLayout*: VkImageLayout
2162 finalLayout*: VkImageLayout
2163
2164 VkAttachmentReference* = object
2165 attachment*: uint32
2166 layout*: VkImageLayout
2167
2168 VkSubpassDescription* = object
2169 flags*: VkSubpassDescriptionFlags
2170 pipelineBindPoint*: VkPipelineBindPoint
2171 inputAttachmentCount*: uint32
2172 pInputAttachments*: ptr VkAttachmentReference
2173 colorAttachmentCount*: uint32
2174 pColorAttachments*: ptr VkAttachmentReference
2175 pResolveAttachments*: ptr VkAttachmentReference
2176 pDepthStencilAttachment*: ptr VkAttachmentReference
2177 preserveAttachmentCount*: uint32
2178 pPreserveAttachments*: ptr uint32
2179
2180 VkSubpassDependency* = object
2181 srcSubpass*: uint32
2182 dstSubpass*: uint32
2183 srcStageMask*: VkPipelineStageFlags
2184 dstStageMask*: VkPipelineStageFlags
2185 srcAccessMask*: VkAccessFlags
2186 dstAccessMask*: VkAccessFlags
2187 dependencyFlags*: VkDependencyFlags
2188
2189 VkRenderPassCreateInfo* = object
2190 sType*: VkStructureType
2191 pNext*: pointer
2192 flags*: VkRenderPassCreateFlags
2193 attachmentCount*: uint32
2194 pAttachments*: ptr VkAttachmentDescription
2195 subpassCount*: uint32
2196 pSubpasses*: ptr VkSubpassDescription
2197 dependencyCount*: uint32
2198 pDependencies*: ptr VkSubpassDependency
2199
2200 VkEventCreateInfo* = object
2201 sType*: VkStructureType
2202 pNext*: pointer
2203 flags*: VkEventCreateFlags
2204
2205 VkFenceCreateInfo* = object
2206 sType*: VkStructureType
2207 pNext*: pointer
2208 flags*: VkFenceCreateFlags
2209
2210 VkPhysicalDeviceFeatures* = object
2211 robustBufferAccess*: VkBool32
2212 fullDrawIndexUint32*: VkBool32
2213 imageCubeArray*: VkBool32
2214 independentBlend*: VkBool32
2215 geometryShader*: VkBool32
2216 tessellationShader*: VkBool32
2217 sampleRateShading*: VkBool32
2218 dualSrcBlend*: VkBool32
2219 logicOp*: VkBool32
2220 multiDrawIndirect*: VkBool32
2221 drawIndirectFirstInstance*: VkBool32
2222 depthClamp*: VkBool32
2223 depthBiasClamp*: VkBool32
2224 fillModeNonSolid*: VkBool32
2225 depthBounds*: VkBool32
2226 wideLines*: VkBool32
2227 largePoints*: VkBool32
2228 alphaToOne*: VkBool32
2229 multiViewport*: VkBool32
2230 samplerAnisotropy*: VkBool32
2231 textureCompressionETC2*: VkBool32
2232 textureCompressionASTC_LDR*: VkBool32
2233 textureCompressionBC*: VkBool32
2234 occlusionQueryPrecise*: VkBool32
2235 pipelineStatisticsQuery*: VkBool32
2236 vertexPipelineStoresAndAtomics*: VkBool32
2237 fragmentStoresAndAtomics*: VkBool32
2238 shaderTessellationAndGeometryPointSize*: VkBool32
2239 shaderImageGatherExtended*: VkBool32
2240 shaderStorageImageExtendedFormats*: VkBool32
2241 shaderStorageImageMultisample*: VkBool32
2242 shaderStorageImageReadWithoutFormat*: VkBool32
2243 shaderStorageImageWriteWithoutFormat*: VkBool32
2244 shaderUniformBufferArrayDynamicIndexing*: VkBool32
2245 shaderSampledImageArrayDynamicIndexing*: VkBool32
2246 shaderStorageBufferArrayDynamicIndexing*: VkBool32
2247 shaderStorageImageArrayDynamicIndexing*: VkBool32
2248 shaderClipDistance*: VkBool32
2249 shaderCullDistance*: VkBool32
2250 shaderFloat64*: VkBool32
2251 shaderInt64*: VkBool32
2252 shaderInt16*: VkBool32
2253 shaderResourceResidency*: VkBool32
2254 shaderResourceMinLod*: VkBool32
2255 sparseBinding*: VkBool32
2256 sparseResidencyBuffer*: VkBool32
2257 sparseResidencyImage2D*: VkBool32
2258 sparseResidencyImage3D*: VkBool32
2259 sparseResidency2Samples*: VkBool32
2260 sparseResidency4Samples*: VkBool32
2261 sparseResidency8Samples*: VkBool32
2262 sparseResidency16Samples*: VkBool32
2263 sparseResidencyAliased*: VkBool32
2264 variableMultisampleRate*: VkBool32
2265 inheritedQueries*: VkBool32
2266
2267 VkPhysicalDeviceSparseProperties* = object
2268 residencyStandard2DBlockShape*: VkBool32
2269 residencyStandard2DMultisampleBlockShape*: VkBool32
2270 residencyStandard3DBlockShape*: VkBool32
2271 residencyAlignedMipSize*: VkBool32
2272 residencyNonResidentStrict*: VkBool32
2273
2274 VkPhysicalDeviceLimits* = object
2275 maxImageDimension1D*: uint32
2276 maxImageDimension2D*: uint32
2277 maxImageDimension3D*: uint32
2278 maxImageDimensionCube*: uint32
2279 maxImageArrayLayers*: uint32
2280 maxTexelBufferElements*: uint32
2281 maxUniformBufferRange*: uint32
2282 maxStorageBufferRange*: uint32
2283 maxPushConstantsSize*: uint32
2284 maxMemoryAllocationCount*: uint32
2285 maxSamplerAllocationCount*: uint32
2286 bufferImageGranularity*: VkDeviceSize
2287 sparseAddressSpaceSize*: VkDeviceSize
2288 maxBoundDescriptorSets*: uint32
2289 maxPerStageDescriptorSamplers*: uint32
2290 maxPerStageDescriptorUniformBuffers*: uint32
2291 maxPerStageDescriptorStorageBuffers*: uint32
2292 maxPerStageDescriptorSampledImages*: uint32
2293 maxPerStageDescriptorStorageImages*: uint32
2294 maxPerStageDescriptorInputAttachments*: uint32
2295 maxPerStageResources*: uint32
2296 maxDescriptorSetSamplers*: uint32
2297 maxDescriptorSetUniformBuffers*: uint32
2298 maxDescriptorSetUniformBuffersDynamic*: uint32
2299 maxDescriptorSetStorageBuffers*: uint32
2300 maxDescriptorSetStorageBuffersDynamic*: uint32
2301 maxDescriptorSetSampledImages*: uint32
2302 maxDescriptorSetStorageImages*: uint32
2303 maxDescriptorSetInputAttachments*: uint32
2304 maxVertexInputAttributes*: uint32
2305 maxVertexInputBindings*: uint32
2306 maxVertexInputAttributeOffset*: uint32
2307 maxVertexInputBindingStride*: uint32
2308 maxVertexOutputComponents*: uint32
2309 maxTessellationGenerationLevel*: uint32
2310 maxTessellationPatchSize*: uint32
2311 maxTessellationControlPerVertexInputComponents*: uint32
2312 maxTessellationControlPerVertexOutputComponents*: uint32
2313 maxTessellationControlPerPatchOutputComponents*: uint32
2314 maxTessellationControlTotalOutputComponents*: uint32
2315 maxTessellationEvaluationInputComponents*: uint32
2316 maxTessellationEvaluationOutputComponents*: uint32
2317 maxGeometryShaderInvocations*: uint32
2318 maxGeometryInputComponents*: uint32
2319 maxGeometryOutputComponents*: uint32
2320 maxGeometryOutputVertices*: uint32
2321 maxGeometryTotalOutputComponents*: uint32
2322 maxFragmentInputComponents*: uint32
2323 maxFragmentOutputAttachments*: uint32
2324 maxFragmentDualSrcAttachments*: uint32
2325 maxFragmentCombinedOutputResources*: uint32
2326 maxComputeSharedMemorySize*: uint32
2327 maxComputeWorkGroupCount*: array[3, uint32]
2328 maxComputeWorkGroupInvocations*: uint32
2329 maxComputeWorkGroupSize*: array[3, uint32]
2330 subPixelPrecisionBits*: uint32
2331 subTexelPrecisionBits*: uint32
2332 mipmapPrecisionBits*: uint32
2333 maxDrawIndexedIndexValue*: uint32
2334 maxDrawIndirectCount*: uint32
2335 maxSamplerLodBias*: float32
2336 maxSamplerAnisotropy*: float32
2337 maxViewports*: uint32
2338 maxViewportDimensions*: array[2, uint32]
2339 viewportBoundsRange*: array[2, float32]
2340 viewportSubPixelBits*: uint32
2341 minMemoryMapAlignment*: uint
2342 minTexelBufferOffsetAlignment*: VkDeviceSize
2343 minUniformBufferOffsetAlignment*: VkDeviceSize
2344 minStorageBufferOffsetAlignment*: VkDeviceSize
2345 minTexelOffset*: int32
2346 maxTexelOffset*: uint32
2347 minTexelGatherOffset*: int32
2348 maxTexelGatherOffset*: uint32
2349 minInterpolationOffset*: float32
2350 maxInterpolationOffset*: float32
2351 subPixelInterpolationOffsetBits*: uint32
2352 maxFramebufferWidth*: uint32
2353 maxFramebufferHeight*: uint32
2354 maxFramebufferLayers*: uint32
2355 framebufferColorSampleCounts*: VkSampleCountFlags
2356 framebufferDepthSampleCounts*: VkSampleCountFlags
2357 framebufferStencilSampleCounts*: VkSampleCountFlags
2358 framebufferNoAttachmentsSampleCounts*: VkSampleCountFlags
2359 maxColorAttachments*: uint32
2360 sampledImageColorSampleCounts*: VkSampleCountFlags
2361 sampledImageIntegerSampleCounts*: VkSampleCountFlags
2362 sampledImageDepthSampleCounts*: VkSampleCountFlags
2363 sampledImageStencilSampleCounts*: VkSampleCountFlags
2364 storageImageSampleCounts*: VkSampleCountFlags
2365 maxSampleMaskWords*: uint32
2366 timestampComputeAndGraphics*: VkBool32
2367 timestampPeriod*: float32
2368 maxClipDistances*: uint32
2369 maxCullDistances*: uint32
2370 maxCombinedClipAndCullDistances*: uint32
2371 discreteQueuePriorities*: uint32
2372 pointSizeRange*: array[2, float32]
2373 lineWidthRange*: array[2, float32]
2374 pointSizeGranularity*: float32
2375 lineWidthGranularity*: float32
2376 strictLines*: VkBool32
2377 standardSampleLocations*: VkBool32
2378 optimalBufferCopyOffsetAlignment*: VkDeviceSize
2379 optimalBufferCopyRowPitchAlignment*: VkDeviceSize
2380 nonCoherentAtomSize*: VkDeviceSize
2381
2382 VkSemaphoreCreateInfo* = object
2383 sType*: VkStructureType
2384 pNext*: pointer
2385 flags*: VkSemaphoreCreateFlags
2386
2387 VkQueryPoolCreateInfo* = object
2388 sType*: VkStructureType
2389 pNext*: pointer
2390 flags*: VkQueryPoolCreateFlags
2391 queryType*: VkQueryType
2392 queryCount*: uint32
2393 pipelineStatistics*: VkQueryPipelineStatisticFlags
2394
2395 VkFramebufferCreateInfo* = object
2396 sType*: VkStructureType
2397 pNext*: pointer
2398 flags*: VkFramebufferCreateFlags
2399 renderPass*: VkRenderPass
2400 attachmentCount*: uint32
2401 pAttachments*: ptr VkImageView
2402 width*: uint32
2403 height*: uint32
2404 layers*: uint32
2405
2406 VkDrawIndirectCommand* = object
2407 vertexCount*: uint32
2408 instanceCount*: uint32
2409 firstVertex*: uint32
2410 firstInstance*: uint32
2411
2412 VkDrawIndexedIndirectCommand* = object
2413 indexCount*: uint32
2414 instanceCount*: uint32
2415 firstIndex*: uint32
2416 vertexOffset*: int32
2417 firstInstance*: uint32
2418
2419 VkDispatchIndirectCommand* = object
2420 x*: uint32
2421 y*: uint32
2422 z*: uint32
2423
2424 VkSubmitInfo* = object
2425 sType*: VkStructureType
2426 pNext*: pointer
2427 waitSemaphoreCount*: uint32
2428 pWaitSemaphores*: ptr VkSemaphore
2429 pWaitDstStageMask*: ptr VkPipelineStageFlags
2430 commandBufferCount*: uint32
2431 pCommandBuffers*: ptr VkCommandBuffer
2432 signalSemaphoreCount*: uint32
2433 pSignalSemaphores*: ptr VkSemaphore
2434
2435 VkDisplayPropertiesKHR* = object
2436 display*: VkDisplayKHR
2437 displayName*: cstring
2438 physicalDimensions*: VkExtent2D
2439 physicalResolution*: VkExtent2D
2440 supportedTransforms*: VkSurfaceTransformFlagsKHR
2441 planeReorderPossible*: VkBool32
2442 persistentContent*: VkBool32
2443
2444 VkDisplayPlanePropertiesKHR* = object
2445 currentDisplay*: VkDisplayKHR
2446 currentStackIndex*: uint32
2447
2448 VkDisplayModeParametersKHR* = object
2449 visibleRegion*: VkExtent2D
2450 refreshRate*: uint32
2451
2452 VkDisplayModePropertiesKHR* = object
2453 displayMode*: VkDisplayModeKHR
2454 parameters*: VkDisplayModeParametersKHR
2455
2456 VkDisplayModeCreateInfoKHR* = object
2457 sType*: VkStructureType
2458 pNext*: pointer
2459 flags*: VkDisplayModeCreateFlagsKHR
2460 parameters*: VkDisplayModeParametersKHR
2461
2462 VkDisplayPlaneCapabilitiesKHR* = object
2463 supportedAlpha*: VkDisplayPlaneAlphaFlagsKHR
2464 minSrcPosition*: VkOffset2D
2465 maxSrcPosition*: VkOffset2D
2466 minSrcExtent*: VkExtent2D
2467 maxSrcExtent*: VkExtent2D
2468 minDstPosition*: VkOffset2D
2469 maxDstPosition*: VkOffset2D
2470 minDstExtent*: VkExtent2D
2471 maxDstExtent*: VkExtent2D
2472
2473 VkDisplaySurfaceCreateInfoKHR* = object
2474 sType*: VkStructureType
2475 pNext*: pointer
2476 flags*: VkDisplaySurfaceCreateFlagsKHR
2477 displayMode*: VkDisplayModeKHR
2478 planeIndex*: uint32
2479 planeStackIndex*: uint32
2480 transform*: VkSurfaceTransformFlagBitsKHR
2481 globalAlpha*: float32
2482 alphaMode*: VkDisplayPlaneAlphaFlagBitsKHR
2483 imageExtent*: VkExtent2D
2484
2485 VkDisplayPresentInfoKHR* = object
2486 sType*: VkStructureType
2487 pNext*: pointer
2488 srcRect*: VkRect2D
2489 dstRect*: VkRect2D
2490 persistent*: VkBool32
2491
2492 VkSurfaceCapabilitiesKHR* = object
2493 minImageCount*: uint32
2494 maxImageCount*: uint32
2495 currentExtent*: VkExtent2D
2496 minImageExtent*: VkExtent2D
2497 maxImageExtent*: VkExtent2D
2498 maxImageArrayLayers*: uint32
2499 supportedTransforms*: VkSurfaceTransformFlagsKHR
2500 currentTransform*: VkSurfaceTransformFlagBitsKHR
2501 supportedCompositeAlpha*: VkCompositeAlphaFlagsKHR
2502 supportedUsageFlags*: VkImageUsageFlags
2503
2504 VkAndroidSurfaceCreateInfoKHR* = object
2505 sType*: VkStructureType
2506 pNext*: pointer
2507 flags*: VkAndroidSurfaceCreateFlagsKHR
2508 window*: ptr ANativeWindow
2509
2510 VkViSurfaceCreateInfoNN* = object
2511 sType*: VkStructureType
2512 pNext*: pointer
2513 flags*: VkViSurfaceCreateFlagsNN
2514 window*: pointer
2515
2516 VkWaylandSurfaceCreateInfoKHR* = object
2517 sType*: VkStructureType
2518 pNext*: pointer
2519 flags*: VkWaylandSurfaceCreateFlagsKHR
2520 display*: ptr wl_display
2521 surface*: ptr wl_surface
2522
2523 VkWin32SurfaceCreateInfoKHR* = object
2524 sType*: VkStructureType
2525 pNext*: pointer
2526 flags*: VkWin32SurfaceCreateFlagsKHR
2527 hinstance*: HINSTANCE
2528 hwnd*: HWND
2529
2530 VkXlibSurfaceCreateInfoKHR* = object
2531 sType*: VkStructureType
2532 pNext*: pointer
2533 flags*: VkXlibSurfaceCreateFlagsKHR
2534 dpy*: ptr Display
2535 window*: Window
2536
2537 VkXcbSurfaceCreateInfoKHR* = object
2538 sType*: VkStructureType
2539 pNext*: pointer
2540 flags*: VkXcbSurfaceCreateFlagsKHR
2541 connection*: ptr xcb_connection_t
2542 window*: xcb_window_t
2543
2544 VkDirectFBSurfaceCreateInfoEXT* = object
2545 sType*: VkStructureType
2546 pNext*: pointer
2547 flags*: VkDirectFBSurfaceCreateFlagsEXT
2548 dfb*: ptr IDirectFB
2549 surface*: ptr IDirectFBSurface
2550
2551 VkImagePipeSurfaceCreateInfoFUCHSIA* = object
2552 sType*: VkStructureType
2553 pNext*: pointer
2554 flags*: VkImagePipeSurfaceCreateFlagsFUCHSIA
2555 imagePipeHandle*: zx_handle_t
2556
2557 VkStreamDescriptorSurfaceCreateInfoGGP* = object
2558 sType*: VkStructureType
2559 pNext*: pointer
2560 flags*: VkStreamDescriptorSurfaceCreateFlagsGGP
2561 streamDescriptor*: GgpStreamDescriptor
2562
2563 VkSurfaceFormatKHR* = object
2564 format*: VkFormat
2565 colorSpace*: VkColorSpaceKHR
2566
2567 VkSwapchainCreateInfoKHR* = object
2568 sType*: VkStructureType
2569 pNext*: pointer
2570 flags*: VkSwapchainCreateFlagsKHR
2571 surface*: VkSurfaceKHR
2572 minImageCount*: uint32
2573 imageFormat*: VkFormat
2574 imageColorSpace*: VkColorSpaceKHR
2575 imageExtent*: VkExtent2D
2576 imageArrayLayers*: uint32
2577 imageUsage*: VkImageUsageFlags
2578 imageSharingMode*: VkSharingMode
2579 queueFamilyIndexCount*: uint32
2580 pQueueFamilyIndices*: ptr uint32
2581 preTransform*: VkSurfaceTransformFlagBitsKHR
2582 compositeAlpha*: VkCompositeAlphaFlagBitsKHR
2583 presentMode*: VkPresentModeKHR
2584 clipped*: VkBool32
2585 oldSwapchain*: VkSwapchainKHR
2586
2587 VkPresentInfoKHR* = object
2588 sType*: VkStructureType
2589 pNext*: pointer
2590 waitSemaphoreCount*: uint32
2591 pWaitSemaphores*: ptr VkSemaphore
2592 swapchainCount*: uint32
2593 pSwapchains*: ptr VkSwapchainKHR
2594 pImageIndices*: ptr uint32
2595 pResults*: ptr VkResult
2596
2597 VkDebugReportCallbackCreateInfoEXT* = object
2598 sType*: VkStructureType
2599 pNext*: pointer
2600 flags*: VkDebugReportFlagsEXT
2601 pfnCallback*: PFN_vkDebugReportCallbackEXT
2602 pUserData*: pointer
2603
2604 VkValidationFlagsEXT* = object
2605 sType*: VkStructureType
2606 pNext*: pointer
2607 disabledValidationCheckCount*: uint32
2608 pDisabledValidationChecks*: ptr VkValidationCheckEXT
2609
2610 VkValidationFeaturesEXT* = object
2611 sType*: VkStructureType
2612 pNext*: pointer
2613 enabledValidationFeatureCount*: uint32
2614 pEnabledValidationFeatures*: ptr VkValidationFeatureEnableEXT
2615 disabledValidationFeatureCount*: uint32
2616 pDisabledValidationFeatures*: ptr VkValidationFeatureDisableEXT
2617
2618 VkPipelineRasterizationStateRasterizationOrderAMD* = object
2619 sType*: VkStructureType
2620 pNext*: pointer
2621 rasterizationOrder*: VkRasterizationOrderAMD
2622
2623 VkDebugMarkerObjectNameInfoEXT* = object
2624 sType*: VkStructureType
2625 pNext*: pointer
2626 objectType*: VkDebugReportObjectTypeEXT
2627 `object`*: uint64
2628 pObjectName*: cstring
2629
2630 VkDebugMarkerObjectTagInfoEXT* = object
2631 sType*: VkStructureType
2632 pNext*: pointer
2633 objectType*: VkDebugReportObjectTypeEXT
2634 `object`*: uint64
2635 tagName*: uint64
2636 tagSize*: uint
2637 pTag*: pointer
2638
2639 VkDebugMarkerMarkerInfoEXT* = object
2640 sType*: VkStructureType
2641 pNext*: pointer
2642 pMarkerName*: cstring
2643 color*: array[4, float32]
2644
2645 VkDedicatedAllocationImageCreateInfoNV* = object
2646 sType*: VkStructureType
2647 pNext*: pointer
2648 dedicatedAllocation*: VkBool32
2649
2650 VkDedicatedAllocationBufferCreateInfoNV* = object
2651 sType*: VkStructureType
2652 pNext*: pointer
2653 dedicatedAllocation*: VkBool32
2654
2655 VkDedicatedAllocationMemoryAllocateInfoNV* = object
2656 sType*: VkStructureType
2657 pNext*: pointer
2658 image*: VkImage
2659 buffer*: VkBuffer
2660
2661 VkExternalImageFormatPropertiesNV* = object
2662 imageFormatProperties*: VkImageFormatProperties
2663 externalMemoryFeatures*: VkExternalMemoryFeatureFlagsNV
2664 exportFromImportedHandleTypes*: VkExternalMemoryHandleTypeFlagsNV
2665 compatibleHandleTypes*: VkExternalMemoryHandleTypeFlagsNV
2666
2667 VkExternalMemoryImageCreateInfoNV* = object
2668 sType*: VkStructureType
2669 pNext*: pointer
2670 handleTypes*: VkExternalMemoryHandleTypeFlagsNV
2671
2672 VkExportMemoryAllocateInfoNV* = object
2673 sType*: VkStructureType
2674 pNext*: pointer
2675 handleTypes*: VkExternalMemoryHandleTypeFlagsNV
2676
2677 VkImportMemoryWin32HandleInfoNV* = object
2678 sType*: VkStructureType
2679 pNext*: pointer
2680 handleType*: VkExternalMemoryHandleTypeFlagsNV
2681 handle*: HANDLE
2682
2683 VkExportMemoryWin32HandleInfoNV* = object
2684 sType*: VkStructureType
2685 pNext*: pointer
2686 pAttributes*: ptr SECURITY_ATTRIBUTES
2687 dwAccess*: DWORD
2688
2689 VkWin32KeyedMutexAcquireReleaseInfoNV* = object
2690 sType*: VkStructureType
2691 pNext*: pointer
2692 acquireCount*: uint32
2693 pAcquireSyncs*: ptr VkDeviceMemory
2694 pAcquireKeys*: ptr uint64
2695 pAcquireTimeoutMilliseconds*: ptr uint32
2696 releaseCount*: uint32
2697 pReleaseSyncs*: ptr VkDeviceMemory
2698 pReleaseKeys*: ptr uint64
2699
2700 VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV* = object
2701 sType*: VkStructureType
2702 pNext*: pointer
2703 deviceGeneratedCommands*: VkBool32
2704
2705 VkDevicePrivateDataCreateInfoEXT* = object
2706 sType*: VkStructureType
2707 pNext*: pointer
2708 privateDataSlotRequestCount*: uint32
2709
2710 VkPrivateDataSlotCreateInfoEXT* = object
2711 sType*: VkStructureType
2712 pNext*: pointer
2713 flags*: VkPrivateDataSlotCreateFlagsEXT
2714
2715 VkPhysicalDevicePrivateDataFeaturesEXT* = object
2716 sType*: VkStructureType
2717 pNext*: pointer
2718 privateData*: VkBool32
2719
2720 VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV* = object
2721 sType*: VkStructureType
2722 pNext*: pointer
2723 maxGraphicsShaderGroupCount*: uint32
2724 maxIndirectSequenceCount*: uint32
2725 maxIndirectCommandsTokenCount*: uint32
2726 maxIndirectCommandsStreamCount*: uint32
2727 maxIndirectCommandsTokenOffset*: uint32
2728 maxIndirectCommandsStreamStride*: uint32
2729 minSequencesCountBufferOffsetAlignment*: uint32
2730 minSequencesIndexBufferOffsetAlignment*: uint32
2731 minIndirectCommandsBufferOffsetAlignment*: uint32
2732
2733 VkGraphicsShaderGroupCreateInfoNV* = object
2734 sType*: VkStructureType
2735 pNext*: pointer
2736 stageCount*: uint32
2737 pStages*: ptr VkPipelineShaderStageCreateInfo
2738 pVertexInputState*: ptr VkPipelineVertexInputStateCreateInfo
2739 pTessellationState*: ptr VkPipelineTessellationStateCreateInfo
2740
2741 VkGraphicsPipelineShaderGroupsCreateInfoNV* = object
2742 sType*: VkStructureType
2743 pNext*: pointer
2744 groupCount*: uint32
2745 pGroups*: ptr VkGraphicsShaderGroupCreateInfoNV
2746 pipelineCount*: uint32
2747 pPipelines*: ptr VkPipeline
2748
2749 VkBindShaderGroupIndirectCommandNV* = object
2750 groupIndex*: uint32
2751
2752 VkBindIndexBufferIndirectCommandNV* = object
2753 bufferAddress*: VkDeviceAddress
2754 size*: uint32
2755 indexType*: VkIndexType
2756
2757 VkBindVertexBufferIndirectCommandNV* = object
2758 bufferAddress*: VkDeviceAddress
2759 size*: uint32
2760 stride*: uint32
2761
2762 VkSetStateFlagsIndirectCommandNV* = object
2763 data*: uint32
2764
2765 VkIndirectCommandsStreamNV* = object
2766 buffer*: VkBuffer
2767 offset*: VkDeviceSize
2768
2769 VkIndirectCommandsLayoutTokenNV* = object
2770 sType*: VkStructureType
2771 pNext*: pointer
2772 tokenType*: VkIndirectCommandsTokenTypeNV
2773 stream*: uint32
2774 offset*: uint32
2775 vertexBindingUnit*: uint32
2776 vertexDynamicStride*: VkBool32
2777 pushconstantPipelineLayout*: VkPipelineLayout
2778 pushconstantShaderStageFlags*: VkShaderStageFlags
2779 pushconstantOffset*: uint32
2780 pushconstantSize*: uint32
2781 indirectStateFlags*: VkIndirectStateFlagsNV
2782 indexTypeCount*: uint32
2783 pIndexTypes*: ptr VkIndexType
2784 pIndexTypeValues*: ptr uint32
2785
2786 VkIndirectCommandsLayoutCreateInfoNV* = object
2787 sType*: VkStructureType
2788 pNext*: pointer
2789 flags*: VkIndirectCommandsLayoutUsageFlagsNV
2790 pipelineBindPoint*: VkPipelineBindPoint
2791 tokenCount*: uint32
2792 pTokens*: ptr VkIndirectCommandsLayoutTokenNV
2793 streamCount*: uint32
2794 pStreamStrides*: ptr uint32
2795
2796 VkGeneratedCommandsInfoNV* = object
2797 sType*: VkStructureType
2798 pNext*: pointer
2799 pipelineBindPoint*: VkPipelineBindPoint
2800 pipeline*: VkPipeline
2801 indirectCommandsLayout*: VkIndirectCommandsLayoutNV
2802 streamCount*: uint32
2803 pStreams*: ptr VkIndirectCommandsStreamNV
2804 sequencesCount*: uint32
2805 preprocessBuffer*: VkBuffer
2806 preprocessOffset*: VkDeviceSize
2807 preprocessSize*: VkDeviceSize
2808 sequencesCountBuffer*: VkBuffer
2809 sequencesCountOffset*: VkDeviceSize
2810 sequencesIndexBuffer*: VkBuffer
2811 sequencesIndexOffset*: VkDeviceSize
2812
2813 VkGeneratedCommandsMemoryRequirementsInfoNV* = object
2814 sType*: VkStructureType
2815 pNext*: pointer
2816 pipelineBindPoint*: VkPipelineBindPoint
2817 pipeline*: VkPipeline
2818 indirectCommandsLayout*: VkIndirectCommandsLayoutNV
2819 maxSequencesCount*: uint32
2820
2821 VkPhysicalDeviceFeatures2* = object
2822 sType*: VkStructureType
2823 pNext*: pointer
2824 features*: VkPhysicalDeviceFeatures
2825
2826 VkPhysicalDeviceFeatures2KHR* = object
2827
2828 VkPhysicalDeviceProperties2* = object
2829 sType*: VkStructureType
2830 pNext*: pointer
2831 properties*: VkPhysicalDeviceProperties
2832
2833 VkPhysicalDeviceProperties2KHR* = object
2834
2835 VkFormatProperties2* = object
2836 sType*: VkStructureType
2837 pNext*: pointer
2838 formatProperties*: VkFormatProperties
2839
2840 VkFormatProperties2KHR* = object
2841
2842 VkImageFormatProperties2* = object
2843 sType*: VkStructureType
2844 pNext*: pointer
2845 imageFormatProperties*: VkImageFormatProperties
2846
2847 VkImageFormatProperties2KHR* = object
2848
2849 VkPhysicalDeviceImageFormatInfo2* = object
2850 sType*: VkStructureType
2851 pNext*: pointer
2852 format*: VkFormat
2853 `type`*: VkImageType
2854 tiling*: VkImageTiling
2855 usage*: VkImageUsageFlags
2856 flags*: VkImageCreateFlags
2857
2858 VkPhysicalDeviceImageFormatInfo2KHR* = object
2859
2860 VkQueueFamilyProperties2* = object
2861 sType*: VkStructureType
2862 pNext*: pointer
2863 queueFamilyProperties*: VkQueueFamilyProperties
2864
2865 VkQueueFamilyProperties2KHR* = object
2866
2867 VkPhysicalDeviceMemoryProperties2* = object
2868 sType*: VkStructureType
2869 pNext*: pointer
2870 memoryProperties*: VkPhysicalDeviceMemoryProperties
2871
2872 VkPhysicalDeviceMemoryProperties2KHR* = object
2873
2874 VkSparseImageFormatProperties2* = object
2875 sType*: VkStructureType
2876 pNext*: pointer
2877 properties*: VkSparseImageFormatProperties
2878
2879 VkSparseImageFormatProperties2KHR* = object
2880
2881 VkPhysicalDeviceSparseImageFormatInfo2* = object
2882 sType*: VkStructureType
2883 pNext*: pointer
2884 format*: VkFormat
2885 `type`*: VkImageType
2886 samples*: VkSampleCountFlagBits
2887 usage*: VkImageUsageFlags
2888 tiling*: VkImageTiling
2889
2890 VkPhysicalDeviceSparseImageFormatInfo2KHR* = object
2891
2892 VkPhysicalDevicePushDescriptorPropertiesKHR* = object
2893 sType*: VkStructureType
2894 pNext*: pointer
2895 maxPushDescriptors*: uint32
2896
2897 VkConformanceVersion* = object
2898 major*: uint8
2899 minor*: uint8
2900 subminor*: uint8
2901 patch*: uint8
2902
2903 VkConformanceVersionKHR* = object
2904
2905 VkPhysicalDeviceDriverProperties* = object
2906 sType*: VkStructureType
2907 pNext*: pointer
2908 driverID*: VkDriverId
2909 driverName*: array[VK_MAX_DRIVER_NAME_SIZE, char]
2910 driverInfo*: array[VK_MAX_DRIVER_INFO_SIZE, char]
2911 conformanceVersion*: VkConformanceVersion
2912
2913 VkPhysicalDeviceDriverPropertiesKHR* = object
2914
2915 VkPresentRegionsKHR* = object
2916 sType*: VkStructureType
2917 pNext*: pointer
2918 swapchainCount*: uint32
2919 pRegions*: ptr VkPresentRegionKHR
2920
2921 VkPresentRegionKHR* = object
2922 rectangleCount*: uint32
2923 pRectangles*: ptr VkRectLayerKHR
2924
2925 VkRectLayerKHR* = object
2926 offset*: VkOffset2D
2927 extent*: VkExtent2D
2928 layer*: uint32
2929
2930 VkPhysicalDeviceVariablePointersFeatures* = object
2931 sType*: VkStructureType
2932 pNext*: pointer
2933 variablePointersStorageBuffer*: VkBool32
2934 variablePointers*: VkBool32
2935
2936 VkPhysicalDeviceVariablePointersFeaturesKHR* = object
2937
2938 VkPhysicalDeviceVariablePointerFeaturesKHR* = object
2939
2940 VkPhysicalDeviceVariablePointerFeatures* = object
2941
2942 VkExternalMemoryProperties* = object
2943 externalMemoryFeatures*: VkExternalMemoryFeatureFlags
2944 exportFromImportedHandleTypes*: VkExternalMemoryHandleTypeFlags
2945 compatibleHandleTypes*: VkExternalMemoryHandleTypeFlags
2946
2947 VkExternalMemoryPropertiesKHR* = object
2948
2949 VkPhysicalDeviceExternalImageFormatInfo* = object
2950 sType*: VkStructureType
2951 pNext*: pointer
2952 handleType*: VkExternalMemoryHandleTypeFlagBits
2953
2954 VkPhysicalDeviceExternalImageFormatInfoKHR* = object
2955
2956 VkExternalImageFormatProperties* = object
2957 sType*: VkStructureType
2958 pNext*: pointer
2959 externalMemoryProperties*: VkExternalMemoryProperties
2960
2961 VkExternalImageFormatPropertiesKHR* = object
2962
2963 VkPhysicalDeviceExternalBufferInfo* = object
2964 sType*: VkStructureType
2965 pNext*: pointer
2966 flags*: VkBufferCreateFlags
2967 usage*: VkBufferUsageFlags
2968 handleType*: VkExternalMemoryHandleTypeFlagBits
2969
2970 VkPhysicalDeviceExternalBufferInfoKHR* = object
2971
2972 VkExternalBufferProperties* = object
2973 sType*: VkStructureType
2974 pNext*: pointer
2975 externalMemoryProperties*: VkExternalMemoryProperties
2976
2977 VkExternalBufferPropertiesKHR* = object
2978
2979 VkPhysicalDeviceIDProperties* = object
2980 sType*: VkStructureType
2981 pNext*: pointer
2982 deviceUUID*: array[VK_UUID_SIZE, uint8]
2983 driverUUID*: array[VK_UUID_SIZE, uint8]
2984 deviceLUID*: array[VK_LUID_SIZE, uint8]
2985 deviceNodeMask*: uint32
2986 deviceLUIDValid*: VkBool32
2987
2988 VkPhysicalDeviceIDPropertiesKHR* = object
2989
2990 VkExternalMemoryImageCreateInfo* = object
2991 sType*: VkStructureType
2992 pNext*: pointer
2993 handleTypes*: VkExternalMemoryHandleTypeFlags
2994
2995 VkExternalMemoryImageCreateInfoKHR* = object
2996
2997 VkExternalMemoryBufferCreateInfo* = object
2998 sType*: VkStructureType
2999 pNext*: pointer
3000 handleTypes*: VkExternalMemoryHandleTypeFlags
3001
3002 VkExternalMemoryBufferCreateInfoKHR* = object
3003
3004 VkExportMemoryAllocateInfo* = object
3005 sType*: VkStructureType
3006 pNext*: pointer
3007 handleTypes*: VkExternalMemoryHandleTypeFlags
3008
3009 VkExportMemoryAllocateInfoKHR* = object
3010
3011 VkImportMemoryWin32HandleInfoKHR* = object
3012 sType*: VkStructureType
3013 pNext*: pointer
3014 handleType*: VkExternalMemoryHandleTypeFlagBits
3015 handle*: HANDLE
3016 name*: LPCWSTR
3017
3018 VkExportMemoryWin32HandleInfoKHR* = object
3019 sType*: VkStructureType
3020 pNext*: pointer
3021 pAttributes*: ptr SECURITY_ATTRIBUTES
3022 dwAccess*: DWORD
3023 name*: LPCWSTR
3024
3025 VkMemoryWin32HandlePropertiesKHR* = object
3026 sType*: VkStructureType
3027 pNext*: pointer
3028 memoryTypeBits*: uint32
3029
3030 VkMemoryGetWin32HandleInfoKHR* = object
3031 sType*: VkStructureType
3032 pNext*: pointer
3033 memory*: VkDeviceMemory
3034 handleType*: VkExternalMemoryHandleTypeFlagBits
3035
3036 VkImportMemoryFdInfoKHR* = object
3037 sType*: VkStructureType
3038 pNext*: pointer
3039 handleType*: VkExternalMemoryHandleTypeFlagBits
3040 fd*: int
3041
3042 VkMemoryFdPropertiesKHR* = object
3043 sType*: VkStructureType
3044 pNext*: pointer
3045 memoryTypeBits*: uint32
3046
3047 VkMemoryGetFdInfoKHR* = object
3048 sType*: VkStructureType
3049 pNext*: pointer
3050 memory*: VkDeviceMemory
3051 handleType*: VkExternalMemoryHandleTypeFlagBits
3052
3053 VkWin32KeyedMutexAcquireReleaseInfoKHR* = object
3054 sType*: VkStructureType
3055 pNext*: pointer
3056 acquireCount*: uint32
3057 pAcquireSyncs*: ptr VkDeviceMemory
3058 pAcquireKeys*: ptr uint64
3059 pAcquireTimeouts*: ptr uint32
3060 releaseCount*: uint32
3061 pReleaseSyncs*: ptr VkDeviceMemory
3062 pReleaseKeys*: ptr uint64
3063
3064 VkPhysicalDeviceExternalSemaphoreInfo* = object
3065 sType*: VkStructureType
3066 pNext*: pointer
3067 handleType*: VkExternalSemaphoreHandleTypeFlagBits
3068
3069 VkPhysicalDeviceExternalSemaphoreInfoKHR* = object
3070
3071 VkExternalSemaphoreProperties* = object
3072 sType*: VkStructureType
3073 pNext*: pointer
3074 exportFromImportedHandleTypes*: VkExternalSemaphoreHandleTypeFlags
3075 compatibleHandleTypes*: VkExternalSemaphoreHandleTypeFlags
3076 externalSemaphoreFeatures*: VkExternalSemaphoreFeatureFlags
3077
3078 VkExternalSemaphorePropertiesKHR* = object
3079
3080 VkExportSemaphoreCreateInfo* = object
3081 sType*: VkStructureType
3082 pNext*: pointer
3083 handleTypes*: VkExternalSemaphoreHandleTypeFlags
3084
3085 VkExportSemaphoreCreateInfoKHR* = object
3086
3087 VkImportSemaphoreWin32HandleInfoKHR* = object
3088 sType*: VkStructureType
3089 pNext*: pointer
3090 semaphore*: VkSemaphore
3091 flags*: VkSemaphoreImportFlags
3092 handleType*: VkExternalSemaphoreHandleTypeFlagBits
3093 handle*: HANDLE
3094 name*: LPCWSTR
3095
3096 VkExportSemaphoreWin32HandleInfoKHR* = object
3097 sType*: VkStructureType
3098 pNext*: pointer
3099 pAttributes*: ptr SECURITY_ATTRIBUTES
3100 dwAccess*: DWORD
3101 name*: LPCWSTR
3102
3103 VkD3D12FenceSubmitInfoKHR* = object
3104 sType*: VkStructureType
3105 pNext*: pointer
3106 waitSemaphoreValuesCount*: uint32
3107 pWaitSemaphoreValues*: ptr uint64
3108 signalSemaphoreValuesCount*: uint32
3109 pSignalSemaphoreValues*: ptr uint64
3110
3111 VkSemaphoreGetWin32HandleInfoKHR* = object
3112 sType*: VkStructureType
3113 pNext*: pointer
3114 semaphore*: VkSemaphore
3115 handleType*: VkExternalSemaphoreHandleTypeFlagBits
3116
3117 VkImportSemaphoreFdInfoKHR* = object
3118 sType*: VkStructureType
3119 pNext*: pointer
3120 semaphore*: VkSemaphore
3121 flags*: VkSemaphoreImportFlags
3122 handleType*: VkExternalSemaphoreHandleTypeFlagBits
3123 fd*: int
3124
3125 VkSemaphoreGetFdInfoKHR* = object
3126 sType*: VkStructureType
3127 pNext*: pointer
3128 semaphore*: VkSemaphore
3129 handleType*: VkExternalSemaphoreHandleTypeFlagBits
3130
3131 VkPhysicalDeviceExternalFenceInfo* = object
3132 sType*: VkStructureType
3133 pNext*: pointer
3134 handleType*: VkExternalFenceHandleTypeFlagBits
3135
3136 VkPhysicalDeviceExternalFenceInfoKHR* = object
3137
3138 VkExternalFenceProperties* = object
3139 sType*: VkStructureType
3140 pNext*: pointer
3141 exportFromImportedHandleTypes*: VkExternalFenceHandleTypeFlags
3142 compatibleHandleTypes*: VkExternalFenceHandleTypeFlags
3143 externalFenceFeatures*: VkExternalFenceFeatureFlags
3144
3145 VkExternalFencePropertiesKHR* = object
3146
3147 VkExportFenceCreateInfo* = object
3148 sType*: VkStructureType
3149 pNext*: pointer
3150 handleTypes*: VkExternalFenceHandleTypeFlags
3151
3152 VkExportFenceCreateInfoKHR* = object
3153
3154 VkImportFenceWin32HandleInfoKHR* = object
3155 sType*: VkStructureType
3156 pNext*: pointer
3157 fence*: VkFence
3158 flags*: VkFenceImportFlags
3159 handleType*: VkExternalFenceHandleTypeFlagBits
3160 handle*: HANDLE
3161 name*: LPCWSTR
3162
3163 VkExportFenceWin32HandleInfoKHR* = object
3164 sType*: VkStructureType
3165 pNext*: pointer
3166 pAttributes*: ptr SECURITY_ATTRIBUTES
3167 dwAccess*: DWORD
3168 name*: LPCWSTR
3169
3170 VkFenceGetWin32HandleInfoKHR* = object
3171 sType*: VkStructureType
3172 pNext*: pointer
3173 fence*: VkFence
3174 handleType*: VkExternalFenceHandleTypeFlagBits
3175
3176 VkImportFenceFdInfoKHR* = object
3177 sType*: VkStructureType
3178 pNext*: pointer
3179 fence*: VkFence
3180 flags*: VkFenceImportFlags
3181 handleType*: VkExternalFenceHandleTypeFlagBits
3182 fd*: int
3183
3184 VkFenceGetFdInfoKHR* = object
3185 sType*: VkStructureType
3186 pNext*: pointer
3187 fence*: VkFence
3188 handleType*: VkExternalFenceHandleTypeFlagBits
3189
3190 VkPhysicalDeviceMultiviewFeatures* = object
3191 sType*: VkStructureType
3192 pNext*: pointer
3193 multiview*: VkBool32
3194 multiviewGeometryShader*: VkBool32
3195 multiviewTessellationShader*: VkBool32
3196
3197 VkPhysicalDeviceMultiviewFeaturesKHR* = object
3198
3199 VkPhysicalDeviceMultiviewProperties* = object
3200 sType*: VkStructureType
3201 pNext*: pointer
3202 maxMultiviewViewCount*: uint32
3203 maxMultiviewInstanceIndex*: uint32
3204
3205 VkPhysicalDeviceMultiviewPropertiesKHR* = object
3206
3207 VkRenderPassMultiviewCreateInfo* = object
3208 sType*: VkStructureType
3209 pNext*: pointer
3210 subpassCount*: uint32
3211 pViewMasks*: ptr uint32
3212 dependencyCount*: uint32
3213 pViewOffsets*: ptr int32
3214 correlationMaskCount*: uint32
3215 pCorrelationMasks*: ptr uint32
3216
3217 VkRenderPassMultiviewCreateInfoKHR* = object
3218
3219 VkSurfaceCapabilities2EXT* = object
3220 sType*: VkStructureType
3221 pNext*: pointer
3222 minImageCount*: uint32
3223 maxImageCount*: uint32
3224 currentExtent*: VkExtent2D
3225 minImageExtent*: VkExtent2D
3226 maxImageExtent*: VkExtent2D
3227 maxImageArrayLayers*: uint32
3228 supportedTransforms*: VkSurfaceTransformFlagsKHR
3229 currentTransform*: VkSurfaceTransformFlagBitsKHR
3230 supportedCompositeAlpha*: VkCompositeAlphaFlagsKHR
3231 supportedUsageFlags*: VkImageUsageFlags
3232 supportedSurfaceCounters*: VkSurfaceCounterFlagsEXT
3233
3234 VkDisplayPowerInfoEXT* = object
3235 sType*: VkStructureType
3236 pNext*: pointer
3237 powerState*: VkDisplayPowerStateEXT
3238
3239 VkDeviceEventInfoEXT* = object
3240 sType*: VkStructureType
3241 pNext*: pointer
3242 deviceEvent*: VkDeviceEventTypeEXT
3243
3244 VkDisplayEventInfoEXT* = object
3245 sType*: VkStructureType
3246 pNext*: pointer
3247 displayEvent*: VkDisplayEventTypeEXT
3248
3249 VkSwapchainCounterCreateInfoEXT* = object
3250 sType*: VkStructureType
3251 pNext*: pointer
3252 surfaceCounters*: VkSurfaceCounterFlagsEXT
3253
3254 VkPhysicalDeviceGroupProperties* = object
3255 sType*: VkStructureType
3256 pNext*: pointer
3257 physicalDeviceCount*: uint32
3258 physicalDevices*: array[VK_MAX_DEVICE_GROUP_SIZE, VkPhysicalDevice]
3259 subsetAllocation*: VkBool32
3260
3261 VkPhysicalDeviceGroupPropertiesKHR* = object
3262
3263 VkMemoryAllocateFlagsInfo* = object
3264 sType*: VkStructureType
3265 pNext*: pointer
3266 flags*: VkMemoryAllocateFlags
3267 deviceMask*: uint32
3268
3269 VkMemoryAllocateFlagsInfoKHR* = object
3270
3271 VkBindBufferMemoryInfo* = object
3272 sType*: VkStructureType
3273 pNext*: pointer
3274 buffer*: VkBuffer
3275 memory*: VkDeviceMemory
3276 memoryOffset*: VkDeviceSize
3277
3278 VkBindBufferMemoryInfoKHR* = object
3279
3280 VkBindBufferMemoryDeviceGroupInfo* = object
3281 sType*: VkStructureType
3282 pNext*: pointer
3283 deviceIndexCount*: uint32
3284 pDeviceIndices*: ptr uint32
3285
3286 VkBindBufferMemoryDeviceGroupInfoKHR* = object
3287
3288 VkBindImageMemoryInfo* = object
3289 sType*: VkStructureType
3290 pNext*: pointer
3291 image*: VkImage
3292 memory*: VkDeviceMemory
3293 memoryOffset*: VkDeviceSize
3294
3295 VkBindImageMemoryInfoKHR* = object
3296
3297 VkBindImageMemoryDeviceGroupInfo* = object
3298 sType*: VkStructureType
3299 pNext*: pointer
3300 deviceIndexCount*: uint32
3301 pDeviceIndices*: ptr uint32
3302 splitInstanceBindRegionCount*: uint32
3303 pSplitInstanceBindRegions*: ptr VkRect2D
3304
3305 VkBindImageMemoryDeviceGroupInfoKHR* = object
3306
3307 VkDeviceGroupRenderPassBeginInfo* = object
3308 sType*: VkStructureType
3309 pNext*: pointer
3310 deviceMask*: uint32
3311 deviceRenderAreaCount*: uint32
3312 pDeviceRenderAreas*: ptr VkRect2D
3313
3314 VkDeviceGroupRenderPassBeginInfoKHR* = object
3315
3316 VkDeviceGroupCommandBufferBeginInfo* = object
3317 sType*: VkStructureType
3318 pNext*: pointer
3319 deviceMask*: uint32
3320
3321 VkDeviceGroupCommandBufferBeginInfoKHR* = object
3322
3323 VkDeviceGroupSubmitInfo* = object
3324 sType*: VkStructureType
3325 pNext*: pointer
3326 waitSemaphoreCount*: uint32
3327 pWaitSemaphoreDeviceIndices*: ptr uint32
3328 commandBufferCount*: uint32
3329 pCommandBufferDeviceMasks*: ptr uint32
3330 signalSemaphoreCount*: uint32
3331 pSignalSemaphoreDeviceIndices*: ptr uint32
3332
3333 VkDeviceGroupSubmitInfoKHR* = object
3334
3335 VkDeviceGroupBindSparseInfo* = object
3336 sType*: VkStructureType
3337 pNext*: pointer
3338 resourceDeviceIndex*: uint32
3339 memoryDeviceIndex*: uint32
3340
3341 VkDeviceGroupBindSparseInfoKHR* = object
3342
3343 VkDeviceGroupPresentCapabilitiesKHR* = object
3344 sType*: VkStructureType
3345 pNext*: pointer
3346 presentMask*: array[VK_MAX_DEVICE_GROUP_SIZE, uint32]
3347 modes*: VkDeviceGroupPresentModeFlagsKHR
3348
3349 VkImageSwapchainCreateInfoKHR* = object
3350 sType*: VkStructureType
3351 pNext*: pointer
3352 swapchain*: VkSwapchainKHR
3353
3354 VkBindImageMemorySwapchainInfoKHR* = object
3355 sType*: VkStructureType
3356 pNext*: pointer
3357 swapchain*: VkSwapchainKHR
3358 imageIndex*: uint32
3359
3360 VkAcquireNextImageInfoKHR* = object
3361 sType*: VkStructureType
3362 pNext*: pointer
3363 swapchain*: VkSwapchainKHR
3364 timeout*: uint64
3365 semaphore*: VkSemaphore
3366 fence*: VkFence
3367 deviceMask*: uint32
3368
3369 VkDeviceGroupPresentInfoKHR* = object
3370 sType*: VkStructureType
3371 pNext*: pointer
3372 swapchainCount*: uint32
3373 pDeviceMasks*: ptr uint32
3374 mode*: VkDeviceGroupPresentModeFlagBitsKHR
3375
3376 VkDeviceGroupDeviceCreateInfo* = object
3377 sType*: VkStructureType
3378 pNext*: pointer
3379 physicalDeviceCount*: uint32
3380 pPhysicalDevices*: ptr VkPhysicalDevice
3381
3382 VkDeviceGroupDeviceCreateInfoKHR* = object
3383
3384 VkDeviceGroupSwapchainCreateInfoKHR* = object
3385 sType*: VkStructureType
3386 pNext*: pointer
3387 modes*: VkDeviceGroupPresentModeFlagsKHR
3388
3389 VkDescriptorUpdateTemplateEntry* = object
3390 dstBinding*: uint32
3391 dstArrayElement*: uint32
3392 descriptorCount*: uint32
3393 descriptorType*: VkDescriptorType
3394 offset*: uint
3395 stride*: uint
3396
3397 VkDescriptorUpdateTemplateEntryKHR* = object
3398
3399 VkDescriptorUpdateTemplateCreateInfo* = object
3400 sType*: VkStructureType
3401 pNext*: pointer
3402 flags*: VkDescriptorUpdateTemplateCreateFlags
3403 descriptorUpdateEntryCount*: uint32
3404 pDescriptorUpdateEntries*: ptr VkDescriptorUpdateTemplateEntry
3405 templateType*: VkDescriptorUpdateTemplateType
3406 descriptorSetLayout*: VkDescriptorSetLayout
3407 pipelineBindPoint*: VkPipelineBindPoint
3408 pipelineLayout*: VkPipelineLayout
3409 set*: uint32
3410
3411 VkDescriptorUpdateTemplateCreateInfoKHR* = object
3412
3413 VkXYColorEXT* = object
3414 x*: float32
3415 y*: float32
3416
3417 VkHdrMetadataEXT* = object
3418 sType*: VkStructureType
3419 pNext*: pointer
3420 displayPrimaryRed*: VkXYColorEXT
3421 displayPrimaryGreen*: VkXYColorEXT
3422 displayPrimaryBlue*: VkXYColorEXT
3423 whitePoint*: VkXYColorEXT
3424 maxLuminance*: float32
3425 minLuminance*: float32
3426 maxContentLightLevel*: float32
3427 maxFrameAverageLightLevel*: float32
3428
3429 VkDisplayNativeHdrSurfaceCapabilitiesAMD* = object
3430 sType*: VkStructureType
3431 pNext*: pointer
3432 localDimmingSupport*: VkBool32
3433
3434 VkSwapchainDisplayNativeHdrCreateInfoAMD* = object
3435 sType*: VkStructureType
3436 pNext*: pointer
3437 localDimmingEnable*: VkBool32
3438
3439 VkRefreshCycleDurationGOOGLE* = object
3440 refreshDuration*: uint64
3441
3442 VkPastPresentationTimingGOOGLE* = object
3443 presentID*: uint32
3444 desiredPresentTime*: uint64
3445 actualPresentTime*: uint64
3446 earliestPresentTime*: uint64
3447 presentMargin*: uint64
3448
3449 VkPresentTimesInfoGOOGLE* = object
3450 sType*: VkStructureType
3451 pNext*: pointer
3452 swapchainCount*: uint32
3453 pTimes*: ptr VkPresentTimeGOOGLE
3454
3455 VkPresentTimeGOOGLE* = object
3456 presentID*: uint32
3457 desiredPresentTime*: uint64
3458
3459 VkIOSSurfaceCreateInfoMVK* = object
3460 sType*: VkStructureType
3461 pNext*: pointer
3462 flags*: VkIOSSurfaceCreateFlagsMVK
3463 pView*: pointer
3464
3465 VkMacOSSurfaceCreateInfoMVK* = object
3466 sType*: VkStructureType
3467 pNext*: pointer
3468 flags*: VkMacOSSurfaceCreateFlagsMVK
3469 pView*: pointer
3470
3471 VkMetalSurfaceCreateInfoEXT* = object
3472 sType*: VkStructureType
3473 pNext*: pointer
3474 flags*: VkMetalSurfaceCreateFlagsEXT
3475 pLayer*: ptr CAMetalLayer
3476
3477 VkViewportWScalingNV* = object
3478 xcoeff*: float32
3479 ycoeff*: float32
3480
3481 VkPipelineViewportWScalingStateCreateInfoNV* = object
3482 sType*: VkStructureType
3483 pNext*: pointer
3484 viewportWScalingEnable*: VkBool32
3485 viewportCount*: uint32
3486 pViewportWScalings*: ptr VkViewportWScalingNV
3487
3488 VkViewportSwizzleNV* = object
3489 x*: VkViewportCoordinateSwizzleNV
3490 y*: VkViewportCoordinateSwizzleNV
3491 z*: VkViewportCoordinateSwizzleNV
3492 w*: VkViewportCoordinateSwizzleNV
3493
3494 VkPipelineViewportSwizzleStateCreateInfoNV* = object
3495 sType*: VkStructureType
3496 pNext*: pointer
3497 flags*: VkPipelineViewportSwizzleStateCreateFlagsNV
3498 viewportCount*: uint32
3499 pViewportSwizzles*: ptr VkViewportSwizzleNV
3500
3501 VkPhysicalDeviceDiscardRectanglePropertiesEXT* = object
3502 sType*: VkStructureType
3503 pNext*: pointer
3504 maxDiscardRectangles*: uint32
3505
3506 VkPipelineDiscardRectangleStateCreateInfoEXT* = object
3507 sType*: VkStructureType
3508 pNext*: pointer
3509 flags*: VkPipelineDiscardRectangleStateCreateFlagsEXT
3510 discardRectangleMode*: VkDiscardRectangleModeEXT
3511 discardRectangleCount*: uint32
3512 pDiscardRectangles*: ptr VkRect2D
3513
3514 VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* = object
3515 sType*: VkStructureType
3516 pNext*: pointer
3517 perViewPositionAllComponents*: VkBool32
3518
3519 VkInputAttachmentAspectReference* = object
3520 subpass*: uint32
3521 inputAttachmentIndex*: uint32
3522 aspectMask*: VkImageAspectFlags
3523
3524 VkInputAttachmentAspectReferenceKHR* = object
3525
3526 VkRenderPassInputAttachmentAspectCreateInfo* = object
3527 sType*: VkStructureType
3528 pNext*: pointer
3529 aspectReferenceCount*: uint32
3530 pAspectReferences*: ptr VkInputAttachmentAspectReference
3531
3532 VkRenderPassInputAttachmentAspectCreateInfoKHR* = object
3533
3534 VkPhysicalDeviceSurfaceInfo2KHR* = object
3535 sType*: VkStructureType
3536 pNext*: pointer
3537 surface*: VkSurfaceKHR
3538
3539 VkSurfaceCapabilities2KHR* = object
3540 sType*: VkStructureType
3541 pNext*: pointer
3542 surfaceCapabilities*: VkSurfaceCapabilitiesKHR
3543
3544 VkSurfaceFormat2KHR* = object
3545 sType*: VkStructureType
3546 pNext*: pointer
3547 surfaceFormat*: VkSurfaceFormatKHR
3548
3549 VkDisplayProperties2KHR* = object
3550 sType*: VkStructureType
3551 pNext*: pointer
3552 displayProperties*: VkDisplayPropertiesKHR
3553
3554 VkDisplayPlaneProperties2KHR* = object
3555 sType*: VkStructureType
3556 pNext*: pointer
3557 displayPlaneProperties*: VkDisplayPlanePropertiesKHR
3558
3559 VkDisplayModeProperties2KHR* = object
3560 sType*: VkStructureType
3561 pNext*: pointer
3562 displayModeProperties*: VkDisplayModePropertiesKHR
3563
3564 VkDisplayPlaneInfo2KHR* = object
3565 sType*: VkStructureType
3566 pNext*: pointer
3567 mode*: VkDisplayModeKHR
3568 planeIndex*: uint32
3569
3570 VkDisplayPlaneCapabilities2KHR* = object
3571 sType*: VkStructureType
3572 pNext*: pointer
3573 capabilities*: VkDisplayPlaneCapabilitiesKHR
3574
3575 VkSharedPresentSurfaceCapabilitiesKHR* = object
3576 sType*: VkStructureType
3577 pNext*: pointer
3578 sharedPresentSupportedUsageFlags*: VkImageUsageFlags
3579
3580 VkPhysicalDevice16BitStorageFeatures* = object
3581 sType*: VkStructureType
3582 pNext*: pointer
3583 storageBuffer16BitAccess*: VkBool32
3584 uniformAndStorageBuffer16BitAccess*: VkBool32
3585 storagePushConstant16*: VkBool32
3586 storageInputOutput16*: VkBool32
3587
3588 VkPhysicalDevice16BitStorageFeaturesKHR* = object
3589
3590 VkPhysicalDeviceSubgroupProperties* = object
3591 sType*: VkStructureType
3592 pNext*: pointer
3593 subgroupSize*: uint32
3594 supportedStages*: VkShaderStageFlags
3595 supportedOperations*: VkSubgroupFeatureFlags
3596 quadOperationsInAllStages*: VkBool32
3597
3598 VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures* = object
3599 sType*: VkStructureType
3600 pNext*: pointer
3601 shaderSubgroupExtendedTypes*: VkBool32
3602
3603 VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR* = object
3604
3605 VkBufferMemoryRequirementsInfo2* = object
3606 sType*: VkStructureType
3607 pNext*: pointer
3608 buffer*: VkBuffer
3609
3610 VkBufferMemoryRequirementsInfo2KHR* = object
3611
3612 VkImageMemoryRequirementsInfo2* = object
3613 sType*: VkStructureType
3614 pNext*: pointer
3615 image*: VkImage
3616
3617 VkImageMemoryRequirementsInfo2KHR* = object
3618
3619 VkImageSparseMemoryRequirementsInfo2* = object
3620 sType*: VkStructureType
3621 pNext*: pointer
3622 image*: VkImage
3623
3624 VkImageSparseMemoryRequirementsInfo2KHR* = object
3625
3626 VkMemoryRequirements2* = object
3627 sType*: VkStructureType
3628 pNext*: pointer
3629 memoryRequirements*: VkMemoryRequirements
3630
3631 VkMemoryRequirements2KHR* = object
3632
3633 VkSparseImageMemoryRequirements2* = object
3634 sType*: VkStructureType
3635 pNext*: pointer
3636 memoryRequirements*: VkSparseImageMemoryRequirements
3637
3638 VkSparseImageMemoryRequirements2KHR* = object
3639
3640 VkPhysicalDevicePointClippingProperties* = object
3641 sType*: VkStructureType
3642 pNext*: pointer
3643 pointClippingBehavior*: VkPointClippingBehavior
3644
3645 VkPhysicalDevicePointClippingPropertiesKHR* = object
3646
3647 VkMemoryDedicatedRequirements* = object
3648 sType*: VkStructureType
3649 pNext*: pointer
3650 prefersDedicatedAllocation*: VkBool32
3651 requiresDedicatedAllocation*: VkBool32
3652
3653 VkMemoryDedicatedRequirementsKHR* = object
3654
3655 VkMemoryDedicatedAllocateInfo* = object
3656 sType*: VkStructureType
3657 pNext*: pointer
3658 image*: VkImage
3659 buffer*: VkBuffer
3660
3661 VkMemoryDedicatedAllocateInfoKHR* = object
3662
3663 VkImageViewUsageCreateInfo* = object
3664 sType*: VkStructureType
3665 pNext*: pointer
3666 usage*: VkImageUsageFlags
3667
3668 VkImageViewUsageCreateInfoKHR* = object
3669
3670 VkPipelineTessellationDomainOriginStateCreateInfo* = object
3671 sType*: VkStructureType
3672 pNext*: pointer
3673 domainOrigin*: VkTessellationDomainOrigin
3674
3675 VkPipelineTessellationDomainOriginStateCreateInfoKHR* = object
3676
3677 VkSamplerYcbcrConversionInfo* = object
3678 sType*: VkStructureType
3679 pNext*: pointer
3680 conversion*: VkSamplerYcbcrConversion
3681
3682 VkSamplerYcbcrConversionInfoKHR* = object
3683
3684 VkSamplerYcbcrConversionCreateInfo* = object
3685 sType*: VkStructureType
3686 pNext*: pointer
3687 format*: VkFormat
3688 ycbcrModel*: VkSamplerYcbcrModelConversion
3689 ycbcrRange*: VkSamplerYcbcrRange
3690 components*: VkComponentMapping
3691 xChromaOffset*: VkChromaLocation
3692 yChromaOffset*: VkChromaLocation
3693 chromaFilter*: VkFilter
3694 forceExplicitReconstruction*: VkBool32
3695
3696 VkSamplerYcbcrConversionCreateInfoKHR* = object
3697
3698 VkBindImagePlaneMemoryInfo* = object
3699 sType*: VkStructureType
3700 pNext*: pointer
3701 planeAspect*: VkImageAspectFlagBits
3702
3703 VkBindImagePlaneMemoryInfoKHR* = object
3704
3705 VkImagePlaneMemoryRequirementsInfo* = object
3706 sType*: VkStructureType
3707 pNext*: pointer
3708 planeAspect*: VkImageAspectFlagBits
3709
3710 VkImagePlaneMemoryRequirementsInfoKHR* = object
3711
3712 VkPhysicalDeviceSamplerYcbcrConversionFeatures* = object
3713 sType*: VkStructureType
3714 pNext*: pointer
3715 samplerYcbcrConversion*: VkBool32
3716
3717 VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR* = object
3718
3719 VkSamplerYcbcrConversionImageFormatProperties* = object
3720 sType*: VkStructureType
3721 pNext*: pointer
3722 combinedImageSamplerDescriptorCount*: uint32
3723
3724 VkSamplerYcbcrConversionImageFormatPropertiesKHR* = object
3725
3726 VkTextureLODGatherFormatPropertiesAMD* = object
3727 sType*: VkStructureType
3728 pNext*: pointer
3729 supportsTextureGatherLODBiasAMD*: VkBool32
3730
3731 VkConditionalRenderingBeginInfoEXT* = object
3732 sType*: VkStructureType
3733 pNext*: pointer
3734 buffer*: VkBuffer
3735 offset*: VkDeviceSize
3736 flags*: VkConditionalRenderingFlagsEXT
3737
3738 VkProtectedSubmitInfo* = object
3739 sType*: VkStructureType
3740 pNext*: pointer
3741 protectedSubmit*: VkBool32
3742
3743 VkPhysicalDeviceProtectedMemoryFeatures* = object
3744 sType*: VkStructureType
3745 pNext*: pointer
3746 protectedMemory*: VkBool32
3747
3748 VkPhysicalDeviceProtectedMemoryProperties* = object
3749 sType*: VkStructureType
3750 pNext*: pointer
3751 protectedNoFault*: VkBool32
3752
3753 VkDeviceQueueInfo2* = object
3754 sType*: VkStructureType
3755 pNext*: pointer
3756 flags*: VkDeviceQueueCreateFlags
3757 queueFamilyIndex*: uint32
3758 queueIndex*: uint32
3759
3760 VkPipelineCoverageToColorStateCreateInfoNV* = object
3761 sType*: VkStructureType
3762 pNext*: pointer
3763 flags*: VkPipelineCoverageToColorStateCreateFlagsNV
3764 coverageToColorEnable*: VkBool32
3765 coverageToColorLocation*: uint32
3766
3767 VkPhysicalDeviceSamplerFilterMinmaxProperties* = object
3768 sType*: VkStructureType
3769 pNext*: pointer
3770 filterMinmaxSingleComponentFormats*: VkBool32
3771 filterMinmaxImageComponentMapping*: VkBool32
3772
3773 VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* = object
3774
3775 VkSampleLocationEXT* = object
3776 x*: float32
3777 y*: float32
3778
3779 VkSampleLocationsInfoEXT* = object
3780 sType*: VkStructureType
3781 pNext*: pointer
3782 sampleLocationsPerPixel*: VkSampleCountFlagBits
3783 sampleLocationGridSize*: VkExtent2D
3784 sampleLocationsCount*: uint32
3785 pSampleLocations*: ptr VkSampleLocationEXT
3786
3787 VkAttachmentSampleLocationsEXT* = object
3788 attachmentIndex*: uint32
3789 sampleLocationsInfo*: VkSampleLocationsInfoEXT
3790
3791 VkSubpassSampleLocationsEXT* = object
3792 subpassIndex*: uint32
3793 sampleLocationsInfo*: VkSampleLocationsInfoEXT
3794
3795 VkRenderPassSampleLocationsBeginInfoEXT* = object
3796 sType*: VkStructureType
3797 pNext*: pointer
3798 attachmentInitialSampleLocationsCount*: uint32
3799 pAttachmentInitialSampleLocations*: ptr VkAttachmentSampleLocationsEXT
3800 postSubpassSampleLocationsCount*: uint32
3801 pPostSubpassSampleLocations*: ptr VkSubpassSampleLocationsEXT
3802
3803 VkPipelineSampleLocationsStateCreateInfoEXT* = object
3804 sType*: VkStructureType
3805 pNext*: pointer
3806 sampleLocationsEnable*: VkBool32
3807 sampleLocationsInfo*: VkSampleLocationsInfoEXT
3808
3809 VkPhysicalDeviceSampleLocationsPropertiesEXT* = object
3810 sType*: VkStructureType
3811 pNext*: pointer
3812 sampleLocationSampleCounts*: VkSampleCountFlags
3813 maxSampleLocationGridSize*: VkExtent2D
3814 sampleLocationCoordinateRange*: array[2, float32]
3815 sampleLocationSubPixelBits*: uint32
3816 variableSampleLocations*: VkBool32
3817
3818 VkMultisamplePropertiesEXT* = object
3819 sType*: VkStructureType
3820 pNext*: pointer
3821 maxSampleLocationGridSize*: VkExtent2D
3822
3823 VkSamplerReductionModeCreateInfo* = object
3824 sType*: VkStructureType
3825 pNext*: pointer
3826 reductionMode*: VkSamplerReductionMode
3827
3828 VkSamplerReductionModeCreateInfoEXT* = object
3829
3830 VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* = object
3831 sType*: VkStructureType
3832 pNext*: pointer
3833 advancedBlendCoherentOperations*: VkBool32
3834
3835 VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* = object
3836 sType*: VkStructureType
3837 pNext*: pointer
3838 advancedBlendMaxColorAttachments*: uint32
3839 advancedBlendIndependentBlend*: VkBool32
3840 advancedBlendNonPremultipliedSrcColor*: VkBool32
3841 advancedBlendNonPremultipliedDstColor*: VkBool32
3842 advancedBlendCorrelatedOverlap*: VkBool32
3843 advancedBlendAllOperations*: VkBool32
3844
3845 VkPipelineColorBlendAdvancedStateCreateInfoEXT* = object
3846 sType*: VkStructureType
3847 pNext*: pointer
3848 srcPremultiplied*: VkBool32
3849 dstPremultiplied*: VkBool32
3850 blendOverlap*: VkBlendOverlapEXT
3851
3852 VkPhysicalDeviceInlineUniformBlockFeaturesEXT* = object
3853 sType*: VkStructureType
3854 pNext*: pointer
3855 inlineUniformBlock*: VkBool32
3856 descriptorBindingInlineUniformBlockUpdateAfterBind*: VkBool32
3857
3858 VkPhysicalDeviceInlineUniformBlockPropertiesEXT* = object
3859 sType*: VkStructureType
3860 pNext*: pointer
3861 maxInlineUniformBlockSize*: uint32
3862 maxPerStageDescriptorInlineUniformBlocks*: uint32
3863 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks*: uint32
3864 maxDescriptorSetInlineUniformBlocks*: uint32
3865 maxDescriptorSetUpdateAfterBindInlineUniformBlocks*: uint32
3866
3867 VkWriteDescriptorSetInlineUniformBlockEXT* = object
3868 sType*: VkStructureType
3869 pNext*: pointer
3870 dataSize*: uint32
3871 pData*: pointer
3872
3873 VkDescriptorPoolInlineUniformBlockCreateInfoEXT* = object
3874 sType*: VkStructureType
3875 pNext*: pointer
3876 maxInlineUniformBlockBindings*: uint32
3877
3878 VkPipelineCoverageModulationStateCreateInfoNV* = object
3879 sType*: VkStructureType
3880 pNext*: pointer
3881 flags*: VkPipelineCoverageModulationStateCreateFlagsNV
3882 coverageModulationMode*: VkCoverageModulationModeNV
3883 coverageModulationTableEnable*: VkBool32
3884 coverageModulationTableCount*: uint32
3885 pCoverageModulationTable*: ptr float32
3886
3887 VkImageFormatListCreateInfo* = object
3888 sType*: VkStructureType
3889 pNext*: pointer
3890 viewFormatCount*: uint32
3891 pViewFormats*: ptr VkFormat
3892
3893 VkImageFormatListCreateInfoKHR* = object
3894
3895 VkValidationCacheCreateInfoEXT* = object
3896 sType*: VkStructureType
3897 pNext*: pointer
3898 flags*: VkValidationCacheCreateFlagsEXT
3899 initialDataSize*: uint
3900 pInitialData*: pointer
3901
3902 VkShaderModuleValidationCacheCreateInfoEXT* = object
3903 sType*: VkStructureType
3904 pNext*: pointer
3905 validationCache*: VkValidationCacheEXT
3906
3907 VkPhysicalDeviceMaintenance3Properties* = object
3908 sType*: VkStructureType
3909 pNext*: pointer
3910 maxPerSetDescriptors*: uint32
3911 maxMemoryAllocationSize*: VkDeviceSize
3912
3913 VkPhysicalDeviceMaintenance3PropertiesKHR* = object
3914
3915 VkDescriptorSetLayoutSupport* = object
3916 sType*: VkStructureType
3917 pNext*: pointer
3918 supported*: VkBool32
3919
3920 VkDescriptorSetLayoutSupportKHR* = object
3921
3922 VkPhysicalDeviceShaderDrawParametersFeatures* = object
3923 sType*: VkStructureType
3924 pNext*: pointer
3925 shaderDrawParameters*: VkBool32
3926
3927 VkPhysicalDeviceShaderDrawParameterFeatures* = object
3928
3929 VkPhysicalDeviceShaderFloat16Int8Features* = object
3930 sType*: VkStructureType
3931 pNext*: pointer
3932 shaderFloat16*: VkBool32
3933 shaderInt8*: VkBool32
3934
3935 VkPhysicalDeviceShaderFloat16Int8FeaturesKHR* = object
3936
3937 VkPhysicalDeviceFloat16Int8FeaturesKHR* = object
3938
3939 VkPhysicalDeviceFloatControlsProperties* = object
3940 sType*: VkStructureType
3941 pNext*: pointer
3942 denormBehaviorIndependence*: VkShaderFloatControlsIndependence
3943 roundingModeIndependence*: VkShaderFloatControlsIndependence
3944 shaderSignedZeroInfNanPreserveFloat16*: VkBool32
3945 shaderSignedZeroInfNanPreserveFloat32*: VkBool32
3946 shaderSignedZeroInfNanPreserveFloat64*: VkBool32
3947 shaderDenormPreserveFloat16*: VkBool32
3948 shaderDenormPreserveFloat32*: VkBool32
3949 shaderDenormPreserveFloat64*: VkBool32
3950 shaderDenormFlushToZeroFloat16*: VkBool32
3951 shaderDenormFlushToZeroFloat32*: VkBool32
3952 shaderDenormFlushToZeroFloat64*: VkBool32
3953 shaderRoundingModeRTEFloat16*: VkBool32
3954 shaderRoundingModeRTEFloat32*: VkBool32
3955 shaderRoundingModeRTEFloat64*: VkBool32
3956 shaderRoundingModeRTZFloat16*: VkBool32
3957 shaderRoundingModeRTZFloat32*: VkBool32
3958 shaderRoundingModeRTZFloat64*: VkBool32
3959
3960 VkPhysicalDeviceFloatControlsPropertiesKHR* = object
3961
3962 VkPhysicalDeviceHostQueryResetFeatures* = object
3963 sType*: VkStructureType
3964 pNext*: pointer
3965 hostQueryReset*: VkBool32
3966
3967 VkPhysicalDeviceHostQueryResetFeaturesEXT* = object
3968
3969 VkNativeBufferUsage2ANDROID* = object
3970 consumer*: uint64
3971 producer*: uint64
3972
3973 VkNativeBufferANDROID* = object
3974 sType*: VkStructureType
3975 pNext*: pointer
3976 handle*: pointer
3977 stride*: int
3978 format*: int
3979 usage*: int
3980 usage2*: VkNativeBufferUsage2ANDROID
3981
3982 VkSwapchainImageCreateInfoANDROID* = object
3983 sType*: VkStructureType
3984 pNext*: pointer
3985 usage*: VkSwapchainImageUsageFlagsANDROID
3986
3987 VkPhysicalDevicePresentationPropertiesANDROID* = object
3988 sType*: VkStructureType
3989 pNext*: pointer
3990 sharedImage*: VkBool32
3991
3992 VkShaderResourceUsageAMD* = object
3993 numUsedVgprs*: uint32
3994 numUsedSgprs*: uint32
3995 ldsSizePerLocalWorkGroup*: uint32
3996 ldsUsageSizeInBytes*: uint
3997 scratchMemUsageInBytes*: uint
3998
3999 VkShaderStatisticsInfoAMD* = object
4000 shaderStageMask*: VkShaderStageFlags
4001 resourceUsage*: VkShaderResourceUsageAMD
4002 numPhysicalVgprs*: uint32
4003 numPhysicalSgprs*: uint32
4004 numAvailableVgprs*: uint32
4005 numAvailableSgprs*: uint32
4006 computeWorkGroupSize*: array[3, uint32]
4007
4008 VkDeviceQueueGlobalPriorityCreateInfoEXT* = object
4009 sType*: VkStructureType
4010 pNext*: pointer
4011 globalPriority*: VkQueueGlobalPriorityEXT
4012
4013 VkDebugUtilsObjectNameInfoEXT* = object
4014 sType*: VkStructureType
4015 pNext*: pointer
4016 objectType*: VkObjectType
4017 objectHandle*: uint64
4018 pObjectName*: cstring
4019
4020 VkDebugUtilsObjectTagInfoEXT* = object
4021 sType*: VkStructureType
4022 pNext*: pointer
4023 objectType*: VkObjectType
4024 objectHandle*: uint64
4025 tagName*: uint64
4026 tagSize*: uint
4027 pTag*: pointer
4028
4029 VkDebugUtilsLabelEXT* = object
4030 sType*: VkStructureType
4031 pNext*: pointer
4032 pLabelName*: cstring
4033 color*: array[4, float32]
4034
4035 VkDebugUtilsMessengerCreateInfoEXT* = object
4036 sType*: VkStructureType
4037 pNext*: pointer
4038 flags*: VkDebugUtilsMessengerCreateFlagsEXT
4039 messageSeverity*: VkDebugUtilsMessageSeverityFlagsEXT
4040 messageType*: VkDebugUtilsMessageTypeFlagsEXT
4041 pfnUserCallback*: PFN_vkDebugUtilsMessengerCallbackEXT
4042 pUserData*: pointer
4043
4044 VkDebugUtilsMessengerCallbackDataEXT* = object
4045 sType*: VkStructureType
4046 pNext*: pointer
4047 flags*: VkDebugUtilsMessengerCallbackDataFlagsEXT
4048 pMessageIdName*: cstring
4049 messageIdNumber*: int32
4050 pMessage*: cstring
4051 queueLabelCount*: uint32
4052 pQueueLabels*: ptr VkDebugUtilsLabelEXT
4053 cmdBufLabelCount*: uint32
4054 pCmdBufLabels*: ptr VkDebugUtilsLabelEXT
4055 objectCount*: uint32
4056 pObjects*: ptr VkDebugUtilsObjectNameInfoEXT
4057
4058 VkImportMemoryHostPointerInfoEXT* = object
4059 sType*: VkStructureType
4060 pNext*: pointer
4061 handleType*: VkExternalMemoryHandleTypeFlagBits
4062 pHostPointer*: pointer
4063
4064 VkMemoryHostPointerPropertiesEXT* = object
4065 sType*: VkStructureType
4066 pNext*: pointer
4067 memoryTypeBits*: uint32
4068
4069 VkPhysicalDeviceExternalMemoryHostPropertiesEXT* = object
4070 sType*: VkStructureType
4071 pNext*: pointer
4072 minImportedHostPointerAlignment*: VkDeviceSize
4073
4074 VkPhysicalDeviceConservativeRasterizationPropertiesEXT* = object
4075 sType*: VkStructureType
4076 pNext*: pointer
4077 primitiveOverestimationSize*: float32
4078 maxExtraPrimitiveOverestimationSize*: float32
4079 extraPrimitiveOverestimationSizeGranularity*: float32
4080 primitiveUnderestimation*: VkBool32
4081 conservativePointAndLineRasterization*: VkBool32
4082 degenerateTrianglesRasterized*: VkBool32
4083 degenerateLinesRasterized*: VkBool32
4084 fullyCoveredFragmentShaderInputVariable*: VkBool32
4085 conservativeRasterizationPostDepthCoverage*: VkBool32
4086
4087 VkCalibratedTimestampInfoEXT* = object
4088 sType*: VkStructureType
4089 pNext*: pointer
4090 timeDomain*: VkTimeDomainEXT
4091
4092 VkPhysicalDeviceShaderCorePropertiesAMD* = object
4093 sType*: VkStructureType
4094 pNext*: pointer
4095 shaderEngineCount*: uint32
4096 shaderArraysPerEngineCount*: uint32
4097 computeUnitsPerShaderArray*: uint32
4098 simdPerComputeUnit*: uint32
4099 wavefrontsPerSimd*: uint32
4100 wavefrontSize*: uint32
4101 sgprsPerSimd*: uint32
4102 minSgprAllocation*: uint32
4103 maxSgprAllocation*: uint32
4104 sgprAllocationGranularity*: uint32
4105 vgprsPerSimd*: uint32
4106 minVgprAllocation*: uint32
4107 maxVgprAllocation*: uint32
4108 vgprAllocationGranularity*: uint32
4109
4110 VkPhysicalDeviceShaderCoreProperties2AMD* = object
4111 sType*: VkStructureType
4112 pNext*: pointer
4113 shaderCoreFeatures*: VkShaderCorePropertiesFlagsAMD
4114 activeComputeUnitCount*: uint32
4115
4116 VkPipelineRasterizationConservativeStateCreateInfoEXT* = object
4117 sType*: VkStructureType
4118 pNext*: pointer
4119 flags*: VkPipelineRasterizationConservativeStateCreateFlagsEXT
4120 conservativeRasterizationMode*: VkConservativeRasterizationModeEXT
4121 extraPrimitiveOverestimationSize*: float32
4122
4123 VkPhysicalDeviceDescriptorIndexingFeatures* = object
4124 sType*: VkStructureType
4125 pNext*: pointer
4126 shaderInputAttachmentArrayDynamicIndexing*: VkBool32
4127 shaderUniformTexelBufferArrayDynamicIndexing*: VkBool32
4128 shaderStorageTexelBufferArrayDynamicIndexing*: VkBool32
4129 shaderUniformBufferArrayNonUniformIndexing*: VkBool32
4130 shaderSampledImageArrayNonUniformIndexing*: VkBool32
4131 shaderStorageBufferArrayNonUniformIndexing*: VkBool32
4132 shaderStorageImageArrayNonUniformIndexing*: VkBool32
4133 shaderInputAttachmentArrayNonUniformIndexing*: VkBool32
4134 shaderUniformTexelBufferArrayNonUniformIndexing*: VkBool32
4135 shaderStorageTexelBufferArrayNonUniformIndexing*: VkBool32
4136 descriptorBindingUniformBufferUpdateAfterBind*: VkBool32
4137 descriptorBindingSampledImageUpdateAfterBind*: VkBool32
4138 descriptorBindingStorageImageUpdateAfterBind*: VkBool32
4139 descriptorBindingStorageBufferUpdateAfterBind*: VkBool32
4140 descriptorBindingUniformTexelBufferUpdateAfterBind*: VkBool32
4141 descriptorBindingStorageTexelBufferUpdateAfterBind*: VkBool32
4142 descriptorBindingUpdateUnusedWhilePending*: VkBool32
4143 descriptorBindingPartiallyBound*: VkBool32
4144 descriptorBindingVariableDescriptorCount*: VkBool32
4145 runtimeDescriptorArray*: VkBool32
4146
4147 VkPhysicalDeviceDescriptorIndexingFeaturesEXT* = object
4148
4149 VkPhysicalDeviceDescriptorIndexingProperties* = object
4150 sType*: VkStructureType
4151 pNext*: pointer
4152 maxUpdateAfterBindDescriptorsInAllPools*: uint32
4153 shaderUniformBufferArrayNonUniformIndexingNative*: VkBool32
4154 shaderSampledImageArrayNonUniformIndexingNative*: VkBool32
4155 shaderStorageBufferArrayNonUniformIndexingNative*: VkBool32
4156 shaderStorageImageArrayNonUniformIndexingNative*: VkBool32
4157 shaderInputAttachmentArrayNonUniformIndexingNative*: VkBool32
4158 robustBufferAccessUpdateAfterBind*: VkBool32
4159 quadDivergentImplicitLod*: VkBool32
4160 maxPerStageDescriptorUpdateAfterBindSamplers*: uint32
4161 maxPerStageDescriptorUpdateAfterBindUniformBuffers*: uint32
4162 maxPerStageDescriptorUpdateAfterBindStorageBuffers*: uint32
4163 maxPerStageDescriptorUpdateAfterBindSampledImages*: uint32
4164 maxPerStageDescriptorUpdateAfterBindStorageImages*: uint32
4165 maxPerStageDescriptorUpdateAfterBindInputAttachments*: uint32
4166 maxPerStageUpdateAfterBindResources*: uint32
4167 maxDescriptorSetUpdateAfterBindSamplers*: uint32
4168 maxDescriptorSetUpdateAfterBindUniformBuffers*: uint32
4169 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic*: uint32
4170 maxDescriptorSetUpdateAfterBindStorageBuffers*: uint32
4171 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic*: uint32
4172 maxDescriptorSetUpdateAfterBindSampledImages*: uint32
4173 maxDescriptorSetUpdateAfterBindStorageImages*: uint32
4174 maxDescriptorSetUpdateAfterBindInputAttachments*: uint32
4175
4176 VkPhysicalDeviceDescriptorIndexingPropertiesEXT* = object
4177
4178 VkDescriptorSetLayoutBindingFlagsCreateInfo* = object
4179 sType*: VkStructureType
4180 pNext*: pointer
4181 bindingCount*: uint32
4182 pBindingFlags*: ptr VkDescriptorBindingFlags
4183
4184 VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* = object
4185
4186 VkDescriptorSetVariableDescriptorCountAllocateInfo* = object
4187 sType*: VkStructureType
4188 pNext*: pointer
4189 descriptorSetCount*: uint32
4190 pDescriptorCounts*: ptr uint32
4191
4192 VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* = object
4193
4194 VkDescriptorSetVariableDescriptorCountLayoutSupport* = object
4195 sType*: VkStructureType
4196 pNext*: pointer
4197 maxVariableDescriptorCount*: uint32
4198
4199 VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* = object
4200
4201 VkAttachmentDescription2* = object
4202 sType*: VkStructureType
4203 pNext*: pointer
4204 flags*: VkAttachmentDescriptionFlags
4205 format*: VkFormat
4206 samples*: VkSampleCountFlagBits
4207 loadOp*: VkAttachmentLoadOp
4208 storeOp*: VkAttachmentStoreOp
4209 stencilLoadOp*: VkAttachmentLoadOp
4210 stencilStoreOp*: VkAttachmentStoreOp
4211 initialLayout*: VkImageLayout
4212 finalLayout*: VkImageLayout
4213
4214 VkAttachmentDescription2KHR* = object
4215
4216 VkAttachmentReference2* = object
4217 sType*: VkStructureType
4218 pNext*: pointer
4219 attachment*: uint32
4220 layout*: VkImageLayout
4221 aspectMask*: VkImageAspectFlags
4222
4223 VkAttachmentReference2KHR* = object
4224
4225 VkSubpassDescription2* = object
4226 sType*: VkStructureType
4227 pNext*: pointer
4228 flags*: VkSubpassDescriptionFlags
4229 pipelineBindPoint*: VkPipelineBindPoint
4230 viewMask*: uint32
4231 inputAttachmentCount*: uint32
4232 pInputAttachments*: ptr VkAttachmentReference2
4233 colorAttachmentCount*: uint32
4234 pColorAttachments*: ptr VkAttachmentReference2
4235 pResolveAttachments*: ptr VkAttachmentReference2
4236 pDepthStencilAttachment*: ptr VkAttachmentReference2
4237 preserveAttachmentCount*: uint32
4238 pPreserveAttachments*: ptr uint32
4239
4240 VkSubpassDescription2KHR* = object
4241
4242 VkSubpassDependency2* = object
4243 sType*: VkStructureType
4244 pNext*: pointer
4245 srcSubpass*: uint32
4246 dstSubpass*: uint32
4247 srcStageMask*: VkPipelineStageFlags
4248 dstStageMask*: VkPipelineStageFlags
4249 srcAccessMask*: VkAccessFlags
4250 dstAccessMask*: VkAccessFlags
4251 dependencyFlags*: VkDependencyFlags
4252 viewOffset*: int32
4253
4254 VkSubpassDependency2KHR* = object
4255
4256 VkRenderPassCreateInfo2* = object
4257 sType*: VkStructureType
4258 pNext*: pointer
4259 flags*: VkRenderPassCreateFlags
4260 attachmentCount*: uint32
4261 pAttachments*: ptr VkAttachmentDescription2
4262 subpassCount*: uint32
4263 pSubpasses*: ptr VkSubpassDescription2
4264 dependencyCount*: uint32
4265 pDependencies*: ptr VkSubpassDependency2
4266 correlatedViewMaskCount*: uint32
4267 pCorrelatedViewMasks*: ptr uint32
4268
4269 VkRenderPassCreateInfo2KHR* = object
4270
4271 VkSubpassBeginInfo* = object
4272 sType*: VkStructureType
4273 pNext*: pointer
4274 contents*: VkSubpassContents
4275
4276 VkSubpassBeginInfoKHR* = object
4277
4278 VkSubpassEndInfo* = object
4279 sType*: VkStructureType
4280 pNext*: pointer
4281
4282 VkSubpassEndInfoKHR* = object
4283
4284 VkPhysicalDeviceTimelineSemaphoreFeatures* = object
4285 sType*: VkStructureType
4286 pNext*: pointer
4287 timelineSemaphore*: VkBool32
4288
4289 VkPhysicalDeviceTimelineSemaphoreFeaturesKHR* = object
4290
4291 VkPhysicalDeviceTimelineSemaphoreProperties* = object
4292 sType*: VkStructureType
4293 pNext*: pointer
4294 maxTimelineSemaphoreValueDifference*: uint64
4295
4296 VkPhysicalDeviceTimelineSemaphorePropertiesKHR* = object
4297
4298 VkSemaphoreTypeCreateInfo* = object
4299 sType*: VkStructureType
4300 pNext*: pointer
4301 semaphoreType*: VkSemaphoreType
4302 initialValue*: uint64
4303
4304 VkSemaphoreTypeCreateInfoKHR* = object
4305
4306 VkTimelineSemaphoreSubmitInfo* = object
4307 sType*: VkStructureType
4308 pNext*: pointer
4309 waitSemaphoreValueCount*: uint32
4310 pWaitSemaphoreValues*: ptr uint64
4311 signalSemaphoreValueCount*: uint32
4312 pSignalSemaphoreValues*: ptr uint64
4313
4314 VkTimelineSemaphoreSubmitInfoKHR* = object
4315
4316 VkSemaphoreWaitInfo* = object
4317 sType*: VkStructureType
4318 pNext*: pointer
4319 flags*: VkSemaphoreWaitFlags
4320 semaphoreCount*: uint32
4321 pSemaphores*: ptr VkSemaphore
4322 pValues*: ptr uint64
4323
4324 VkSemaphoreWaitInfoKHR* = object
4325
4326 VkSemaphoreSignalInfo* = object
4327 sType*: VkStructureType
4328 pNext*: pointer
4329 semaphore*: VkSemaphore
4330 value*: uint64
4331
4332 VkSemaphoreSignalInfoKHR* = object
4333
4334 VkVertexInputBindingDivisorDescriptionEXT* = object
4335 binding*: uint32
4336 divisor*: uint32
4337
4338 VkPipelineVertexInputDivisorStateCreateInfoEXT* = object
4339 sType*: VkStructureType
4340 pNext*: pointer
4341 vertexBindingDivisorCount*: uint32
4342 pVertexBindingDivisors*: ptr VkVertexInputBindingDivisorDescriptionEXT
4343
4344 VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* = object
4345 sType*: VkStructureType
4346 pNext*: pointer
4347 maxVertexAttribDivisor*: uint32
4348
4349 VkPhysicalDevicePCIBusInfoPropertiesEXT* = object
4350 sType*: VkStructureType
4351 pNext*: pointer
4352 pciDomain*: uint32
4353 pciBus*: uint32
4354 pciDevice*: uint32
4355 pciFunction*: uint32
4356
4357 VkImportAndroidHardwareBufferInfoANDROID* = object
4358 sType*: VkStructureType
4359 pNext*: pointer
4360 buffer*: ptr AHardwareBuffer
4361
4362 VkAndroidHardwareBufferUsageANDROID* = object
4363 sType*: VkStructureType
4364 pNext*: pointer
4365 androidHardwareBufferUsage*: uint64
4366
4367 VkAndroidHardwareBufferPropertiesANDROID* = object
4368 sType*: VkStructureType
4369 pNext*: pointer
4370 allocationSize*: VkDeviceSize
4371 memoryTypeBits*: uint32
4372
4373 VkMemoryGetAndroidHardwareBufferInfoANDROID* = object
4374 sType*: VkStructureType
4375 pNext*: pointer
4376 memory*: VkDeviceMemory
4377
4378 VkAndroidHardwareBufferFormatPropertiesANDROID* = object
4379 sType*: VkStructureType
4380 pNext*: pointer
4381 format*: VkFormat
4382 externalFormat*: uint64
4383 formatFeatures*: VkFormatFeatureFlags
4384 samplerYcbcrConversionComponents*: VkComponentMapping
4385 suggestedYcbcrModel*: VkSamplerYcbcrModelConversion
4386 suggestedYcbcrRange*: VkSamplerYcbcrRange
4387 suggestedXChromaOffset*: VkChromaLocation
4388 suggestedYChromaOffset*: VkChromaLocation
4389
4390 VkCommandBufferInheritanceConditionalRenderingInfoEXT* = object
4391 sType*: VkStructureType
4392 pNext*: pointer
4393 conditionalRenderingEnable*: VkBool32
4394
4395 VkExternalFormatANDROID* = object
4396 sType*: VkStructureType
4397 pNext*: pointer
4398 externalFormat*: uint64
4399
4400 VkPhysicalDevice8BitStorageFeatures* = object
4401 sType*: VkStructureType
4402 pNext*: pointer
4403 storageBuffer8BitAccess*: VkBool32
4404 uniformAndStorageBuffer8BitAccess*: VkBool32
4405 storagePushConstant8*: VkBool32
4406
4407 VkPhysicalDevice8BitStorageFeaturesKHR* = object
4408
4409 VkPhysicalDeviceConditionalRenderingFeaturesEXT* = object
4410 sType*: VkStructureType
4411 pNext*: pointer
4412 conditionalRendering*: VkBool32
4413 inheritedConditionalRendering*: VkBool32
4414
4415 VkPhysicalDeviceVulkanMemoryModelFeatures* = object
4416 sType*: VkStructureType
4417 pNext*: pointer
4418 vulkanMemoryModel*: VkBool32
4419 vulkanMemoryModelDeviceScope*: VkBool32
4420 vulkanMemoryModelAvailabilityVisibilityChains*: VkBool32
4421
4422 VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* = object
4423
4424 VkPhysicalDeviceShaderAtomicInt64Features* = object
4425 sType*: VkStructureType
4426 pNext*: pointer
4427 shaderBufferInt64Atomics*: VkBool32
4428 shaderSharedInt64Atomics*: VkBool32
4429
4430 VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* = object
4431
4432 VkPhysicalDeviceShaderAtomicFloatFeaturesEXT* = object
4433 sType*: VkStructureType
4434 pNext*: pointer
4435 shaderBufferFloat32Atomics*: VkBool32
4436 shaderBufferFloat32AtomicAdd*: VkBool32
4437 shaderBufferFloat64Atomics*: VkBool32
4438 shaderBufferFloat64AtomicAdd*: VkBool32
4439 shaderSharedFloat32Atomics*: VkBool32
4440 shaderSharedFloat32AtomicAdd*: VkBool32
4441 shaderSharedFloat64Atomics*: VkBool32
4442 shaderSharedFloat64AtomicAdd*: VkBool32
4443 shaderImageFloat32Atomics*: VkBool32
4444 shaderImageFloat32AtomicAdd*: VkBool32
4445 sparseImageFloat32Atomics*: VkBool32
4446 sparseImageFloat32AtomicAdd*: VkBool32
4447
4448 VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* = object
4449 sType*: VkStructureType
4450 pNext*: pointer
4451 vertexAttributeInstanceRateDivisor*: VkBool32
4452 vertexAttributeInstanceRateZeroDivisor*: VkBool32
4453
4454 VkQueueFamilyCheckpointPropertiesNV* = object
4455 sType*: VkStructureType
4456 pNext*: pointer
4457 checkpointExecutionStageMask*: VkPipelineStageFlags
4458
4459 VkCheckpointDataNV* = object
4460 sType*: VkStructureType
4461 pNext*: pointer
4462 stage*: VkPipelineStageFlagBits
4463 pCheckpointMarker*: pointer
4464
4465 VkPhysicalDeviceDepthStencilResolveProperties* = object
4466 sType*: VkStructureType
4467 pNext*: pointer
4468 supportedDepthResolveModes*: VkResolveModeFlags
4469 supportedStencilResolveModes*: VkResolveModeFlags
4470 independentResolveNone*: VkBool32
4471 independentResolve*: VkBool32
4472
4473 VkPhysicalDeviceDepthStencilResolvePropertiesKHR* = object
4474
4475 VkSubpassDescriptionDepthStencilResolve* = object
4476 sType*: VkStructureType
4477 pNext*: pointer
4478 depthResolveMode*: VkResolveModeFlagBits
4479 stencilResolveMode*: VkResolveModeFlagBits
4480 pDepthStencilResolveAttachment*: ptr VkAttachmentReference2
4481
4482 VkSubpassDescriptionDepthStencilResolveKHR* = object
4483
4484 VkImageViewASTCDecodeModeEXT* = object
4485 sType*: VkStructureType
4486 pNext*: pointer
4487 decodeMode*: VkFormat
4488
4489 VkPhysicalDeviceASTCDecodeFeaturesEXT* = object
4490 sType*: VkStructureType
4491 pNext*: pointer
4492 decodeModeSharedExponent*: VkBool32
4493
4494 VkPhysicalDeviceTransformFeedbackFeaturesEXT* = object
4495 sType*: VkStructureType
4496 pNext*: pointer
4497 transformFeedback*: VkBool32
4498 geometryStreams*: VkBool32
4499
4500 VkPhysicalDeviceTransformFeedbackPropertiesEXT* = object
4501 sType*: VkStructureType
4502 pNext*: pointer
4503 maxTransformFeedbackStreams*: uint32
4504 maxTransformFeedbackBuffers*: uint32
4505 maxTransformFeedbackBufferSize*: VkDeviceSize
4506 maxTransformFeedbackStreamDataSize*: uint32
4507 maxTransformFeedbackBufferDataSize*: uint32
4508 maxTransformFeedbackBufferDataStride*: uint32
4509 transformFeedbackQueries*: VkBool32
4510 transformFeedbackStreamsLinesTriangles*: VkBool32
4511 transformFeedbackRasterizationStreamSelect*: VkBool32
4512 transformFeedbackDraw*: VkBool32
4513
4514 VkPipelineRasterizationStateStreamCreateInfoEXT* = object
4515 sType*: VkStructureType
4516 pNext*: pointer
4517 flags*: VkPipelineRasterizationStateStreamCreateFlagsEXT
4518 rasterizationStream*: uint32
4519
4520 VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* = object
4521 sType*: VkStructureType
4522 pNext*: pointer
4523 representativeFragmentTest*: VkBool32
4524
4525 VkPipelineRepresentativeFragmentTestStateCreateInfoNV* = object
4526 sType*: VkStructureType
4527 pNext*: pointer
4528 representativeFragmentTestEnable*: VkBool32
4529
4530 VkPhysicalDeviceExclusiveScissorFeaturesNV* = object
4531 sType*: VkStructureType
4532 pNext*: pointer
4533 exclusiveScissor*: VkBool32
4534
4535 VkPipelineViewportExclusiveScissorStateCreateInfoNV* = object
4536 sType*: VkStructureType
4537 pNext*: pointer
4538 exclusiveScissorCount*: uint32
4539 pExclusiveScissors*: ptr VkRect2D
4540
4541 VkPhysicalDeviceCornerSampledImageFeaturesNV* = object
4542 sType*: VkStructureType
4543 pNext*: pointer
4544 cornerSampledImage*: VkBool32
4545
4546 VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* = object
4547 sType*: VkStructureType
4548 pNext*: pointer
4549 computeDerivativeGroupQuads*: VkBool32
4550 computeDerivativeGroupLinear*: VkBool32
4551
4552 VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* = object
4553 sType*: VkStructureType
4554 pNext*: pointer
4555 fragmentShaderBarycentric*: VkBool32
4556
4557 VkPhysicalDeviceShaderImageFootprintFeaturesNV* = object
4558 sType*: VkStructureType
4559 pNext*: pointer
4560 imageFootprint*: VkBool32
4561
4562 VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* = object
4563 sType*: VkStructureType
4564 pNext*: pointer
4565 dedicatedAllocationImageAliasing*: VkBool32
4566
4567 VkShadingRatePaletteNV* = object
4568 shadingRatePaletteEntryCount*: uint32
4569 pShadingRatePaletteEntries*: ptr VkShadingRatePaletteEntryNV
4570
4571 VkPipelineViewportShadingRateImageStateCreateInfoNV* = object
4572 sType*: VkStructureType
4573 pNext*: pointer
4574 shadingRateImageEnable*: VkBool32
4575 viewportCount*: uint32
4576 pShadingRatePalettes*: ptr VkShadingRatePaletteNV
4577
4578 VkPhysicalDeviceShadingRateImageFeaturesNV* = object
4579 sType*: VkStructureType
4580 pNext*: pointer
4581 shadingRateImage*: VkBool32
4582 shadingRateCoarseSampleOrder*: VkBool32
4583
4584 VkPhysicalDeviceShadingRateImagePropertiesNV* = object
4585 sType*: VkStructureType
4586 pNext*: pointer
4587 shadingRateTexelSize*: VkExtent2D
4588 shadingRatePaletteSize*: uint32
4589 shadingRateMaxCoarseSamples*: uint32
4590
4591 VkCoarseSampleLocationNV* = object
4592 pixelX*: uint32
4593 pixelY*: uint32
4594 sample*: uint32
4595
4596 VkCoarseSampleOrderCustomNV* = object
4597 shadingRate*: VkShadingRatePaletteEntryNV
4598 sampleCount*: uint32
4599 sampleLocationCount*: uint32
4600 pSampleLocations*: ptr VkCoarseSampleLocationNV
4601
4602 VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* = object
4603 sType*: VkStructureType
4604 pNext*: pointer
4605 sampleOrderType*: VkCoarseSampleOrderTypeNV
4606 customSampleOrderCount*: uint32
4607 pCustomSampleOrders*: ptr VkCoarseSampleOrderCustomNV
4608
4609 VkPhysicalDeviceMeshShaderFeaturesNV* = object
4610 sType*: VkStructureType
4611 pNext*: pointer
4612 taskShader*: VkBool32
4613 meshShader*: VkBool32
4614
4615 VkPhysicalDeviceMeshShaderPropertiesNV* = object
4616 sType*: VkStructureType
4617 pNext*: pointer
4618 maxDrawMeshTasksCount*: uint32
4619 maxTaskWorkGroupInvocations*: uint32
4620 maxTaskWorkGroupSize*: array[3, uint32]
4621 maxTaskTotalMemorySize*: uint32
4622 maxTaskOutputCount*: uint32
4623 maxMeshWorkGroupInvocations*: uint32
4624 maxMeshWorkGroupSize*: array[3, uint32]
4625 maxMeshTotalMemorySize*: uint32
4626 maxMeshOutputVertices*: uint32
4627 maxMeshOutputPrimitives*: uint32
4628 maxMeshMultiviewViewCount*: uint32
4629 meshOutputPerVertexGranularity*: uint32
4630 meshOutputPerPrimitiveGranularity*: uint32
4631
4632 VkDrawMeshTasksIndirectCommandNV* = object
4633 taskCount*: uint32
4634 firstTask*: uint32
4635
4636 VkRayTracingShaderGroupCreateInfoNV* = object
4637 sType*: VkStructureType
4638 pNext*: pointer
4639 `type`*: VkRayTracingShaderGroupTypeKHR
4640 generalShader*: uint32
4641 closestHitShader*: uint32
4642 anyHitShader*: uint32
4643 intersectionShader*: uint32
4644
4645 VkRayTracingShaderGroupCreateInfoKHR* = object
4646 sType*: VkStructureType
4647 pNext*: pointer
4648 `type`*: VkRayTracingShaderGroupTypeKHR
4649 generalShader*: uint32
4650 closestHitShader*: uint32
4651 anyHitShader*: uint32
4652 intersectionShader*: uint32
4653 pShaderGroupCaptureReplayHandle*: pointer
4654
4655 VkRayTracingPipelineCreateInfoNV* = object
4656 sType*: VkStructureType
4657 pNext*: pointer
4658 flags*: VkPipelineCreateFlags
4659 stageCount*: uint32
4660 pStages*: ptr VkPipelineShaderStageCreateInfo
4661 groupCount*: uint32
4662 pGroups*: ptr VkRayTracingShaderGroupCreateInfoNV
4663 maxRecursionDepth*: uint32
4664 layout*: VkPipelineLayout
4665 basePipelineHandle*: VkPipeline
4666 basePipelineIndex*: int32
4667
4668 VkRayTracingPipelineCreateInfoKHR* = object
4669 sType*: VkStructureType
4670 pNext*: pointer
4671 flags*: VkPipelineCreateFlags
4672 stageCount*: uint32
4673 pStages*: ptr VkPipelineShaderStageCreateInfo
4674 groupCount*: uint32
4675 pGroups*: ptr VkRayTracingShaderGroupCreateInfoKHR
4676 maxRecursionDepth*: uint32
4677 libraries*: VkPipelineLibraryCreateInfoKHR
4678 pLibraryInterface*: ptr VkRayTracingPipelineInterfaceCreateInfoKHR
4679 layout*: VkPipelineLayout
4680 basePipelineHandle*: VkPipeline
4681 basePipelineIndex*: int32
4682
4683 VkGeometryTrianglesNV* = object
4684 sType*: VkStructureType
4685 pNext*: pointer
4686 vertexData*: VkBuffer
4687 vertexOffset*: VkDeviceSize
4688 vertexCount*: uint32
4689 vertexStride*: VkDeviceSize
4690 vertexFormat*: VkFormat
4691 indexData*: VkBuffer
4692 indexOffset*: VkDeviceSize
4693 indexCount*: uint32
4694 indexType*: VkIndexType
4695 transformData*: VkBuffer
4696 transformOffset*: VkDeviceSize
4697
4698 VkGeometryAABBNV* = object
4699 sType*: VkStructureType
4700 pNext*: pointer
4701 aabbData*: VkBuffer
4702 numAABBs*: uint32
4703 stride*: uint32
4704 offset*: VkDeviceSize
4705
4706 VkGeometryDataNV* = object
4707 triangles*: VkGeometryTrianglesNV
4708 aabbs*: VkGeometryAABBNV
4709
4710 VkGeometryNV* = object
4711 sType*: VkStructureType
4712 pNext*: pointer
4713 geometryType*: VkGeometryTypeKHR
4714 geometry*: VkGeometryDataNV
4715 flags*: VkGeometryFlagsKHR
4716
4717 VkAccelerationStructureInfoNV* = object
4718 sType*: VkStructureType
4719 pNext*: pointer
4720 `type`*: VkAccelerationStructureTypeNV
4721 flags*: VkBuildAccelerationStructureFlagsNV
4722 instanceCount*: uint32
4723 geometryCount*: uint32
4724 pGeometries*: ptr VkGeometryNV
4725
4726 VkAccelerationStructureCreateInfoNV* = object
4727 sType*: VkStructureType
4728 pNext*: pointer
4729 compactedSize*: VkDeviceSize
4730 info*: VkAccelerationStructureInfoNV
4731
4732 VkBindAccelerationStructureMemoryInfoKHR* = object
4733 sType*: VkStructureType
4734 pNext*: pointer
4735 accelerationStructure*: VkAccelerationStructureKHR
4736 memory*: VkDeviceMemory
4737 memoryOffset*: VkDeviceSize
4738 deviceIndexCount*: uint32
4739 pDeviceIndices*: ptr uint32
4740
4741 VkBindAccelerationStructureMemoryInfoNV* = object
4742
4743 VkWriteDescriptorSetAccelerationStructureKHR* = object
4744 sType*: VkStructureType
4745 pNext*: pointer
4746 accelerationStructureCount*: uint32
4747 pAccelerationStructures*: ptr VkAccelerationStructureKHR
4748
4749 VkWriteDescriptorSetAccelerationStructureNV* = object
4750
4751 VkAccelerationStructureMemoryRequirementsInfoKHR* = object
4752 sType*: VkStructureType
4753 pNext*: pointer
4754 `type`*: VkAccelerationStructureMemoryRequirementsTypeKHR
4755 buildType*: VkAccelerationStructureBuildTypeKHR
4756 accelerationStructure*: VkAccelerationStructureKHR
4757
4758 VkAccelerationStructureMemoryRequirementsInfoNV* = object
4759 sType*: VkStructureType
4760 pNext*: pointer
4761 `type`*: VkAccelerationStructureMemoryRequirementsTypeNV
4762 accelerationStructure*: VkAccelerationStructureNV
4763
4764 VkPhysicalDeviceRayTracingFeaturesKHR* = object
4765 sType*: VkStructureType
4766 pNext*: pointer
4767 rayTracing*: VkBool32
4768 rayTracingShaderGroupHandleCaptureReplay*: VkBool32
4769 rayTracingShaderGroupHandleCaptureReplayMixed*: VkBool32
4770 rayTracingAccelerationStructureCaptureReplay*: VkBool32
4771 rayTracingIndirectTraceRays*: VkBool32
4772 rayTracingIndirectAccelerationStructureBuild*: VkBool32
4773 rayTracingHostAccelerationStructureCommands*: VkBool32
4774 rayQuery*: VkBool32
4775 rayTracingPrimitiveCulling*: VkBool32
4776
4777 VkPhysicalDeviceRayTracingPropertiesKHR* = object
4778 sType*: VkStructureType
4779 pNext*: pointer
4780 shaderGroupHandleSize*: uint32
4781 maxRecursionDepth*: uint32
4782 maxShaderGroupStride*: uint32
4783 shaderGroupBaseAlignment*: uint32
4784 maxGeometryCount*: uint64
4785 maxInstanceCount*: uint64
4786 maxPrimitiveCount*: uint64
4787 maxDescriptorSetAccelerationStructures*: uint32
4788 shaderGroupHandleCaptureReplaySize*: uint32
4789
4790 VkPhysicalDeviceRayTracingPropertiesNV* = object
4791 sType*: VkStructureType
4792 pNext*: pointer
4793 shaderGroupHandleSize*: uint32
4794 maxRecursionDepth*: uint32
4795 maxShaderGroupStride*: uint32
4796 shaderGroupBaseAlignment*: uint32
4797 maxGeometryCount*: uint64
4798 maxInstanceCount*: uint64
4799 maxTriangleCount*: uint64
4800 maxDescriptorSetAccelerationStructures*: uint32
4801
4802 VkStridedBufferRegionKHR* = object
4803 buffer*: VkBuffer
4804 offset*: VkDeviceSize
4805 stride*: VkDeviceSize
4806 size*: VkDeviceSize
4807
4808 VkTraceRaysIndirectCommandKHR* = object
4809 width*: uint32
4810 height*: uint32
4811 depth*: uint32
4812
4813 VkDrmFormatModifierPropertiesListEXT* = object
4814 sType*: VkStructureType
4815 pNext*: pointer
4816 drmFormatModifierCount*: uint32
4817 pDrmFormatModifierProperties*: ptr VkDrmFormatModifierPropertiesEXT
4818
4819 VkDrmFormatModifierPropertiesEXT* = object
4820 drmFormatModifier*: uint64
4821 drmFormatModifierPlaneCount*: uint32
4822 drmFormatModifierTilingFeatures*: VkFormatFeatureFlags
4823
4824 VkPhysicalDeviceImageDrmFormatModifierInfoEXT* = object
4825 sType*: VkStructureType
4826 pNext*: pointer
4827 drmFormatModifier*: uint64
4828 sharingMode*: VkSharingMode
4829 queueFamilyIndexCount*: uint32
4830 pQueueFamilyIndices*: ptr uint32
4831
4832 VkImageDrmFormatModifierListCreateInfoEXT* = object
4833 sType*: VkStructureType
4834 pNext*: pointer
4835 drmFormatModifierCount*: uint32
4836 pDrmFormatModifiers*: ptr uint64
4837
4838 VkImageDrmFormatModifierExplicitCreateInfoEXT* = object
4839 sType*: VkStructureType
4840 pNext*: pointer
4841 drmFormatModifier*: uint64
4842 drmFormatModifierPlaneCount*: uint32
4843 pPlaneLayouts*: ptr VkSubresourceLayout
4844
4845 VkImageDrmFormatModifierPropertiesEXT* = object
4846 sType*: VkStructureType
4847 pNext*: pointer
4848 drmFormatModifier*: uint64
4849
4850 VkImageStencilUsageCreateInfo* = object
4851 sType*: VkStructureType
4852 pNext*: pointer
4853 stencilUsage*: VkImageUsageFlags
4854
4855 VkImageStencilUsageCreateInfoEXT* = object
4856
4857 VkDeviceMemoryOverallocationCreateInfoAMD* = object
4858 sType*: VkStructureType
4859 pNext*: pointer
4860 overallocationBehavior*: VkMemoryOverallocationBehaviorAMD
4861
4862 VkPhysicalDeviceFragmentDensityMapFeaturesEXT* = object
4863 sType*: VkStructureType
4864 pNext*: pointer
4865 fragmentDensityMap*: VkBool32
4866 fragmentDensityMapDynamic*: VkBool32
4867 fragmentDensityMapNonSubsampledImages*: VkBool32
4868
4869 VkPhysicalDeviceFragmentDensityMap2FeaturesEXT* = object
4870 sType*: VkStructureType
4871 pNext*: pointer
4872 fragmentDensityMapDeferred*: VkBool32
4873
4874 VkPhysicalDeviceFragmentDensityMapPropertiesEXT* = object
4875 sType*: VkStructureType
4876 pNext*: pointer
4877 minFragmentDensityTexelSize*: VkExtent2D
4878 maxFragmentDensityTexelSize*: VkExtent2D
4879 fragmentDensityInvocations*: VkBool32
4880
4881 VkPhysicalDeviceFragmentDensityMap2PropertiesEXT* = object
4882 sType*: VkStructureType
4883 pNext*: pointer
4884 subsampledLoads*: VkBool32
4885 subsampledCoarseReconstructionEarlyAccess*: VkBool32
4886 maxSubsampledArrayLayers*: uint32
4887 maxDescriptorSetSubsampledSamplers*: uint32
4888
4889 VkRenderPassFragmentDensityMapCreateInfoEXT* = object
4890 sType*: VkStructureType
4891 pNext*: pointer
4892 fragmentDensityMapAttachment*: VkAttachmentReference
4893
4894 VkPhysicalDeviceScalarBlockLayoutFeatures* = object
4895 sType*: VkStructureType
4896 pNext*: pointer
4897 scalarBlockLayout*: VkBool32
4898
4899 VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* = object
4900
4901 VkSurfaceProtectedCapabilitiesKHR* = object
4902 sType*: VkStructureType
4903 pNext*: pointer
4904 supportsProtected*: VkBool32
4905
4906 VkPhysicalDeviceUniformBufferStandardLayoutFeatures* = object
4907 sType*: VkStructureType
4908 pNext*: pointer
4909 uniformBufferStandardLayout*: VkBool32
4910
4911 VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* = object
4912
4913 VkPhysicalDeviceDepthClipEnableFeaturesEXT* = object
4914 sType*: VkStructureType
4915 pNext*: pointer
4916 depthClipEnable*: VkBool32
4917
4918 VkPipelineRasterizationDepthClipStateCreateInfoEXT* = object
4919 sType*: VkStructureType
4920 pNext*: pointer
4921 flags*: VkPipelineRasterizationDepthClipStateCreateFlagsEXT
4922 depthClipEnable*: VkBool32
4923
4924 VkPhysicalDeviceMemoryBudgetPropertiesEXT* = object
4925 sType*: VkStructureType
4926 pNext*: pointer
4927 heapBudget*: array[VK_MAX_MEMORY_HEAPS, VkDeviceSize]
4928 heapUsage*: array[VK_MAX_MEMORY_HEAPS, VkDeviceSize]
4929
4930 VkPhysicalDeviceMemoryPriorityFeaturesEXT* = object
4931 sType*: VkStructureType
4932 pNext*: pointer
4933 memoryPriority*: VkBool32
4934
4935 VkMemoryPriorityAllocateInfoEXT* = object
4936 sType*: VkStructureType
4937 pNext*: pointer
4938 priority*: float32
4939
4940 VkPhysicalDeviceBufferDeviceAddressFeatures* = object
4941 sType*: VkStructureType
4942 pNext*: pointer
4943 bufferDeviceAddress*: VkBool32
4944 bufferDeviceAddressCaptureReplay*: VkBool32
4945 bufferDeviceAddressMultiDevice*: VkBool32
4946
4947 VkPhysicalDeviceBufferDeviceAddressFeaturesKHR* = object
4948
4949 VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* = object
4950 sType*: VkStructureType
4951 pNext*: pointer
4952 bufferDeviceAddress*: VkBool32
4953 bufferDeviceAddressCaptureReplay*: VkBool32
4954 bufferDeviceAddressMultiDevice*: VkBool32
4955
4956 VkPhysicalDeviceBufferAddressFeaturesEXT* = object
4957
4958 VkBufferDeviceAddressInfo* = object
4959 sType*: VkStructureType
4960 pNext*: pointer
4961 buffer*: VkBuffer
4962
4963 VkBufferDeviceAddressInfoKHR* = object
4964
4965 VkBufferDeviceAddressInfoEXT* = object
4966
4967 VkBufferOpaqueCaptureAddressCreateInfo* = object
4968 sType*: VkStructureType
4969 pNext*: pointer
4970 opaqueCaptureAddress*: uint64
4971
4972 VkBufferOpaqueCaptureAddressCreateInfoKHR* = object
4973
4974 VkBufferDeviceAddressCreateInfoEXT* = object
4975 sType*: VkStructureType
4976 pNext*: pointer
4977 deviceAddress*: VkDeviceAddress
4978
4979 VkPhysicalDeviceImageViewImageFormatInfoEXT* = object
4980 sType*: VkStructureType
4981 pNext*: pointer
4982 imageViewType*: VkImageViewType
4983
4984 VkFilterCubicImageViewImageFormatPropertiesEXT* = object
4985 sType*: VkStructureType
4986 pNext*: pointer
4987 filterCubic*: VkBool32
4988 filterCubicMinmax*: VkBool32
4989
4990 VkPhysicalDeviceImagelessFramebufferFeatures* = object
4991 sType*: VkStructureType
4992 pNext*: pointer
4993 imagelessFramebuffer*: VkBool32
4994
4995 VkPhysicalDeviceImagelessFramebufferFeaturesKHR* = object
4996
4997 VkFramebufferAttachmentsCreateInfo* = object
4998 sType*: VkStructureType
4999 pNext*: pointer
5000 attachmentImageInfoCount*: uint32
5001 pAttachmentImageInfos*: ptr VkFramebufferAttachmentImageInfo
5002
5003 VkFramebufferAttachmentsCreateInfoKHR* = object
5004
5005 VkFramebufferAttachmentImageInfo* = object
5006 sType*: VkStructureType
5007 pNext*: pointer
5008 flags*: VkImageCreateFlags
5009 usage*: VkImageUsageFlags
5010 width*: uint32
5011 height*: uint32
5012 layerCount*: uint32
5013 viewFormatCount*: uint32
5014 pViewFormats*: ptr VkFormat
5015
5016 VkFramebufferAttachmentImageInfoKHR* = object
5017
5018 VkRenderPassAttachmentBeginInfo* = object
5019 sType*: VkStructureType
5020 pNext*: pointer
5021 attachmentCount*: uint32
5022 pAttachments*: ptr VkImageView
5023
5024 VkRenderPassAttachmentBeginInfoKHR* = object
5025
5026 VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT* = object
5027 sType*: VkStructureType
5028 pNext*: pointer
5029 textureCompressionASTC_HDR*: VkBool32
5030
5031 VkPhysicalDeviceCooperativeMatrixFeaturesNV* = object
5032 sType*: VkStructureType
5033 pNext*: pointer
5034 cooperativeMatrix*: VkBool32
5035 cooperativeMatrixRobustBufferAccess*: VkBool32
5036
5037 VkPhysicalDeviceCooperativeMatrixPropertiesNV* = object
5038 sType*: VkStructureType
5039 pNext*: pointer
5040 cooperativeMatrixSupportedStages*: VkShaderStageFlags
5041
5042 VkCooperativeMatrixPropertiesNV* = object
5043 sType*: VkStructureType
5044 pNext*: pointer
5045 MSize*: uint32
5046 NSize*: uint32
5047 KSize*: uint32
5048 AType*: VkComponentTypeNV
5049 BType*: VkComponentTypeNV
5050 CType*: VkComponentTypeNV
5051 DType*: VkComponentTypeNV
5052 scope*: VkScopeNV
5053
5054 VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* = object
5055 sType*: VkStructureType
5056 pNext*: pointer
5057 ycbcrImageArrays*: VkBool32
5058
5059 VkImageViewHandleInfoNVX* = object
5060 sType*: VkStructureType
5061 pNext*: pointer
5062 imageView*: VkImageView
5063 descriptorType*: VkDescriptorType
5064 sampler*: VkSampler
5065
5066 VkImageViewAddressPropertiesNVX* = object
5067 sType*: VkStructureType
5068 pNext*: pointer
5069 deviceAddress*: VkDeviceAddress
5070 size*: VkDeviceSize
5071
5072 VkPresentFrameTokenGGP* = object
5073 sType*: VkStructureType
5074 pNext*: pointer
5075 frameToken*: GgpFrameToken
5076
5077 VkPipelineCreationFeedbackEXT* = object
5078 flags*: VkPipelineCreationFeedbackFlagsEXT
5079 duration*: uint64
5080
5081 VkPipelineCreationFeedbackCreateInfoEXT* = object
5082 sType*: VkStructureType
5083 pNext*: pointer
5084 pPipelineCreationFeedback*: ptr VkPipelineCreationFeedbackEXT
5085 pipelineStageCreationFeedbackCount*: uint32
5086 pPipelineStageCreationFeedbacks*: ptr ptr VkPipelineCreationFeedbackEXT
5087
5088 VkSurfaceFullScreenExclusiveInfoEXT* = object
5089 sType*: VkStructureType
5090 pNext*: pointer
5091 fullScreenExclusive*: VkFullScreenExclusiveEXT
5092
5093 VkSurfaceFullScreenExclusiveWin32InfoEXT* = object
5094 sType*: VkStructureType
5095 pNext*: pointer
5096 hmonitor*: HMONITOR
5097
5098 VkSurfaceCapabilitiesFullScreenExclusiveEXT* = object
5099 sType*: VkStructureType
5100 pNext*: pointer
5101 fullScreenExclusiveSupported*: VkBool32
5102
5103 VkPhysicalDevicePerformanceQueryFeaturesKHR* = object
5104 sType*: VkStructureType
5105 pNext*: pointer
5106 performanceCounterQueryPools*: VkBool32
5107 performanceCounterMultipleQueryPools*: VkBool32
5108
5109 VkPhysicalDevicePerformanceQueryPropertiesKHR* = object
5110 sType*: VkStructureType
5111 pNext*: pointer
5112 allowCommandBufferQueryCopies*: VkBool32
5113
5114 VkPerformanceCounterKHR* = object
5115 sType*: VkStructureType
5116 pNext*: pointer
5117 unit*: VkPerformanceCounterUnitKHR
5118 scope*: VkPerformanceCounterScopeKHR
5119 storage*: VkPerformanceCounterStorageKHR
5120 uuid*: array[VK_UUID_SIZE, uint8]
5121
5122 VkPerformanceCounterDescriptionKHR* = object
5123 sType*: VkStructureType
5124 pNext*: pointer
5125 flags*: VkPerformanceCounterDescriptionFlagsKHR
5126 name*: array[VK_MAX_DESCRIPTION_SIZE, char]
5127 category*: array[VK_MAX_DESCRIPTION_SIZE, char]
5128 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
5129
5130 VkQueryPoolPerformanceCreateInfoKHR* = object
5131 sType*: VkStructureType
5132 pNext*: pointer
5133 queueFamilyIndex*: uint32
5134 counterIndexCount*: uint32
5135 pCounterIndices*: ptr uint32
5136
5137 VkPerformanceCounterResultKHR* {.union.} = object
5138 int32*: int32
5139 int64*: int64
5140 uint32*: uint32
5141 uint64*: uint64
5142 float32*: float32
5143 float64*: float64
5144
5145 VkAcquireProfilingLockInfoKHR* = object
5146 sType*: VkStructureType
5147 pNext*: pointer
5148 flags*: VkAcquireProfilingLockFlagsKHR
5149 timeout*: uint64
5150
5151 VkPerformanceQuerySubmitInfoKHR* = object
5152 sType*: VkStructureType
5153 pNext*: pointer
5154 counterPassIndex*: uint32
5155
5156 VkHeadlessSurfaceCreateInfoEXT* = object
5157 sType*: VkStructureType
5158 pNext*: pointer
5159 flags*: VkHeadlessSurfaceCreateFlagsEXT
5160
5161 VkPhysicalDeviceCoverageReductionModeFeaturesNV* = object
5162 sType*: VkStructureType
5163 pNext*: pointer
5164 coverageReductionMode*: VkBool32
5165
5166 VkPipelineCoverageReductionStateCreateInfoNV* = object
5167 sType*: VkStructureType
5168 pNext*: pointer
5169 flags*: VkPipelineCoverageReductionStateCreateFlagsNV
5170 coverageReductionMode*: VkCoverageReductionModeNV
5171
5172 VkFramebufferMixedSamplesCombinationNV* = object
5173 sType*: VkStructureType
5174 pNext*: pointer
5175 coverageReductionMode*: VkCoverageReductionModeNV
5176 rasterizationSamples*: VkSampleCountFlagBits
5177 depthStencilSamples*: VkSampleCountFlags
5178 colorSamples*: VkSampleCountFlags
5179
5180 VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL* = object
5181 sType*: VkStructureType
5182 pNext*: pointer
5183 shaderIntegerFunctions2*: VkBool32
5184
5185 VkPerformanceValueDataINTEL* {.union.} = object
5186 value32*: uint32
5187 value64*: uint64
5188 valueFloat*: float32
5189 valueBool*: VkBool32
5190 valueString*: cstring
5191
5192 VkPerformanceValueINTEL* = object
5193 `type`*: VkPerformanceValueTypeINTEL
5194 data*: VkPerformanceValueDataINTEL
5195
5196 VkInitializePerformanceApiInfoINTEL* = object
5197 sType*: VkStructureType
5198 pNext*: pointer
5199 pUserData*: pointer
5200
5201 VkQueryPoolPerformanceQueryCreateInfoINTEL* = object
5202 sType*: VkStructureType
5203 pNext*: pointer
5204 performanceCountersSampling*: VkQueryPoolSamplingModeINTEL
5205
5206 VkQueryPoolCreateInfoINTEL* = object
5207
5208 VkPerformanceMarkerInfoINTEL* = object
5209 sType*: VkStructureType
5210 pNext*: pointer
5211 marker*: uint64
5212
5213 VkPerformanceStreamMarkerInfoINTEL* = object
5214 sType*: VkStructureType
5215 pNext*: pointer
5216 marker*: uint32
5217
5218 VkPerformanceOverrideInfoINTEL* = object
5219 sType*: VkStructureType
5220 pNext*: pointer
5221 `type`*: VkPerformanceOverrideTypeINTEL
5222 enable*: VkBool32
5223 parameter*: uint64
5224
5225 VkPerformanceConfigurationAcquireInfoINTEL* = object
5226 sType*: VkStructureType
5227 pNext*: pointer
5228 `type`*: VkPerformanceConfigurationTypeINTEL
5229
5230 VkPhysicalDeviceShaderClockFeaturesKHR* = object
5231 sType*: VkStructureType
5232 pNext*: pointer
5233 shaderSubgroupClock*: VkBool32
5234 shaderDeviceClock*: VkBool32
5235
5236 VkPhysicalDeviceIndexTypeUint8FeaturesEXT* = object
5237 sType*: VkStructureType
5238 pNext*: pointer
5239 indexTypeUint8*: VkBool32
5240
5241 VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* = object
5242 sType*: VkStructureType
5243 pNext*: pointer
5244 shaderSMCount*: uint32
5245 shaderWarpsPerSM*: uint32
5246
5247 VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* = object
5248 sType*: VkStructureType
5249 pNext*: pointer
5250 shaderSMBuiltins*: VkBool32
5251
5252 VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* = object
5253 sType*: VkStructureType
5254 pNext*: pointer
5255 fragmentShaderSampleInterlock*: VkBool32
5256 fragmentShaderPixelInterlock*: VkBool32
5257 fragmentShaderShadingRateInterlock*: VkBool32
5258
5259 VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures* = object
5260 sType*: VkStructureType
5261 pNext*: pointer
5262 separateDepthStencilLayouts*: VkBool32
5263
5264 VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR* = object
5265
5266 VkAttachmentReferenceStencilLayout* = object
5267 sType*: VkStructureType
5268 pNext*: pointer
5269 stencilLayout*: VkImageLayout
5270
5271 VkAttachmentReferenceStencilLayoutKHR* = object
5272
5273 VkAttachmentDescriptionStencilLayout* = object
5274 sType*: VkStructureType
5275 pNext*: pointer
5276 stencilInitialLayout*: VkImageLayout
5277 stencilFinalLayout*: VkImageLayout
5278
5279 VkAttachmentDescriptionStencilLayoutKHR* = object
5280
5281 VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR* = object
5282 sType*: VkStructureType
5283 pNext*: pointer
5284 pipelineExecutableInfo*: VkBool32
5285
5286 VkPipelineInfoKHR* = object
5287 sType*: VkStructureType
5288 pNext*: pointer
5289 pipeline*: VkPipeline
5290
5291 VkPipelineExecutablePropertiesKHR* = object
5292 sType*: VkStructureType
5293 pNext*: pointer
5294 stages*: VkShaderStageFlags
5295 name*: array[VK_MAX_DESCRIPTION_SIZE, char]
5296 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
5297 subgroupSize*: uint32
5298
5299 VkPipelineExecutableInfoKHR* = object
5300 sType*: VkStructureType
5301 pNext*: pointer
5302 pipeline*: VkPipeline
5303 executableIndex*: uint32
5304
5305 VkPipelineExecutableStatisticValueKHR* {.union.} = object
5306 b32*: VkBool32
5307 i64*: int64
5308 u64*: uint64
5309 f64*: float64
5310
5311 VkPipelineExecutableStatisticKHR* = object
5312 sType*: VkStructureType
5313 pNext*: pointer
5314 name*: array[VK_MAX_DESCRIPTION_SIZE, char]
5315 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
5316 format*: VkPipelineExecutableStatisticFormatKHR
5317 value*: VkPipelineExecutableStatisticValueKHR
5318
5319 VkPipelineExecutableInternalRepresentationKHR* = object
5320 sType*: VkStructureType
5321 pNext*: pointer
5322 name*: array[VK_MAX_DESCRIPTION_SIZE, char]
5323 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
5324 isText*: VkBool32
5325 dataSize*: uint
5326 pData*: pointer
5327
5328 VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT* = object
5329 sType*: VkStructureType
5330 pNext*: pointer
5331 shaderDemoteToHelperInvocation*: VkBool32
5332
5333 VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* = object
5334 sType*: VkStructureType
5335 pNext*: pointer
5336 texelBufferAlignment*: VkBool32
5337
5338 VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT* = object
5339 sType*: VkStructureType
5340 pNext*: pointer
5341 storageTexelBufferOffsetAlignmentBytes*: VkDeviceSize
5342 storageTexelBufferOffsetSingleTexelAlignment*: VkBool32
5343 uniformTexelBufferOffsetAlignmentBytes*: VkDeviceSize
5344 uniformTexelBufferOffsetSingleTexelAlignment*: VkBool32
5345
5346 VkPhysicalDeviceSubgroupSizeControlFeaturesEXT* = object
5347 sType*: VkStructureType
5348 pNext*: pointer
5349 subgroupSizeControl*: VkBool32
5350 computeFullSubgroups*: VkBool32
5351
5352 VkPhysicalDeviceSubgroupSizeControlPropertiesEXT* = object
5353 sType*: VkStructureType
5354 pNext*: pointer
5355 minSubgroupSize*: uint32
5356 maxSubgroupSize*: uint32
5357 maxComputeWorkgroupSubgroups*: uint32
5358 requiredSubgroupSizeStages*: VkShaderStageFlags
5359
5360 VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT* = object
5361 sType*: VkStructureType
5362 pNext*: pointer
5363 requiredSubgroupSize*: uint32
5364
5365 VkMemoryOpaqueCaptureAddressAllocateInfo* = object
5366 sType*: VkStructureType
5367 pNext*: pointer
5368 opaqueCaptureAddress*: uint64
5369
5370 VkMemoryOpaqueCaptureAddressAllocateInfoKHR* = object
5371
5372 VkDeviceMemoryOpaqueCaptureAddressInfo* = object
5373 sType*: VkStructureType
5374 pNext*: pointer
5375 memory*: VkDeviceMemory
5376
5377 VkDeviceMemoryOpaqueCaptureAddressInfoKHR* = object
5378
5379 VkPhysicalDeviceLineRasterizationFeaturesEXT* = object
5380 sType*: VkStructureType
5381 pNext*: pointer
5382 rectangularLines*: VkBool32
5383 bresenhamLines*: VkBool32
5384 smoothLines*: VkBool32
5385 stippledRectangularLines*: VkBool32
5386 stippledBresenhamLines*: VkBool32
5387 stippledSmoothLines*: VkBool32
5388
5389 VkPhysicalDeviceLineRasterizationPropertiesEXT* = object
5390 sType*: VkStructureType
5391 pNext*: pointer
5392 lineSubPixelPrecisionBits*: uint32
5393
5394 VkPipelineRasterizationLineStateCreateInfoEXT* = object
5395 sType*: VkStructureType
5396 pNext*: pointer
5397 lineRasterizationMode*: VkLineRasterizationModeEXT
5398 stippledLineEnable*: VkBool32
5399 lineStippleFactor*: uint32
5400 lineStipplePattern*: uint16
5401
5402 VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT* = object
5403 sType*: VkStructureType
5404 pNext*: pointer
5405 pipelineCreationCacheControl*: VkBool32
5406
5407 VkPhysicalDeviceVulkan11Features* = object
5408 sType*: VkStructureType
5409 pNext*: pointer
5410 storageBuffer16BitAccess*: VkBool32
5411 uniformAndStorageBuffer16BitAccess*: VkBool32
5412 storagePushConstant16*: VkBool32
5413 storageInputOutput16*: VkBool32
5414 multiview*: VkBool32
5415 multiviewGeometryShader*: VkBool32
5416 multiviewTessellationShader*: VkBool32
5417 variablePointersStorageBuffer*: VkBool32
5418 variablePointers*: VkBool32
5419 protectedMemory*: VkBool32
5420 samplerYcbcrConversion*: VkBool32
5421 shaderDrawParameters*: VkBool32
5422
5423 VkPhysicalDeviceVulkan11Properties* = object
5424 sType*: VkStructureType
5425 pNext*: pointer
5426 deviceUUID*: array[VK_UUID_SIZE, uint8]
5427 driverUUID*: array[VK_UUID_SIZE, uint8]
5428 deviceLUID*: array[VK_LUID_SIZE, uint8]
5429 deviceNodeMask*: uint32
5430 deviceLUIDValid*: VkBool32
5431 subgroupSize*: uint32
5432 subgroupSupportedStages*: VkShaderStageFlags
5433 subgroupSupportedOperations*: VkSubgroupFeatureFlags
5434 subgroupQuadOperationsInAllStages*: VkBool32
5435 pointClippingBehavior*: VkPointClippingBehavior
5436 maxMultiviewViewCount*: uint32
5437 maxMultiviewInstanceIndex*: uint32
5438 protectedNoFault*: VkBool32
5439 maxPerSetDescriptors*: uint32
5440 maxMemoryAllocationSize*: VkDeviceSize
5441
5442 VkPhysicalDeviceVulkan12Features* = object
5443 sType*: VkStructureType
5444 pNext*: pointer
5445 samplerMirrorClampToEdge*: VkBool32
5446 drawIndirectCount*: VkBool32
5447 storageBuffer8BitAccess*: VkBool32
5448 uniformAndStorageBuffer8BitAccess*: VkBool32
5449 storagePushConstant8*: VkBool32
5450 shaderBufferInt64Atomics*: VkBool32
5451 shaderSharedInt64Atomics*: VkBool32
5452 shaderFloat16*: VkBool32
5453 shaderInt8*: VkBool32
5454 descriptorIndexing*: VkBool32
5455 shaderInputAttachmentArrayDynamicIndexing*: VkBool32
5456 shaderUniformTexelBufferArrayDynamicIndexing*: VkBool32
5457 shaderStorageTexelBufferArrayDynamicIndexing*: VkBool32
5458 shaderUniformBufferArrayNonUniformIndexing*: VkBool32
5459 shaderSampledImageArrayNonUniformIndexing*: VkBool32
5460 shaderStorageBufferArrayNonUniformIndexing*: VkBool32
5461 shaderStorageImageArrayNonUniformIndexing*: VkBool32
5462 shaderInputAttachmentArrayNonUniformIndexing*: VkBool32
5463 shaderUniformTexelBufferArrayNonUniformIndexing*: VkBool32
5464 shaderStorageTexelBufferArrayNonUniformIndexing*: VkBool32
5465 descriptorBindingUniformBufferUpdateAfterBind*: VkBool32
5466 descriptorBindingSampledImageUpdateAfterBind*: VkBool32
5467 descriptorBindingStorageImageUpdateAfterBind*: VkBool32
5468 descriptorBindingStorageBufferUpdateAfterBind*: VkBool32
5469 descriptorBindingUniformTexelBufferUpdateAfterBind*: VkBool32
5470 descriptorBindingStorageTexelBufferUpdateAfterBind*: VkBool32
5471 descriptorBindingUpdateUnusedWhilePending*: VkBool32
5472 descriptorBindingPartiallyBound*: VkBool32
5473 descriptorBindingVariableDescriptorCount*: VkBool32
5474 runtimeDescriptorArray*: VkBool32
5475 samplerFilterMinmax*: VkBool32
5476 scalarBlockLayout*: VkBool32
5477 imagelessFramebuffer*: VkBool32
5478 uniformBufferStandardLayout*: VkBool32
5479 shaderSubgroupExtendedTypes*: VkBool32
5480 separateDepthStencilLayouts*: VkBool32
5481 hostQueryReset*: VkBool32
5482 timelineSemaphore*: VkBool32
5483 bufferDeviceAddress*: VkBool32
5484 bufferDeviceAddressCaptureReplay*: VkBool32
5485 bufferDeviceAddressMultiDevice*: VkBool32
5486 vulkanMemoryModel*: VkBool32
5487 vulkanMemoryModelDeviceScope*: VkBool32
5488 vulkanMemoryModelAvailabilityVisibilityChains*: VkBool32
5489 shaderOutputViewportIndex*: VkBool32
5490 shaderOutputLayer*: VkBool32
5491 subgroupBroadcastDynamicId*: VkBool32
5492
5493 VkPhysicalDeviceVulkan12Properties* = object
5494 sType*: VkStructureType
5495 pNext*: pointer
5496 driverID*: VkDriverId
5497 driverName*: array[VK_MAX_DRIVER_NAME_SIZE, char]
5498 driverInfo*: array[VK_MAX_DRIVER_INFO_SIZE, char]
5499 conformanceVersion*: VkConformanceVersion
5500 denormBehaviorIndependence*: VkShaderFloatControlsIndependence
5501 roundingModeIndependence*: VkShaderFloatControlsIndependence
5502 shaderSignedZeroInfNanPreserveFloat16*: VkBool32
5503 shaderSignedZeroInfNanPreserveFloat32*: VkBool32
5504 shaderSignedZeroInfNanPreserveFloat64*: VkBool32
5505 shaderDenormPreserveFloat16*: VkBool32
5506 shaderDenormPreserveFloat32*: VkBool32
5507 shaderDenormPreserveFloat64*: VkBool32
5508 shaderDenormFlushToZeroFloat16*: VkBool32
5509 shaderDenormFlushToZeroFloat32*: VkBool32
5510 shaderDenormFlushToZeroFloat64*: VkBool32
5511 shaderRoundingModeRTEFloat16*: VkBool32
5512 shaderRoundingModeRTEFloat32*: VkBool32
5513 shaderRoundingModeRTEFloat64*: VkBool32
5514 shaderRoundingModeRTZFloat16*: VkBool32
5515 shaderRoundingModeRTZFloat32*: VkBool32
5516 shaderRoundingModeRTZFloat64*: VkBool32
5517 maxUpdateAfterBindDescriptorsInAllPools*: uint32
5518 shaderUniformBufferArrayNonUniformIndexingNative*: VkBool32
5519 shaderSampledImageArrayNonUniformIndexingNative*: VkBool32
5520 shaderStorageBufferArrayNonUniformIndexingNative*: VkBool32
5521 shaderStorageImageArrayNonUniformIndexingNative*: VkBool32
5522 shaderInputAttachmentArrayNonUniformIndexingNative*: VkBool32
5523 robustBufferAccessUpdateAfterBind*: VkBool32
5524 quadDivergentImplicitLod*: VkBool32
5525 maxPerStageDescriptorUpdateAfterBindSamplers*: uint32
5526 maxPerStageDescriptorUpdateAfterBindUniformBuffers*: uint32
5527 maxPerStageDescriptorUpdateAfterBindStorageBuffers*: uint32
5528 maxPerStageDescriptorUpdateAfterBindSampledImages*: uint32
5529 maxPerStageDescriptorUpdateAfterBindStorageImages*: uint32
5530 maxPerStageDescriptorUpdateAfterBindInputAttachments*: uint32
5531 maxPerStageUpdateAfterBindResources*: uint32
5532 maxDescriptorSetUpdateAfterBindSamplers*: uint32
5533 maxDescriptorSetUpdateAfterBindUniformBuffers*: uint32
5534 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic*: uint32
5535 maxDescriptorSetUpdateAfterBindStorageBuffers*: uint32
5536 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic*: uint32
5537 maxDescriptorSetUpdateAfterBindSampledImages*: uint32
5538 maxDescriptorSetUpdateAfterBindStorageImages*: uint32
5539 maxDescriptorSetUpdateAfterBindInputAttachments*: uint32
5540 supportedDepthResolveModes*: VkResolveModeFlags
5541 supportedStencilResolveModes*: VkResolveModeFlags
5542 independentResolveNone*: VkBool32
5543 independentResolve*: VkBool32
5544 filterMinmaxSingleComponentFormats*: VkBool32
5545 filterMinmaxImageComponentMapping*: VkBool32
5546 maxTimelineSemaphoreValueDifference*: uint64
5547 framebufferIntegerColorSampleCounts*: VkSampleCountFlags
5548
5549 VkPipelineCompilerControlCreateInfoAMD* = object
5550 sType*: VkStructureType
5551 pNext*: pointer
5552 compilerControlFlags*: VkPipelineCompilerControlFlagsAMD
5553
5554 VkPhysicalDeviceCoherentMemoryFeaturesAMD* = object
5555 sType*: VkStructureType
5556 pNext*: pointer
5557 deviceCoherentMemory*: VkBool32
5558
5559 VkPhysicalDeviceToolPropertiesEXT* = object
5560 sType*: VkStructureType
5561 pNext*: pointer
5562 name*: array[VK_MAX_EXTENSION_NAME_SIZE, char]
5563 version*: array[VK_MAX_EXTENSION_NAME_SIZE, char]
5564 purposes*: VkToolPurposeFlagsEXT
5565 description*: array[VK_MAX_DESCRIPTION_SIZE, char]
5566 layer*: array[VK_MAX_EXTENSION_NAME_SIZE, char]
5567
5568 VkSamplerCustomBorderColorCreateInfoEXT* = object
5569 sType*: VkStructureType
5570 pNext*: pointer
5571 customBorderColor*: VkClearColorValue
5572 format*: VkFormat
5573
5574 VkPhysicalDeviceCustomBorderColorPropertiesEXT* = object
5575 sType*: VkStructureType
5576 pNext*: pointer
5577 maxCustomBorderColorSamplers*: uint32
5578
5579 VkPhysicalDeviceCustomBorderColorFeaturesEXT* = object
5580 sType*: VkStructureType
5581 pNext*: pointer
5582 customBorderColors*: VkBool32
5583 customBorderColorWithoutFormat*: VkBool32
5584
5585 VkDeviceOrHostAddressKHR* {.union.} = object
5586 deviceAddress*: VkDeviceAddress
5587 hostAddress*: pointer
5588
5589 VkDeviceOrHostAddressConstKHR* {.union.} = object
5590 deviceAddress*: VkDeviceAddress
5591 hostAddress*: pointer
5592
5593 VkAccelerationStructureGeometryTrianglesDataKHR* = object
5594 sType*: VkStructureType
5595 pNext*: pointer
5596 vertexFormat*: VkFormat
5597 vertexData*: VkDeviceOrHostAddressConstKHR
5598 vertexStride*: VkDeviceSize
5599 indexType*: VkIndexType
5600 indexData*: VkDeviceOrHostAddressConstKHR
5601 transformData*: VkDeviceOrHostAddressConstKHR
5602
5603 VkAccelerationStructureGeometryAabbsDataKHR* = object
5604 sType*: VkStructureType
5605 pNext*: pointer
5606 data*: VkDeviceOrHostAddressConstKHR
5607 stride*: VkDeviceSize
5608
5609 VkAccelerationStructureGeometryInstancesDataKHR* = object
5610 sType*: VkStructureType
5611 pNext*: pointer
5612 arrayOfPointers*: VkBool32
5613 data*: VkDeviceOrHostAddressConstKHR
5614
5615 VkAccelerationStructureGeometryDataKHR* {.union.} = object
5616 triangles*: VkAccelerationStructureGeometryTrianglesDataKHR
5617 aabbs*: VkAccelerationStructureGeometryAabbsDataKHR
5618 instances*: VkAccelerationStructureGeometryInstancesDataKHR
5619
5620 VkAccelerationStructureGeometryKHR* = object
5621 sType*: VkStructureType
5622 pNext*: pointer
5623 geometryType*: VkGeometryTypeKHR
5624 geometry*: VkAccelerationStructureGeometryDataKHR
5625 flags*: VkGeometryFlagsKHR
5626
5627 VkAccelerationStructureBuildGeometryInfoKHR* = object
5628 sType*: VkStructureType
5629 pNext*: pointer
5630 `type`*: VkAccelerationStructureTypeKHR
5631 flags*: VkBuildAccelerationStructureFlagsKHR
5632 update*: VkBool32
5633 srcAccelerationStructure*: VkAccelerationStructureKHR
5634 dstAccelerationStructure*: VkAccelerationStructureKHR
5635 geometryArrayOfPointers*: VkBool32
5636 geometryCount*: uint32
5637 ppGeometries*: ptr ptr VkAccelerationStructureGeometryKHR
5638 scratchData*: VkDeviceOrHostAddressKHR
5639
5640 VkAccelerationStructureBuildOffsetInfoKHR* = object
5641 primitiveCount*: uint32
5642 primitiveOffset*: uint32
5643 firstVertex*: uint32
5644 transformOffset*: uint32
5645
5646 VkAccelerationStructureCreateGeometryTypeInfoKHR* = object
5647 sType*: VkStructureType
5648 pNext*: pointer
5649 geometryType*: VkGeometryTypeKHR
5650 maxPrimitiveCount*: uint32
5651 indexType*: VkIndexType
5652 maxVertexCount*: uint32
5653 vertexFormat*: VkFormat
5654 allowsTransforms*: VkBool32
5655
5656 VkAccelerationStructureCreateInfoKHR* = object
5657 sType*: VkStructureType
5658 pNext*: pointer
5659 compactedSize*: VkDeviceSize
5660 `type`*: VkAccelerationStructureTypeKHR
5661 flags*: VkBuildAccelerationStructureFlagsKHR
5662 maxGeometryCount*: uint32
5663 pGeometryInfos*: ptr VkAccelerationStructureCreateGeometryTypeInfoKHR
5664 deviceAddress*: VkDeviceAddress
5665
5666 VkAabbPositionsKHR* = object
5667 minX*: float32
5668 minY*: float32
5669 minZ*: float32
5670 maxX*: float32
5671 maxY*: float32
5672 maxZ*: float32
5673
5674 VkAabbPositionsNV* = object
5675
5676 VkTransformMatrixKHR* = object
5677 matrix*: array[3, float32]
5678
5679 VkTransformMatrixNV* = object
5680
5681 VkAccelerationStructureInstanceKHR* = object
5682 transform*: VkTransformMatrixKHR
5683 instanceCustomIndex*: uint32
5684 mask*: uint32
5685 instanceShaderBindingTableRecordOffset*: uint32
5686 flags*: VkGeometryInstanceFlagsKHR
5687 accelerationStructureReference*: uint64
5688
5689 VkAccelerationStructureInstanceNV* = object
5690
5691 VkAccelerationStructureDeviceAddressInfoKHR* = object
5692 sType*: VkStructureType
5693 pNext*: pointer
5694 accelerationStructure*: VkAccelerationStructureKHR
5695
5696 VkAccelerationStructureVersionKHR* = object
5697 sType*: VkStructureType
5698 pNext*: pointer
5699 versionData*: ptr uint8
5700
5701 VkCopyAccelerationStructureInfoKHR* = object
5702 sType*: VkStructureType
5703 pNext*: pointer
5704 src*: VkAccelerationStructureKHR
5705 dst*: VkAccelerationStructureKHR
5706 mode*: VkCopyAccelerationStructureModeKHR
5707
5708 VkCopyAccelerationStructureToMemoryInfoKHR* = object
5709 sType*: VkStructureType
5710 pNext*: pointer
5711 src*: VkAccelerationStructureKHR
5712 dst*: VkDeviceOrHostAddressKHR
5713 mode*: VkCopyAccelerationStructureModeKHR
5714
5715 VkCopyMemoryToAccelerationStructureInfoKHR* = object
5716 sType*: VkStructureType
5717 pNext*: pointer
5718 src*: VkDeviceOrHostAddressConstKHR
5719 dst*: VkAccelerationStructureKHR
5720 mode*: VkCopyAccelerationStructureModeKHR
5721
5722 VkRayTracingPipelineInterfaceCreateInfoKHR* = object
5723 sType*: VkStructureType
5724 pNext*: pointer
5725 maxPayloadSize*: uint32
5726 maxAttributeSize*: uint32
5727 maxCallableSize*: uint32
5728
5729 VkDeferredOperationInfoKHR* = object
5730 sType*: VkStructureType
5731 pNext*: pointer
5732 operationHandle*: VkDeferredOperationKHR
5733
5734 VkPipelineLibraryCreateInfoKHR* = object
5735 sType*: VkStructureType
5736 pNext*: pointer
5737 libraryCount*: uint32
5738 pLibraries*: ptr VkPipeline
5739
5740 VkPhysicalDeviceExtendedDynamicStateFeaturesEXT* = object
5741 sType*: VkStructureType
5742 pNext*: pointer
5743 extendedDynamicState*: VkBool32
5744
5745 VkRenderPassTransformBeginInfoQCOM* = object
5746 sType*: VkStructureType
5747 pNext*: pointer
5748 transform*: VkSurfaceTransformFlagBitsKHR
5749
5750 VkCommandBufferInheritanceRenderPassTransformInfoQCOM* = object
5751 sType*: VkStructureType
5752 pNext*: pointer
5753 transform*: VkSurfaceTransformFlagBitsKHR
5754 renderArea*: VkRect2D
5755
5756 VkPhysicalDeviceDiagnosticsConfigFeaturesNV* = object
5757 sType*: VkStructureType
5758 pNext*: pointer
5759 diagnosticsConfig*: VkBool32
5760
5761 VkDeviceDiagnosticsConfigCreateInfoNV* = object
5762 sType*: VkStructureType
5763 pNext*: pointer
5764 flags*: VkDeviceDiagnosticsConfigFlagsNV
5765
5766 VkPhysicalDeviceRobustness2FeaturesEXT* = object
5767 sType*: VkStructureType
5768 pNext*: pointer
5769 robustBufferAccess2*: VkBool32
5770 robustImageAccess2*: VkBool32
5771 nullDescriptor*: VkBool32
5772
5773 VkPhysicalDeviceRobustness2PropertiesEXT* = object
5774 sType*: VkStructureType
5775 pNext*: pointer
5776 robustStorageBufferAccessSizeAlignment*: VkDeviceSize
5777 robustUniformBufferAccessSizeAlignment*: VkDeviceSize
5778
5779 VkPhysicalDeviceImageRobustnessFeaturesEXT* = object
5780 sType*: VkStructureType
5781 pNext*: pointer
5782 robustImageAccess*: VkBool32
5783
5784 VkPhysicalDevice4444FormatsFeaturesEXT* = object
5785 sType*: VkStructureType
5786 pNext*: pointer
5787 formatA4R4G4B4*: VkBool32
5788 formatA4B4G4R4*: VkBool32
5789
5790 # Constructors
5791
5792 proc newVkOffset2D*(x: int32, y: int32): VkOffset2D =
5793 result.x = x
5794 result.y = y
5795
5796 proc newVkOffset3D*(x: int32, y: int32, z: int32): VkOffset3D =
5797 result.x = x
5798 result.y = y
5799 result.z = z
5800
5801 proc newVkExtent2D*(width: uint32, height: uint32): VkExtent2D =
5802 result.width = width
5803 result.height = height
5804
5805 proc newVkExtent3D*(width: uint32, height: uint32, depth: uint32): VkExtent3D =
5806 result.width = width
5807 result.height = height
5808 result.depth = depth
5809
5810 proc newVkViewport*(x: float32, y: float32, width: float32, height: float32, minDepth: float32, maxDepth: float32): VkViewport =
5811 result.x = x
5812 result.y = y
5813 result.width = width
5814 result.height = height
5815 result.minDepth = minDepth
5816 result.maxDepth = maxDepth
5817
5818 proc newVkRect2D*(offset: VkOffset2D, extent: VkExtent2D): VkRect2D =
5819 result.offset = offset
5820 result.extent = extent
5821
5822 proc newVkClearRect*(rect: VkRect2D, baseArrayLayer: uint32, layerCount: uint32): VkClearRect =
5823 result.rect = rect
5824 result.baseArrayLayer = baseArrayLayer
5825 result.layerCount = layerCount
5826
5827 proc newVkComponentMapping*(r: VkComponentSwizzle, g: VkComponentSwizzle, b: VkComponentSwizzle, a: VkComponentSwizzle): VkComponentMapping =
5828 result.r = r
5829 result.g = g
5830 result.b = b
5831 result.a = a
5832
5833 proc newVkPhysicalDeviceProperties*(apiVersion: uint32, driverVersion: uint32, vendorID: uint32, deviceID: uint32, deviceType: VkPhysicalDeviceType, deviceName: array[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, char], pipelineCacheUUID: array[VK_UUID_SIZE, uint8], limits: VkPhysicalDeviceLimits, sparseProperties: VkPhysicalDeviceSparseProperties): VkPhysicalDeviceProperties =
5834 result.apiVersion = apiVersion
5835 result.driverVersion = driverVersion
5836 result.vendorID = vendorID
5837 result.deviceID = deviceID
5838 result.deviceType = deviceType
5839 result.deviceName = deviceName
5840 result.pipelineCacheUUID = pipelineCacheUUID
5841 result.limits = limits
5842 result.sparseProperties = sparseProperties
5843
5844 proc newVkExtensionProperties*(extensionName: array[VK_MAX_EXTENSION_NAME_SIZE, char], specVersion: uint32): VkExtensionProperties =
5845 result.extensionName = extensionName
5846 result.specVersion = specVersion
5847
5848 proc newVkLayerProperties*(layerName: array[VK_MAX_EXTENSION_NAME_SIZE, char], specVersion: uint32, implementationVersion: uint32, description: array[VK_MAX_DESCRIPTION_SIZE, char]): VkLayerProperties =
5849 result.layerName = layerName
5850 result.specVersion = specVersion
5851 result.implementationVersion = implementationVersion
5852 result.description = description
5853
5854 proc newVkApplicationInfo*(sType: VkStructureType = VkStructureTypeApplicationInfo, pNext: pointer = nil, pApplicationName: cstring, applicationVersion: uint32, pEngineName: cstring, engineVersion: uint32, apiVersion: uint32): VkApplicationInfo =
5855 result.sType = sType
5856 result.pNext = pNext
5857 result.pApplicationName = pApplicationName
5858 result.applicationVersion = applicationVersion
5859 result.pEngineName = pEngineName
5860 result.engineVersion = engineVersion
5861 result.apiVersion = apiVersion
5862
5863 proc newVkAllocationCallbacks*(pUserData: pointer = nil, pfnAllocation: PFN_vkAllocationFunction, pfnReallocation: PFN_vkReallocationFunction, pfnFree: PFN_vkFreeFunction, pfnInternalAllocation: PFN_vkInternalAllocationNotification, pfnInternalFree: PFN_vkInternalFreeNotification): VkAllocationCallbacks =
5864 result.pUserData = pUserData
5865 result.pfnAllocation = pfnAllocation
5866 result.pfnReallocation = pfnReallocation
5867 result.pfnFree = pfnFree
5868 result.pfnInternalAllocation = pfnInternalAllocation
5869 result.pfnInternalFree = pfnInternalFree
5870
5871 proc newVkDeviceQueueCreateInfo*(sType: VkStructureType = VkStructureTypeDeviceQueueCreateInfo, pNext: pointer = nil, flags: VkDeviceQueueCreateFlags = 0.VkDeviceQueueCreateFlags, queueFamilyIndex: uint32, queueCount: uint32, pQueuePriorities: ptr float32): VkDeviceQueueCreateInfo =
5872 result.sType = sType
5873 result.pNext = pNext
5874 result.flags = flags
5875 result.queueFamilyIndex = queueFamilyIndex
5876 result.queueCount = queueCount
5877 result.pQueuePriorities = pQueuePriorities
5878
5879 proc newVkDeviceCreateInfo*(sType: VkStructureType = VkStructureTypeDeviceCreateInfo, pNext: pointer = nil, flags: VkDeviceCreateFlags = 0.VkDeviceCreateFlags, queueCreateInfoCount: uint32, pQueueCreateInfos: ptr VkDeviceQueueCreateInfo, enabledLayerCount: uint32, ppEnabledLayerNames: cstringArray, enabledExtensionCount: uint32, ppEnabledExtensionNames: cstringArray, pEnabledFeatures: ptr VkPhysicalDeviceFeatures): VkDeviceCreateInfo =
5880 result.sType = sType
5881 result.pNext = pNext
5882 result.flags = flags
5883 result.queueCreateInfoCount = queueCreateInfoCount
5884 result.pQueueCreateInfos = pQueueCreateInfos
5885 result.enabledLayerCount = enabledLayerCount
5886 result.ppEnabledLayerNames = ppEnabledLayerNames
5887 result.enabledExtensionCount = enabledExtensionCount
5888 result.ppEnabledExtensionNames = ppEnabledExtensionNames
5889 result.pEnabledFeatures = pEnabledFeatures
5890
5891 proc newVkInstanceCreateInfo*(sType: VkStructureType = VkStructureTypeInstanceCreateInfo, pNext: pointer = nil, flags: VkInstanceCreateFlags = 0.VkInstanceCreateFlags, pApplicationInfo: ptr VkApplicationInfo, enabledLayerCount: uint32, ppEnabledLayerNames: cstringArray, enabledExtensionCount: uint32, ppEnabledExtensionNames: cstringArray): VkInstanceCreateInfo =
5892 result.sType = sType
5893 result.pNext = pNext
5894 result.flags = flags
5895 result.pApplicationInfo = pApplicationInfo
5896 result.enabledLayerCount = enabledLayerCount
5897 result.ppEnabledLayerNames = ppEnabledLayerNames
5898 result.enabledExtensionCount = enabledExtensionCount
5899 result.ppEnabledExtensionNames = ppEnabledExtensionNames
5900
5901 proc newVkQueueFamilyProperties*(queueFlags: VkQueueFlags, queueCount: uint32, timestampValidBits: uint32, minImageTransferGranularity: VkExtent3D): VkQueueFamilyProperties =
5902 result.queueFlags = queueFlags
5903 result.queueCount = queueCount
5904 result.timestampValidBits = timestampValidBits
5905 result.minImageTransferGranularity = minImageTransferGranularity
5906
5907 proc newVkPhysicalDeviceMemoryProperties*(memoryTypeCount: uint32, memoryTypes: array[VK_MAX_MEMORY_TYPES, VkMemoryType], memoryHeapCount: uint32, memoryHeaps: array[VK_MAX_MEMORY_HEAPS, VkMemoryHeap]): VkPhysicalDeviceMemoryProperties =
5908 result.memoryTypeCount = memoryTypeCount
5909 result.memoryTypes = memoryTypes
5910 result.memoryHeapCount = memoryHeapCount
5911 result.memoryHeaps = memoryHeaps
5912
5913 proc newVkMemoryAllocateInfo*(sType: VkStructureType = VkStructureTypeMemoryAllocateInfo, pNext: pointer = nil, allocationSize: VkDeviceSize, memoryTypeIndex: uint32): VkMemoryAllocateInfo =
5914 result.sType = sType
5915 result.pNext = pNext
5916 result.allocationSize = allocationSize
5917 result.memoryTypeIndex = memoryTypeIndex
5918
5919 proc newVkMemoryRequirements*(size: VkDeviceSize, alignment: VkDeviceSize, memoryTypeBits: uint32): VkMemoryRequirements =
5920 result.size = size
5921 result.alignment = alignment
5922 result.memoryTypeBits = memoryTypeBits
5923
5924 proc newVkSparseImageFormatProperties*(aspectMask: VkImageAspectFlags, imageGranularity: VkExtent3D, flags: VkSparseImageFormatFlags = 0.VkSparseImageFormatFlags): VkSparseImageFormatProperties =
5925 result.aspectMask = aspectMask
5926 result.imageGranularity = imageGranularity
5927 result.flags = flags
5928
5929 proc newVkSparseImageMemoryRequirements*(formatProperties: VkSparseImageFormatProperties, imageMipTailFirstLod: uint32, imageMipTailSize: VkDeviceSize, imageMipTailOffset: VkDeviceSize, imageMipTailStride: VkDeviceSize): VkSparseImageMemoryRequirements =
5930 result.formatProperties = formatProperties
5931 result.imageMipTailFirstLod = imageMipTailFirstLod
5932 result.imageMipTailSize = imageMipTailSize
5933 result.imageMipTailOffset = imageMipTailOffset
5934 result.imageMipTailStride = imageMipTailStride
5935
5936 proc newVkMemoryType*(propertyFlags: VkMemoryPropertyFlags, heapIndex: uint32): VkMemoryType =
5937 result.propertyFlags = propertyFlags
5938 result.heapIndex = heapIndex
5939
5940 proc newVkMemoryHeap*(size: VkDeviceSize, flags: VkMemoryHeapFlags = 0.VkMemoryHeapFlags): VkMemoryHeap =
5941 result.size = size
5942 result.flags = flags
5943
5944 proc newVkMappedMemoryRange*(sType: VkStructureType = VkStructureTypeMappedMemoryRange, pNext: pointer = nil, memory: VkDeviceMemory, offset: VkDeviceSize, size: VkDeviceSize): VkMappedMemoryRange =
5945 result.sType = sType
5946 result.pNext = pNext
5947 result.memory = memory
5948 result.offset = offset
5949 result.size = size
5950
5951 proc newVkFormatProperties*(linearTilingFeatures: VkFormatFeatureFlags, optimalTilingFeatures: VkFormatFeatureFlags, bufferFeatures: VkFormatFeatureFlags): VkFormatProperties =
5952 result.linearTilingFeatures = linearTilingFeatures
5953 result.optimalTilingFeatures = optimalTilingFeatures
5954 result.bufferFeatures = bufferFeatures
5955
5956 proc newVkImageFormatProperties*(maxExtent: VkExtent3D, maxMipLevels: uint32, maxArrayLayers: uint32, sampleCounts: VkSampleCountFlags, maxResourceSize: VkDeviceSize): VkImageFormatProperties =
5957 result.maxExtent = maxExtent
5958 result.maxMipLevels = maxMipLevels
5959 result.maxArrayLayers = maxArrayLayers
5960 result.sampleCounts = sampleCounts
5961 result.maxResourceSize = maxResourceSize
5962
5963 proc newVkDescriptorBufferInfo*(buffer: VkBuffer, offset: VkDeviceSize, range: VkDeviceSize): VkDescriptorBufferInfo =
5964 result.buffer = buffer
5965 result.offset = offset
5966 result.range = range
5967
5968 proc newVkDescriptorImageInfo*(sampler: VkSampler, imageView: VkImageView, imageLayout: VkImageLayout): VkDescriptorImageInfo =
5969 result.sampler = sampler
5970 result.imageView = imageView
5971 result.imageLayout = imageLayout
5972
5973 proc newVkWriteDescriptorSet*(sType: VkStructureType = VkStructureTypeWriteDescriptorSet, pNext: pointer = nil, dstSet: VkDescriptorSet, dstBinding: uint32, dstArrayElement: uint32, descriptorCount: uint32, descriptorType: VkDescriptorType, pImageInfo: ptr VkDescriptorImageInfo, pBufferInfo: ptr ptr VkDescriptorBufferInfo, pTexelBufferView: ptr VkBufferView): VkWriteDescriptorSet =
5974 result.sType = sType
5975 result.pNext = pNext
5976 result.dstSet = dstSet
5977 result.dstBinding = dstBinding
5978 result.dstArrayElement = dstArrayElement
5979 result.descriptorCount = descriptorCount
5980 result.descriptorType = descriptorType
5981 result.pImageInfo = pImageInfo
5982 result.pBufferInfo = pBufferInfo
5983 result.pTexelBufferView = pTexelBufferView
5984
5985 proc newVkCopyDescriptorSet*(sType: VkStructureType = VkStructureTypeCopyDescriptorSet, pNext: pointer = nil, srcSet: VkDescriptorSet, srcBinding: uint32, srcArrayElement: uint32, dstSet: VkDescriptorSet, dstBinding: uint32, dstArrayElement: uint32, descriptorCount: uint32): VkCopyDescriptorSet =
5986 result.sType = sType
5987 result.pNext = pNext
5988 result.srcSet = srcSet
5989 result.srcBinding = srcBinding
5990 result.srcArrayElement = srcArrayElement
5991 result.dstSet = dstSet
5992 result.dstBinding = dstBinding
5993 result.dstArrayElement = dstArrayElement
5994 result.descriptorCount = descriptorCount
5995
5996 proc newVkBufferCreateInfo*(sType: VkStructureType = VkStructureTypeBufferCreateInfo, pNext: pointer = nil, flags: VkBufferCreateFlags = 0.VkBufferCreateFlags, size: VkDeviceSize, usage: VkBufferUsageFlags, sharingMode: VkSharingMode, queueFamilyIndexCount: uint32, pQueueFamilyIndices: ptr uint32): VkBufferCreateInfo =
5997 result.sType = sType
5998 result.pNext = pNext
5999 result.flags = flags
6000 result.size = size
6001 result.usage = usage
6002 result.sharingMode = sharingMode
6003 result.queueFamilyIndexCount = queueFamilyIndexCount
6004 result.pQueueFamilyIndices = pQueueFamilyIndices
6005
6006 proc newVkBufferViewCreateInfo*(sType: VkStructureType = VkStructureTypeBufferViewCreateInfo, pNext: pointer = nil, flags: VkBufferViewCreateFlags = 0.VkBufferViewCreateFlags, buffer: VkBuffer, format: VkFormat, offset: VkDeviceSize, range: VkDeviceSize): VkBufferViewCreateInfo =
6007 result.sType = sType
6008 result.pNext = pNext
6009 result.flags = flags
6010 result.buffer = buffer
6011 result.format = format
6012 result.offset = offset
6013 result.range = range
6014
6015 proc newVkImageSubresource*(aspectMask: VkImageAspectFlags, mipLevel: uint32, arrayLayer: uint32): VkImageSubresource =
6016 result.aspectMask = aspectMask
6017 result.mipLevel = mipLevel
6018 result.arrayLayer = arrayLayer
6019
6020 proc newVkImageSubresourceLayers*(aspectMask: VkImageAspectFlags, mipLevel: uint32, baseArrayLayer: uint32, layerCount: uint32): VkImageSubresourceLayers =
6021 result.aspectMask = aspectMask
6022 result.mipLevel = mipLevel
6023 result.baseArrayLayer = baseArrayLayer
6024 result.layerCount = layerCount
6025
6026 proc newVkImageSubresourceRange*(aspectMask: VkImageAspectFlags, baseMipLevel: uint32, levelCount: uint32, baseArrayLayer: uint32, layerCount: uint32): VkImageSubresourceRange =
6027 result.aspectMask = aspectMask
6028 result.baseMipLevel = baseMipLevel
6029 result.levelCount = levelCount
6030 result.baseArrayLayer = baseArrayLayer
6031 result.layerCount = layerCount
6032
6033 proc newVkMemoryBarrier*(sType: VkStructureType = VkStructureTypeMemoryBarrier, pNext: pointer = nil, srcAccessMask: VkAccessFlags, dstAccessMask: VkAccessFlags): VkMemoryBarrier =
6034 result.sType = sType
6035 result.pNext = pNext
6036 result.srcAccessMask = srcAccessMask
6037 result.dstAccessMask = dstAccessMask
6038
6039 proc newVkBufferMemoryBarrier*(sType: VkStructureType = VkStructureTypeBufferMemoryBarrier, pNext: pointer = nil, srcAccessMask: VkAccessFlags, dstAccessMask: VkAccessFlags, srcQueueFamilyIndex: uint32, dstQueueFamilyIndex: uint32, buffer: VkBuffer, offset: VkDeviceSize, size: VkDeviceSize): VkBufferMemoryBarrier =
6040 result.sType = sType
6041 result.pNext = pNext
6042 result.srcAccessMask = srcAccessMask
6043 result.dstAccessMask = dstAccessMask
6044 result.srcQueueFamilyIndex = srcQueueFamilyIndex
6045 result.dstQueueFamilyIndex = dstQueueFamilyIndex
6046 result.buffer = buffer
6047 result.offset = offset
6048 result.size = size
6049
6050 proc newVkImageMemoryBarrier*(sType: VkStructureType = VkStructureTypeImageMemoryBarrier, pNext: pointer = nil, srcAccessMask: VkAccessFlags, dstAccessMask: VkAccessFlags, oldLayout: VkImageLayout, newLayout: VkImageLayout, srcQueueFamilyIndex: uint32, dstQueueFamilyIndex: uint32, image: VkImage, subresourceRange: VkImageSubresourceRange): VkImageMemoryBarrier =
6051 result.sType = sType
6052 result.pNext = pNext
6053 result.srcAccessMask = srcAccessMask
6054 result.dstAccessMask = dstAccessMask
6055 result.oldLayout = oldLayout
6056 result.newLayout = newLayout
6057 result.srcQueueFamilyIndex = srcQueueFamilyIndex
6058 result.dstQueueFamilyIndex = dstQueueFamilyIndex
6059 result.image = image
6060 result.subresourceRange = subresourceRange
6061
6062 proc newVkImageCreateInfo*(sType: VkStructureType = VkStructureTypeImageCreateInfo, pNext: pointer = nil, flags: VkImageCreateFlags = 0.VkImageCreateFlags, imageType: VkImageType, format: VkFormat, extent: VkExtent3D, mipLevels: uint32, arrayLayers: uint32, samples: VkSampleCountFlagBits, tiling: VkImageTiling, usage: VkImageUsageFlags, sharingMode: VkSharingMode, queueFamilyIndexCount: uint32, pQueueFamilyIndices: ptr uint32, initialLayout: VkImageLayout): VkImageCreateInfo =
6063 result.sType = sType
6064 result.pNext = pNext
6065 result.flags = flags
6066 result.imageType = imageType
6067 result.format = format
6068 result.extent = extent
6069 result.mipLevels = mipLevels
6070 result.arrayLayers = arrayLayers
6071 result.samples = samples
6072 result.tiling = tiling
6073 result.usage = usage
6074 result.sharingMode = sharingMode
6075 result.queueFamilyIndexCount = queueFamilyIndexCount
6076 result.pQueueFamilyIndices = pQueueFamilyIndices
6077 result.initialLayout = initialLayout
6078
6079 proc newVkSubresourceLayout*(offset: VkDeviceSize, size: VkDeviceSize, rowPitch: VkDeviceSize, arrayPitch: VkDeviceSize, depthPitch: VkDeviceSize): VkSubresourceLayout =
6080 result.offset = offset
6081 result.size = size
6082 result.rowPitch = rowPitch
6083 result.arrayPitch = arrayPitch
6084 result.depthPitch = depthPitch
6085
6086 proc newVkImageViewCreateInfo*(sType: VkStructureType = VkStructureTypeImageViewCreateInfo, pNext: pointer = nil, flags: VkImageViewCreateFlags = 0.VkImageViewCreateFlags, image: VkImage, viewType: VkImageViewType, format: VkFormat, components: VkComponentMapping, subresourceRange: VkImageSubresourceRange): VkImageViewCreateInfo =
6087 result.sType = sType
6088 result.pNext = pNext
6089 result.flags = flags
6090 result.image = image
6091 result.viewType = viewType
6092 result.format = format
6093 result.components = components
6094 result.subresourceRange = subresourceRange
6095
6096 proc newVkBufferCopy*(srcOffset: VkDeviceSize, dstOffset: VkDeviceSize, size: VkDeviceSize): VkBufferCopy =
6097 result.srcOffset = srcOffset
6098 result.dstOffset = dstOffset
6099 result.size = size
6100
6101 proc newVkSparseMemoryBind*(resourceOffset: VkDeviceSize, size: VkDeviceSize, memory: VkDeviceMemory, memoryOffset: VkDeviceSize, flags: VkSparseMemoryBindFlags = 0.VkSparseMemoryBindFlags): VkSparseMemoryBind =
6102 result.resourceOffset = resourceOffset
6103 result.size = size
6104 result.memory = memory
6105 result.memoryOffset = memoryOffset
6106 result.flags = flags
6107
6108 proc newVkSparseImageMemoryBind*(subresource: VkImageSubresource, offset: VkOffset3D, extent: VkExtent3D, memory: VkDeviceMemory, memoryOffset: VkDeviceSize, flags: VkSparseMemoryBindFlags = 0.VkSparseMemoryBindFlags): VkSparseImageMemoryBind =
6109 result.subresource = subresource
6110 result.offset = offset
6111 result.extent = extent
6112 result.memory = memory
6113 result.memoryOffset = memoryOffset
6114 result.flags = flags
6115
6116 proc newVkSparseBufferMemoryBindInfo*(buffer: VkBuffer, bindCount: uint32, pBinds: ptr VkSparseMemoryBind): VkSparseBufferMemoryBindInfo =
6117 result.buffer = buffer
6118 result.bindCount = bindCount
6119 result.pBinds = pBinds
6120
6121 proc newVkSparseImageOpaqueMemoryBindInfo*(image: VkImage, bindCount: uint32, pBinds: ptr VkSparseMemoryBind): VkSparseImageOpaqueMemoryBindInfo =
6122 result.image = image
6123 result.bindCount = bindCount
6124 result.pBinds = pBinds
6125
6126 proc newVkSparseImageMemoryBindInfo*(image: VkImage, bindCount: uint32, pBinds: ptr VkSparseImageMemoryBind): VkSparseImageMemoryBindInfo =
6127 result.image = image
6128 result.bindCount = bindCount
6129 result.pBinds = pBinds
6130
6131 proc newVkBindSparseInfo*(sType: VkStructureType = VkStructureTypeBindSparseInfo, pNext: pointer = nil, waitSemaphoreCount: uint32, pWaitSemaphores: ptr VkSemaphore, bufferBindCount: uint32, pBufferBinds: ptr VkSparseBufferMemoryBindInfo, imageOpaqueBindCount: uint32, pImageOpaqueBinds: ptr VkSparseImageOpaqueMemoryBindInfo, imageBindCount: uint32, pImageBinds: ptr VkSparseImageMemoryBindInfo, signalSemaphoreCount: uint32, pSignalSemaphores: ptr VkSemaphore): VkBindSparseInfo =
6132 result.sType = sType
6133 result.pNext = pNext
6134 result.waitSemaphoreCount = waitSemaphoreCount
6135 result.pWaitSemaphores = pWaitSemaphores
6136 result.bufferBindCount = bufferBindCount
6137 result.pBufferBinds = pBufferBinds
6138 result.imageOpaqueBindCount = imageOpaqueBindCount
6139 result.pImageOpaqueBinds = pImageOpaqueBinds
6140 result.imageBindCount = imageBindCount
6141 result.pImageBinds = pImageBinds
6142 result.signalSemaphoreCount = signalSemaphoreCount
6143 result.pSignalSemaphores = pSignalSemaphores
6144
6145 proc newVkImageCopy*(srcSubresource: VkImageSubresourceLayers, srcOffset: VkOffset3D, dstSubresource: VkImageSubresourceLayers, dstOffset: VkOffset3D, extent: VkExtent3D): VkImageCopy =
6146 result.srcSubresource = srcSubresource
6147 result.srcOffset = srcOffset
6148 result.dstSubresource = dstSubresource
6149 result.dstOffset = dstOffset
6150 result.extent = extent
6151
6152 proc newVkImageBlit*(srcSubresource: VkImageSubresourceLayers, srcOffsets: array[2, VkOffset3D], dstSubresource: VkImageSubresourceLayers, dstOffsets: array[2, VkOffset3D]): VkImageBlit =
6153 result.srcSubresource = srcSubresource
6154 result.srcOffsets = srcOffsets
6155 result.dstSubresource = dstSubresource
6156 result.dstOffsets = dstOffsets
6157
6158 proc newVkBufferImageCopy*(bufferOffset: VkDeviceSize, bufferRowLength: uint32, bufferImageHeight: uint32, imageSubresource: VkImageSubresourceLayers, imageOffset: VkOffset3D, imageExtent: VkExtent3D): VkBufferImageCopy =
6159 result.bufferOffset = bufferOffset
6160 result.bufferRowLength = bufferRowLength
6161 result.bufferImageHeight = bufferImageHeight
6162 result.imageSubresource = imageSubresource
6163 result.imageOffset = imageOffset
6164 result.imageExtent = imageExtent
6165
6166 proc newVkImageResolve*(srcSubresource: VkImageSubresourceLayers, srcOffset: VkOffset3D, dstSubresource: VkImageSubresourceLayers, dstOffset: VkOffset3D, extent: VkExtent3D): VkImageResolve =
6167 result.srcSubresource = srcSubresource
6168 result.srcOffset = srcOffset
6169 result.dstSubresource = dstSubresource
6170 result.dstOffset = dstOffset
6171 result.extent = extent
6172
6173 proc newVkShaderModuleCreateInfo*(sType: VkStructureType = VkStructureTypeShaderModuleCreateInfo, pNext: pointer = nil, flags: VkShaderModuleCreateFlags = 0.VkShaderModuleCreateFlags, codeSize: uint, pCode: ptr uint32): VkShaderModuleCreateInfo =
6174 result.sType = sType
6175 result.pNext = pNext
6176 result.flags = flags
6177 result.codeSize = codeSize
6178 result.pCode = pCode
6179
6180 proc newVkDescriptorSetLayoutBinding*(binding: uint32, descriptorType: VkDescriptorType, descriptorCount: uint32, stageFlags: VkShaderStageFlags, pImmutableSamplers: ptr VkSampler): VkDescriptorSetLayoutBinding =
6181 result.binding = binding
6182 result.descriptorType = descriptorType
6183 result.descriptorCount = descriptorCount
6184 result.stageFlags = stageFlags
6185 result.pImmutableSamplers = pImmutableSamplers
6186
6187 proc newVkDescriptorSetLayoutCreateInfo*(sType: VkStructureType = VkStructureTypeDescriptorSetLayoutCreateInfo, pNext: pointer = nil, flags: VkDescriptorSetLayoutCreateFlags = 0.VkDescriptorSetLayoutCreateFlags, bindingCount: uint32, pBindings: ptr VkDescriptorSetLayoutBinding): VkDescriptorSetLayoutCreateInfo =
6188 result.sType = sType
6189 result.pNext = pNext
6190 result.flags = flags
6191 result.bindingCount = bindingCount
6192 result.pBindings = pBindings
6193
6194 proc newVkDescriptorPoolSize*(`type`: VkDescriptorType, descriptorCount: uint32): VkDescriptorPoolSize =
6195 result.`type` = `type`
6196 result.descriptorCount = descriptorCount
6197
6198 proc newVkDescriptorPoolCreateInfo*(sType: VkStructureType = VkStructureTypeDescriptorPoolCreateInfo, pNext: pointer = nil, flags: VkDescriptorPoolCreateFlags = 0.VkDescriptorPoolCreateFlags, maxSets: uint32, poolSizeCount: uint32, pPoolSizes: ptr VkDescriptorPoolSize): VkDescriptorPoolCreateInfo =
6199 result.sType = sType
6200 result.pNext = pNext
6201 result.flags = flags
6202 result.maxSets = maxSets
6203 result.poolSizeCount = poolSizeCount
6204 result.pPoolSizes = pPoolSizes
6205
6206 proc newVkDescriptorSetAllocateInfo*(sType: VkStructureType = VkStructureTypeDescriptorSetAllocateInfo, pNext: pointer = nil, descriptorPool: VkDescriptorPool, descriptorSetCount: uint32, pSetLayouts: ptr VkDescriptorSetLayout): VkDescriptorSetAllocateInfo =
6207 result.sType = sType
6208 result.pNext = pNext
6209 result.descriptorPool = descriptorPool
6210 result.descriptorSetCount = descriptorSetCount
6211 result.pSetLayouts = pSetLayouts
6212
6213 proc newVkSpecializationMapEntry*(constantID: uint32, offset: uint32, size: uint): VkSpecializationMapEntry =
6214 result.constantID = constantID
6215 result.offset = offset
6216 result.size = size
6217
6218 proc newVkSpecializationInfo*(mapEntryCount: uint32, pMapEntries: ptr VkSpecializationMapEntry, dataSize: uint, pData: pointer = nil): VkSpecializationInfo =
6219 result.mapEntryCount = mapEntryCount
6220 result.pMapEntries = pMapEntries
6221 result.dataSize = dataSize
6222 result.pData = pData
6223
6224 proc newVkPipelineShaderStageCreateInfo*(sType: VkStructureType = VkStructureTypePipelineShaderStageCreateInfo, pNext: pointer = nil, flags: VkPipelineShaderStageCreateFlags = 0.VkPipelineShaderStageCreateFlags, stage: VkShaderStageFlagBits, module: VkShaderModule, pName: cstring, pSpecializationInfo: ptr VkSpecializationInfo): VkPipelineShaderStageCreateInfo =
6225 result.sType = sType
6226 result.pNext = pNext
6227 result.flags = flags
6228 result.stage = stage
6229 result.module = module
6230 result.pName = pName
6231 result.pSpecializationInfo = pSpecializationInfo
6232
6233 proc newVkComputePipelineCreateInfo*(sType: VkStructureType = VkStructureTypeComputePipelineCreateInfo, pNext: pointer = nil, flags: VkPipelineCreateFlags = 0.VkPipelineCreateFlags, stage: VkPipelineShaderStageCreateInfo, layout: VkPipelineLayout, basePipelineHandle: VkPipeline, basePipelineIndex: int32): VkComputePipelineCreateInfo =
6234 result.sType = sType
6235 result.pNext = pNext
6236 result.flags = flags
6237 result.stage = stage
6238 result.layout = layout
6239 result.basePipelineHandle = basePipelineHandle
6240 result.basePipelineIndex = basePipelineIndex
6241
6242 proc newVkVertexInputBindingDescription*(binding: uint32, stride: uint32, inputRate: VkVertexInputRate): VkVertexInputBindingDescription =
6243 result.binding = binding
6244 result.stride = stride
6245 result.inputRate = inputRate
6246
6247 proc newVkVertexInputAttributeDescription*(location: uint32, binding: uint32, format: VkFormat, offset: uint32): VkVertexInputAttributeDescription =
6248 result.location = location
6249 result.binding = binding
6250 result.format = format
6251 result.offset = offset
6252
6253 proc newVkPipelineVertexInputStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineVertexInputStateCreateInfo, pNext: pointer = nil, flags: VkPipelineVertexInputStateCreateFlags = 0.VkPipelineVertexInputStateCreateFlags, vertexBindingDescriptionCount: uint32, pVertexBindingDescriptions: ptr VkVertexInputBindingDescription, vertexAttributeDescriptionCount: uint32, pVertexAttributeDescriptions: ptr VkVertexInputAttributeDescription): VkPipelineVertexInputStateCreateInfo =
6254 result.sType = sType
6255 result.pNext = pNext
6256 result.flags = flags
6257 result.vertexBindingDescriptionCount = vertexBindingDescriptionCount
6258 result.pVertexBindingDescriptions = pVertexBindingDescriptions
6259 result.vertexAttributeDescriptionCount = vertexAttributeDescriptionCount
6260 result.pVertexAttributeDescriptions = pVertexAttributeDescriptions
6261
6262 proc newVkPipelineInputAssemblyStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineInputAssemblyStateCreateInfo, pNext: pointer = nil, flags: VkPipelineInputAssemblyStateCreateFlags = 0.VkPipelineInputAssemblyStateCreateFlags, topology: VkPrimitiveTopology, primitiveRestartEnable: VkBool32): VkPipelineInputAssemblyStateCreateInfo =
6263 result.sType = sType
6264 result.pNext = pNext
6265 result.flags = flags
6266 result.topology = topology
6267 result.primitiveRestartEnable = primitiveRestartEnable
6268
6269 proc newVkPipelineTessellationStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineTessellationStateCreateInfo, pNext: pointer = nil, flags: VkPipelineTessellationStateCreateFlags = 0.VkPipelineTessellationStateCreateFlags, patchControlPoints: uint32): VkPipelineTessellationStateCreateInfo =
6270 result.sType = sType
6271 result.pNext = pNext
6272 result.flags = flags
6273 result.patchControlPoints = patchControlPoints
6274
6275 proc newVkPipelineViewportStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineViewportStateCreateInfo, pNext: pointer = nil, flags: VkPipelineViewportStateCreateFlags = 0.VkPipelineViewportStateCreateFlags, viewportCount: uint32, pViewports: ptr VkViewport, scissorCount: uint32, pScissors: ptr VkRect2D): VkPipelineViewportStateCreateInfo =
6276 result.sType = sType
6277 result.pNext = pNext
6278 result.flags = flags
6279 result.viewportCount = viewportCount
6280 result.pViewports = pViewports
6281 result.scissorCount = scissorCount
6282 result.pScissors = pScissors
6283
6284 proc newVkPipelineRasterizationStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineRasterizationStateCreateInfo, pNext: pointer = nil, flags: VkPipelineRasterizationStateCreateFlags = 0.VkPipelineRasterizationStateCreateFlags, depthClampEnable: VkBool32, rasterizerDiscardEnable: VkBool32, polygonMode: VkPolygonMode, cullMode: VkCullModeFlags, frontFace: VkFrontFace, depthBiasEnable: VkBool32, depthBiasConstantFactor: float32, depthBiasClamp: float32, depthBiasSlopeFactor: float32, lineWidth: float32): VkPipelineRasterizationStateCreateInfo =
6285 result.sType = sType
6286 result.pNext = pNext
6287 result.flags = flags
6288 result.depthClampEnable = depthClampEnable
6289 result.rasterizerDiscardEnable = rasterizerDiscardEnable
6290 result.polygonMode = polygonMode
6291 result.cullMode = cullMode
6292 result.frontFace = frontFace
6293 result.depthBiasEnable = depthBiasEnable
6294 result.depthBiasConstantFactor = depthBiasConstantFactor
6295 result.depthBiasClamp = depthBiasClamp
6296 result.depthBiasSlopeFactor = depthBiasSlopeFactor
6297 result.lineWidth = lineWidth
6298
6299 proc newVkPipelineMultisampleStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineMultisampleStateCreateInfo, pNext: pointer = nil, flags: VkPipelineMultisampleStateCreateFlags = 0.VkPipelineMultisampleStateCreateFlags, rasterizationSamples: VkSampleCountFlagBits, sampleShadingEnable: VkBool32, minSampleShading: float32, pSampleMask: ptr VkSampleMask, alphaToCoverageEnable: VkBool32, alphaToOneEnable: VkBool32): VkPipelineMultisampleStateCreateInfo =
6300 result.sType = sType
6301 result.pNext = pNext
6302 result.flags = flags
6303 result.rasterizationSamples = rasterizationSamples
6304 result.sampleShadingEnable = sampleShadingEnable
6305 result.minSampleShading = minSampleShading
6306 result.pSampleMask = pSampleMask
6307 result.alphaToCoverageEnable = alphaToCoverageEnable
6308 result.alphaToOneEnable = alphaToOneEnable
6309
6310 proc newVkPipelineColorBlendAttachmentState*(blendEnable: VkBool32, srcColorBlendFactor: VkBlendFactor, dstColorBlendFactor: VkBlendFactor, colorBlendOp: VkBlendOp, srcAlphaBlendFactor: VkBlendFactor, dstAlphaBlendFactor: VkBlendFactor, alphaBlendOp: VkBlendOp, colorWriteMask: VkColorComponentFlags): VkPipelineColorBlendAttachmentState =
6311 result.blendEnable = blendEnable
6312 result.srcColorBlendFactor = srcColorBlendFactor
6313 result.dstColorBlendFactor = dstColorBlendFactor
6314 result.colorBlendOp = colorBlendOp
6315 result.srcAlphaBlendFactor = srcAlphaBlendFactor
6316 result.dstAlphaBlendFactor = dstAlphaBlendFactor
6317 result.alphaBlendOp = alphaBlendOp
6318 result.colorWriteMask = colorWriteMask
6319
6320 proc newVkPipelineColorBlendStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineColorBlendStateCreateInfo, pNext: pointer = nil, flags: VkPipelineColorBlendStateCreateFlags = 0.VkPipelineColorBlendStateCreateFlags, logicOpEnable: VkBool32, logicOp: VkLogicOp, attachmentCount: uint32, pAttachments: ptr VkPipelineColorBlendAttachmentState, blendConstants: array[4, float32]): VkPipelineColorBlendStateCreateInfo =
6321 result.sType = sType
6322 result.pNext = pNext
6323 result.flags = flags
6324 result.logicOpEnable = logicOpEnable
6325 result.logicOp = logicOp
6326 result.attachmentCount = attachmentCount
6327 result.pAttachments = pAttachments
6328 result.blendConstants = blendConstants
6329
6330 proc newVkPipelineDynamicStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineDynamicStateCreateInfo, pNext: pointer = nil, flags: VkPipelineDynamicStateCreateFlags = 0.VkPipelineDynamicStateCreateFlags, dynamicStateCount: uint32, pDynamicStates: ptr VkDynamicState): VkPipelineDynamicStateCreateInfo =
6331 result.sType = sType
6332 result.pNext = pNext
6333 result.flags = flags
6334 result.dynamicStateCount = dynamicStateCount
6335 result.pDynamicStates = pDynamicStates
6336
6337 proc newVkStencilOpState*(failOp: VkStencilOp, passOp: VkStencilOp, depthFailOp: VkStencilOp, compareOp: VkCompareOp, compareMask: uint32, writeMask: uint32, reference: uint32): VkStencilOpState =
6338 result.failOp = failOp
6339 result.passOp = passOp
6340 result.depthFailOp = depthFailOp
6341 result.compareOp = compareOp
6342 result.compareMask = compareMask
6343 result.writeMask = writeMask
6344 result.reference = reference
6345
6346 proc newVkPipelineDepthStencilStateCreateInfo*(sType: VkStructureType = VkStructureTypePipelineDepthStencilStateCreateInfo, pNext: pointer = nil, flags: VkPipelineDepthStencilStateCreateFlags = 0.VkPipelineDepthStencilStateCreateFlags, depthTestEnable: VkBool32, depthWriteEnable: VkBool32, depthCompareOp: VkCompareOp, depthBoundsTestEnable: VkBool32, stencilTestEnable: VkBool32, front: VkStencilOpState, back: VkStencilOpState, minDepthBounds: float32, maxDepthBounds: float32): VkPipelineDepthStencilStateCreateInfo =
6347 result.sType = sType
6348 result.pNext = pNext
6349 result.flags = flags
6350 result.depthTestEnable = depthTestEnable
6351 result.depthWriteEnable = depthWriteEnable
6352 result.depthCompareOp = depthCompareOp
6353 result.depthBoundsTestEnable = depthBoundsTestEnable
6354 result.stencilTestEnable = stencilTestEnable
6355 result.front = front
6356 result.back = back
6357 result.minDepthBounds = minDepthBounds
6358 result.maxDepthBounds = maxDepthBounds
6359
6360 proc newVkGraphicsPipelineCreateInfo*(sType: VkStructureType = VkStructureTypeGraphicsPipelineCreateInfo, pNext: pointer = nil, flags: VkPipelineCreateFlags = 0.VkPipelineCreateFlags, stageCount: uint32, pStages: ptr VkPipelineShaderStageCreateInfo, pVertexInputState: ptr VkPipelineVertexInputStateCreateInfo, pInputAssemblyState: ptr VkPipelineInputAssemblyStateCreateInfo, pTessellationState: ptr VkPipelineTessellationStateCreateInfo, pViewportState: ptr VkPipelineViewportStateCreateInfo, pRasterizationState: ptr VkPipelineRasterizationStateCreateInfo, pMultisampleState: ptr VkPipelineMultisampleStateCreateInfo, pDepthStencilState: ptr VkPipelineDepthStencilStateCreateInfo, pColorBlendState: ptr VkPipelineColorBlendStateCreateInfo, pDynamicState: ptr VkPipelineDynamicStateCreateInfo, layout: VkPipelineLayout, renderPass: VkRenderPass, subpass: uint32, basePipelineHandle: VkPipeline, basePipelineIndex: int32): VkGraphicsPipelineCreateInfo =
6361 result.sType = sType
6362 result.pNext = pNext
6363 result.flags = flags
6364 result.stageCount = stageCount
6365 result.pStages = pStages
6366 result.pVertexInputState = pVertexInputState
6367 result.pInputAssemblyState = pInputAssemblyState
6368 result.pTessellationState = pTessellationState
6369 result.pViewportState = pViewportState
6370 result.pRasterizationState = pRasterizationState
6371 result.pMultisampleState = pMultisampleState
6372 result.pDepthStencilState = pDepthStencilState
6373 result.pColorBlendState = pColorBlendState
6374 result.pDynamicState = pDynamicState
6375 result.layout = layout
6376 result.renderPass = renderPass
6377 result.subpass = subpass
6378 result.basePipelineHandle = basePipelineHandle
6379 result.basePipelineIndex = basePipelineIndex
6380
6381 proc newVkPipelineCacheCreateInfo*(sType: VkStructureType = VkStructureTypePipelineCacheCreateInfo, pNext: pointer = nil, flags: VkPipelineCacheCreateFlags = 0.VkPipelineCacheCreateFlags, initialDataSize: uint, pInitialData: pointer = nil): VkPipelineCacheCreateInfo =
6382 result.sType = sType
6383 result.pNext = pNext
6384 result.flags = flags
6385 result.initialDataSize = initialDataSize
6386 result.pInitialData = pInitialData
6387
6388 proc newVkPushConstantRange*(stageFlags: VkShaderStageFlags, offset: uint32, size: uint32): VkPushConstantRange =
6389 result.stageFlags = stageFlags
6390 result.offset = offset
6391 result.size = size
6392
6393 proc newVkPipelineLayoutCreateInfo*(sType: VkStructureType = VkStructureTypePipelineLayoutCreateInfo, pNext: pointer = nil, flags: VkPipelineLayoutCreateFlags = 0.VkPipelineLayoutCreateFlags, setLayoutCount: uint32, pSetLayouts: ptr VkDescriptorSetLayout, pushConstantRangeCount: uint32, pPushConstantRanges: ptr VkPushConstantRange): VkPipelineLayoutCreateInfo =
6394 result.sType = sType
6395 result.pNext = pNext
6396 result.flags = flags
6397 result.setLayoutCount = setLayoutCount
6398 result.pSetLayouts = pSetLayouts
6399 result.pushConstantRangeCount = pushConstantRangeCount
6400 result.pPushConstantRanges = pPushConstantRanges
6401
6402 proc newVkSamplerCreateInfo*(sType: VkStructureType = VkStructureTypeSamplerCreateInfo, pNext: pointer = nil, flags: VkSamplerCreateFlags = 0.VkSamplerCreateFlags, magFilter: VkFilter, minFilter: VkFilter, mipmapMode: VkSamplerMipmapMode, addressModeU: VkSamplerAddressMode, addressModeV: VkSamplerAddressMode, addressModeW: VkSamplerAddressMode, mipLodBias: float32, anisotropyEnable: VkBool32, maxAnisotropy: float32, compareEnable: VkBool32, compareOp: VkCompareOp, minLod: float32, maxLod: float32, borderColor: VkBorderColor, unnormalizedCoordinates: VkBool32): VkSamplerCreateInfo =
6403 result.sType = sType
6404 result.pNext = pNext
6405 result.flags = flags
6406 result.magFilter = magFilter
6407 result.minFilter = minFilter
6408 result.mipmapMode = mipmapMode
6409 result.addressModeU = addressModeU
6410 result.addressModeV = addressModeV
6411 result.addressModeW = addressModeW
6412 result.mipLodBias = mipLodBias
6413 result.anisotropyEnable = anisotropyEnable
6414 result.maxAnisotropy = maxAnisotropy
6415 result.compareEnable = compareEnable
6416 result.compareOp = compareOp
6417 result.minLod = minLod
6418 result.maxLod = maxLod
6419 result.borderColor = borderColor
6420 result.unnormalizedCoordinates = unnormalizedCoordinates
6421
6422 proc newVkCommandPoolCreateInfo*(sType: VkStructureType = VkStructureTypeCommandPoolCreateInfo, pNext: pointer = nil, flags: VkCommandPoolCreateFlags = 0.VkCommandPoolCreateFlags, queueFamilyIndex: uint32): VkCommandPoolCreateInfo =
6423 result.sType = sType
6424 result.pNext = pNext
6425 result.flags = flags
6426 result.queueFamilyIndex = queueFamilyIndex
6427
6428 proc newVkCommandBufferAllocateInfo*(sType: VkStructureType = VkStructureTypeCommandBufferAllocateInfo, pNext: pointer = nil, commandPool: VkCommandPool, level: VkCommandBufferLevel, commandBufferCount: uint32): VkCommandBufferAllocateInfo =
6429 result.sType = sType
6430 result.pNext = pNext
6431 result.commandPool = commandPool
6432 result.level = level
6433 result.commandBufferCount = commandBufferCount
6434
6435 proc newVkCommandBufferInheritanceInfo*(sType: VkStructureType = VkStructureTypeCommandBufferInheritanceInfo, pNext: pointer = nil, renderPass: VkRenderPass, subpass: uint32, framebuffer: VkFramebuffer, occlusionQueryEnable: VkBool32, queryFlags: VkQueryControlFlags, pipelineStatistics: VkQueryPipelineStatisticFlags): VkCommandBufferInheritanceInfo =
6436 result.sType = sType
6437 result.pNext = pNext
6438 result.renderPass = renderPass
6439 result.subpass = subpass
6440 result.framebuffer = framebuffer
6441 result.occlusionQueryEnable = occlusionQueryEnable
6442 result.queryFlags = queryFlags
6443 result.pipelineStatistics = pipelineStatistics
6444
6445 proc newVkCommandBufferBeginInfo*(sType: VkStructureType = VkStructureTypeCommandBufferBeginInfo, pNext: pointer = nil, flags: VkCommandBufferUsageFlags = 0.VkCommandBufferUsageFlags, pInheritanceInfo: ptr VkCommandBufferInheritanceInfo): VkCommandBufferBeginInfo =
6446 result.sType = sType
6447 result.pNext = pNext
6448 result.flags = flags
6449 result.pInheritanceInfo = pInheritanceInfo
6450
6451 proc newVkRenderPassBeginInfo*(sType: VkStructureType = VkStructureTypeRenderPassBeginInfo, pNext: pointer = nil, renderPass: VkRenderPass, framebuffer: VkFramebuffer, renderArea: VkRect2D, clearValueCount: uint32, pClearValues: ptr VkClearValue): VkRenderPassBeginInfo =
6452 result.sType = sType
6453 result.pNext = pNext
6454 result.renderPass = renderPass
6455 result.framebuffer = framebuffer
6456 result.renderArea = renderArea
6457 result.clearValueCount = clearValueCount
6458 result.pClearValues = pClearValues
6459
6460 proc newVkClearDepthStencilValue*(depth: float32, stencil: uint32): VkClearDepthStencilValue =
6461 result.depth = depth
6462 result.stencil = stencil
6463
6464 proc newVkClearAttachment*(aspectMask: VkImageAspectFlags, colorAttachment: uint32, clearValue: VkClearValue): VkClearAttachment =
6465 result.aspectMask = aspectMask
6466 result.colorAttachment = colorAttachment
6467 result.clearValue = clearValue
6468
6469 proc newVkAttachmentDescription*(flags: VkAttachmentDescriptionFlags = 0.VkAttachmentDescriptionFlags, format: VkFormat, samples: VkSampleCountFlagBits, loadOp: VkAttachmentLoadOp, storeOp: VkAttachmentStoreOp, stencilLoadOp: VkAttachmentLoadOp, stencilStoreOp: VkAttachmentStoreOp, initialLayout: VkImageLayout, finalLayout: VkImageLayout): VkAttachmentDescription =
6470 result.flags = flags
6471 result.format = format
6472 result.samples = samples
6473 result.loadOp = loadOp
6474 result.storeOp = storeOp
6475 result.stencilLoadOp = stencilLoadOp
6476 result.stencilStoreOp = stencilStoreOp
6477 result.initialLayout = initialLayout
6478 result.finalLayout = finalLayout
6479
6480 proc newVkAttachmentReference*(attachment: uint32, layout: VkImageLayout): VkAttachmentReference =
6481 result.attachment = attachment
6482 result.layout = layout
6483
6484 proc newVkSubpassDescription*(flags: VkSubpassDescriptionFlags = 0.VkSubpassDescriptionFlags, pipelineBindPoint: VkPipelineBindPoint, inputAttachmentCount: uint32, pInputAttachments: ptr VkAttachmentReference, colorAttachmentCount: uint32, pColorAttachments: ptr VkAttachmentReference, pResolveAttachments: ptr VkAttachmentReference, pDepthStencilAttachment: ptr VkAttachmentReference, preserveAttachmentCount: uint32, pPreserveAttachments: ptr uint32): VkSubpassDescription =
6485 result.flags = flags
6486 result.pipelineBindPoint = pipelineBindPoint
6487 result.inputAttachmentCount = inputAttachmentCount
6488 result.pInputAttachments = pInputAttachments
6489 result.colorAttachmentCount = colorAttachmentCount
6490 result.pColorAttachments = pColorAttachments
6491 result.pResolveAttachments = pResolveAttachments
6492 result.pDepthStencilAttachment = pDepthStencilAttachment
6493 result.preserveAttachmentCount = preserveAttachmentCount
6494 result.pPreserveAttachments = pPreserveAttachments
6495
6496 proc newVkSubpassDependency*(srcSubpass: uint32, dstSubpass: uint32, srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, srcAccessMask: VkAccessFlags, dstAccessMask: VkAccessFlags, dependencyFlags: VkDependencyFlags): VkSubpassDependency =
6497 result.srcSubpass = srcSubpass
6498 result.dstSubpass = dstSubpass
6499 result.srcStageMask = srcStageMask
6500 result.dstStageMask = dstStageMask
6501 result.srcAccessMask = srcAccessMask
6502 result.dstAccessMask = dstAccessMask
6503 result.dependencyFlags = dependencyFlags
6504
6505 proc newVkRenderPassCreateInfo*(sType: VkStructureType = VkStructureTypeRenderPassCreateInfo, pNext: pointer = nil, flags: VkRenderPassCreateFlags = 0.VkRenderPassCreateFlags, attachmentCount: uint32, pAttachments: ptr VkAttachmentDescription, subpassCount: uint32, pSubpasses: ptr VkSubpassDescription, dependencyCount: uint32, pDependencies: ptr VkSubpassDependency): VkRenderPassCreateInfo =
6506 result.sType = sType
6507 result.pNext = pNext
6508 result.flags = flags
6509 result.attachmentCount = attachmentCount
6510 result.pAttachments = pAttachments
6511 result.subpassCount = subpassCount
6512 result.pSubpasses = pSubpasses
6513 result.dependencyCount = dependencyCount
6514 result.pDependencies = pDependencies
6515
6516 proc newVkEventCreateInfo*(sType: VkStructureType = VkStructureTypeEventCreateInfo, pNext: pointer = nil, flags: VkEventCreateFlags = 0.VkEventCreateFlags): VkEventCreateInfo =
6517 result.sType = sType
6518 result.pNext = pNext
6519 result.flags = flags
6520
6521 proc newVkFenceCreateInfo*(sType: VkStructureType = VkStructureTypeFenceCreateInfo, pNext: pointer = nil, flags: VkFenceCreateFlags = 0.VkFenceCreateFlags): VkFenceCreateInfo =
6522 result.sType = sType
6523 result.pNext = pNext
6524 result.flags = flags
6525
6526 proc newVkPhysicalDeviceFeatures*(robustBufferAccess: VkBool32, fullDrawIndexUint32: VkBool32, imageCubeArray: VkBool32, independentBlend: VkBool32, geometryShader: VkBool32, tessellationShader: VkBool32, sampleRateShading: VkBool32, dualSrcBlend: VkBool32, logicOp: VkBool32, multiDrawIndirect: VkBool32, drawIndirectFirstInstance: VkBool32, depthClamp: VkBool32, depthBiasClamp: VkBool32, fillModeNonSolid: VkBool32, depthBounds: VkBool32, wideLines: VkBool32, largePoints: VkBool32, alphaToOne: VkBool32, multiViewport: VkBool32, samplerAnisotropy: VkBool32, textureCompressionETC2: VkBool32, textureCompressionASTC_LDR: VkBool32, textureCompressionBC: VkBool32, occlusionQueryPrecise: VkBool32, pipelineStatisticsQuery: VkBool32, vertexPipelineStoresAndAtomics: VkBool32, fragmentStoresAndAtomics: VkBool32, shaderTessellationAndGeometryPointSize: VkBool32, shaderImageGatherExtended: VkBool32, shaderStorageImageExtendedFormats: VkBool32, shaderStorageImageMultisample: VkBool32, shaderStorageImageReadWithoutFormat: VkBool32, shaderStorageImageWriteWithoutFormat: VkBool32, shaderUniformBufferArrayDynamicIndexing: VkBool32, shaderSampledImageArrayDynamicIndexing: VkBool32, shaderStorageBufferArrayDynamicIndexing: VkBool32, shaderStorageImageArrayDynamicIndexing: VkBool32, shaderClipDistance: VkBool32, shaderCullDistance: VkBool32, shaderFloat64: VkBool32, shaderInt64: VkBool32, shaderInt16: VkBool32, shaderResourceResidency: VkBool32, shaderResourceMinLod: VkBool32, sparseBinding: VkBool32, sparseResidencyBuffer: VkBool32, sparseResidencyImage2D: VkBool32, sparseResidencyImage3D: VkBool32, sparseResidency2Samples: VkBool32, sparseResidency4Samples: VkBool32, sparseResidency8Samples: VkBool32, sparseResidency16Samples: VkBool32, sparseResidencyAliased: VkBool32, variableMultisampleRate: VkBool32, inheritedQueries: VkBool32): VkPhysicalDeviceFeatures =
6527 result.robustBufferAccess = robustBufferAccess
6528 result.fullDrawIndexUint32 = fullDrawIndexUint32
6529 result.imageCubeArray = imageCubeArray
6530 result.independentBlend = independentBlend
6531 result.geometryShader = geometryShader
6532 result.tessellationShader = tessellationShader
6533 result.sampleRateShading = sampleRateShading
6534 result.dualSrcBlend = dualSrcBlend
6535 result.logicOp = logicOp
6536 result.multiDrawIndirect = multiDrawIndirect
6537 result.drawIndirectFirstInstance = drawIndirectFirstInstance
6538 result.depthClamp = depthClamp
6539 result.depthBiasClamp = depthBiasClamp
6540 result.fillModeNonSolid = fillModeNonSolid
6541 result.depthBounds = depthBounds
6542 result.wideLines = wideLines
6543 result.largePoints = largePoints
6544 result.alphaToOne = alphaToOne
6545 result.multiViewport = multiViewport
6546 result.samplerAnisotropy = samplerAnisotropy
6547 result.textureCompressionETC2 = textureCompressionETC2
6548 result.textureCompressionASTC_LDR = textureCompressionASTC_LDR
6549 result.textureCompressionBC = textureCompressionBC
6550 result.occlusionQueryPrecise = occlusionQueryPrecise
6551 result.pipelineStatisticsQuery = pipelineStatisticsQuery
6552 result.vertexPipelineStoresAndAtomics = vertexPipelineStoresAndAtomics
6553 result.fragmentStoresAndAtomics = fragmentStoresAndAtomics
6554 result.shaderTessellationAndGeometryPointSize = shaderTessellationAndGeometryPointSize
6555 result.shaderImageGatherExtended = shaderImageGatherExtended
6556 result.shaderStorageImageExtendedFormats = shaderStorageImageExtendedFormats
6557 result.shaderStorageImageMultisample = shaderStorageImageMultisample
6558 result.shaderStorageImageReadWithoutFormat = shaderStorageImageReadWithoutFormat
6559 result.shaderStorageImageWriteWithoutFormat = shaderStorageImageWriteWithoutFormat
6560 result.shaderUniformBufferArrayDynamicIndexing = shaderUniformBufferArrayDynamicIndexing
6561 result.shaderSampledImageArrayDynamicIndexing = shaderSampledImageArrayDynamicIndexing
6562 result.shaderStorageBufferArrayDynamicIndexing = shaderStorageBufferArrayDynamicIndexing
6563 result.shaderStorageImageArrayDynamicIndexing = shaderStorageImageArrayDynamicIndexing
6564 result.shaderClipDistance = shaderClipDistance
6565 result.shaderCullDistance = shaderCullDistance
6566 result.shaderFloat64 = shaderFloat64
6567 result.shaderInt64 = shaderInt64
6568 result.shaderInt16 = shaderInt16
6569 result.shaderResourceResidency = shaderResourceResidency
6570 result.shaderResourceMinLod = shaderResourceMinLod
6571 result.sparseBinding = sparseBinding
6572 result.sparseResidencyBuffer = sparseResidencyBuffer
6573 result.sparseResidencyImage2D = sparseResidencyImage2D
6574 result.sparseResidencyImage3D = sparseResidencyImage3D
6575 result.sparseResidency2Samples = sparseResidency2Samples
6576 result.sparseResidency4Samples = sparseResidency4Samples
6577 result.sparseResidency8Samples = sparseResidency8Samples
6578 result.sparseResidency16Samples = sparseResidency16Samples
6579 result.sparseResidencyAliased = sparseResidencyAliased
6580 result.variableMultisampleRate = variableMultisampleRate
6581 result.inheritedQueries = inheritedQueries
6582
6583 proc newVkPhysicalDeviceSparseProperties*(residencyStandard2DBlockShape: VkBool32, residencyStandard2DMultisampleBlockShape: VkBool32, residencyStandard3DBlockShape: VkBool32, residencyAlignedMipSize: VkBool32, residencyNonResidentStrict: VkBool32): VkPhysicalDeviceSparseProperties =
6584 result.residencyStandard2DBlockShape = residencyStandard2DBlockShape
6585 result.residencyStandard2DMultisampleBlockShape = residencyStandard2DMultisampleBlockShape
6586 result.residencyStandard3DBlockShape = residencyStandard3DBlockShape
6587 result.residencyAlignedMipSize = residencyAlignedMipSize
6588 result.residencyNonResidentStrict = residencyNonResidentStrict
6589
6590 proc newVkPhysicalDeviceLimits*(maxImageDimension1D: uint32, maxImageDimension2D: uint32, maxImageDimension3D: uint32, maxImageDimensionCube: uint32, maxImageArrayLayers: uint32, maxTexelBufferElements: uint32, maxUniformBufferRange: uint32, maxStorageBufferRange: uint32, maxPushConstantsSize: uint32, maxMemoryAllocationCount: uint32, maxSamplerAllocationCount: uint32, bufferImageGranularity: VkDeviceSize, sparseAddressSpaceSize: VkDeviceSize, maxBoundDescriptorSets: uint32, maxPerStageDescriptorSamplers: uint32, maxPerStageDescriptorUniformBuffers: uint32, maxPerStageDescriptorStorageBuffers: uint32, maxPerStageDescriptorSampledImages: uint32, maxPerStageDescriptorStorageImages: uint32, maxPerStageDescriptorInputAttachments: uint32, maxPerStageResources: uint32, maxDescriptorSetSamplers: uint32, maxDescriptorSetUniformBuffers: uint32, maxDescriptorSetUniformBuffersDynamic: uint32, maxDescriptorSetStorageBuffers: uint32, maxDescriptorSetStorageBuffersDynamic: uint32, maxDescriptorSetSampledImages: uint32, maxDescriptorSetStorageImages: uint32, maxDescriptorSetInputAttachments: uint32, maxVertexInputAttributes: uint32, maxVertexInputBindings: uint32, maxVertexInputAttributeOffset: uint32, maxVertexInputBindingStride: uint32, maxVertexOutputComponents: uint32, maxTessellationGenerationLevel: uint32, maxTessellationPatchSize: uint32, maxTessellationControlPerVertexInputComponents: uint32, maxTessellationControlPerVertexOutputComponents: uint32, maxTessellationControlPerPatchOutputComponents: uint32, maxTessellationControlTotalOutputComponents: uint32, maxTessellationEvaluationInputComponents: uint32, maxTessellationEvaluationOutputComponents: uint32, maxGeometryShaderInvocations: uint32, maxGeometryInputComponents: uint32, maxGeometryOutputComponents: uint32, maxGeometryOutputVertices: uint32, maxGeometryTotalOutputComponents: uint32, maxFragmentInputComponents: uint32, maxFragmentOutputAttachments: uint32, maxFragmentDualSrcAttachments: uint32, maxFragmentCombinedOutputResources: uint32, maxComputeSharedMemorySize: uint32, maxComputeWorkGroupCount: array[3, uint32], maxComputeWorkGroupInvocations: uint32, maxComputeWorkGroupSize: array[3, uint32], subPixelPrecisionBits: uint32, subTexelPrecisionBits: uint32, mipmapPrecisionBits: uint32, maxDrawIndexedIndexValue: uint32, maxDrawIndirectCount: uint32, maxSamplerLodBias: float32, maxSamplerAnisotropy: float32, maxViewports: uint32, maxViewportDimensions: array[2, uint32], viewportBoundsRange: array[2, float32], viewportSubPixelBits: uint32, minMemoryMapAlignment: uint, minTexelBufferOffsetAlignment: VkDeviceSize, minUniformBufferOffsetAlignment: VkDeviceSize, minStorageBufferOffsetAlignment: VkDeviceSize, minTexelOffset: int32, maxTexelOffset: uint32, minTexelGatherOffset: int32, maxTexelGatherOffset: uint32, minInterpolationOffset: float32, maxInterpolationOffset: float32, subPixelInterpolationOffsetBits: uint32, maxFramebufferWidth: uint32, maxFramebufferHeight: uint32, maxFramebufferLayers: uint32, framebufferColorSampleCounts: VkSampleCountFlags, framebufferDepthSampleCounts: VkSampleCountFlags, framebufferStencilSampleCounts: VkSampleCountFlags, framebufferNoAttachmentsSampleCounts: VkSampleCountFlags, maxColorAttachments: uint32, sampledImageColorSampleCounts: VkSampleCountFlags, sampledImageIntegerSampleCounts: VkSampleCountFlags, sampledImageDepthSampleCounts: VkSampleCountFlags, sampledImageStencilSampleCounts: VkSampleCountFlags, storageImageSampleCounts: VkSampleCountFlags, maxSampleMaskWords: uint32, timestampComputeAndGraphics: VkBool32, timestampPeriod: float32, maxClipDistances: uint32, maxCullDistances: uint32, maxCombinedClipAndCullDistances: uint32, discreteQueuePriorities: uint32, pointSizeRange: array[2, float32], lineWidthRange: array[2, float32], pointSizeGranularity: float32, lineWidthGranularity: float32, strictLines: VkBool32, standardSampleLocations: VkBool32, optimalBufferCopyOffsetAlignment: VkDeviceSize, optimalBufferCopyRowPitchAlignment: VkDeviceSize, nonCoherentAtomSize: VkDeviceSize): VkPhysicalDeviceLimits =
6591 result.maxImageDimension1D = maxImageDimension1D
6592 result.maxImageDimension2D = maxImageDimension2D
6593 result.maxImageDimension3D = maxImageDimension3D
6594 result.maxImageDimensionCube = maxImageDimensionCube
6595 result.maxImageArrayLayers = maxImageArrayLayers
6596 result.maxTexelBufferElements = maxTexelBufferElements
6597 result.maxUniformBufferRange = maxUniformBufferRange
6598 result.maxStorageBufferRange = maxStorageBufferRange
6599 result.maxPushConstantsSize = maxPushConstantsSize
6600 result.maxMemoryAllocationCount = maxMemoryAllocationCount
6601 result.maxSamplerAllocationCount = maxSamplerAllocationCount
6602 result.bufferImageGranularity = bufferImageGranularity
6603 result.sparseAddressSpaceSize = sparseAddressSpaceSize
6604 result.maxBoundDescriptorSets = maxBoundDescriptorSets
6605 result.maxPerStageDescriptorSamplers = maxPerStageDescriptorSamplers
6606 result.maxPerStageDescriptorUniformBuffers = maxPerStageDescriptorUniformBuffers
6607 result.maxPerStageDescriptorStorageBuffers = maxPerStageDescriptorStorageBuffers
6608 result.maxPerStageDescriptorSampledImages = maxPerStageDescriptorSampledImages
6609 result.maxPerStageDescriptorStorageImages = maxPerStageDescriptorStorageImages
6610 result.maxPerStageDescriptorInputAttachments = maxPerStageDescriptorInputAttachments
6611 result.maxPerStageResources = maxPerStageResources
6612 result.maxDescriptorSetSamplers = maxDescriptorSetSamplers
6613 result.maxDescriptorSetUniformBuffers = maxDescriptorSetUniformBuffers
6614 result.maxDescriptorSetUniformBuffersDynamic = maxDescriptorSetUniformBuffersDynamic
6615 result.maxDescriptorSetStorageBuffers = maxDescriptorSetStorageBuffers
6616 result.maxDescriptorSetStorageBuffersDynamic = maxDescriptorSetStorageBuffersDynamic
6617 result.maxDescriptorSetSampledImages = maxDescriptorSetSampledImages
6618 result.maxDescriptorSetStorageImages = maxDescriptorSetStorageImages
6619 result.maxDescriptorSetInputAttachments = maxDescriptorSetInputAttachments
6620 result.maxVertexInputAttributes = maxVertexInputAttributes
6621 result.maxVertexInputBindings = maxVertexInputBindings
6622 result.maxVertexInputAttributeOffset = maxVertexInputAttributeOffset
6623 result.maxVertexInputBindingStride = maxVertexInputBindingStride
6624 result.maxVertexOutputComponents = maxVertexOutputComponents
6625 result.maxTessellationGenerationLevel = maxTessellationGenerationLevel
6626 result.maxTessellationPatchSize = maxTessellationPatchSize
6627 result.maxTessellationControlPerVertexInputComponents = maxTessellationControlPerVertexInputComponents
6628 result.maxTessellationControlPerVertexOutputComponents = maxTessellationControlPerVertexOutputComponents
6629 result.maxTessellationControlPerPatchOutputComponents = maxTessellationControlPerPatchOutputComponents
6630 result.maxTessellationControlTotalOutputComponents = maxTessellationControlTotalOutputComponents
6631 result.maxTessellationEvaluationInputComponents = maxTessellationEvaluationInputComponents
6632 result.maxTessellationEvaluationOutputComponents = maxTessellationEvaluationOutputComponents
6633 result.maxGeometryShaderInvocations = maxGeometryShaderInvocations
6634 result.maxGeometryInputComponents = maxGeometryInputComponents
6635 result.maxGeometryOutputComponents = maxGeometryOutputComponents
6636 result.maxGeometryOutputVertices = maxGeometryOutputVertices
6637 result.maxGeometryTotalOutputComponents = maxGeometryTotalOutputComponents
6638 result.maxFragmentInputComponents = maxFragmentInputComponents
6639 result.maxFragmentOutputAttachments = maxFragmentOutputAttachments
6640 result.maxFragmentDualSrcAttachments = maxFragmentDualSrcAttachments
6641 result.maxFragmentCombinedOutputResources = maxFragmentCombinedOutputResources
6642 result.maxComputeSharedMemorySize = maxComputeSharedMemorySize
6643 result.maxComputeWorkGroupCount = maxComputeWorkGroupCount
6644 result.maxComputeWorkGroupInvocations = maxComputeWorkGroupInvocations
6645 result.maxComputeWorkGroupSize = maxComputeWorkGroupSize
6646 result.subPixelPrecisionBits = subPixelPrecisionBits
6647 result.subTexelPrecisionBits = subTexelPrecisionBits
6648 result.mipmapPrecisionBits = mipmapPrecisionBits
6649 result.maxDrawIndexedIndexValue = maxDrawIndexedIndexValue
6650 result.maxDrawIndirectCount = maxDrawIndirectCount
6651 result.maxSamplerLodBias = maxSamplerLodBias
6652 result.maxSamplerAnisotropy = maxSamplerAnisotropy
6653 result.maxViewports = maxViewports
6654 result.maxViewportDimensions = maxViewportDimensions
6655 result.viewportBoundsRange = viewportBoundsRange
6656 result.viewportSubPixelBits = viewportSubPixelBits
6657 result.minMemoryMapAlignment = minMemoryMapAlignment
6658 result.minTexelBufferOffsetAlignment = minTexelBufferOffsetAlignment
6659 result.minUniformBufferOffsetAlignment = minUniformBufferOffsetAlignment
6660 result.minStorageBufferOffsetAlignment = minStorageBufferOffsetAlignment
6661 result.minTexelOffset = minTexelOffset
6662 result.maxTexelOffset = maxTexelOffset
6663 result.minTexelGatherOffset = minTexelGatherOffset
6664 result.maxTexelGatherOffset = maxTexelGatherOffset
6665 result.minInterpolationOffset = minInterpolationOffset
6666 result.maxInterpolationOffset = maxInterpolationOffset
6667 result.subPixelInterpolationOffsetBits = subPixelInterpolationOffsetBits
6668 result.maxFramebufferWidth = maxFramebufferWidth
6669 result.maxFramebufferHeight = maxFramebufferHeight
6670 result.maxFramebufferLayers = maxFramebufferLayers
6671 result.framebufferColorSampleCounts = framebufferColorSampleCounts
6672 result.framebufferDepthSampleCounts = framebufferDepthSampleCounts
6673 result.framebufferStencilSampleCounts = framebufferStencilSampleCounts
6674 result.framebufferNoAttachmentsSampleCounts = framebufferNoAttachmentsSampleCounts
6675 result.maxColorAttachments = maxColorAttachments
6676 result.sampledImageColorSampleCounts = sampledImageColorSampleCounts
6677 result.sampledImageIntegerSampleCounts = sampledImageIntegerSampleCounts
6678 result.sampledImageDepthSampleCounts = sampledImageDepthSampleCounts
6679 result.sampledImageStencilSampleCounts = sampledImageStencilSampleCounts
6680 result.storageImageSampleCounts = storageImageSampleCounts
6681 result.maxSampleMaskWords = maxSampleMaskWords
6682 result.timestampComputeAndGraphics = timestampComputeAndGraphics
6683 result.timestampPeriod = timestampPeriod
6684 result.maxClipDistances = maxClipDistances
6685 result.maxCullDistances = maxCullDistances
6686 result.maxCombinedClipAndCullDistances = maxCombinedClipAndCullDistances
6687 result.discreteQueuePriorities = discreteQueuePriorities
6688 result.pointSizeRange = pointSizeRange
6689 result.lineWidthRange = lineWidthRange
6690 result.pointSizeGranularity = pointSizeGranularity
6691 result.lineWidthGranularity = lineWidthGranularity
6692 result.strictLines = strictLines
6693 result.standardSampleLocations = standardSampleLocations
6694 result.optimalBufferCopyOffsetAlignment = optimalBufferCopyOffsetAlignment
6695 result.optimalBufferCopyRowPitchAlignment = optimalBufferCopyRowPitchAlignment
6696 result.nonCoherentAtomSize = nonCoherentAtomSize
6697
6698 proc newVkSemaphoreCreateInfo*(sType: VkStructureType = VkStructureTypeSemaphoreCreateInfo, pNext: pointer = nil, flags: VkSemaphoreCreateFlags = 0.VkSemaphoreCreateFlags): VkSemaphoreCreateInfo =
6699 result.sType = sType
6700 result.pNext = pNext
6701 result.flags = flags
6702
6703 proc newVkQueryPoolCreateInfo*(sType: VkStructureType = VkStructureTypeQueryPoolCreateInfo, pNext: pointer = nil, flags: VkQueryPoolCreateFlags = 0.VkQueryPoolCreateFlags, queryType: VkQueryType, queryCount: uint32, pipelineStatistics: VkQueryPipelineStatisticFlags): VkQueryPoolCreateInfo =
6704 result.sType = sType
6705 result.pNext = pNext
6706 result.flags = flags
6707 result.queryType = queryType
6708 result.queryCount = queryCount
6709 result.pipelineStatistics = pipelineStatistics
6710
6711 proc newVkFramebufferCreateInfo*(sType: VkStructureType = VkStructureTypeFramebufferCreateInfo, pNext: pointer = nil, flags: VkFramebufferCreateFlags = 0.VkFramebufferCreateFlags, renderPass: VkRenderPass, attachmentCount: uint32, pAttachments: ptr VkImageView, width: uint32, height: uint32, layers: uint32): VkFramebufferCreateInfo =
6712 result.sType = sType
6713 result.pNext = pNext
6714 result.flags = flags
6715 result.renderPass = renderPass
6716 result.attachmentCount = attachmentCount
6717 result.pAttachments = pAttachments
6718 result.width = width
6719 result.height = height
6720 result.layers = layers
6721
6722 proc newVkDrawIndirectCommand*(vertexCount: uint32, instanceCount: uint32, firstVertex: uint32, firstInstance: uint32): VkDrawIndirectCommand =
6723 result.vertexCount = vertexCount
6724 result.instanceCount = instanceCount
6725 result.firstVertex = firstVertex
6726 result.firstInstance = firstInstance
6727
6728 proc newVkDrawIndexedIndirectCommand*(indexCount: uint32, instanceCount: uint32, firstIndex: uint32, vertexOffset: int32, firstInstance: uint32): VkDrawIndexedIndirectCommand =
6729 result.indexCount = indexCount
6730 result.instanceCount = instanceCount
6731 result.firstIndex = firstIndex
6732 result.vertexOffset = vertexOffset
6733 result.firstInstance = firstInstance
6734
6735 proc newVkDispatchIndirectCommand*(x: uint32, y: uint32, z: uint32): VkDispatchIndirectCommand =
6736 result.x = x
6737 result.y = y
6738 result.z = z
6739
6740 proc newVkSubmitInfo*(sType: VkStructureType = VkStructureTypeSubmitInfo, pNext: pointer = nil, waitSemaphoreCount: uint32, pWaitSemaphores: ptr VkSemaphore, pWaitDstStageMask: ptr VkPipelineStageFlags, commandBufferCount: uint32, pCommandBuffers: ptr VkCommandBuffer, signalSemaphoreCount: uint32, pSignalSemaphores: ptr VkSemaphore): VkSubmitInfo =
6741 result.sType = sType
6742 result.pNext = pNext
6743 result.waitSemaphoreCount = waitSemaphoreCount
6744 result.pWaitSemaphores = pWaitSemaphores
6745 result.pWaitDstStageMask = pWaitDstStageMask
6746 result.commandBufferCount = commandBufferCount
6747 result.pCommandBuffers = pCommandBuffers
6748 result.signalSemaphoreCount = signalSemaphoreCount
6749 result.pSignalSemaphores = pSignalSemaphores
6750
6751 proc newVkDisplayPropertiesKHR*(display: VkDisplayKHR, displayName: cstring, physicalDimensions: VkExtent2D, physicalResolution: VkExtent2D, supportedTransforms: VkSurfaceTransformFlagsKHR, planeReorderPossible: VkBool32, persistentContent: VkBool32): VkDisplayPropertiesKHR =
6752 result.display = display
6753 result.displayName = displayName
6754 result.physicalDimensions = physicalDimensions
6755 result.physicalResolution = physicalResolution
6756 result.supportedTransforms = supportedTransforms
6757 result.planeReorderPossible = planeReorderPossible
6758 result.persistentContent = persistentContent
6759
6760 proc newVkDisplayPlanePropertiesKHR*(currentDisplay: VkDisplayKHR, currentStackIndex: uint32): VkDisplayPlanePropertiesKHR =
6761 result.currentDisplay = currentDisplay
6762 result.currentStackIndex = currentStackIndex
6763
6764 proc newVkDisplayModeParametersKHR*(visibleRegion: VkExtent2D, refreshRate: uint32): VkDisplayModeParametersKHR =
6765 result.visibleRegion = visibleRegion
6766 result.refreshRate = refreshRate
6767
6768 proc newVkDisplayModePropertiesKHR*(displayMode: VkDisplayModeKHR, parameters: VkDisplayModeParametersKHR): VkDisplayModePropertiesKHR =
6769 result.displayMode = displayMode
6770 result.parameters = parameters
6771
6772 proc newVkDisplayModeCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkDisplayModeCreateFlagsKHR = 0.VkDisplayModeCreateFlagsKHR, parameters: VkDisplayModeParametersKHR): VkDisplayModeCreateInfoKHR =
6773 result.sType = sType
6774 result.pNext = pNext
6775 result.flags = flags
6776 result.parameters = parameters
6777
6778 proc newVkDisplayPlaneCapabilitiesKHR*(supportedAlpha: VkDisplayPlaneAlphaFlagsKHR, minSrcPosition: VkOffset2D, maxSrcPosition: VkOffset2D, minSrcExtent: VkExtent2D, maxSrcExtent: VkExtent2D, minDstPosition: VkOffset2D, maxDstPosition: VkOffset2D, minDstExtent: VkExtent2D, maxDstExtent: VkExtent2D): VkDisplayPlaneCapabilitiesKHR =
6779 result.supportedAlpha = supportedAlpha
6780 result.minSrcPosition = minSrcPosition
6781 result.maxSrcPosition = maxSrcPosition
6782 result.minSrcExtent = minSrcExtent
6783 result.maxSrcExtent = maxSrcExtent
6784 result.minDstPosition = minDstPosition
6785 result.maxDstPosition = maxDstPosition
6786 result.minDstExtent = minDstExtent
6787 result.maxDstExtent = maxDstExtent
6788
6789 proc newVkDisplaySurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkDisplaySurfaceCreateFlagsKHR = 0.VkDisplaySurfaceCreateFlagsKHR, displayMode: VkDisplayModeKHR, planeIndex: uint32, planeStackIndex: uint32, transform: VkSurfaceTransformFlagBitsKHR, globalAlpha: float32, alphaMode: VkDisplayPlaneAlphaFlagBitsKHR, imageExtent: VkExtent2D): VkDisplaySurfaceCreateInfoKHR =
6790 result.sType = sType
6791 result.pNext = pNext
6792 result.flags = flags
6793 result.displayMode = displayMode
6794 result.planeIndex = planeIndex
6795 result.planeStackIndex = planeStackIndex
6796 result.transform = transform
6797 result.globalAlpha = globalAlpha
6798 result.alphaMode = alphaMode
6799 result.imageExtent = imageExtent
6800
6801 proc newVkDisplayPresentInfoKHR*(sType: VkStructureType, pNext: pointer = nil, srcRect: VkRect2D, dstRect: VkRect2D, persistent: VkBool32): VkDisplayPresentInfoKHR =
6802 result.sType = sType
6803 result.pNext = pNext
6804 result.srcRect = srcRect
6805 result.dstRect = dstRect
6806 result.persistent = persistent
6807
6808 proc newVkSurfaceCapabilitiesKHR*(minImageCount: uint32, maxImageCount: uint32, currentExtent: VkExtent2D, minImageExtent: VkExtent2D, maxImageExtent: VkExtent2D, maxImageArrayLayers: uint32, supportedTransforms: VkSurfaceTransformFlagsKHR, currentTransform: VkSurfaceTransformFlagBitsKHR, supportedCompositeAlpha: VkCompositeAlphaFlagsKHR, supportedUsageFlags: VkImageUsageFlags): VkSurfaceCapabilitiesKHR =
6809 result.minImageCount = minImageCount
6810 result.maxImageCount = maxImageCount
6811 result.currentExtent = currentExtent
6812 result.minImageExtent = minImageExtent
6813 result.maxImageExtent = maxImageExtent
6814 result.maxImageArrayLayers = maxImageArrayLayers
6815 result.supportedTransforms = supportedTransforms
6816 result.currentTransform = currentTransform
6817 result.supportedCompositeAlpha = supportedCompositeAlpha
6818 result.supportedUsageFlags = supportedUsageFlags
6819
6820 proc newVkAndroidSurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkAndroidSurfaceCreateFlagsKHR = 0.VkAndroidSurfaceCreateFlagsKHR, window: ptr ANativeWindow): VkAndroidSurfaceCreateInfoKHR =
6821 result.sType = sType
6822 result.pNext = pNext
6823 result.flags = flags
6824 result.window = window
6825
6826 proc newVkViSurfaceCreateInfoNN*(sType: VkStructureType, pNext: pointer = nil, flags: VkViSurfaceCreateFlagsNN = 0.VkViSurfaceCreateFlagsNN, window: pointer = nil): VkViSurfaceCreateInfoNN =
6827 result.sType = sType
6828 result.pNext = pNext
6829 result.flags = flags
6830 result.window = window
6831
6832 proc newVkWaylandSurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkWaylandSurfaceCreateFlagsKHR = 0.VkWaylandSurfaceCreateFlagsKHR, display: ptr wl_display, surface: ptr wl_surface): VkWaylandSurfaceCreateInfoKHR =
6833 result.sType = sType
6834 result.pNext = pNext
6835 result.flags = flags
6836 result.display = display
6837 result.surface = surface
6838
6839 proc newVkWin32SurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkWin32SurfaceCreateFlagsKHR = 0.VkWin32SurfaceCreateFlagsKHR, hinstance: HINSTANCE, hwnd: HWND): VkWin32SurfaceCreateInfoKHR =
6840 result.sType = sType
6841 result.pNext = pNext
6842 result.flags = flags
6843 result.hinstance = hinstance
6844 result.hwnd = hwnd
6845
6846 proc newVkXlibSurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkXlibSurfaceCreateFlagsKHR = 0.VkXlibSurfaceCreateFlagsKHR, dpy: ptr Display, window: Window): VkXlibSurfaceCreateInfoKHR =
6847 result.sType = sType
6848 result.pNext = pNext
6849 result.flags = flags
6850 result.dpy = dpy
6851 result.window = window
6852
6853 proc newVkXcbSurfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkXcbSurfaceCreateFlagsKHR = 0.VkXcbSurfaceCreateFlagsKHR, connection: ptr xcb_connection_t, window: xcb_window_t): VkXcbSurfaceCreateInfoKHR =
6854 result.sType = sType
6855 result.pNext = pNext
6856 result.flags = flags
6857 result.connection = connection
6858 result.window = window
6859
6860 proc newVkDirectFBSurfaceCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkDirectFBSurfaceCreateFlagsEXT = 0.VkDirectFBSurfaceCreateFlagsEXT, dfb: ptr IDirectFB, surface: ptr IDirectFBSurface): VkDirectFBSurfaceCreateInfoEXT =
6861 result.sType = sType
6862 result.pNext = pNext
6863 result.flags = flags
6864 result.dfb = dfb
6865 result.surface = surface
6866
6867 proc newVkImagePipeSurfaceCreateInfoFUCHSIA*(sType: VkStructureType, pNext: pointer = nil, flags: VkImagePipeSurfaceCreateFlagsFUCHSIA = 0.VkImagePipeSurfaceCreateFlagsFUCHSIA, imagePipeHandle: zx_handle_t): VkImagePipeSurfaceCreateInfoFUCHSIA =
6868 result.sType = sType
6869 result.pNext = pNext
6870 result.flags = flags
6871 result.imagePipeHandle = imagePipeHandle
6872
6873 proc newVkStreamDescriptorSurfaceCreateInfoGGP*(sType: VkStructureType, pNext: pointer = nil, flags: VkStreamDescriptorSurfaceCreateFlagsGGP = 0.VkStreamDescriptorSurfaceCreateFlagsGGP, streamDescriptor: GgpStreamDescriptor): VkStreamDescriptorSurfaceCreateInfoGGP =
6874 result.sType = sType
6875 result.pNext = pNext
6876 result.flags = flags
6877 result.streamDescriptor = streamDescriptor
6878
6879 proc newVkSurfaceFormatKHR*(format: VkFormat, colorSpace: VkColorSpaceKHR): VkSurfaceFormatKHR =
6880 result.format = format
6881 result.colorSpace = colorSpace
6882
6883 proc newVkSwapchainCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkSwapchainCreateFlagsKHR = 0.VkSwapchainCreateFlagsKHR, surface: VkSurfaceKHR, minImageCount: uint32, imageFormat: VkFormat, imageColorSpace: VkColorSpaceKHR, imageExtent: VkExtent2D, imageArrayLayers: uint32, imageUsage: VkImageUsageFlags, imageSharingMode: VkSharingMode, queueFamilyIndexCount: uint32, pQueueFamilyIndices: ptr uint32, preTransform: VkSurfaceTransformFlagBitsKHR, compositeAlpha: VkCompositeAlphaFlagBitsKHR, presentMode: VkPresentModeKHR, clipped: VkBool32, oldSwapchain: VkSwapchainKHR): VkSwapchainCreateInfoKHR =
6884 result.sType = sType
6885 result.pNext = pNext
6886 result.flags = flags
6887 result.surface = surface
6888 result.minImageCount = minImageCount
6889 result.imageFormat = imageFormat
6890 result.imageColorSpace = imageColorSpace
6891 result.imageExtent = imageExtent
6892 result.imageArrayLayers = imageArrayLayers
6893 result.imageUsage = imageUsage
6894 result.imageSharingMode = imageSharingMode
6895 result.queueFamilyIndexCount = queueFamilyIndexCount
6896 result.pQueueFamilyIndices = pQueueFamilyIndices
6897 result.preTransform = preTransform
6898 result.compositeAlpha = compositeAlpha
6899 result.presentMode = presentMode
6900 result.clipped = clipped
6901 result.oldSwapchain = oldSwapchain
6902
6903 proc newVkPresentInfoKHR*(sType: VkStructureType, pNext: pointer = nil, waitSemaphoreCount: uint32, pWaitSemaphores: ptr VkSemaphore, swapchainCount: uint32, pSwapchains: ptr VkSwapchainKHR, pImageIndices: ptr uint32, pResults: ptr VkResult): VkPresentInfoKHR =
6904 result.sType = sType
6905 result.pNext = pNext
6906 result.waitSemaphoreCount = waitSemaphoreCount
6907 result.pWaitSemaphores = pWaitSemaphores
6908 result.swapchainCount = swapchainCount
6909 result.pSwapchains = pSwapchains
6910 result.pImageIndices = pImageIndices
6911 result.pResults = pResults
6912
6913 proc newVkDebugReportCallbackCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkDebugReportFlagsEXT = 0.VkDebugReportFlagsEXT, pfnCallback: PFN_vkDebugReportCallbackEXT, pUserData: pointer = nil): VkDebugReportCallbackCreateInfoEXT =
6914 result.sType = sType
6915 result.pNext = pNext
6916 result.flags = flags
6917 result.pfnCallback = pfnCallback
6918 result.pUserData = pUserData
6919
6920 proc newVkValidationFlagsEXT*(sType: VkStructureType, pNext: pointer = nil, disabledValidationCheckCount: uint32, pDisabledValidationChecks: ptr VkValidationCheckEXT): VkValidationFlagsEXT =
6921 result.sType = sType
6922 result.pNext = pNext
6923 result.disabledValidationCheckCount = disabledValidationCheckCount
6924 result.pDisabledValidationChecks = pDisabledValidationChecks
6925
6926 proc newVkValidationFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, enabledValidationFeatureCount: uint32, pEnabledValidationFeatures: ptr VkValidationFeatureEnableEXT, disabledValidationFeatureCount: uint32, pDisabledValidationFeatures: ptr VkValidationFeatureDisableEXT): VkValidationFeaturesEXT =
6927 result.sType = sType
6928 result.pNext = pNext
6929 result.enabledValidationFeatureCount = enabledValidationFeatureCount
6930 result.pEnabledValidationFeatures = pEnabledValidationFeatures
6931 result.disabledValidationFeatureCount = disabledValidationFeatureCount
6932 result.pDisabledValidationFeatures = pDisabledValidationFeatures
6933
6934 proc newVkPipelineRasterizationStateRasterizationOrderAMD*(sType: VkStructureType, pNext: pointer = nil, rasterizationOrder: VkRasterizationOrderAMD): VkPipelineRasterizationStateRasterizationOrderAMD =
6935 result.sType = sType
6936 result.pNext = pNext
6937 result.rasterizationOrder = rasterizationOrder
6938
6939 proc newVkDebugMarkerObjectNameInfoEXT*(sType: VkStructureType, pNext: pointer = nil, objectType: VkDebugReportObjectTypeEXT, `object`: uint64, pObjectName: cstring): VkDebugMarkerObjectNameInfoEXT =
6940 result.sType = sType
6941 result.pNext = pNext
6942 result.objectType = objectType
6943 result.`object` = `object`
6944 result.pObjectName = pObjectName
6945
6946 proc newVkDebugMarkerObjectTagInfoEXT*(sType: VkStructureType, pNext: pointer = nil, objectType: VkDebugReportObjectTypeEXT, `object`: uint64, tagName: uint64, tagSize: uint, pTag: pointer = nil): VkDebugMarkerObjectTagInfoEXT =
6947 result.sType = sType
6948 result.pNext = pNext
6949 result.objectType = objectType
6950 result.`object` = `object`
6951 result.tagName = tagName
6952 result.tagSize = tagSize
6953 result.pTag = pTag
6954
6955 proc newVkDebugMarkerMarkerInfoEXT*(sType: VkStructureType, pNext: pointer = nil, pMarkerName: cstring, color: array[4, float32]): VkDebugMarkerMarkerInfoEXT =
6956 result.sType = sType
6957 result.pNext = pNext
6958 result.pMarkerName = pMarkerName
6959 result.color = color
6960
6961 proc newVkDedicatedAllocationImageCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, dedicatedAllocation: VkBool32): VkDedicatedAllocationImageCreateInfoNV =
6962 result.sType = sType
6963 result.pNext = pNext
6964 result.dedicatedAllocation = dedicatedAllocation
6965
6966 proc newVkDedicatedAllocationBufferCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, dedicatedAllocation: VkBool32): VkDedicatedAllocationBufferCreateInfoNV =
6967 result.sType = sType
6968 result.pNext = pNext
6969 result.dedicatedAllocation = dedicatedAllocation
6970
6971 proc newVkDedicatedAllocationMemoryAllocateInfoNV*(sType: VkStructureType, pNext: pointer = nil, image: VkImage, buffer: VkBuffer): VkDedicatedAllocationMemoryAllocateInfoNV =
6972 result.sType = sType
6973 result.pNext = pNext
6974 result.image = image
6975 result.buffer = buffer
6976
6977 proc newVkExternalImageFormatPropertiesNV*(imageFormatProperties: VkImageFormatProperties, externalMemoryFeatures: VkExternalMemoryFeatureFlagsNV, exportFromImportedHandleTypes: VkExternalMemoryHandleTypeFlagsNV, compatibleHandleTypes: VkExternalMemoryHandleTypeFlagsNV): VkExternalImageFormatPropertiesNV =
6978 result.imageFormatProperties = imageFormatProperties
6979 result.externalMemoryFeatures = externalMemoryFeatures
6980 result.exportFromImportedHandleTypes = exportFromImportedHandleTypes
6981 result.compatibleHandleTypes = compatibleHandleTypes
6982
6983 proc newVkExternalMemoryImageCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalMemoryHandleTypeFlagsNV): VkExternalMemoryImageCreateInfoNV =
6984 result.sType = sType
6985 result.pNext = pNext
6986 result.handleTypes = handleTypes
6987
6988 proc newVkExportMemoryAllocateInfoNV*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalMemoryHandleTypeFlagsNV): VkExportMemoryAllocateInfoNV =
6989 result.sType = sType
6990 result.pNext = pNext
6991 result.handleTypes = handleTypes
6992
6993 proc newVkImportMemoryWin32HandleInfoNV*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalMemoryHandleTypeFlagsNV, handle: HANDLE): VkImportMemoryWin32HandleInfoNV =
6994 result.sType = sType
6995 result.pNext = pNext
6996 result.handleType = handleType
6997 result.handle = handle
6998
6999 proc newVkExportMemoryWin32HandleInfoNV*(sType: VkStructureType, pNext: pointer = nil, pAttributes: ptr SECURITY_ATTRIBUTES, dwAccess: DWORD): VkExportMemoryWin32HandleInfoNV =
7000 result.sType = sType
7001 result.pNext = pNext
7002 result.pAttributes = pAttributes
7003 result.dwAccess = dwAccess
7004
7005 proc newVkWin32KeyedMutexAcquireReleaseInfoNV*(sType: VkStructureType, pNext: pointer = nil, acquireCount: uint32, pAcquireSyncs: ptr VkDeviceMemory, pAcquireKeys: ptr uint64, pAcquireTimeoutMilliseconds: ptr uint32, releaseCount: uint32, pReleaseSyncs: ptr VkDeviceMemory, pReleaseKeys: ptr uint64): VkWin32KeyedMutexAcquireReleaseInfoNV =
7006 result.sType = sType
7007 result.pNext = pNext
7008 result.acquireCount = acquireCount
7009 result.pAcquireSyncs = pAcquireSyncs
7010 result.pAcquireKeys = pAcquireKeys
7011 result.pAcquireTimeoutMilliseconds = pAcquireTimeoutMilliseconds
7012 result.releaseCount = releaseCount
7013 result.pReleaseSyncs = pReleaseSyncs
7014 result.pReleaseKeys = pReleaseKeys
7015
7016 proc newVkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, deviceGeneratedCommands: VkBool32): VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV =
7017 result.sType = sType
7018 result.pNext = pNext
7019 result.deviceGeneratedCommands = deviceGeneratedCommands
7020
7021 proc newVkDevicePrivateDataCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, privateDataSlotRequestCount: uint32): VkDevicePrivateDataCreateInfoEXT =
7022 result.sType = sType
7023 result.pNext = pNext
7024 result.privateDataSlotRequestCount = privateDataSlotRequestCount
7025
7026 proc newVkPrivateDataSlotCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkPrivateDataSlotCreateFlagsEXT = 0.VkPrivateDataSlotCreateFlagsEXT): VkPrivateDataSlotCreateInfoEXT =
7027 result.sType = sType
7028 result.pNext = pNext
7029 result.flags = flags
7030
7031 proc newVkPhysicalDevicePrivateDataFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, privateData: VkBool32): VkPhysicalDevicePrivateDataFeaturesEXT =
7032 result.sType = sType
7033 result.pNext = pNext
7034 result.privateData = privateData
7035
7036 proc newVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, maxGraphicsShaderGroupCount: uint32, maxIndirectSequenceCount: uint32, maxIndirectCommandsTokenCount: uint32, maxIndirectCommandsStreamCount: uint32, maxIndirectCommandsTokenOffset: uint32, maxIndirectCommandsStreamStride: uint32, minSequencesCountBufferOffsetAlignment: uint32, minSequencesIndexBufferOffsetAlignment: uint32, minIndirectCommandsBufferOffsetAlignment: uint32): VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV =
7037 result.sType = sType
7038 result.pNext = pNext
7039 result.maxGraphicsShaderGroupCount = maxGraphicsShaderGroupCount
7040 result.maxIndirectSequenceCount = maxIndirectSequenceCount
7041 result.maxIndirectCommandsTokenCount = maxIndirectCommandsTokenCount
7042 result.maxIndirectCommandsStreamCount = maxIndirectCommandsStreamCount
7043 result.maxIndirectCommandsTokenOffset = maxIndirectCommandsTokenOffset
7044 result.maxIndirectCommandsStreamStride = maxIndirectCommandsStreamStride
7045 result.minSequencesCountBufferOffsetAlignment = minSequencesCountBufferOffsetAlignment
7046 result.minSequencesIndexBufferOffsetAlignment = minSequencesIndexBufferOffsetAlignment
7047 result.minIndirectCommandsBufferOffsetAlignment = minIndirectCommandsBufferOffsetAlignment
7048
7049 proc newVkGraphicsShaderGroupCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, stageCount: uint32, pStages: ptr VkPipelineShaderStageCreateInfo, pVertexInputState: ptr VkPipelineVertexInputStateCreateInfo, pTessellationState: ptr VkPipelineTessellationStateCreateInfo): VkGraphicsShaderGroupCreateInfoNV =
7050 result.sType = sType
7051 result.pNext = pNext
7052 result.stageCount = stageCount
7053 result.pStages = pStages
7054 result.pVertexInputState = pVertexInputState
7055 result.pTessellationState = pTessellationState
7056
7057 proc newVkGraphicsPipelineShaderGroupsCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, groupCount: uint32, pGroups: ptr VkGraphicsShaderGroupCreateInfoNV, pipelineCount: uint32, pPipelines: ptr VkPipeline): VkGraphicsPipelineShaderGroupsCreateInfoNV =
7058 result.sType = sType
7059 result.pNext = pNext
7060 result.groupCount = groupCount
7061 result.pGroups = pGroups
7062 result.pipelineCount = pipelineCount
7063 result.pPipelines = pPipelines
7064
7065 proc newVkBindShaderGroupIndirectCommandNV*(groupIndex: uint32): VkBindShaderGroupIndirectCommandNV =
7066 result.groupIndex = groupIndex
7067
7068 proc newVkBindIndexBufferIndirectCommandNV*(bufferAddress: VkDeviceAddress, size: uint32, indexType: VkIndexType): VkBindIndexBufferIndirectCommandNV =
7069 result.bufferAddress = bufferAddress
7070 result.size = size
7071 result.indexType = indexType
7072
7073 proc newVkBindVertexBufferIndirectCommandNV*(bufferAddress: VkDeviceAddress, size: uint32, stride: uint32): VkBindVertexBufferIndirectCommandNV =
7074 result.bufferAddress = bufferAddress
7075 result.size = size
7076 result.stride = stride
7077
7078 proc newVkSetStateFlagsIndirectCommandNV*(data: uint32): VkSetStateFlagsIndirectCommandNV =
7079 result.data = data
7080
7081 proc newVkIndirectCommandsStreamNV*(buffer: VkBuffer, offset: VkDeviceSize): VkIndirectCommandsStreamNV =
7082 result.buffer = buffer
7083 result.offset = offset
7084
7085 proc newVkIndirectCommandsLayoutTokenNV*(sType: VkStructureType, pNext: pointer = nil, tokenType: VkIndirectCommandsTokenTypeNV, stream: uint32, offset: uint32, vertexBindingUnit: uint32, vertexDynamicStride: VkBool32, pushconstantPipelineLayout: VkPipelineLayout, pushconstantShaderStageFlags: VkShaderStageFlags, pushconstantOffset: uint32, pushconstantSize: uint32, indirectStateFlags: VkIndirectStateFlagsNV, indexTypeCount: uint32, pIndexTypes: ptr VkIndexType, pIndexTypeValues: ptr uint32): VkIndirectCommandsLayoutTokenNV =
7086 result.sType = sType
7087 result.pNext = pNext
7088 result.tokenType = tokenType
7089 result.stream = stream
7090 result.offset = offset
7091 result.vertexBindingUnit = vertexBindingUnit
7092 result.vertexDynamicStride = vertexDynamicStride
7093 result.pushconstantPipelineLayout = pushconstantPipelineLayout
7094 result.pushconstantShaderStageFlags = pushconstantShaderStageFlags
7095 result.pushconstantOffset = pushconstantOffset
7096 result.pushconstantSize = pushconstantSize
7097 result.indirectStateFlags = indirectStateFlags
7098 result.indexTypeCount = indexTypeCount
7099 result.pIndexTypes = pIndexTypes
7100 result.pIndexTypeValues = pIndexTypeValues
7101
7102 proc newVkIndirectCommandsLayoutCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkIndirectCommandsLayoutUsageFlagsNV = 0.VkIndirectCommandsLayoutUsageFlagsNV, pipelineBindPoint: VkPipelineBindPoint, tokenCount: uint32, pTokens: ptr VkIndirectCommandsLayoutTokenNV, streamCount: uint32, pStreamStrides: ptr uint32): VkIndirectCommandsLayoutCreateInfoNV =
7103 result.sType = sType
7104 result.pNext = pNext
7105 result.flags = flags
7106 result.pipelineBindPoint = pipelineBindPoint
7107 result.tokenCount = tokenCount
7108 result.pTokens = pTokens
7109 result.streamCount = streamCount
7110 result.pStreamStrides = pStreamStrides
7111
7112 proc newVkGeneratedCommandsInfoNV*(sType: VkStructureType, pNext: pointer = nil, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline, indirectCommandsLayout: VkIndirectCommandsLayoutNV, streamCount: uint32, pStreams: ptr VkIndirectCommandsStreamNV, sequencesCount: uint32, preprocessBuffer: VkBuffer, preprocessOffset: VkDeviceSize, preprocessSize: VkDeviceSize, sequencesCountBuffer: VkBuffer, sequencesCountOffset: VkDeviceSize, sequencesIndexBuffer: VkBuffer, sequencesIndexOffset: VkDeviceSize): VkGeneratedCommandsInfoNV =
7113 result.sType = sType
7114 result.pNext = pNext
7115 result.pipelineBindPoint = pipelineBindPoint
7116 result.pipeline = pipeline
7117 result.indirectCommandsLayout = indirectCommandsLayout
7118 result.streamCount = streamCount
7119 result.pStreams = pStreams
7120 result.sequencesCount = sequencesCount
7121 result.preprocessBuffer = preprocessBuffer
7122 result.preprocessOffset = preprocessOffset
7123 result.preprocessSize = preprocessSize
7124 result.sequencesCountBuffer = sequencesCountBuffer
7125 result.sequencesCountOffset = sequencesCountOffset
7126 result.sequencesIndexBuffer = sequencesIndexBuffer
7127 result.sequencesIndexOffset = sequencesIndexOffset
7128
7129 proc newVkGeneratedCommandsMemoryRequirementsInfoNV*(sType: VkStructureType, pNext: pointer = nil, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline, indirectCommandsLayout: VkIndirectCommandsLayoutNV, maxSequencesCount: uint32): VkGeneratedCommandsMemoryRequirementsInfoNV =
7130 result.sType = sType
7131 result.pNext = pNext
7132 result.pipelineBindPoint = pipelineBindPoint
7133 result.pipeline = pipeline
7134 result.indirectCommandsLayout = indirectCommandsLayout
7135 result.maxSequencesCount = maxSequencesCount
7136
7137 proc newVkPhysicalDeviceFeatures2*(sType: VkStructureType, pNext: pointer = nil, features: VkPhysicalDeviceFeatures): VkPhysicalDeviceFeatures2 =
7138 result.sType = sType
7139 result.pNext = pNext
7140 result.features = features
7141
7142 proc newVkPhysicalDeviceProperties2*(sType: VkStructureType, pNext: pointer = nil, properties: VkPhysicalDeviceProperties): VkPhysicalDeviceProperties2 =
7143 result.sType = sType
7144 result.pNext = pNext
7145 result.properties = properties
7146
7147 proc newVkFormatProperties2*(sType: VkStructureType, pNext: pointer = nil, formatProperties: VkFormatProperties): VkFormatProperties2 =
7148 result.sType = sType
7149 result.pNext = pNext
7150 result.formatProperties = formatProperties
7151
7152 proc newVkImageFormatProperties2*(sType: VkStructureType, pNext: pointer = nil, imageFormatProperties: VkImageFormatProperties): VkImageFormatProperties2 =
7153 result.sType = sType
7154 result.pNext = pNext
7155 result.imageFormatProperties = imageFormatProperties
7156
7157 proc newVkPhysicalDeviceImageFormatInfo2*(sType: VkStructureType, pNext: pointer = nil, format: VkFormat, `type`: VkImageType, tiling: VkImageTiling, usage: VkImageUsageFlags, flags: VkImageCreateFlags = 0.VkImageCreateFlags): VkPhysicalDeviceImageFormatInfo2 =
7158 result.sType = sType
7159 result.pNext = pNext
7160 result.format = format
7161 result.`type` = `type`
7162 result.tiling = tiling
7163 result.usage = usage
7164 result.flags = flags
7165
7166 proc newVkQueueFamilyProperties2*(sType: VkStructureType, pNext: pointer = nil, queueFamilyProperties: VkQueueFamilyProperties): VkQueueFamilyProperties2 =
7167 result.sType = sType
7168 result.pNext = pNext
7169 result.queueFamilyProperties = queueFamilyProperties
7170
7171 proc newVkPhysicalDeviceMemoryProperties2*(sType: VkStructureType, pNext: pointer = nil, memoryProperties: VkPhysicalDeviceMemoryProperties): VkPhysicalDeviceMemoryProperties2 =
7172 result.sType = sType
7173 result.pNext = pNext
7174 result.memoryProperties = memoryProperties
7175
7176 proc newVkSparseImageFormatProperties2*(sType: VkStructureType, pNext: pointer = nil, properties: VkSparseImageFormatProperties): VkSparseImageFormatProperties2 =
7177 result.sType = sType
7178 result.pNext = pNext
7179 result.properties = properties
7180
7181 proc newVkPhysicalDeviceSparseImageFormatInfo2*(sType: VkStructureType, pNext: pointer = nil, format: VkFormat, `type`: VkImageType, samples: VkSampleCountFlagBits, usage: VkImageUsageFlags, tiling: VkImageTiling): VkPhysicalDeviceSparseImageFormatInfo2 =
7182 result.sType = sType
7183 result.pNext = pNext
7184 result.format = format
7185 result.`type` = `type`
7186 result.samples = samples
7187 result.usage = usage
7188 result.tiling = tiling
7189
7190 proc newVkPhysicalDevicePushDescriptorPropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, maxPushDescriptors: uint32): VkPhysicalDevicePushDescriptorPropertiesKHR =
7191 result.sType = sType
7192 result.pNext = pNext
7193 result.maxPushDescriptors = maxPushDescriptors
7194
7195 proc newVkConformanceVersion*(major: uint8, minor: uint8, subminor: uint8, patch: uint8): VkConformanceVersion =
7196 result.major = major
7197 result.minor = minor
7198 result.subminor = subminor
7199 result.patch = patch
7200
7201 proc newVkPhysicalDeviceDriverProperties*(sType: VkStructureType, pNext: pointer = nil, driverID: VkDriverId, driverName: array[VK_MAX_DRIVER_NAME_SIZE, char], driverInfo: array[VK_MAX_DRIVER_INFO_SIZE, char], conformanceVersion: VkConformanceVersion): VkPhysicalDeviceDriverProperties =
7202 result.sType = sType
7203 result.pNext = pNext
7204 result.driverID = driverID
7205 result.driverName = driverName
7206 result.driverInfo = driverInfo
7207 result.conformanceVersion = conformanceVersion
7208
7209 proc newVkPresentRegionsKHR*(sType: VkStructureType, pNext: pointer = nil, swapchainCount: uint32, pRegions: ptr VkPresentRegionKHR): VkPresentRegionsKHR =
7210 result.sType = sType
7211 result.pNext = pNext
7212 result.swapchainCount = swapchainCount
7213 result.pRegions = pRegions
7214
7215 proc newVkPresentRegionKHR*(rectangleCount: uint32, pRectangles: ptr VkRectLayerKHR): VkPresentRegionKHR =
7216 result.rectangleCount = rectangleCount
7217 result.pRectangles = pRectangles
7218
7219 proc newVkRectLayerKHR*(offset: VkOffset2D, extent: VkExtent2D, layer: uint32): VkRectLayerKHR =
7220 result.offset = offset
7221 result.extent = extent
7222 result.layer = layer
7223
7224 proc newVkPhysicalDeviceVariablePointersFeatures*(sType: VkStructureType, pNext: pointer = nil, variablePointersStorageBuffer: VkBool32, variablePointers: VkBool32): VkPhysicalDeviceVariablePointersFeatures =
7225 result.sType = sType
7226 result.pNext = pNext
7227 result.variablePointersStorageBuffer = variablePointersStorageBuffer
7228 result.variablePointers = variablePointers
7229
7230 proc newVkExternalMemoryProperties*(externalMemoryFeatures: VkExternalMemoryFeatureFlags, exportFromImportedHandleTypes: VkExternalMemoryHandleTypeFlags, compatibleHandleTypes: VkExternalMemoryHandleTypeFlags): VkExternalMemoryProperties =
7231 result.externalMemoryFeatures = externalMemoryFeatures
7232 result.exportFromImportedHandleTypes = exportFromImportedHandleTypes
7233 result.compatibleHandleTypes = compatibleHandleTypes
7234
7235 proc newVkPhysicalDeviceExternalImageFormatInfo*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalMemoryHandleTypeFlagBits): VkPhysicalDeviceExternalImageFormatInfo =
7236 result.sType = sType
7237 result.pNext = pNext
7238 result.handleType = handleType
7239
7240 proc newVkExternalImageFormatProperties*(sType: VkStructureType, pNext: pointer = nil, externalMemoryProperties: VkExternalMemoryProperties): VkExternalImageFormatProperties =
7241 result.sType = sType
7242 result.pNext = pNext
7243 result.externalMemoryProperties = externalMemoryProperties
7244
7245 proc newVkPhysicalDeviceExternalBufferInfo*(sType: VkStructureType, pNext: pointer = nil, flags: VkBufferCreateFlags = 0.VkBufferCreateFlags, usage: VkBufferUsageFlags, handleType: VkExternalMemoryHandleTypeFlagBits): VkPhysicalDeviceExternalBufferInfo =
7246 result.sType = sType
7247 result.pNext = pNext
7248 result.flags = flags
7249 result.usage = usage
7250 result.handleType = handleType
7251
7252 proc newVkExternalBufferProperties*(sType: VkStructureType, pNext: pointer = nil, externalMemoryProperties: VkExternalMemoryProperties): VkExternalBufferProperties =
7253 result.sType = sType
7254 result.pNext = pNext
7255 result.externalMemoryProperties = externalMemoryProperties
7256
7257 proc newVkPhysicalDeviceIDProperties*(sType: VkStructureType, pNext: pointer = nil, deviceUUID: array[VK_UUID_SIZE, uint8], driverUUID: array[VK_UUID_SIZE, uint8], deviceLUID: array[VK_LUID_SIZE, uint8], deviceNodeMask: uint32, deviceLUIDValid: VkBool32): VkPhysicalDeviceIDProperties =
7258 result.sType = sType
7259 result.pNext = pNext
7260 result.deviceUUID = deviceUUID
7261 result.driverUUID = driverUUID
7262 result.deviceLUID = deviceLUID
7263 result.deviceNodeMask = deviceNodeMask
7264 result.deviceLUIDValid = deviceLUIDValid
7265
7266 proc newVkExternalMemoryImageCreateInfo*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalMemoryHandleTypeFlags): VkExternalMemoryImageCreateInfo =
7267 result.sType = sType
7268 result.pNext = pNext
7269 result.handleTypes = handleTypes
7270
7271 proc newVkExternalMemoryBufferCreateInfo*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalMemoryHandleTypeFlags): VkExternalMemoryBufferCreateInfo =
7272 result.sType = sType
7273 result.pNext = pNext
7274 result.handleTypes = handleTypes
7275
7276 proc newVkExportMemoryAllocateInfo*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalMemoryHandleTypeFlags): VkExportMemoryAllocateInfo =
7277 result.sType = sType
7278 result.pNext = pNext
7279 result.handleTypes = handleTypes
7280
7281 proc newVkImportMemoryWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalMemoryHandleTypeFlagBits, handle: HANDLE, name: LPCWSTR): VkImportMemoryWin32HandleInfoKHR =
7282 result.sType = sType
7283 result.pNext = pNext
7284 result.handleType = handleType
7285 result.handle = handle
7286 result.name = name
7287
7288 proc newVkExportMemoryWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, pAttributes: ptr SECURITY_ATTRIBUTES, dwAccess: DWORD, name: LPCWSTR): VkExportMemoryWin32HandleInfoKHR =
7289 result.sType = sType
7290 result.pNext = pNext
7291 result.pAttributes = pAttributes
7292 result.dwAccess = dwAccess
7293 result.name = name
7294
7295 proc newVkMemoryWin32HandlePropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, memoryTypeBits: uint32): VkMemoryWin32HandlePropertiesKHR =
7296 result.sType = sType
7297 result.pNext = pNext
7298 result.memoryTypeBits = memoryTypeBits
7299
7300 proc newVkMemoryGetWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, memory: VkDeviceMemory, handleType: VkExternalMemoryHandleTypeFlagBits): VkMemoryGetWin32HandleInfoKHR =
7301 result.sType = sType
7302 result.pNext = pNext
7303 result.memory = memory
7304 result.handleType = handleType
7305
7306 proc newVkImportMemoryFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalMemoryHandleTypeFlagBits, fd: int): VkImportMemoryFdInfoKHR =
7307 result.sType = sType
7308 result.pNext = pNext
7309 result.handleType = handleType
7310 result.fd = fd
7311
7312 proc newVkMemoryFdPropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, memoryTypeBits: uint32): VkMemoryFdPropertiesKHR =
7313 result.sType = sType
7314 result.pNext = pNext
7315 result.memoryTypeBits = memoryTypeBits
7316
7317 proc newVkMemoryGetFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, memory: VkDeviceMemory, handleType: VkExternalMemoryHandleTypeFlagBits): VkMemoryGetFdInfoKHR =
7318 result.sType = sType
7319 result.pNext = pNext
7320 result.memory = memory
7321 result.handleType = handleType
7322
7323 proc newVkWin32KeyedMutexAcquireReleaseInfoKHR*(sType: VkStructureType, pNext: pointer = nil, acquireCount: uint32, pAcquireSyncs: ptr VkDeviceMemory, pAcquireKeys: ptr uint64, pAcquireTimeouts: ptr uint32, releaseCount: uint32, pReleaseSyncs: ptr VkDeviceMemory, pReleaseKeys: ptr uint64): VkWin32KeyedMutexAcquireReleaseInfoKHR =
7324 result.sType = sType
7325 result.pNext = pNext
7326 result.acquireCount = acquireCount
7327 result.pAcquireSyncs = pAcquireSyncs
7328 result.pAcquireKeys = pAcquireKeys
7329 result.pAcquireTimeouts = pAcquireTimeouts
7330 result.releaseCount = releaseCount
7331 result.pReleaseSyncs = pReleaseSyncs
7332 result.pReleaseKeys = pReleaseKeys
7333
7334 proc newVkPhysicalDeviceExternalSemaphoreInfo*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalSemaphoreHandleTypeFlagBits): VkPhysicalDeviceExternalSemaphoreInfo =
7335 result.sType = sType
7336 result.pNext = pNext
7337 result.handleType = handleType
7338
7339 proc newVkExternalSemaphoreProperties*(sType: VkStructureType, pNext: pointer = nil, exportFromImportedHandleTypes: VkExternalSemaphoreHandleTypeFlags, compatibleHandleTypes: VkExternalSemaphoreHandleTypeFlags, externalSemaphoreFeatures: VkExternalSemaphoreFeatureFlags): VkExternalSemaphoreProperties =
7340 result.sType = sType
7341 result.pNext = pNext
7342 result.exportFromImportedHandleTypes = exportFromImportedHandleTypes
7343 result.compatibleHandleTypes = compatibleHandleTypes
7344 result.externalSemaphoreFeatures = externalSemaphoreFeatures
7345
7346 proc newVkExportSemaphoreCreateInfo*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalSemaphoreHandleTypeFlags): VkExportSemaphoreCreateInfo =
7347 result.sType = sType
7348 result.pNext = pNext
7349 result.handleTypes = handleTypes
7350
7351 proc newVkImportSemaphoreWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, semaphore: VkSemaphore, flags: VkSemaphoreImportFlags = 0.VkSemaphoreImportFlags, handleType: VkExternalSemaphoreHandleTypeFlagBits, handle: HANDLE, name: LPCWSTR): VkImportSemaphoreWin32HandleInfoKHR =
7352 result.sType = sType
7353 result.pNext = pNext
7354 result.semaphore = semaphore
7355 result.flags = flags
7356 result.handleType = handleType
7357 result.handle = handle
7358 result.name = name
7359
7360 proc newVkExportSemaphoreWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, pAttributes: ptr SECURITY_ATTRIBUTES, dwAccess: DWORD, name: LPCWSTR): VkExportSemaphoreWin32HandleInfoKHR =
7361 result.sType = sType
7362 result.pNext = pNext
7363 result.pAttributes = pAttributes
7364 result.dwAccess = dwAccess
7365 result.name = name
7366
7367 proc newVkD3D12FenceSubmitInfoKHR*(sType: VkStructureType, pNext: pointer = nil, waitSemaphoreValuesCount: uint32, pWaitSemaphoreValues: ptr uint64, signalSemaphoreValuesCount: uint32, pSignalSemaphoreValues: ptr uint64): VkD3D12FenceSubmitInfoKHR =
7368 result.sType = sType
7369 result.pNext = pNext
7370 result.waitSemaphoreValuesCount = waitSemaphoreValuesCount
7371 result.pWaitSemaphoreValues = pWaitSemaphoreValues
7372 result.signalSemaphoreValuesCount = signalSemaphoreValuesCount
7373 result.pSignalSemaphoreValues = pSignalSemaphoreValues
7374
7375 proc newVkSemaphoreGetWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, semaphore: VkSemaphore, handleType: VkExternalSemaphoreHandleTypeFlagBits): VkSemaphoreGetWin32HandleInfoKHR =
7376 result.sType = sType
7377 result.pNext = pNext
7378 result.semaphore = semaphore
7379 result.handleType = handleType
7380
7381 proc newVkImportSemaphoreFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, semaphore: VkSemaphore, flags: VkSemaphoreImportFlags = 0.VkSemaphoreImportFlags, handleType: VkExternalSemaphoreHandleTypeFlagBits, fd: int): VkImportSemaphoreFdInfoKHR =
7382 result.sType = sType
7383 result.pNext = pNext
7384 result.semaphore = semaphore
7385 result.flags = flags
7386 result.handleType = handleType
7387 result.fd = fd
7388
7389 proc newVkSemaphoreGetFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, semaphore: VkSemaphore, handleType: VkExternalSemaphoreHandleTypeFlagBits): VkSemaphoreGetFdInfoKHR =
7390 result.sType = sType
7391 result.pNext = pNext
7392 result.semaphore = semaphore
7393 result.handleType = handleType
7394
7395 proc newVkPhysicalDeviceExternalFenceInfo*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalFenceHandleTypeFlagBits): VkPhysicalDeviceExternalFenceInfo =
7396 result.sType = sType
7397 result.pNext = pNext
7398 result.handleType = handleType
7399
7400 proc newVkExternalFenceProperties*(sType: VkStructureType, pNext: pointer = nil, exportFromImportedHandleTypes: VkExternalFenceHandleTypeFlags, compatibleHandleTypes: VkExternalFenceHandleTypeFlags, externalFenceFeatures: VkExternalFenceFeatureFlags): VkExternalFenceProperties =
7401 result.sType = sType
7402 result.pNext = pNext
7403 result.exportFromImportedHandleTypes = exportFromImportedHandleTypes
7404 result.compatibleHandleTypes = compatibleHandleTypes
7405 result.externalFenceFeatures = externalFenceFeatures
7406
7407 proc newVkExportFenceCreateInfo*(sType: VkStructureType, pNext: pointer = nil, handleTypes: VkExternalFenceHandleTypeFlags): VkExportFenceCreateInfo =
7408 result.sType = sType
7409 result.pNext = pNext
7410 result.handleTypes = handleTypes
7411
7412 proc newVkImportFenceWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, fence: VkFence, flags: VkFenceImportFlags = 0.VkFenceImportFlags, handleType: VkExternalFenceHandleTypeFlagBits, handle: HANDLE, name: LPCWSTR): VkImportFenceWin32HandleInfoKHR =
7413 result.sType = sType
7414 result.pNext = pNext
7415 result.fence = fence
7416 result.flags = flags
7417 result.handleType = handleType
7418 result.handle = handle
7419 result.name = name
7420
7421 proc newVkExportFenceWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, pAttributes: ptr SECURITY_ATTRIBUTES, dwAccess: DWORD, name: LPCWSTR): VkExportFenceWin32HandleInfoKHR =
7422 result.sType = sType
7423 result.pNext = pNext
7424 result.pAttributes = pAttributes
7425 result.dwAccess = dwAccess
7426 result.name = name
7427
7428 proc newVkFenceGetWin32HandleInfoKHR*(sType: VkStructureType, pNext: pointer = nil, fence: VkFence, handleType: VkExternalFenceHandleTypeFlagBits): VkFenceGetWin32HandleInfoKHR =
7429 result.sType = sType
7430 result.pNext = pNext
7431 result.fence = fence
7432 result.handleType = handleType
7433
7434 proc newVkImportFenceFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, fence: VkFence, flags: VkFenceImportFlags = 0.VkFenceImportFlags, handleType: VkExternalFenceHandleTypeFlagBits, fd: int): VkImportFenceFdInfoKHR =
7435 result.sType = sType
7436 result.pNext = pNext
7437 result.fence = fence
7438 result.flags = flags
7439 result.handleType = handleType
7440 result.fd = fd
7441
7442 proc newVkFenceGetFdInfoKHR*(sType: VkStructureType, pNext: pointer = nil, fence: VkFence, handleType: VkExternalFenceHandleTypeFlagBits): VkFenceGetFdInfoKHR =
7443 result.sType = sType
7444 result.pNext = pNext
7445 result.fence = fence
7446 result.handleType = handleType
7447
7448 proc newVkPhysicalDeviceMultiviewFeatures*(sType: VkStructureType, pNext: pointer = nil, multiview: VkBool32, multiviewGeometryShader: VkBool32, multiviewTessellationShader: VkBool32): VkPhysicalDeviceMultiviewFeatures =
7449 result.sType = sType
7450 result.pNext = pNext
7451 result.multiview = multiview
7452 result.multiviewGeometryShader = multiviewGeometryShader
7453 result.multiviewTessellationShader = multiviewTessellationShader
7454
7455 proc newVkPhysicalDeviceMultiviewProperties*(sType: VkStructureType, pNext: pointer = nil, maxMultiviewViewCount: uint32, maxMultiviewInstanceIndex: uint32): VkPhysicalDeviceMultiviewProperties =
7456 result.sType = sType
7457 result.pNext = pNext
7458 result.maxMultiviewViewCount = maxMultiviewViewCount
7459 result.maxMultiviewInstanceIndex = maxMultiviewInstanceIndex
7460
7461 proc newVkRenderPassMultiviewCreateInfo*(sType: VkStructureType, pNext: pointer = nil, subpassCount: uint32, pViewMasks: ptr uint32, dependencyCount: uint32, pViewOffsets: ptr int32, correlationMaskCount: uint32, pCorrelationMasks: ptr uint32): VkRenderPassMultiviewCreateInfo =
7462 result.sType = sType
7463 result.pNext = pNext
7464 result.subpassCount = subpassCount
7465 result.pViewMasks = pViewMasks
7466 result.dependencyCount = dependencyCount
7467 result.pViewOffsets = pViewOffsets
7468 result.correlationMaskCount = correlationMaskCount
7469 result.pCorrelationMasks = pCorrelationMasks
7470
7471 proc newVkSurfaceCapabilities2EXT*(sType: VkStructureType, pNext: pointer = nil, minImageCount: uint32, maxImageCount: uint32, currentExtent: VkExtent2D, minImageExtent: VkExtent2D, maxImageExtent: VkExtent2D, maxImageArrayLayers: uint32, supportedTransforms: VkSurfaceTransformFlagsKHR, currentTransform: VkSurfaceTransformFlagBitsKHR, supportedCompositeAlpha: VkCompositeAlphaFlagsKHR, supportedUsageFlags: VkImageUsageFlags, supportedSurfaceCounters: VkSurfaceCounterFlagsEXT): VkSurfaceCapabilities2EXT =
7472 result.sType = sType
7473 result.pNext = pNext
7474 result.minImageCount = minImageCount
7475 result.maxImageCount = maxImageCount
7476 result.currentExtent = currentExtent
7477 result.minImageExtent = minImageExtent
7478 result.maxImageExtent = maxImageExtent
7479 result.maxImageArrayLayers = maxImageArrayLayers
7480 result.supportedTransforms = supportedTransforms
7481 result.currentTransform = currentTransform
7482 result.supportedCompositeAlpha = supportedCompositeAlpha
7483 result.supportedUsageFlags = supportedUsageFlags
7484 result.supportedSurfaceCounters = supportedSurfaceCounters
7485
7486 proc newVkDisplayPowerInfoEXT*(sType: VkStructureType, pNext: pointer = nil, powerState: VkDisplayPowerStateEXT): VkDisplayPowerInfoEXT =
7487 result.sType = sType
7488 result.pNext = pNext
7489 result.powerState = powerState
7490
7491 proc newVkDeviceEventInfoEXT*(sType: VkStructureType, pNext: pointer = nil, deviceEvent: VkDeviceEventTypeEXT): VkDeviceEventInfoEXT =
7492 result.sType = sType
7493 result.pNext = pNext
7494 result.deviceEvent = deviceEvent
7495
7496 proc newVkDisplayEventInfoEXT*(sType: VkStructureType, pNext: pointer = nil, displayEvent: VkDisplayEventTypeEXT): VkDisplayEventInfoEXT =
7497 result.sType = sType
7498 result.pNext = pNext
7499 result.displayEvent = displayEvent
7500
7501 proc newVkSwapchainCounterCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, surfaceCounters: VkSurfaceCounterFlagsEXT): VkSwapchainCounterCreateInfoEXT =
7502 result.sType = sType
7503 result.pNext = pNext
7504 result.surfaceCounters = surfaceCounters
7505
7506 proc newVkPhysicalDeviceGroupProperties*(sType: VkStructureType, pNext: pointer = nil, physicalDeviceCount: uint32, physicalDevices: array[VK_MAX_DEVICE_GROUP_SIZE, VkPhysicalDevice], subsetAllocation: VkBool32): VkPhysicalDeviceGroupProperties =
7507 result.sType = sType
7508 result.pNext = pNext
7509 result.physicalDeviceCount = physicalDeviceCount
7510 result.physicalDevices = physicalDevices
7511 result.subsetAllocation = subsetAllocation
7512
7513 proc newVkMemoryAllocateFlagsInfo*(sType: VkStructureType, pNext: pointer = nil, flags: VkMemoryAllocateFlags = 0.VkMemoryAllocateFlags, deviceMask: uint32): VkMemoryAllocateFlagsInfo =
7514 result.sType = sType
7515 result.pNext = pNext
7516 result.flags = flags
7517 result.deviceMask = deviceMask
7518
7519 proc newVkBindBufferMemoryInfo*(sType: VkStructureType, pNext: pointer = nil, buffer: VkBuffer, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkBindBufferMemoryInfo =
7520 result.sType = sType
7521 result.pNext = pNext
7522 result.buffer = buffer
7523 result.memory = memory
7524 result.memoryOffset = memoryOffset
7525
7526 proc newVkBindBufferMemoryDeviceGroupInfo*(sType: VkStructureType, pNext: pointer = nil, deviceIndexCount: uint32, pDeviceIndices: ptr uint32): VkBindBufferMemoryDeviceGroupInfo =
7527 result.sType = sType
7528 result.pNext = pNext
7529 result.deviceIndexCount = deviceIndexCount
7530 result.pDeviceIndices = pDeviceIndices
7531
7532 proc newVkBindImageMemoryInfo*(sType: VkStructureType, pNext: pointer = nil, image: VkImage, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkBindImageMemoryInfo =
7533 result.sType = sType
7534 result.pNext = pNext
7535 result.image = image
7536 result.memory = memory
7537 result.memoryOffset = memoryOffset
7538
7539 proc newVkBindImageMemoryDeviceGroupInfo*(sType: VkStructureType, pNext: pointer = nil, deviceIndexCount: uint32, pDeviceIndices: ptr uint32, splitInstanceBindRegionCount: uint32, pSplitInstanceBindRegions: ptr VkRect2D): VkBindImageMemoryDeviceGroupInfo =
7540 result.sType = sType
7541 result.pNext = pNext
7542 result.deviceIndexCount = deviceIndexCount
7543 result.pDeviceIndices = pDeviceIndices
7544 result.splitInstanceBindRegionCount = splitInstanceBindRegionCount
7545 result.pSplitInstanceBindRegions = pSplitInstanceBindRegions
7546
7547 proc newVkDeviceGroupRenderPassBeginInfo*(sType: VkStructureType, pNext: pointer = nil, deviceMask: uint32, deviceRenderAreaCount: uint32, pDeviceRenderAreas: ptr VkRect2D): VkDeviceGroupRenderPassBeginInfo =
7548 result.sType = sType
7549 result.pNext = pNext
7550 result.deviceMask = deviceMask
7551 result.deviceRenderAreaCount = deviceRenderAreaCount
7552 result.pDeviceRenderAreas = pDeviceRenderAreas
7553
7554 proc newVkDeviceGroupCommandBufferBeginInfo*(sType: VkStructureType, pNext: pointer = nil, deviceMask: uint32): VkDeviceGroupCommandBufferBeginInfo =
7555 result.sType = sType
7556 result.pNext = pNext
7557 result.deviceMask = deviceMask
7558
7559 proc newVkDeviceGroupSubmitInfo*(sType: VkStructureType, pNext: pointer = nil, waitSemaphoreCount: uint32, pWaitSemaphoreDeviceIndices: ptr uint32, commandBufferCount: uint32, pCommandBufferDeviceMasks: ptr uint32, signalSemaphoreCount: uint32, pSignalSemaphoreDeviceIndices: ptr uint32): VkDeviceGroupSubmitInfo =
7560 result.sType = sType
7561 result.pNext = pNext
7562 result.waitSemaphoreCount = waitSemaphoreCount
7563 result.pWaitSemaphoreDeviceIndices = pWaitSemaphoreDeviceIndices
7564 result.commandBufferCount = commandBufferCount
7565 result.pCommandBufferDeviceMasks = pCommandBufferDeviceMasks
7566 result.signalSemaphoreCount = signalSemaphoreCount
7567 result.pSignalSemaphoreDeviceIndices = pSignalSemaphoreDeviceIndices
7568
7569 proc newVkDeviceGroupBindSparseInfo*(sType: VkStructureType, pNext: pointer = nil, resourceDeviceIndex: uint32, memoryDeviceIndex: uint32): VkDeviceGroupBindSparseInfo =
7570 result.sType = sType
7571 result.pNext = pNext
7572 result.resourceDeviceIndex = resourceDeviceIndex
7573 result.memoryDeviceIndex = memoryDeviceIndex
7574
7575 proc newVkDeviceGroupPresentCapabilitiesKHR*(sType: VkStructureType, pNext: pointer = nil, presentMask: array[VK_MAX_DEVICE_GROUP_SIZE, uint32], modes: VkDeviceGroupPresentModeFlagsKHR): VkDeviceGroupPresentCapabilitiesKHR =
7576 result.sType = sType
7577 result.pNext = pNext
7578 result.presentMask = presentMask
7579 result.modes = modes
7580
7581 proc newVkImageSwapchainCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, swapchain: VkSwapchainKHR): VkImageSwapchainCreateInfoKHR =
7582 result.sType = sType
7583 result.pNext = pNext
7584 result.swapchain = swapchain
7585
7586 proc newVkBindImageMemorySwapchainInfoKHR*(sType: VkStructureType, pNext: pointer = nil, swapchain: VkSwapchainKHR, imageIndex: uint32): VkBindImageMemorySwapchainInfoKHR =
7587 result.sType = sType
7588 result.pNext = pNext
7589 result.swapchain = swapchain
7590 result.imageIndex = imageIndex
7591
7592 proc newVkAcquireNextImageInfoKHR*(sType: VkStructureType, pNext: pointer = nil, swapchain: VkSwapchainKHR, timeout: uint64, semaphore: VkSemaphore, fence: VkFence, deviceMask: uint32): VkAcquireNextImageInfoKHR =
7593 result.sType = sType
7594 result.pNext = pNext
7595 result.swapchain = swapchain
7596 result.timeout = timeout
7597 result.semaphore = semaphore
7598 result.fence = fence
7599 result.deviceMask = deviceMask
7600
7601 proc newVkDeviceGroupPresentInfoKHR*(sType: VkStructureType, pNext: pointer = nil, swapchainCount: uint32, pDeviceMasks: ptr uint32, mode: VkDeviceGroupPresentModeFlagBitsKHR): VkDeviceGroupPresentInfoKHR =
7602 result.sType = sType
7603 result.pNext = pNext
7604 result.swapchainCount = swapchainCount
7605 result.pDeviceMasks = pDeviceMasks
7606 result.mode = mode
7607
7608 proc newVkDeviceGroupDeviceCreateInfo*(sType: VkStructureType, pNext: pointer = nil, physicalDeviceCount: uint32, pPhysicalDevices: ptr VkPhysicalDevice): VkDeviceGroupDeviceCreateInfo =
7609 result.sType = sType
7610 result.pNext = pNext
7611 result.physicalDeviceCount = physicalDeviceCount
7612 result.pPhysicalDevices = pPhysicalDevices
7613
7614 proc newVkDeviceGroupSwapchainCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, modes: VkDeviceGroupPresentModeFlagsKHR): VkDeviceGroupSwapchainCreateInfoKHR =
7615 result.sType = sType
7616 result.pNext = pNext
7617 result.modes = modes
7618
7619 proc newVkDescriptorUpdateTemplateEntry*(dstBinding: uint32, dstArrayElement: uint32, descriptorCount: uint32, descriptorType: VkDescriptorType, offset: uint, stride: uint): VkDescriptorUpdateTemplateEntry =
7620 result.dstBinding = dstBinding
7621 result.dstArrayElement = dstArrayElement
7622 result.descriptorCount = descriptorCount
7623 result.descriptorType = descriptorType
7624 result.offset = offset
7625 result.stride = stride
7626
7627 proc newVkDescriptorUpdateTemplateCreateInfo*(sType: VkStructureType, pNext: pointer = nil, flags: VkDescriptorUpdateTemplateCreateFlags = 0.VkDescriptorUpdateTemplateCreateFlags, descriptorUpdateEntryCount: uint32, pDescriptorUpdateEntries: ptr VkDescriptorUpdateTemplateEntry, templateType: VkDescriptorUpdateTemplateType, descriptorSetLayout: VkDescriptorSetLayout, pipelineBindPoint: VkPipelineBindPoint, pipelineLayout: VkPipelineLayout, set: uint32): VkDescriptorUpdateTemplateCreateInfo =
7628 result.sType = sType
7629 result.pNext = pNext
7630 result.flags = flags
7631 result.descriptorUpdateEntryCount = descriptorUpdateEntryCount
7632 result.pDescriptorUpdateEntries = pDescriptorUpdateEntries
7633 result.templateType = templateType
7634 result.descriptorSetLayout = descriptorSetLayout
7635 result.pipelineBindPoint = pipelineBindPoint
7636 result.pipelineLayout = pipelineLayout
7637 result.set = set
7638
7639 proc newVkXYColorEXT*(x: float32, y: float32): VkXYColorEXT =
7640 result.x = x
7641 result.y = y
7642
7643 proc newVkHdrMetadataEXT*(sType: VkStructureType, pNext: pointer = nil, displayPrimaryRed: VkXYColorEXT, displayPrimaryGreen: VkXYColorEXT, displayPrimaryBlue: VkXYColorEXT, whitePoint: VkXYColorEXT, maxLuminance: float32, minLuminance: float32, maxContentLightLevel: float32, maxFrameAverageLightLevel: float32): VkHdrMetadataEXT =
7644 result.sType = sType
7645 result.pNext = pNext
7646 result.displayPrimaryRed = displayPrimaryRed
7647 result.displayPrimaryGreen = displayPrimaryGreen
7648 result.displayPrimaryBlue = displayPrimaryBlue
7649 result.whitePoint = whitePoint
7650 result.maxLuminance = maxLuminance
7651 result.minLuminance = minLuminance
7652 result.maxContentLightLevel = maxContentLightLevel
7653 result.maxFrameAverageLightLevel = maxFrameAverageLightLevel
7654
7655 proc newVkDisplayNativeHdrSurfaceCapabilitiesAMD*(sType: VkStructureType, pNext: pointer = nil, localDimmingSupport: VkBool32): VkDisplayNativeHdrSurfaceCapabilitiesAMD =
7656 result.sType = sType
7657 result.pNext = pNext
7658 result.localDimmingSupport = localDimmingSupport
7659
7660 proc newVkSwapchainDisplayNativeHdrCreateInfoAMD*(sType: VkStructureType, pNext: pointer = nil, localDimmingEnable: VkBool32): VkSwapchainDisplayNativeHdrCreateInfoAMD =
7661 result.sType = sType
7662 result.pNext = pNext
7663 result.localDimmingEnable = localDimmingEnable
7664
7665 proc newVkRefreshCycleDurationGOOGLE*(refreshDuration: uint64): VkRefreshCycleDurationGOOGLE =
7666 result.refreshDuration = refreshDuration
7667
7668 proc newVkPastPresentationTimingGOOGLE*(presentID: uint32, desiredPresentTime: uint64, actualPresentTime: uint64, earliestPresentTime: uint64, presentMargin: uint64): VkPastPresentationTimingGOOGLE =
7669 result.presentID = presentID
7670 result.desiredPresentTime = desiredPresentTime
7671 result.actualPresentTime = actualPresentTime
7672 result.earliestPresentTime = earliestPresentTime
7673 result.presentMargin = presentMargin
7674
7675 proc newVkPresentTimesInfoGOOGLE*(sType: VkStructureType, pNext: pointer = nil, swapchainCount: uint32, pTimes: ptr VkPresentTimeGOOGLE): VkPresentTimesInfoGOOGLE =
7676 result.sType = sType
7677 result.pNext = pNext
7678 result.swapchainCount = swapchainCount
7679 result.pTimes = pTimes
7680
7681 proc newVkPresentTimeGOOGLE*(presentID: uint32, desiredPresentTime: uint64): VkPresentTimeGOOGLE =
7682 result.presentID = presentID
7683 result.desiredPresentTime = desiredPresentTime
7684
7685 proc newVkIOSSurfaceCreateInfoMVK*(sType: VkStructureType, pNext: pointer = nil, flags: VkIOSSurfaceCreateFlagsMVK = 0.VkIOSSurfaceCreateFlagsMVK, pView: pointer = nil): VkIOSSurfaceCreateInfoMVK =
7686 result.sType = sType
7687 result.pNext = pNext
7688 result.flags = flags
7689 result.pView = pView
7690
7691 proc newVkMacOSSurfaceCreateInfoMVK*(sType: VkStructureType, pNext: pointer = nil, flags: VkMacOSSurfaceCreateFlagsMVK = 0.VkMacOSSurfaceCreateFlagsMVK, pView: pointer = nil): VkMacOSSurfaceCreateInfoMVK =
7692 result.sType = sType
7693 result.pNext = pNext
7694 result.flags = flags
7695 result.pView = pView
7696
7697 proc newVkMetalSurfaceCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkMetalSurfaceCreateFlagsEXT = 0.VkMetalSurfaceCreateFlagsEXT, pLayer: ptr CAMetalLayer): VkMetalSurfaceCreateInfoEXT =
7698 result.sType = sType
7699 result.pNext = pNext
7700 result.flags = flags
7701 result.pLayer = pLayer
7702
7703 proc newVkViewportWScalingNV*(xcoeff: float32, ycoeff: float32): VkViewportWScalingNV =
7704 result.xcoeff = xcoeff
7705 result.ycoeff = ycoeff
7706
7707 proc newVkPipelineViewportWScalingStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, viewportWScalingEnable: VkBool32, viewportCount: uint32, pViewportWScalings: ptr VkViewportWScalingNV): VkPipelineViewportWScalingStateCreateInfoNV =
7708 result.sType = sType
7709 result.pNext = pNext
7710 result.viewportWScalingEnable = viewportWScalingEnable
7711 result.viewportCount = viewportCount
7712 result.pViewportWScalings = pViewportWScalings
7713
7714 proc newVkViewportSwizzleNV*(x: VkViewportCoordinateSwizzleNV, y: VkViewportCoordinateSwizzleNV, z: VkViewportCoordinateSwizzleNV, w: VkViewportCoordinateSwizzleNV): VkViewportSwizzleNV =
7715 result.x = x
7716 result.y = y
7717 result.z = z
7718 result.w = w
7719
7720 proc newVkPipelineViewportSwizzleStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineViewportSwizzleStateCreateFlagsNV = 0.VkPipelineViewportSwizzleStateCreateFlagsNV, viewportCount: uint32, pViewportSwizzles: ptr VkViewportSwizzleNV): VkPipelineViewportSwizzleStateCreateInfoNV =
7721 result.sType = sType
7722 result.pNext = pNext
7723 result.flags = flags
7724 result.viewportCount = viewportCount
7725 result.pViewportSwizzles = pViewportSwizzles
7726
7727 proc newVkPhysicalDeviceDiscardRectanglePropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxDiscardRectangles: uint32): VkPhysicalDeviceDiscardRectanglePropertiesEXT =
7728 result.sType = sType
7729 result.pNext = pNext
7730 result.maxDiscardRectangles = maxDiscardRectangles
7731
7732 proc newVkPipelineDiscardRectangleStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineDiscardRectangleStateCreateFlagsEXT = 0.VkPipelineDiscardRectangleStateCreateFlagsEXT, discardRectangleMode: VkDiscardRectangleModeEXT, discardRectangleCount: uint32, pDiscardRectangles: ptr VkRect2D): VkPipelineDiscardRectangleStateCreateInfoEXT =
7733 result.sType = sType
7734 result.pNext = pNext
7735 result.flags = flags
7736 result.discardRectangleMode = discardRectangleMode
7737 result.discardRectangleCount = discardRectangleCount
7738 result.pDiscardRectangles = pDiscardRectangles
7739
7740 proc newVkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX*(sType: VkStructureType, pNext: pointer = nil, perViewPositionAllComponents: VkBool32): VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX =
7741 result.sType = sType
7742 result.pNext = pNext
7743 result.perViewPositionAllComponents = perViewPositionAllComponents
7744
7745 proc newVkInputAttachmentAspectReference*(subpass: uint32, inputAttachmentIndex: uint32, aspectMask: VkImageAspectFlags): VkInputAttachmentAspectReference =
7746 result.subpass = subpass
7747 result.inputAttachmentIndex = inputAttachmentIndex
7748 result.aspectMask = aspectMask
7749
7750 proc newVkRenderPassInputAttachmentAspectCreateInfo*(sType: VkStructureType, pNext: pointer = nil, aspectReferenceCount: uint32, pAspectReferences: ptr VkInputAttachmentAspectReference): VkRenderPassInputAttachmentAspectCreateInfo =
7751 result.sType = sType
7752 result.pNext = pNext
7753 result.aspectReferenceCount = aspectReferenceCount
7754 result.pAspectReferences = pAspectReferences
7755
7756 proc newVkPhysicalDeviceSurfaceInfo2KHR*(sType: VkStructureType, pNext: pointer = nil, surface: VkSurfaceKHR): VkPhysicalDeviceSurfaceInfo2KHR =
7757 result.sType = sType
7758 result.pNext = pNext
7759 result.surface = surface
7760
7761 proc newVkSurfaceCapabilities2KHR*(sType: VkStructureType, pNext: pointer = nil, surfaceCapabilities: VkSurfaceCapabilitiesKHR): VkSurfaceCapabilities2KHR =
7762 result.sType = sType
7763 result.pNext = pNext
7764 result.surfaceCapabilities = surfaceCapabilities
7765
7766 proc newVkSurfaceFormat2KHR*(sType: VkStructureType, pNext: pointer = nil, surfaceFormat: VkSurfaceFormatKHR): VkSurfaceFormat2KHR =
7767 result.sType = sType
7768 result.pNext = pNext
7769 result.surfaceFormat = surfaceFormat
7770
7771 proc newVkDisplayProperties2KHR*(sType: VkStructureType, pNext: pointer = nil, displayProperties: VkDisplayPropertiesKHR): VkDisplayProperties2KHR =
7772 result.sType = sType
7773 result.pNext = pNext
7774 result.displayProperties = displayProperties
7775
7776 proc newVkDisplayPlaneProperties2KHR*(sType: VkStructureType, pNext: pointer = nil, displayPlaneProperties: VkDisplayPlanePropertiesKHR): VkDisplayPlaneProperties2KHR =
7777 result.sType = sType
7778 result.pNext = pNext
7779 result.displayPlaneProperties = displayPlaneProperties
7780
7781 proc newVkDisplayModeProperties2KHR*(sType: VkStructureType, pNext: pointer = nil, displayModeProperties: VkDisplayModePropertiesKHR): VkDisplayModeProperties2KHR =
7782 result.sType = sType
7783 result.pNext = pNext
7784 result.displayModeProperties = displayModeProperties
7785
7786 proc newVkDisplayPlaneInfo2KHR*(sType: VkStructureType, pNext: pointer = nil, mode: VkDisplayModeKHR, planeIndex: uint32): VkDisplayPlaneInfo2KHR =
7787 result.sType = sType
7788 result.pNext = pNext
7789 result.mode = mode
7790 result.planeIndex = planeIndex
7791
7792 proc newVkDisplayPlaneCapabilities2KHR*(sType: VkStructureType, pNext: pointer = nil, capabilities: VkDisplayPlaneCapabilitiesKHR): VkDisplayPlaneCapabilities2KHR =
7793 result.sType = sType
7794 result.pNext = pNext
7795 result.capabilities = capabilities
7796
7797 proc newVkSharedPresentSurfaceCapabilitiesKHR*(sType: VkStructureType, pNext: pointer = nil, sharedPresentSupportedUsageFlags: VkImageUsageFlags): VkSharedPresentSurfaceCapabilitiesKHR =
7798 result.sType = sType
7799 result.pNext = pNext
7800 result.sharedPresentSupportedUsageFlags = sharedPresentSupportedUsageFlags
7801
7802 proc newVkPhysicalDevice16BitStorageFeatures*(sType: VkStructureType, pNext: pointer = nil, storageBuffer16BitAccess: VkBool32, uniformAndStorageBuffer16BitAccess: VkBool32, storagePushConstant16: VkBool32, storageInputOutput16: VkBool32): VkPhysicalDevice16BitStorageFeatures =
7803 result.sType = sType
7804 result.pNext = pNext
7805 result.storageBuffer16BitAccess = storageBuffer16BitAccess
7806 result.uniformAndStorageBuffer16BitAccess = uniformAndStorageBuffer16BitAccess
7807 result.storagePushConstant16 = storagePushConstant16
7808 result.storageInputOutput16 = storageInputOutput16
7809
7810 proc newVkPhysicalDeviceSubgroupProperties*(sType: VkStructureType, pNext: pointer = nil, subgroupSize: uint32, supportedStages: VkShaderStageFlags, supportedOperations: VkSubgroupFeatureFlags, quadOperationsInAllStages: VkBool32): VkPhysicalDeviceSubgroupProperties =
7811 result.sType = sType
7812 result.pNext = pNext
7813 result.subgroupSize = subgroupSize
7814 result.supportedStages = supportedStages
7815 result.supportedOperations = supportedOperations
7816 result.quadOperationsInAllStages = quadOperationsInAllStages
7817
7818 proc newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures*(sType: VkStructureType, pNext: pointer = nil, shaderSubgroupExtendedTypes: VkBool32): VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures =
7819 result.sType = sType
7820 result.pNext = pNext
7821 result.shaderSubgroupExtendedTypes = shaderSubgroupExtendedTypes
7822
7823 proc newVkBufferMemoryRequirementsInfo2*(sType: VkStructureType, pNext: pointer = nil, buffer: VkBuffer): VkBufferMemoryRequirementsInfo2 =
7824 result.sType = sType
7825 result.pNext = pNext
7826 result.buffer = buffer
7827
7828 proc newVkImageMemoryRequirementsInfo2*(sType: VkStructureType, pNext: pointer = nil, image: VkImage): VkImageMemoryRequirementsInfo2 =
7829 result.sType = sType
7830 result.pNext = pNext
7831 result.image = image
7832
7833 proc newVkImageSparseMemoryRequirementsInfo2*(sType: VkStructureType, pNext: pointer = nil, image: VkImage): VkImageSparseMemoryRequirementsInfo2 =
7834 result.sType = sType
7835 result.pNext = pNext
7836 result.image = image
7837
7838 proc newVkMemoryRequirements2*(sType: VkStructureType, pNext: pointer = nil, memoryRequirements: VkMemoryRequirements): VkMemoryRequirements2 =
7839 result.sType = sType
7840 result.pNext = pNext
7841 result.memoryRequirements = memoryRequirements
7842
7843 proc newVkSparseImageMemoryRequirements2*(sType: VkStructureType, pNext: pointer = nil, memoryRequirements: VkSparseImageMemoryRequirements): VkSparseImageMemoryRequirements2 =
7844 result.sType = sType
7845 result.pNext = pNext
7846 result.memoryRequirements = memoryRequirements
7847
7848 proc newVkPhysicalDevicePointClippingProperties*(sType: VkStructureType, pNext: pointer = nil, pointClippingBehavior: VkPointClippingBehavior): VkPhysicalDevicePointClippingProperties =
7849 result.sType = sType
7850 result.pNext = pNext
7851 result.pointClippingBehavior = pointClippingBehavior
7852
7853 proc newVkMemoryDedicatedRequirements*(sType: VkStructureType, pNext: pointer = nil, prefersDedicatedAllocation: VkBool32, requiresDedicatedAllocation: VkBool32): VkMemoryDedicatedRequirements =
7854 result.sType = sType
7855 result.pNext = pNext
7856 result.prefersDedicatedAllocation = prefersDedicatedAllocation
7857 result.requiresDedicatedAllocation = requiresDedicatedAllocation
7858
7859 proc newVkMemoryDedicatedAllocateInfo*(sType: VkStructureType, pNext: pointer = nil, image: VkImage, buffer: VkBuffer): VkMemoryDedicatedAllocateInfo =
7860 result.sType = sType
7861 result.pNext = pNext
7862 result.image = image
7863 result.buffer = buffer
7864
7865 proc newVkImageViewUsageCreateInfo*(sType: VkStructureType, pNext: pointer = nil, usage: VkImageUsageFlags): VkImageViewUsageCreateInfo =
7866 result.sType = sType
7867 result.pNext = pNext
7868 result.usage = usage
7869
7870 proc newVkPipelineTessellationDomainOriginStateCreateInfo*(sType: VkStructureType, pNext: pointer = nil, domainOrigin: VkTessellationDomainOrigin): VkPipelineTessellationDomainOriginStateCreateInfo =
7871 result.sType = sType
7872 result.pNext = pNext
7873 result.domainOrigin = domainOrigin
7874
7875 proc newVkSamplerYcbcrConversionInfo*(sType: VkStructureType, pNext: pointer = nil, conversion: VkSamplerYcbcrConversion): VkSamplerYcbcrConversionInfo =
7876 result.sType = sType
7877 result.pNext = pNext
7878 result.conversion = conversion
7879
7880 proc newVkSamplerYcbcrConversionCreateInfo*(sType: VkStructureType, pNext: pointer = nil, format: VkFormat, ycbcrModel: VkSamplerYcbcrModelConversion, ycbcrRange: VkSamplerYcbcrRange, components: VkComponentMapping, xChromaOffset: VkChromaLocation, yChromaOffset: VkChromaLocation, chromaFilter: VkFilter, forceExplicitReconstruction: VkBool32): VkSamplerYcbcrConversionCreateInfo =
7881 result.sType = sType
7882 result.pNext = pNext
7883 result.format = format
7884 result.ycbcrModel = ycbcrModel
7885 result.ycbcrRange = ycbcrRange
7886 result.components = components
7887 result.xChromaOffset = xChromaOffset
7888 result.yChromaOffset = yChromaOffset
7889 result.chromaFilter = chromaFilter
7890 result.forceExplicitReconstruction = forceExplicitReconstruction
7891
7892 proc newVkBindImagePlaneMemoryInfo*(sType: VkStructureType, pNext: pointer = nil, planeAspect: VkImageAspectFlagBits): VkBindImagePlaneMemoryInfo =
7893 result.sType = sType
7894 result.pNext = pNext
7895 result.planeAspect = planeAspect
7896
7897 proc newVkImagePlaneMemoryRequirementsInfo*(sType: VkStructureType, pNext: pointer = nil, planeAspect: VkImageAspectFlagBits): VkImagePlaneMemoryRequirementsInfo =
7898 result.sType = sType
7899 result.pNext = pNext
7900 result.planeAspect = planeAspect
7901
7902 proc newVkPhysicalDeviceSamplerYcbcrConversionFeatures*(sType: VkStructureType, pNext: pointer = nil, samplerYcbcrConversion: VkBool32): VkPhysicalDeviceSamplerYcbcrConversionFeatures =
7903 result.sType = sType
7904 result.pNext = pNext
7905 result.samplerYcbcrConversion = samplerYcbcrConversion
7906
7907 proc newVkSamplerYcbcrConversionImageFormatProperties*(sType: VkStructureType, pNext: pointer = nil, combinedImageSamplerDescriptorCount: uint32): VkSamplerYcbcrConversionImageFormatProperties =
7908 result.sType = sType
7909 result.pNext = pNext
7910 result.combinedImageSamplerDescriptorCount = combinedImageSamplerDescriptorCount
7911
7912 proc newVkTextureLODGatherFormatPropertiesAMD*(sType: VkStructureType, pNext: pointer = nil, supportsTextureGatherLODBiasAMD: VkBool32): VkTextureLODGatherFormatPropertiesAMD =
7913 result.sType = sType
7914 result.pNext = pNext
7915 result.supportsTextureGatherLODBiasAMD = supportsTextureGatherLODBiasAMD
7916
7917 proc newVkConditionalRenderingBeginInfoEXT*(sType: VkStructureType, pNext: pointer = nil, buffer: VkBuffer, offset: VkDeviceSize, flags: VkConditionalRenderingFlagsEXT = 0.VkConditionalRenderingFlagsEXT): VkConditionalRenderingBeginInfoEXT =
7918 result.sType = sType
7919 result.pNext = pNext
7920 result.buffer = buffer
7921 result.offset = offset
7922 result.flags = flags
7923
7924 proc newVkProtectedSubmitInfo*(sType: VkStructureType, pNext: pointer = nil, protectedSubmit: VkBool32): VkProtectedSubmitInfo =
7925 result.sType = sType
7926 result.pNext = pNext
7927 result.protectedSubmit = protectedSubmit
7928
7929 proc newVkPhysicalDeviceProtectedMemoryFeatures*(sType: VkStructureType, pNext: pointer = nil, protectedMemory: VkBool32): VkPhysicalDeviceProtectedMemoryFeatures =
7930 result.sType = sType
7931 result.pNext = pNext
7932 result.protectedMemory = protectedMemory
7933
7934 proc newVkPhysicalDeviceProtectedMemoryProperties*(sType: VkStructureType, pNext: pointer = nil, protectedNoFault: VkBool32): VkPhysicalDeviceProtectedMemoryProperties =
7935 result.sType = sType
7936 result.pNext = pNext
7937 result.protectedNoFault = protectedNoFault
7938
7939 proc newVkDeviceQueueInfo2*(sType: VkStructureType, pNext: pointer = nil, flags: VkDeviceQueueCreateFlags = 0.VkDeviceQueueCreateFlags, queueFamilyIndex: uint32, queueIndex: uint32): VkDeviceQueueInfo2 =
7940 result.sType = sType
7941 result.pNext = pNext
7942 result.flags = flags
7943 result.queueFamilyIndex = queueFamilyIndex
7944 result.queueIndex = queueIndex
7945
7946 proc newVkPipelineCoverageToColorStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineCoverageToColorStateCreateFlagsNV = 0.VkPipelineCoverageToColorStateCreateFlagsNV, coverageToColorEnable: VkBool32, coverageToColorLocation: uint32): VkPipelineCoverageToColorStateCreateInfoNV =
7947 result.sType = sType
7948 result.pNext = pNext
7949 result.flags = flags
7950 result.coverageToColorEnable = coverageToColorEnable
7951 result.coverageToColorLocation = coverageToColorLocation
7952
7953 proc newVkPhysicalDeviceSamplerFilterMinmaxProperties*(sType: VkStructureType, pNext: pointer = nil, filterMinmaxSingleComponentFormats: VkBool32, filterMinmaxImageComponentMapping: VkBool32): VkPhysicalDeviceSamplerFilterMinmaxProperties =
7954 result.sType = sType
7955 result.pNext = pNext
7956 result.filterMinmaxSingleComponentFormats = filterMinmaxSingleComponentFormats
7957 result.filterMinmaxImageComponentMapping = filterMinmaxImageComponentMapping
7958
7959 proc newVkSampleLocationEXT*(x: float32, y: float32): VkSampleLocationEXT =
7960 result.x = x
7961 result.y = y
7962
7963 proc newVkSampleLocationsInfoEXT*(sType: VkStructureType, pNext: pointer = nil, sampleLocationsPerPixel: VkSampleCountFlagBits, sampleLocationGridSize: VkExtent2D, sampleLocationsCount: uint32, pSampleLocations: ptr VkSampleLocationEXT): VkSampleLocationsInfoEXT =
7964 result.sType = sType
7965 result.pNext = pNext
7966 result.sampleLocationsPerPixel = sampleLocationsPerPixel
7967 result.sampleLocationGridSize = sampleLocationGridSize
7968 result.sampleLocationsCount = sampleLocationsCount
7969 result.pSampleLocations = pSampleLocations
7970
7971 proc newVkAttachmentSampleLocationsEXT*(attachmentIndex: uint32, sampleLocationsInfo: VkSampleLocationsInfoEXT): VkAttachmentSampleLocationsEXT =
7972 result.attachmentIndex = attachmentIndex
7973 result.sampleLocationsInfo = sampleLocationsInfo
7974
7975 proc newVkSubpassSampleLocationsEXT*(subpassIndex: uint32, sampleLocationsInfo: VkSampleLocationsInfoEXT): VkSubpassSampleLocationsEXT =
7976 result.subpassIndex = subpassIndex
7977 result.sampleLocationsInfo = sampleLocationsInfo
7978
7979 proc newVkRenderPassSampleLocationsBeginInfoEXT*(sType: VkStructureType, pNext: pointer = nil, attachmentInitialSampleLocationsCount: uint32, pAttachmentInitialSampleLocations: ptr VkAttachmentSampleLocationsEXT, postSubpassSampleLocationsCount: uint32, pPostSubpassSampleLocations: ptr VkSubpassSampleLocationsEXT): VkRenderPassSampleLocationsBeginInfoEXT =
7980 result.sType = sType
7981 result.pNext = pNext
7982 result.attachmentInitialSampleLocationsCount = attachmentInitialSampleLocationsCount
7983 result.pAttachmentInitialSampleLocations = pAttachmentInitialSampleLocations
7984 result.postSubpassSampleLocationsCount = postSubpassSampleLocationsCount
7985 result.pPostSubpassSampleLocations = pPostSubpassSampleLocations
7986
7987 proc newVkPipelineSampleLocationsStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, sampleLocationsEnable: VkBool32, sampleLocationsInfo: VkSampleLocationsInfoEXT): VkPipelineSampleLocationsStateCreateInfoEXT =
7988 result.sType = sType
7989 result.pNext = pNext
7990 result.sampleLocationsEnable = sampleLocationsEnable
7991 result.sampleLocationsInfo = sampleLocationsInfo
7992
7993 proc newVkPhysicalDeviceSampleLocationsPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, sampleLocationSampleCounts: VkSampleCountFlags, maxSampleLocationGridSize: VkExtent2D, sampleLocationCoordinateRange: array[2, float32], sampleLocationSubPixelBits: uint32, variableSampleLocations: VkBool32): VkPhysicalDeviceSampleLocationsPropertiesEXT =
7994 result.sType = sType
7995 result.pNext = pNext
7996 result.sampleLocationSampleCounts = sampleLocationSampleCounts
7997 result.maxSampleLocationGridSize = maxSampleLocationGridSize
7998 result.sampleLocationCoordinateRange = sampleLocationCoordinateRange
7999 result.sampleLocationSubPixelBits = sampleLocationSubPixelBits
8000 result.variableSampleLocations = variableSampleLocations
8001
8002 proc newVkMultisamplePropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxSampleLocationGridSize: VkExtent2D): VkMultisamplePropertiesEXT =
8003 result.sType = sType
8004 result.pNext = pNext
8005 result.maxSampleLocationGridSize = maxSampleLocationGridSize
8006
8007 proc newVkSamplerReductionModeCreateInfo*(sType: VkStructureType, pNext: pointer = nil, reductionMode: VkSamplerReductionMode): VkSamplerReductionModeCreateInfo =
8008 result.sType = sType
8009 result.pNext = pNext
8010 result.reductionMode = reductionMode
8011
8012 proc newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, advancedBlendCoherentOperations: VkBool32): VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT =
8013 result.sType = sType
8014 result.pNext = pNext
8015 result.advancedBlendCoherentOperations = advancedBlendCoherentOperations
8016
8017 proc newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, advancedBlendMaxColorAttachments: uint32, advancedBlendIndependentBlend: VkBool32, advancedBlendNonPremultipliedSrcColor: VkBool32, advancedBlendNonPremultipliedDstColor: VkBool32, advancedBlendCorrelatedOverlap: VkBool32, advancedBlendAllOperations: VkBool32): VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT =
8018 result.sType = sType
8019 result.pNext = pNext
8020 result.advancedBlendMaxColorAttachments = advancedBlendMaxColorAttachments
8021 result.advancedBlendIndependentBlend = advancedBlendIndependentBlend
8022 result.advancedBlendNonPremultipliedSrcColor = advancedBlendNonPremultipliedSrcColor
8023 result.advancedBlendNonPremultipliedDstColor = advancedBlendNonPremultipliedDstColor
8024 result.advancedBlendCorrelatedOverlap = advancedBlendCorrelatedOverlap
8025 result.advancedBlendAllOperations = advancedBlendAllOperations
8026
8027 proc newVkPipelineColorBlendAdvancedStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, srcPremultiplied: VkBool32, dstPremultiplied: VkBool32, blendOverlap: VkBlendOverlapEXT): VkPipelineColorBlendAdvancedStateCreateInfoEXT =
8028 result.sType = sType
8029 result.pNext = pNext
8030 result.srcPremultiplied = srcPremultiplied
8031 result.dstPremultiplied = dstPremultiplied
8032 result.blendOverlap = blendOverlap
8033
8034 proc newVkPhysicalDeviceInlineUniformBlockFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, inlineUniformBlock: VkBool32, descriptorBindingInlineUniformBlockUpdateAfterBind: VkBool32): VkPhysicalDeviceInlineUniformBlockFeaturesEXT =
8035 result.sType = sType
8036 result.pNext = pNext
8037 result.inlineUniformBlock = inlineUniformBlock
8038 result.descriptorBindingInlineUniformBlockUpdateAfterBind = descriptorBindingInlineUniformBlockUpdateAfterBind
8039
8040 proc newVkPhysicalDeviceInlineUniformBlockPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxInlineUniformBlockSize: uint32, maxPerStageDescriptorInlineUniformBlocks: uint32, maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks: uint32, maxDescriptorSetInlineUniformBlocks: uint32, maxDescriptorSetUpdateAfterBindInlineUniformBlocks: uint32): VkPhysicalDeviceInlineUniformBlockPropertiesEXT =
8041 result.sType = sType
8042 result.pNext = pNext
8043 result.maxInlineUniformBlockSize = maxInlineUniformBlockSize
8044 result.maxPerStageDescriptorInlineUniformBlocks = maxPerStageDescriptorInlineUniformBlocks
8045 result.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
8046 result.maxDescriptorSetInlineUniformBlocks = maxDescriptorSetInlineUniformBlocks
8047 result.maxDescriptorSetUpdateAfterBindInlineUniformBlocks = maxDescriptorSetUpdateAfterBindInlineUniformBlocks
8048
8049 proc newVkWriteDescriptorSetInlineUniformBlockEXT*(sType: VkStructureType, pNext: pointer = nil, dataSize: uint32, pData: pointer = nil): VkWriteDescriptorSetInlineUniformBlockEXT =
8050 result.sType = sType
8051 result.pNext = pNext
8052 result.dataSize = dataSize
8053 result.pData = pData
8054
8055 proc newVkDescriptorPoolInlineUniformBlockCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, maxInlineUniformBlockBindings: uint32): VkDescriptorPoolInlineUniformBlockCreateInfoEXT =
8056 result.sType = sType
8057 result.pNext = pNext
8058 result.maxInlineUniformBlockBindings = maxInlineUniformBlockBindings
8059
8060 proc newVkPipelineCoverageModulationStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineCoverageModulationStateCreateFlagsNV = 0.VkPipelineCoverageModulationStateCreateFlagsNV, coverageModulationMode: VkCoverageModulationModeNV, coverageModulationTableEnable: VkBool32, coverageModulationTableCount: uint32, pCoverageModulationTable: ptr float32): VkPipelineCoverageModulationStateCreateInfoNV =
8061 result.sType = sType
8062 result.pNext = pNext
8063 result.flags = flags
8064 result.coverageModulationMode = coverageModulationMode
8065 result.coverageModulationTableEnable = coverageModulationTableEnable
8066 result.coverageModulationTableCount = coverageModulationTableCount
8067 result.pCoverageModulationTable = pCoverageModulationTable
8068
8069 proc newVkImageFormatListCreateInfo*(sType: VkStructureType, pNext: pointer = nil, viewFormatCount: uint32, pViewFormats: ptr VkFormat): VkImageFormatListCreateInfo =
8070 result.sType = sType
8071 result.pNext = pNext
8072 result.viewFormatCount = viewFormatCount
8073 result.pViewFormats = pViewFormats
8074
8075 proc newVkValidationCacheCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkValidationCacheCreateFlagsEXT = 0.VkValidationCacheCreateFlagsEXT, initialDataSize: uint, pInitialData: pointer = nil): VkValidationCacheCreateInfoEXT =
8076 result.sType = sType
8077 result.pNext = pNext
8078 result.flags = flags
8079 result.initialDataSize = initialDataSize
8080 result.pInitialData = pInitialData
8081
8082 proc newVkShaderModuleValidationCacheCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, validationCache: VkValidationCacheEXT): VkShaderModuleValidationCacheCreateInfoEXT =
8083 result.sType = sType
8084 result.pNext = pNext
8085 result.validationCache = validationCache
8086
8087 proc newVkPhysicalDeviceMaintenance3Properties*(sType: VkStructureType, pNext: pointer = nil, maxPerSetDescriptors: uint32, maxMemoryAllocationSize: VkDeviceSize): VkPhysicalDeviceMaintenance3Properties =
8088 result.sType = sType
8089 result.pNext = pNext
8090 result.maxPerSetDescriptors = maxPerSetDescriptors
8091 result.maxMemoryAllocationSize = maxMemoryAllocationSize
8092
8093 proc newVkDescriptorSetLayoutSupport*(sType: VkStructureType, pNext: pointer = nil, supported: VkBool32): VkDescriptorSetLayoutSupport =
8094 result.sType = sType
8095 result.pNext = pNext
8096 result.supported = supported
8097
8098 proc newVkPhysicalDeviceShaderDrawParametersFeatures*(sType: VkStructureType, pNext: pointer = nil, shaderDrawParameters: VkBool32): VkPhysicalDeviceShaderDrawParametersFeatures =
8099 result.sType = sType
8100 result.pNext = pNext
8101 result.shaderDrawParameters = shaderDrawParameters
8102
8103 proc newVkPhysicalDeviceShaderFloat16Int8Features*(sType: VkStructureType, pNext: pointer = nil, shaderFloat16: VkBool32, shaderInt8: VkBool32): VkPhysicalDeviceShaderFloat16Int8Features =
8104 result.sType = sType
8105 result.pNext = pNext
8106 result.shaderFloat16 = shaderFloat16
8107 result.shaderInt8 = shaderInt8
8108
8109 proc newVkPhysicalDeviceFloatControlsProperties*(sType: VkStructureType, pNext: pointer = nil, denormBehaviorIndependence: VkShaderFloatControlsIndependence, roundingModeIndependence: VkShaderFloatControlsIndependence, shaderSignedZeroInfNanPreserveFloat16: VkBool32, shaderSignedZeroInfNanPreserveFloat32: VkBool32, shaderSignedZeroInfNanPreserveFloat64: VkBool32, shaderDenormPreserveFloat16: VkBool32, shaderDenormPreserveFloat32: VkBool32, shaderDenormPreserveFloat64: VkBool32, shaderDenormFlushToZeroFloat16: VkBool32, shaderDenormFlushToZeroFloat32: VkBool32, shaderDenormFlushToZeroFloat64: VkBool32, shaderRoundingModeRTEFloat16: VkBool32, shaderRoundingModeRTEFloat32: VkBool32, shaderRoundingModeRTEFloat64: VkBool32, shaderRoundingModeRTZFloat16: VkBool32, shaderRoundingModeRTZFloat32: VkBool32, shaderRoundingModeRTZFloat64: VkBool32): VkPhysicalDeviceFloatControlsProperties =
8110 result.sType = sType
8111 result.pNext = pNext
8112 result.denormBehaviorIndependence = denormBehaviorIndependence
8113 result.roundingModeIndependence = roundingModeIndependence
8114 result.shaderSignedZeroInfNanPreserveFloat16 = shaderSignedZeroInfNanPreserveFloat16
8115 result.shaderSignedZeroInfNanPreserveFloat32 = shaderSignedZeroInfNanPreserveFloat32
8116 result.shaderSignedZeroInfNanPreserveFloat64 = shaderSignedZeroInfNanPreserveFloat64
8117 result.shaderDenormPreserveFloat16 = shaderDenormPreserveFloat16
8118 result.shaderDenormPreserveFloat32 = shaderDenormPreserveFloat32
8119 result.shaderDenormPreserveFloat64 = shaderDenormPreserveFloat64
8120 result.shaderDenormFlushToZeroFloat16 = shaderDenormFlushToZeroFloat16
8121 result.shaderDenormFlushToZeroFloat32 = shaderDenormFlushToZeroFloat32
8122 result.shaderDenormFlushToZeroFloat64 = shaderDenormFlushToZeroFloat64
8123 result.shaderRoundingModeRTEFloat16 = shaderRoundingModeRTEFloat16
8124 result.shaderRoundingModeRTEFloat32 = shaderRoundingModeRTEFloat32
8125 result.shaderRoundingModeRTEFloat64 = shaderRoundingModeRTEFloat64
8126 result.shaderRoundingModeRTZFloat16 = shaderRoundingModeRTZFloat16
8127 result.shaderRoundingModeRTZFloat32 = shaderRoundingModeRTZFloat32
8128 result.shaderRoundingModeRTZFloat64 = shaderRoundingModeRTZFloat64
8129
8130 proc newVkPhysicalDeviceHostQueryResetFeatures*(sType: VkStructureType, pNext: pointer = nil, hostQueryReset: VkBool32): VkPhysicalDeviceHostQueryResetFeatures =
8131 result.sType = sType
8132 result.pNext = pNext
8133 result.hostQueryReset = hostQueryReset
8134
8135 proc newVkNativeBufferUsage2ANDROID*(consumer: uint64, producer: uint64): VkNativeBufferUsage2ANDROID =
8136 result.consumer = consumer
8137 result.producer = producer
8138
8139 proc newVkNativeBufferANDROID*(sType: VkStructureType, pNext: pointer = nil, handle: pointer = nil, stride: int, format: int, usage: int, usage2: VkNativeBufferUsage2ANDROID): VkNativeBufferANDROID =
8140 result.sType = sType
8141 result.pNext = pNext
8142 result.handle = handle
8143 result.stride = stride
8144 result.format = format
8145 result.usage = usage
8146 result.usage2 = usage2
8147
8148 proc newVkSwapchainImageCreateInfoANDROID*(sType: VkStructureType, pNext: pointer = nil, usage: VkSwapchainImageUsageFlagsANDROID): VkSwapchainImageCreateInfoANDROID =
8149 result.sType = sType
8150 result.pNext = pNext
8151 result.usage = usage
8152
8153 proc newVkPhysicalDevicePresentationPropertiesANDROID*(sType: VkStructureType, pNext: pointer = nil, sharedImage: VkBool32): VkPhysicalDevicePresentationPropertiesANDROID =
8154 result.sType = sType
8155 result.pNext = pNext
8156 result.sharedImage = sharedImage
8157
8158 proc newVkShaderResourceUsageAMD*(numUsedVgprs: uint32, numUsedSgprs: uint32, ldsSizePerLocalWorkGroup: uint32, ldsUsageSizeInBytes: uint, scratchMemUsageInBytes: uint): VkShaderResourceUsageAMD =
8159 result.numUsedVgprs = numUsedVgprs
8160 result.numUsedSgprs = numUsedSgprs
8161 result.ldsSizePerLocalWorkGroup = ldsSizePerLocalWorkGroup
8162 result.ldsUsageSizeInBytes = ldsUsageSizeInBytes
8163 result.scratchMemUsageInBytes = scratchMemUsageInBytes
8164
8165 proc newVkShaderStatisticsInfoAMD*(shaderStageMask: VkShaderStageFlags, resourceUsage: VkShaderResourceUsageAMD, numPhysicalVgprs: uint32, numPhysicalSgprs: uint32, numAvailableVgprs: uint32, numAvailableSgprs: uint32, computeWorkGroupSize: array[3, uint32]): VkShaderStatisticsInfoAMD =
8166 result.shaderStageMask = shaderStageMask
8167 result.resourceUsage = resourceUsage
8168 result.numPhysicalVgprs = numPhysicalVgprs
8169 result.numPhysicalSgprs = numPhysicalSgprs
8170 result.numAvailableVgprs = numAvailableVgprs
8171 result.numAvailableSgprs = numAvailableSgprs
8172 result.computeWorkGroupSize = computeWorkGroupSize
8173
8174 proc newVkDeviceQueueGlobalPriorityCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, globalPriority: VkQueueGlobalPriorityEXT): VkDeviceQueueGlobalPriorityCreateInfoEXT =
8175 result.sType = sType
8176 result.pNext = pNext
8177 result.globalPriority = globalPriority
8178
8179 proc newVkDebugUtilsObjectNameInfoEXT*(sType: VkStructureType, pNext: pointer = nil, objectType: VkObjectType, objectHandle: uint64, pObjectName: cstring): VkDebugUtilsObjectNameInfoEXT =
8180 result.sType = sType
8181 result.pNext = pNext
8182 result.objectType = objectType
8183 result.objectHandle = objectHandle
8184 result.pObjectName = pObjectName
8185
8186 proc newVkDebugUtilsObjectTagInfoEXT*(sType: VkStructureType, pNext: pointer = nil, objectType: VkObjectType, objectHandle: uint64, tagName: uint64, tagSize: uint, pTag: pointer = nil): VkDebugUtilsObjectTagInfoEXT =
8187 result.sType = sType
8188 result.pNext = pNext
8189 result.objectType = objectType
8190 result.objectHandle = objectHandle
8191 result.tagName = tagName
8192 result.tagSize = tagSize
8193 result.pTag = pTag
8194
8195 proc newVkDebugUtilsLabelEXT*(sType: VkStructureType, pNext: pointer = nil, pLabelName: cstring, color: array[4, float32]): VkDebugUtilsLabelEXT =
8196 result.sType = sType
8197 result.pNext = pNext
8198 result.pLabelName = pLabelName
8199 result.color = color
8200
8201 proc newVkDebugUtilsMessengerCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkDebugUtilsMessengerCreateFlagsEXT = 0.VkDebugUtilsMessengerCreateFlagsEXT, messageSeverity: VkDebugUtilsMessageSeverityFlagsEXT, messageType: VkDebugUtilsMessageTypeFlagsEXT, pfnUserCallback: PFN_vkDebugUtilsMessengerCallbackEXT, pUserData: pointer = nil): VkDebugUtilsMessengerCreateInfoEXT =
8202 result.sType = sType
8203 result.pNext = pNext
8204 result.flags = flags
8205 result.messageSeverity = messageSeverity
8206 result.messageType = messageType
8207 result.pfnUserCallback = pfnUserCallback
8208 result.pUserData = pUserData
8209
8210 proc newVkDebugUtilsMessengerCallbackDataEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkDebugUtilsMessengerCallbackDataFlagsEXT = 0.VkDebugUtilsMessengerCallbackDataFlagsEXT, pMessageIdName: cstring, messageIdNumber: int32, pMessage: cstring, queueLabelCount: uint32, pQueueLabels: ptr VkDebugUtilsLabelEXT, cmdBufLabelCount: uint32, pCmdBufLabels: ptr VkDebugUtilsLabelEXT, objectCount: uint32, pObjects: ptr VkDebugUtilsObjectNameInfoEXT): VkDebugUtilsMessengerCallbackDataEXT =
8211 result.sType = sType
8212 result.pNext = pNext
8213 result.flags = flags
8214 result.pMessageIdName = pMessageIdName
8215 result.messageIdNumber = messageIdNumber
8216 result.pMessage = pMessage
8217 result.queueLabelCount = queueLabelCount
8218 result.pQueueLabels = pQueueLabels
8219 result.cmdBufLabelCount = cmdBufLabelCount
8220 result.pCmdBufLabels = pCmdBufLabels
8221 result.objectCount = objectCount
8222 result.pObjects = pObjects
8223
8224 proc newVkImportMemoryHostPointerInfoEXT*(sType: VkStructureType, pNext: pointer = nil, handleType: VkExternalMemoryHandleTypeFlagBits, pHostPointer: pointer = nil): VkImportMemoryHostPointerInfoEXT =
8225 result.sType = sType
8226 result.pNext = pNext
8227 result.handleType = handleType
8228 result.pHostPointer = pHostPointer
8229
8230 proc newVkMemoryHostPointerPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, memoryTypeBits: uint32): VkMemoryHostPointerPropertiesEXT =
8231 result.sType = sType
8232 result.pNext = pNext
8233 result.memoryTypeBits = memoryTypeBits
8234
8235 proc newVkPhysicalDeviceExternalMemoryHostPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, minImportedHostPointerAlignment: VkDeviceSize): VkPhysicalDeviceExternalMemoryHostPropertiesEXT =
8236 result.sType = sType
8237 result.pNext = pNext
8238 result.minImportedHostPointerAlignment = minImportedHostPointerAlignment
8239
8240 proc newVkPhysicalDeviceConservativeRasterizationPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, primitiveOverestimationSize: float32, maxExtraPrimitiveOverestimationSize: float32, extraPrimitiveOverestimationSizeGranularity: float32, primitiveUnderestimation: VkBool32, conservativePointAndLineRasterization: VkBool32, degenerateTrianglesRasterized: VkBool32, degenerateLinesRasterized: VkBool32, fullyCoveredFragmentShaderInputVariable: VkBool32, conservativeRasterizationPostDepthCoverage: VkBool32): VkPhysicalDeviceConservativeRasterizationPropertiesEXT =
8241 result.sType = sType
8242 result.pNext = pNext
8243 result.primitiveOverestimationSize = primitiveOverestimationSize
8244 result.maxExtraPrimitiveOverestimationSize = maxExtraPrimitiveOverestimationSize
8245 result.extraPrimitiveOverestimationSizeGranularity = extraPrimitiveOverestimationSizeGranularity
8246 result.primitiveUnderestimation = primitiveUnderestimation
8247 result.conservativePointAndLineRasterization = conservativePointAndLineRasterization
8248 result.degenerateTrianglesRasterized = degenerateTrianglesRasterized
8249 result.degenerateLinesRasterized = degenerateLinesRasterized
8250 result.fullyCoveredFragmentShaderInputVariable = fullyCoveredFragmentShaderInputVariable
8251 result.conservativeRasterizationPostDepthCoverage = conservativeRasterizationPostDepthCoverage
8252
8253 proc newVkCalibratedTimestampInfoEXT*(sType: VkStructureType, pNext: pointer = nil, timeDomain: VkTimeDomainEXT): VkCalibratedTimestampInfoEXT =
8254 result.sType = sType
8255 result.pNext = pNext
8256 result.timeDomain = timeDomain
8257
8258 proc newVkPhysicalDeviceShaderCorePropertiesAMD*(sType: VkStructureType, pNext: pointer = nil, shaderEngineCount: uint32, shaderArraysPerEngineCount: uint32, computeUnitsPerShaderArray: uint32, simdPerComputeUnit: uint32, wavefrontsPerSimd: uint32, wavefrontSize: uint32, sgprsPerSimd: uint32, minSgprAllocation: uint32, maxSgprAllocation: uint32, sgprAllocationGranularity: uint32, vgprsPerSimd: uint32, minVgprAllocation: uint32, maxVgprAllocation: uint32, vgprAllocationGranularity: uint32): VkPhysicalDeviceShaderCorePropertiesAMD =
8259 result.sType = sType
8260 result.pNext = pNext
8261 result.shaderEngineCount = shaderEngineCount
8262 result.shaderArraysPerEngineCount = shaderArraysPerEngineCount
8263 result.computeUnitsPerShaderArray = computeUnitsPerShaderArray
8264 result.simdPerComputeUnit = simdPerComputeUnit
8265 result.wavefrontsPerSimd = wavefrontsPerSimd
8266 result.wavefrontSize = wavefrontSize
8267 result.sgprsPerSimd = sgprsPerSimd
8268 result.minSgprAllocation = minSgprAllocation
8269 result.maxSgprAllocation = maxSgprAllocation
8270 result.sgprAllocationGranularity = sgprAllocationGranularity
8271 result.vgprsPerSimd = vgprsPerSimd
8272 result.minVgprAllocation = minVgprAllocation
8273 result.maxVgprAllocation = maxVgprAllocation
8274 result.vgprAllocationGranularity = vgprAllocationGranularity
8275
8276 proc newVkPhysicalDeviceShaderCoreProperties2AMD*(sType: VkStructureType, pNext: pointer = nil, shaderCoreFeatures: VkShaderCorePropertiesFlagsAMD, activeComputeUnitCount: uint32): VkPhysicalDeviceShaderCoreProperties2AMD =
8277 result.sType = sType
8278 result.pNext = pNext
8279 result.shaderCoreFeatures = shaderCoreFeatures
8280 result.activeComputeUnitCount = activeComputeUnitCount
8281
8282 proc newVkPipelineRasterizationConservativeStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineRasterizationConservativeStateCreateFlagsEXT = 0.VkPipelineRasterizationConservativeStateCreateFlagsEXT, conservativeRasterizationMode: VkConservativeRasterizationModeEXT, extraPrimitiveOverestimationSize: float32): VkPipelineRasterizationConservativeStateCreateInfoEXT =
8283 result.sType = sType
8284 result.pNext = pNext
8285 result.flags = flags
8286 result.conservativeRasterizationMode = conservativeRasterizationMode
8287 result.extraPrimitiveOverestimationSize = extraPrimitiveOverestimationSize
8288
8289 proc newVkPhysicalDeviceDescriptorIndexingFeatures*(sType: VkStructureType, pNext: pointer = nil, shaderInputAttachmentArrayDynamicIndexing: VkBool32, shaderUniformTexelBufferArrayDynamicIndexing: VkBool32, shaderStorageTexelBufferArrayDynamicIndexing: VkBool32, shaderUniformBufferArrayNonUniformIndexing: VkBool32, shaderSampledImageArrayNonUniformIndexing: VkBool32, shaderStorageBufferArrayNonUniformIndexing: VkBool32, shaderStorageImageArrayNonUniformIndexing: VkBool32, shaderInputAttachmentArrayNonUniformIndexing: VkBool32, shaderUniformTexelBufferArrayNonUniformIndexing: VkBool32, shaderStorageTexelBufferArrayNonUniformIndexing: VkBool32, descriptorBindingUniformBufferUpdateAfterBind: VkBool32, descriptorBindingSampledImageUpdateAfterBind: VkBool32, descriptorBindingStorageImageUpdateAfterBind: VkBool32, descriptorBindingStorageBufferUpdateAfterBind: VkBool32, descriptorBindingUniformTexelBufferUpdateAfterBind: VkBool32, descriptorBindingStorageTexelBufferUpdateAfterBind: VkBool32, descriptorBindingUpdateUnusedWhilePending: VkBool32, descriptorBindingPartiallyBound: VkBool32, descriptorBindingVariableDescriptorCount: VkBool32, runtimeDescriptorArray: VkBool32): VkPhysicalDeviceDescriptorIndexingFeatures =
8290 result.sType = sType
8291 result.pNext = pNext
8292 result.shaderInputAttachmentArrayDynamicIndexing = shaderInputAttachmentArrayDynamicIndexing
8293 result.shaderUniformTexelBufferArrayDynamicIndexing = shaderUniformTexelBufferArrayDynamicIndexing
8294 result.shaderStorageTexelBufferArrayDynamicIndexing = shaderStorageTexelBufferArrayDynamicIndexing
8295 result.shaderUniformBufferArrayNonUniformIndexing = shaderUniformBufferArrayNonUniformIndexing
8296 result.shaderSampledImageArrayNonUniformIndexing = shaderSampledImageArrayNonUniformIndexing
8297 result.shaderStorageBufferArrayNonUniformIndexing = shaderStorageBufferArrayNonUniformIndexing
8298 result.shaderStorageImageArrayNonUniformIndexing = shaderStorageImageArrayNonUniformIndexing
8299 result.shaderInputAttachmentArrayNonUniformIndexing = shaderInputAttachmentArrayNonUniformIndexing
8300 result.shaderUniformTexelBufferArrayNonUniformIndexing = shaderUniformTexelBufferArrayNonUniformIndexing
8301 result.shaderStorageTexelBufferArrayNonUniformIndexing = shaderStorageTexelBufferArrayNonUniformIndexing
8302 result.descriptorBindingUniformBufferUpdateAfterBind = descriptorBindingUniformBufferUpdateAfterBind
8303 result.descriptorBindingSampledImageUpdateAfterBind = descriptorBindingSampledImageUpdateAfterBind
8304 result.descriptorBindingStorageImageUpdateAfterBind = descriptorBindingStorageImageUpdateAfterBind
8305 result.descriptorBindingStorageBufferUpdateAfterBind = descriptorBindingStorageBufferUpdateAfterBind
8306 result.descriptorBindingUniformTexelBufferUpdateAfterBind = descriptorBindingUniformTexelBufferUpdateAfterBind
8307 result.descriptorBindingStorageTexelBufferUpdateAfterBind = descriptorBindingStorageTexelBufferUpdateAfterBind
8308 result.descriptorBindingUpdateUnusedWhilePending = descriptorBindingUpdateUnusedWhilePending
8309 result.descriptorBindingPartiallyBound = descriptorBindingPartiallyBound
8310 result.descriptorBindingVariableDescriptorCount = descriptorBindingVariableDescriptorCount
8311 result.runtimeDescriptorArray = runtimeDescriptorArray
8312
8313 proc newVkPhysicalDeviceDescriptorIndexingProperties*(sType: VkStructureType, pNext: pointer = nil, maxUpdateAfterBindDescriptorsInAllPools: uint32, shaderUniformBufferArrayNonUniformIndexingNative: VkBool32, shaderSampledImageArrayNonUniformIndexingNative: VkBool32, shaderStorageBufferArrayNonUniformIndexingNative: VkBool32, shaderStorageImageArrayNonUniformIndexingNative: VkBool32, shaderInputAttachmentArrayNonUniformIndexingNative: VkBool32, robustBufferAccessUpdateAfterBind: VkBool32, quadDivergentImplicitLod: VkBool32, maxPerStageDescriptorUpdateAfterBindSamplers: uint32, maxPerStageDescriptorUpdateAfterBindUniformBuffers: uint32, maxPerStageDescriptorUpdateAfterBindStorageBuffers: uint32, maxPerStageDescriptorUpdateAfterBindSampledImages: uint32, maxPerStageDescriptorUpdateAfterBindStorageImages: uint32, maxPerStageDescriptorUpdateAfterBindInputAttachments: uint32, maxPerStageUpdateAfterBindResources: uint32, maxDescriptorSetUpdateAfterBindSamplers: uint32, maxDescriptorSetUpdateAfterBindUniformBuffers: uint32, maxDescriptorSetUpdateAfterBindUniformBuffersDynamic: uint32, maxDescriptorSetUpdateAfterBindStorageBuffers: uint32, maxDescriptorSetUpdateAfterBindStorageBuffersDynamic: uint32, maxDescriptorSetUpdateAfterBindSampledImages: uint32, maxDescriptorSetUpdateAfterBindStorageImages: uint32, maxDescriptorSetUpdateAfterBindInputAttachments: uint32): VkPhysicalDeviceDescriptorIndexingProperties =
8314 result.sType = sType
8315 result.pNext = pNext
8316 result.maxUpdateAfterBindDescriptorsInAllPools = maxUpdateAfterBindDescriptorsInAllPools
8317 result.shaderUniformBufferArrayNonUniformIndexingNative = shaderUniformBufferArrayNonUniformIndexingNative
8318 result.shaderSampledImageArrayNonUniformIndexingNative = shaderSampledImageArrayNonUniformIndexingNative
8319 result.shaderStorageBufferArrayNonUniformIndexingNative = shaderStorageBufferArrayNonUniformIndexingNative
8320 result.shaderStorageImageArrayNonUniformIndexingNative = shaderStorageImageArrayNonUniformIndexingNative
8321 result.shaderInputAttachmentArrayNonUniformIndexingNative = shaderInputAttachmentArrayNonUniformIndexingNative
8322 result.robustBufferAccessUpdateAfterBind = robustBufferAccessUpdateAfterBind
8323 result.quadDivergentImplicitLod = quadDivergentImplicitLod
8324 result.maxPerStageDescriptorUpdateAfterBindSamplers = maxPerStageDescriptorUpdateAfterBindSamplers
8325 result.maxPerStageDescriptorUpdateAfterBindUniformBuffers = maxPerStageDescriptorUpdateAfterBindUniformBuffers
8326 result.maxPerStageDescriptorUpdateAfterBindStorageBuffers = maxPerStageDescriptorUpdateAfterBindStorageBuffers
8327 result.maxPerStageDescriptorUpdateAfterBindSampledImages = maxPerStageDescriptorUpdateAfterBindSampledImages
8328 result.maxPerStageDescriptorUpdateAfterBindStorageImages = maxPerStageDescriptorUpdateAfterBindStorageImages
8329 result.maxPerStageDescriptorUpdateAfterBindInputAttachments = maxPerStageDescriptorUpdateAfterBindInputAttachments
8330 result.maxPerStageUpdateAfterBindResources = maxPerStageUpdateAfterBindResources
8331 result.maxDescriptorSetUpdateAfterBindSamplers = maxDescriptorSetUpdateAfterBindSamplers
8332 result.maxDescriptorSetUpdateAfterBindUniformBuffers = maxDescriptorSetUpdateAfterBindUniformBuffers
8333 result.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = maxDescriptorSetUpdateAfterBindUniformBuffersDynamic
8334 result.maxDescriptorSetUpdateAfterBindStorageBuffers = maxDescriptorSetUpdateAfterBindStorageBuffers
8335 result.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = maxDescriptorSetUpdateAfterBindStorageBuffersDynamic
8336 result.maxDescriptorSetUpdateAfterBindSampledImages = maxDescriptorSetUpdateAfterBindSampledImages
8337 result.maxDescriptorSetUpdateAfterBindStorageImages = maxDescriptorSetUpdateAfterBindStorageImages
8338 result.maxDescriptorSetUpdateAfterBindInputAttachments = maxDescriptorSetUpdateAfterBindInputAttachments
8339
8340 proc newVkDescriptorSetLayoutBindingFlagsCreateInfo*(sType: VkStructureType, pNext: pointer = nil, bindingCount: uint32, pBindingFlags: ptr VkDescriptorBindingFlags): VkDescriptorSetLayoutBindingFlagsCreateInfo =
8341 result.sType = sType
8342 result.pNext = pNext
8343 result.bindingCount = bindingCount
8344 result.pBindingFlags = pBindingFlags
8345
8346 proc newVkDescriptorSetVariableDescriptorCountAllocateInfo*(sType: VkStructureType, pNext: pointer = nil, descriptorSetCount: uint32, pDescriptorCounts: ptr uint32): VkDescriptorSetVariableDescriptorCountAllocateInfo =
8347 result.sType = sType
8348 result.pNext = pNext
8349 result.descriptorSetCount = descriptorSetCount
8350 result.pDescriptorCounts = pDescriptorCounts
8351
8352 proc newVkDescriptorSetVariableDescriptorCountLayoutSupport*(sType: VkStructureType, pNext: pointer = nil, maxVariableDescriptorCount: uint32): VkDescriptorSetVariableDescriptorCountLayoutSupport =
8353 result.sType = sType
8354 result.pNext = pNext
8355 result.maxVariableDescriptorCount = maxVariableDescriptorCount
8356
8357 proc newVkAttachmentDescription2*(sType: VkStructureType, pNext: pointer = nil, flags: VkAttachmentDescriptionFlags = 0.VkAttachmentDescriptionFlags, format: VkFormat, samples: VkSampleCountFlagBits, loadOp: VkAttachmentLoadOp, storeOp: VkAttachmentStoreOp, stencilLoadOp: VkAttachmentLoadOp, stencilStoreOp: VkAttachmentStoreOp, initialLayout: VkImageLayout, finalLayout: VkImageLayout): VkAttachmentDescription2 =
8358 result.sType = sType
8359 result.pNext = pNext
8360 result.flags = flags
8361 result.format = format
8362 result.samples = samples
8363 result.loadOp = loadOp
8364 result.storeOp = storeOp
8365 result.stencilLoadOp = stencilLoadOp
8366 result.stencilStoreOp = stencilStoreOp
8367 result.initialLayout = initialLayout
8368 result.finalLayout = finalLayout
8369
8370 proc newVkAttachmentReference2*(sType: VkStructureType, pNext: pointer = nil, attachment: uint32, layout: VkImageLayout, aspectMask: VkImageAspectFlags): VkAttachmentReference2 =
8371 result.sType = sType
8372 result.pNext = pNext
8373 result.attachment = attachment
8374 result.layout = layout
8375 result.aspectMask = aspectMask
8376
8377 proc newVkSubpassDescription2*(sType: VkStructureType, pNext: pointer = nil, flags: VkSubpassDescriptionFlags = 0.VkSubpassDescriptionFlags, pipelineBindPoint: VkPipelineBindPoint, viewMask: uint32, inputAttachmentCount: uint32, pInputAttachments: ptr VkAttachmentReference2, colorAttachmentCount: uint32, pColorAttachments: ptr VkAttachmentReference2, pResolveAttachments: ptr VkAttachmentReference2, pDepthStencilAttachment: ptr VkAttachmentReference2, preserveAttachmentCount: uint32, pPreserveAttachments: ptr uint32): VkSubpassDescription2 =
8378 result.sType = sType
8379 result.pNext = pNext
8380 result.flags = flags
8381 result.pipelineBindPoint = pipelineBindPoint
8382 result.viewMask = viewMask
8383 result.inputAttachmentCount = inputAttachmentCount
8384 result.pInputAttachments = pInputAttachments
8385 result.colorAttachmentCount = colorAttachmentCount
8386 result.pColorAttachments = pColorAttachments
8387 result.pResolveAttachments = pResolveAttachments
8388 result.pDepthStencilAttachment = pDepthStencilAttachment
8389 result.preserveAttachmentCount = preserveAttachmentCount
8390 result.pPreserveAttachments = pPreserveAttachments
8391
8392 proc newVkSubpassDependency2*(sType: VkStructureType, pNext: pointer = nil, srcSubpass: uint32, dstSubpass: uint32, srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, srcAccessMask: VkAccessFlags, dstAccessMask: VkAccessFlags, dependencyFlags: VkDependencyFlags, viewOffset: int32): VkSubpassDependency2 =
8393 result.sType = sType
8394 result.pNext = pNext
8395 result.srcSubpass = srcSubpass
8396 result.dstSubpass = dstSubpass
8397 result.srcStageMask = srcStageMask
8398 result.dstStageMask = dstStageMask
8399 result.srcAccessMask = srcAccessMask
8400 result.dstAccessMask = dstAccessMask
8401 result.dependencyFlags = dependencyFlags
8402 result.viewOffset = viewOffset
8403
8404 proc newVkRenderPassCreateInfo2*(sType: VkStructureType, pNext: pointer = nil, flags: VkRenderPassCreateFlags = 0.VkRenderPassCreateFlags, attachmentCount: uint32, pAttachments: ptr VkAttachmentDescription2, subpassCount: uint32, pSubpasses: ptr VkSubpassDescription2, dependencyCount: uint32, pDependencies: ptr VkSubpassDependency2, correlatedViewMaskCount: uint32, pCorrelatedViewMasks: ptr uint32): VkRenderPassCreateInfo2 =
8405 result.sType = sType
8406 result.pNext = pNext
8407 result.flags = flags
8408 result.attachmentCount = attachmentCount
8409 result.pAttachments = pAttachments
8410 result.subpassCount = subpassCount
8411 result.pSubpasses = pSubpasses
8412 result.dependencyCount = dependencyCount
8413 result.pDependencies = pDependencies
8414 result.correlatedViewMaskCount = correlatedViewMaskCount
8415 result.pCorrelatedViewMasks = pCorrelatedViewMasks
8416
8417 proc newVkSubpassBeginInfo*(sType: VkStructureType, pNext: pointer = nil, contents: VkSubpassContents): VkSubpassBeginInfo =
8418 result.sType = sType
8419 result.pNext = pNext
8420 result.contents = contents
8421
8422 proc newVkSubpassEndInfo*(sType: VkStructureType, pNext: pointer = nil): VkSubpassEndInfo =
8423 result.sType = sType
8424 result.pNext = pNext
8425
8426 proc newVkPhysicalDeviceTimelineSemaphoreFeatures*(sType: VkStructureType, pNext: pointer = nil, timelineSemaphore: VkBool32): VkPhysicalDeviceTimelineSemaphoreFeatures =
8427 result.sType = sType
8428 result.pNext = pNext
8429 result.timelineSemaphore = timelineSemaphore
8430
8431 proc newVkPhysicalDeviceTimelineSemaphoreProperties*(sType: VkStructureType, pNext: pointer = nil, maxTimelineSemaphoreValueDifference: uint64): VkPhysicalDeviceTimelineSemaphoreProperties =
8432 result.sType = sType
8433 result.pNext = pNext
8434 result.maxTimelineSemaphoreValueDifference = maxTimelineSemaphoreValueDifference
8435
8436 proc newVkSemaphoreTypeCreateInfo*(sType: VkStructureType, pNext: pointer = nil, semaphoreType: VkSemaphoreType, initialValue: uint64): VkSemaphoreTypeCreateInfo =
8437 result.sType = sType
8438 result.pNext = pNext
8439 result.semaphoreType = semaphoreType
8440 result.initialValue = initialValue
8441
8442 proc newVkTimelineSemaphoreSubmitInfo*(sType: VkStructureType, pNext: pointer = nil, waitSemaphoreValueCount: uint32, pWaitSemaphoreValues: ptr uint64, signalSemaphoreValueCount: uint32, pSignalSemaphoreValues: ptr uint64): VkTimelineSemaphoreSubmitInfo =
8443 result.sType = sType
8444 result.pNext = pNext
8445 result.waitSemaphoreValueCount = waitSemaphoreValueCount
8446 result.pWaitSemaphoreValues = pWaitSemaphoreValues
8447 result.signalSemaphoreValueCount = signalSemaphoreValueCount
8448 result.pSignalSemaphoreValues = pSignalSemaphoreValues
8449
8450 proc newVkSemaphoreWaitInfo*(sType: VkStructureType, pNext: pointer = nil, flags: VkSemaphoreWaitFlags = 0.VkSemaphoreWaitFlags, semaphoreCount: uint32, pSemaphores: ptr VkSemaphore, pValues: ptr uint64): VkSemaphoreWaitInfo =
8451 result.sType = sType
8452 result.pNext = pNext
8453 result.flags = flags
8454 result.semaphoreCount = semaphoreCount
8455 result.pSemaphores = pSemaphores
8456 result.pValues = pValues
8457
8458 proc newVkSemaphoreSignalInfo*(sType: VkStructureType, pNext: pointer = nil, semaphore: VkSemaphore, value: uint64): VkSemaphoreSignalInfo =
8459 result.sType = sType
8460 result.pNext = pNext
8461 result.semaphore = semaphore
8462 result.value = value
8463
8464 proc newVkVertexInputBindingDivisorDescriptionEXT*(binding: uint32, divisor: uint32): VkVertexInputBindingDivisorDescriptionEXT =
8465 result.binding = binding
8466 result.divisor = divisor
8467
8468 proc newVkPipelineVertexInputDivisorStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, vertexBindingDivisorCount: uint32, pVertexBindingDivisors: ptr VkVertexInputBindingDivisorDescriptionEXT): VkPipelineVertexInputDivisorStateCreateInfoEXT =
8469 result.sType = sType
8470 result.pNext = pNext
8471 result.vertexBindingDivisorCount = vertexBindingDivisorCount
8472 result.pVertexBindingDivisors = pVertexBindingDivisors
8473
8474 proc newVkPhysicalDeviceVertexAttributeDivisorPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxVertexAttribDivisor: uint32): VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT =
8475 result.sType = sType
8476 result.pNext = pNext
8477 result.maxVertexAttribDivisor = maxVertexAttribDivisor
8478
8479 proc newVkPhysicalDevicePCIBusInfoPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, pciDomain: uint32, pciBus: uint32, pciDevice: uint32, pciFunction: uint32): VkPhysicalDevicePCIBusInfoPropertiesEXT =
8480 result.sType = sType
8481 result.pNext = pNext
8482 result.pciDomain = pciDomain
8483 result.pciBus = pciBus
8484 result.pciDevice = pciDevice
8485 result.pciFunction = pciFunction
8486
8487 proc newVkImportAndroidHardwareBufferInfoANDROID*(sType: VkStructureType, pNext: pointer = nil, buffer: ptr AHardwareBuffer): VkImportAndroidHardwareBufferInfoANDROID =
8488 result.sType = sType
8489 result.pNext = pNext
8490 result.buffer = buffer
8491
8492 proc newVkAndroidHardwareBufferUsageANDROID*(sType: VkStructureType, pNext: pointer = nil, androidHardwareBufferUsage: uint64): VkAndroidHardwareBufferUsageANDROID =
8493 result.sType = sType
8494 result.pNext = pNext
8495 result.androidHardwareBufferUsage = androidHardwareBufferUsage
8496
8497 proc newVkAndroidHardwareBufferPropertiesANDROID*(sType: VkStructureType, pNext: pointer = nil, allocationSize: VkDeviceSize, memoryTypeBits: uint32): VkAndroidHardwareBufferPropertiesANDROID =
8498 result.sType = sType
8499 result.pNext = pNext
8500 result.allocationSize = allocationSize
8501 result.memoryTypeBits = memoryTypeBits
8502
8503 proc newVkMemoryGetAndroidHardwareBufferInfoANDROID*(sType: VkStructureType, pNext: pointer = nil, memory: VkDeviceMemory): VkMemoryGetAndroidHardwareBufferInfoANDROID =
8504 result.sType = sType
8505 result.pNext = pNext
8506 result.memory = memory
8507
8508 proc newVkAndroidHardwareBufferFormatPropertiesANDROID*(sType: VkStructureType, pNext: pointer = nil, format: VkFormat, externalFormat: uint64, formatFeatures: VkFormatFeatureFlags, samplerYcbcrConversionComponents: VkComponentMapping, suggestedYcbcrModel: VkSamplerYcbcrModelConversion, suggestedYcbcrRange: VkSamplerYcbcrRange, suggestedXChromaOffset: VkChromaLocation, suggestedYChromaOffset: VkChromaLocation): VkAndroidHardwareBufferFormatPropertiesANDROID =
8509 result.sType = sType
8510 result.pNext = pNext
8511 result.format = format
8512 result.externalFormat = externalFormat
8513 result.formatFeatures = formatFeatures
8514 result.samplerYcbcrConversionComponents = samplerYcbcrConversionComponents
8515 result.suggestedYcbcrModel = suggestedYcbcrModel
8516 result.suggestedYcbcrRange = suggestedYcbcrRange
8517 result.suggestedXChromaOffset = suggestedXChromaOffset
8518 result.suggestedYChromaOffset = suggestedYChromaOffset
8519
8520 proc newVkCommandBufferInheritanceConditionalRenderingInfoEXT*(sType: VkStructureType, pNext: pointer = nil, conditionalRenderingEnable: VkBool32): VkCommandBufferInheritanceConditionalRenderingInfoEXT =
8521 result.sType = sType
8522 result.pNext = pNext
8523 result.conditionalRenderingEnable = conditionalRenderingEnable
8524
8525 proc newVkExternalFormatANDROID*(sType: VkStructureType, pNext: pointer = nil, externalFormat: uint64): VkExternalFormatANDROID =
8526 result.sType = sType
8527 result.pNext = pNext
8528 result.externalFormat = externalFormat
8529
8530 proc newVkPhysicalDevice8BitStorageFeatures*(sType: VkStructureType, pNext: pointer = nil, storageBuffer8BitAccess: VkBool32, uniformAndStorageBuffer8BitAccess: VkBool32, storagePushConstant8: VkBool32): VkPhysicalDevice8BitStorageFeatures =
8531 result.sType = sType
8532 result.pNext = pNext
8533 result.storageBuffer8BitAccess = storageBuffer8BitAccess
8534 result.uniformAndStorageBuffer8BitAccess = uniformAndStorageBuffer8BitAccess
8535 result.storagePushConstant8 = storagePushConstant8
8536
8537 proc newVkPhysicalDeviceConditionalRenderingFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, conditionalRendering: VkBool32, inheritedConditionalRendering: VkBool32): VkPhysicalDeviceConditionalRenderingFeaturesEXT =
8538 result.sType = sType
8539 result.pNext = pNext
8540 result.conditionalRendering = conditionalRendering
8541 result.inheritedConditionalRendering = inheritedConditionalRendering
8542
8543 proc newVkPhysicalDeviceVulkanMemoryModelFeatures*(sType: VkStructureType, pNext: pointer = nil, vulkanMemoryModel: VkBool32, vulkanMemoryModelDeviceScope: VkBool32, vulkanMemoryModelAvailabilityVisibilityChains: VkBool32): VkPhysicalDeviceVulkanMemoryModelFeatures =
8544 result.sType = sType
8545 result.pNext = pNext
8546 result.vulkanMemoryModel = vulkanMemoryModel
8547 result.vulkanMemoryModelDeviceScope = vulkanMemoryModelDeviceScope
8548 result.vulkanMemoryModelAvailabilityVisibilityChains = vulkanMemoryModelAvailabilityVisibilityChains
8549
8550 proc newVkPhysicalDeviceShaderAtomicInt64Features*(sType: VkStructureType, pNext: pointer = nil, shaderBufferInt64Atomics: VkBool32, shaderSharedInt64Atomics: VkBool32): VkPhysicalDeviceShaderAtomicInt64Features =
8551 result.sType = sType
8552 result.pNext = pNext
8553 result.shaderBufferInt64Atomics = shaderBufferInt64Atomics
8554 result.shaderSharedInt64Atomics = shaderSharedInt64Atomics
8555
8556 proc newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, shaderBufferFloat32Atomics: VkBool32, shaderBufferFloat32AtomicAdd: VkBool32, shaderBufferFloat64Atomics: VkBool32, shaderBufferFloat64AtomicAdd: VkBool32, shaderSharedFloat32Atomics: VkBool32, shaderSharedFloat32AtomicAdd: VkBool32, shaderSharedFloat64Atomics: VkBool32, shaderSharedFloat64AtomicAdd: VkBool32, shaderImageFloat32Atomics: VkBool32, shaderImageFloat32AtomicAdd: VkBool32, sparseImageFloat32Atomics: VkBool32, sparseImageFloat32AtomicAdd: VkBool32): VkPhysicalDeviceShaderAtomicFloatFeaturesEXT =
8557 result.sType = sType
8558 result.pNext = pNext
8559 result.shaderBufferFloat32Atomics = shaderBufferFloat32Atomics
8560 result.shaderBufferFloat32AtomicAdd = shaderBufferFloat32AtomicAdd
8561 result.shaderBufferFloat64Atomics = shaderBufferFloat64Atomics
8562 result.shaderBufferFloat64AtomicAdd = shaderBufferFloat64AtomicAdd
8563 result.shaderSharedFloat32Atomics = shaderSharedFloat32Atomics
8564 result.shaderSharedFloat32AtomicAdd = shaderSharedFloat32AtomicAdd
8565 result.shaderSharedFloat64Atomics = shaderSharedFloat64Atomics
8566 result.shaderSharedFloat64AtomicAdd = shaderSharedFloat64AtomicAdd
8567 result.shaderImageFloat32Atomics = shaderImageFloat32Atomics
8568 result.shaderImageFloat32AtomicAdd = shaderImageFloat32AtomicAdd
8569 result.sparseImageFloat32Atomics = sparseImageFloat32Atomics
8570 result.sparseImageFloat32AtomicAdd = sparseImageFloat32AtomicAdd
8571
8572 proc newVkPhysicalDeviceVertexAttributeDivisorFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, vertexAttributeInstanceRateDivisor: VkBool32, vertexAttributeInstanceRateZeroDivisor: VkBool32): VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT =
8573 result.sType = sType
8574 result.pNext = pNext
8575 result.vertexAttributeInstanceRateDivisor = vertexAttributeInstanceRateDivisor
8576 result.vertexAttributeInstanceRateZeroDivisor = vertexAttributeInstanceRateZeroDivisor
8577
8578 proc newVkQueueFamilyCheckpointPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, checkpointExecutionStageMask: VkPipelineStageFlags): VkQueueFamilyCheckpointPropertiesNV =
8579 result.sType = sType
8580 result.pNext = pNext
8581 result.checkpointExecutionStageMask = checkpointExecutionStageMask
8582
8583 proc newVkCheckpointDataNV*(sType: VkStructureType, pNext: pointer = nil, stage: VkPipelineStageFlagBits, pCheckpointMarker: pointer = nil): VkCheckpointDataNV =
8584 result.sType = sType
8585 result.pNext = pNext
8586 result.stage = stage
8587 result.pCheckpointMarker = pCheckpointMarker
8588
8589 proc newVkPhysicalDeviceDepthStencilResolveProperties*(sType: VkStructureType, pNext: pointer = nil, supportedDepthResolveModes: VkResolveModeFlags, supportedStencilResolveModes: VkResolveModeFlags, independentResolveNone: VkBool32, independentResolve: VkBool32): VkPhysicalDeviceDepthStencilResolveProperties =
8590 result.sType = sType
8591 result.pNext = pNext
8592 result.supportedDepthResolveModes = supportedDepthResolveModes
8593 result.supportedStencilResolveModes = supportedStencilResolveModes
8594 result.independentResolveNone = independentResolveNone
8595 result.independentResolve = independentResolve
8596
8597 proc newVkSubpassDescriptionDepthStencilResolve*(sType: VkStructureType, pNext: pointer = nil, depthResolveMode: VkResolveModeFlagBits, stencilResolveMode: VkResolveModeFlagBits, pDepthStencilResolveAttachment: ptr VkAttachmentReference2): VkSubpassDescriptionDepthStencilResolve =
8598 result.sType = sType
8599 result.pNext = pNext
8600 result.depthResolveMode = depthResolveMode
8601 result.stencilResolveMode = stencilResolveMode
8602 result.pDepthStencilResolveAttachment = pDepthStencilResolveAttachment
8603
8604 proc newVkImageViewASTCDecodeModeEXT*(sType: VkStructureType, pNext: pointer = nil, decodeMode: VkFormat): VkImageViewASTCDecodeModeEXT =
8605 result.sType = sType
8606 result.pNext = pNext
8607 result.decodeMode = decodeMode
8608
8609 proc newVkPhysicalDeviceASTCDecodeFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, decodeModeSharedExponent: VkBool32): VkPhysicalDeviceASTCDecodeFeaturesEXT =
8610 result.sType = sType
8611 result.pNext = pNext
8612 result.decodeModeSharedExponent = decodeModeSharedExponent
8613
8614 proc newVkPhysicalDeviceTransformFeedbackFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, transformFeedback: VkBool32, geometryStreams: VkBool32): VkPhysicalDeviceTransformFeedbackFeaturesEXT =
8615 result.sType = sType
8616 result.pNext = pNext
8617 result.transformFeedback = transformFeedback
8618 result.geometryStreams = geometryStreams
8619
8620 proc newVkPhysicalDeviceTransformFeedbackPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxTransformFeedbackStreams: uint32, maxTransformFeedbackBuffers: uint32, maxTransformFeedbackBufferSize: VkDeviceSize, maxTransformFeedbackStreamDataSize: uint32, maxTransformFeedbackBufferDataSize: uint32, maxTransformFeedbackBufferDataStride: uint32, transformFeedbackQueries: VkBool32, transformFeedbackStreamsLinesTriangles: VkBool32, transformFeedbackRasterizationStreamSelect: VkBool32, transformFeedbackDraw: VkBool32): VkPhysicalDeviceTransformFeedbackPropertiesEXT =
8621 result.sType = sType
8622 result.pNext = pNext
8623 result.maxTransformFeedbackStreams = maxTransformFeedbackStreams
8624 result.maxTransformFeedbackBuffers = maxTransformFeedbackBuffers
8625 result.maxTransformFeedbackBufferSize = maxTransformFeedbackBufferSize
8626 result.maxTransformFeedbackStreamDataSize = maxTransformFeedbackStreamDataSize
8627 result.maxTransformFeedbackBufferDataSize = maxTransformFeedbackBufferDataSize
8628 result.maxTransformFeedbackBufferDataStride = maxTransformFeedbackBufferDataStride
8629 result.transformFeedbackQueries = transformFeedbackQueries
8630 result.transformFeedbackStreamsLinesTriangles = transformFeedbackStreamsLinesTriangles
8631 result.transformFeedbackRasterizationStreamSelect = transformFeedbackRasterizationStreamSelect
8632 result.transformFeedbackDraw = transformFeedbackDraw
8633
8634 proc newVkPipelineRasterizationStateStreamCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineRasterizationStateStreamCreateFlagsEXT = 0.VkPipelineRasterizationStateStreamCreateFlagsEXT, rasterizationStream: uint32): VkPipelineRasterizationStateStreamCreateInfoEXT =
8635 result.sType = sType
8636 result.pNext = pNext
8637 result.flags = flags
8638 result.rasterizationStream = rasterizationStream
8639
8640 proc newVkPhysicalDeviceRepresentativeFragmentTestFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, representativeFragmentTest: VkBool32): VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV =
8641 result.sType = sType
8642 result.pNext = pNext
8643 result.representativeFragmentTest = representativeFragmentTest
8644
8645 proc newVkPipelineRepresentativeFragmentTestStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, representativeFragmentTestEnable: VkBool32): VkPipelineRepresentativeFragmentTestStateCreateInfoNV =
8646 result.sType = sType
8647 result.pNext = pNext
8648 result.representativeFragmentTestEnable = representativeFragmentTestEnable
8649
8650 proc newVkPhysicalDeviceExclusiveScissorFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, exclusiveScissor: VkBool32): VkPhysicalDeviceExclusiveScissorFeaturesNV =
8651 result.sType = sType
8652 result.pNext = pNext
8653 result.exclusiveScissor = exclusiveScissor
8654
8655 proc newVkPipelineViewportExclusiveScissorStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, exclusiveScissorCount: uint32, pExclusiveScissors: ptr VkRect2D): VkPipelineViewportExclusiveScissorStateCreateInfoNV =
8656 result.sType = sType
8657 result.pNext = pNext
8658 result.exclusiveScissorCount = exclusiveScissorCount
8659 result.pExclusiveScissors = pExclusiveScissors
8660
8661 proc newVkPhysicalDeviceCornerSampledImageFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, cornerSampledImage: VkBool32): VkPhysicalDeviceCornerSampledImageFeaturesNV =
8662 result.sType = sType
8663 result.pNext = pNext
8664 result.cornerSampledImage = cornerSampledImage
8665
8666 proc newVkPhysicalDeviceComputeShaderDerivativesFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, computeDerivativeGroupQuads: VkBool32, computeDerivativeGroupLinear: VkBool32): VkPhysicalDeviceComputeShaderDerivativesFeaturesNV =
8667 result.sType = sType
8668 result.pNext = pNext
8669 result.computeDerivativeGroupQuads = computeDerivativeGroupQuads
8670 result.computeDerivativeGroupLinear = computeDerivativeGroupLinear
8671
8672 proc newVkPhysicalDeviceFragmentShaderBarycentricFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, fragmentShaderBarycentric: VkBool32): VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV =
8673 result.sType = sType
8674 result.pNext = pNext
8675 result.fragmentShaderBarycentric = fragmentShaderBarycentric
8676
8677 proc newVkPhysicalDeviceShaderImageFootprintFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, imageFootprint: VkBool32): VkPhysicalDeviceShaderImageFootprintFeaturesNV =
8678 result.sType = sType
8679 result.pNext = pNext
8680 result.imageFootprint = imageFootprint
8681
8682 proc newVkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, dedicatedAllocationImageAliasing: VkBool32): VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV =
8683 result.sType = sType
8684 result.pNext = pNext
8685 result.dedicatedAllocationImageAliasing = dedicatedAllocationImageAliasing
8686
8687 proc newVkShadingRatePaletteNV*(shadingRatePaletteEntryCount: uint32, pShadingRatePaletteEntries: ptr VkShadingRatePaletteEntryNV): VkShadingRatePaletteNV =
8688 result.shadingRatePaletteEntryCount = shadingRatePaletteEntryCount
8689 result.pShadingRatePaletteEntries = pShadingRatePaletteEntries
8690
8691 proc newVkPipelineViewportShadingRateImageStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, shadingRateImageEnable: VkBool32, viewportCount: uint32, pShadingRatePalettes: ptr VkShadingRatePaletteNV): VkPipelineViewportShadingRateImageStateCreateInfoNV =
8692 result.sType = sType
8693 result.pNext = pNext
8694 result.shadingRateImageEnable = shadingRateImageEnable
8695 result.viewportCount = viewportCount
8696 result.pShadingRatePalettes = pShadingRatePalettes
8697
8698 proc newVkPhysicalDeviceShadingRateImageFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, shadingRateImage: VkBool32, shadingRateCoarseSampleOrder: VkBool32): VkPhysicalDeviceShadingRateImageFeaturesNV =
8699 result.sType = sType
8700 result.pNext = pNext
8701 result.shadingRateImage = shadingRateImage
8702 result.shadingRateCoarseSampleOrder = shadingRateCoarseSampleOrder
8703
8704 proc newVkPhysicalDeviceShadingRateImagePropertiesNV*(sType: VkStructureType, pNext: pointer = nil, shadingRateTexelSize: VkExtent2D, shadingRatePaletteSize: uint32, shadingRateMaxCoarseSamples: uint32): VkPhysicalDeviceShadingRateImagePropertiesNV =
8705 result.sType = sType
8706 result.pNext = pNext
8707 result.shadingRateTexelSize = shadingRateTexelSize
8708 result.shadingRatePaletteSize = shadingRatePaletteSize
8709 result.shadingRateMaxCoarseSamples = shadingRateMaxCoarseSamples
8710
8711 proc newVkCoarseSampleLocationNV*(pixelX: uint32, pixelY: uint32, sample: uint32): VkCoarseSampleLocationNV =
8712 result.pixelX = pixelX
8713 result.pixelY = pixelY
8714 result.sample = sample
8715
8716 proc newVkCoarseSampleOrderCustomNV*(shadingRate: VkShadingRatePaletteEntryNV, sampleCount: uint32, sampleLocationCount: uint32, pSampleLocations: ptr VkCoarseSampleLocationNV): VkCoarseSampleOrderCustomNV =
8717 result.shadingRate = shadingRate
8718 result.sampleCount = sampleCount
8719 result.sampleLocationCount = sampleLocationCount
8720 result.pSampleLocations = pSampleLocations
8721
8722 proc newVkPipelineViewportCoarseSampleOrderStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, sampleOrderType: VkCoarseSampleOrderTypeNV, customSampleOrderCount: uint32, pCustomSampleOrders: ptr VkCoarseSampleOrderCustomNV): VkPipelineViewportCoarseSampleOrderStateCreateInfoNV =
8723 result.sType = sType
8724 result.pNext = pNext
8725 result.sampleOrderType = sampleOrderType
8726 result.customSampleOrderCount = customSampleOrderCount
8727 result.pCustomSampleOrders = pCustomSampleOrders
8728
8729 proc newVkPhysicalDeviceMeshShaderFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, taskShader: VkBool32, meshShader: VkBool32): VkPhysicalDeviceMeshShaderFeaturesNV =
8730 result.sType = sType
8731 result.pNext = pNext
8732 result.taskShader = taskShader
8733 result.meshShader = meshShader
8734
8735 proc newVkPhysicalDeviceMeshShaderPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, maxDrawMeshTasksCount: uint32, maxTaskWorkGroupInvocations: uint32, maxTaskWorkGroupSize: array[3, uint32], maxTaskTotalMemorySize: uint32, maxTaskOutputCount: uint32, maxMeshWorkGroupInvocations: uint32, maxMeshWorkGroupSize: array[3, uint32], maxMeshTotalMemorySize: uint32, maxMeshOutputVertices: uint32, maxMeshOutputPrimitives: uint32, maxMeshMultiviewViewCount: uint32, meshOutputPerVertexGranularity: uint32, meshOutputPerPrimitiveGranularity: uint32): VkPhysicalDeviceMeshShaderPropertiesNV =
8736 result.sType = sType
8737 result.pNext = pNext
8738 result.maxDrawMeshTasksCount = maxDrawMeshTasksCount
8739 result.maxTaskWorkGroupInvocations = maxTaskWorkGroupInvocations
8740 result.maxTaskWorkGroupSize = maxTaskWorkGroupSize
8741 result.maxTaskTotalMemorySize = maxTaskTotalMemorySize
8742 result.maxTaskOutputCount = maxTaskOutputCount
8743 result.maxMeshWorkGroupInvocations = maxMeshWorkGroupInvocations
8744 result.maxMeshWorkGroupSize = maxMeshWorkGroupSize
8745 result.maxMeshTotalMemorySize = maxMeshTotalMemorySize
8746 result.maxMeshOutputVertices = maxMeshOutputVertices
8747 result.maxMeshOutputPrimitives = maxMeshOutputPrimitives
8748 result.maxMeshMultiviewViewCount = maxMeshMultiviewViewCount
8749 result.meshOutputPerVertexGranularity = meshOutputPerVertexGranularity
8750 result.meshOutputPerPrimitiveGranularity = meshOutputPerPrimitiveGranularity
8751
8752 proc newVkDrawMeshTasksIndirectCommandNV*(taskCount: uint32, firstTask: uint32): VkDrawMeshTasksIndirectCommandNV =
8753 result.taskCount = taskCount
8754 result.firstTask = firstTask
8755
8756 proc newVkRayTracingShaderGroupCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, `type`: VkRayTracingShaderGroupTypeKHR, generalShader: uint32, closestHitShader: uint32, anyHitShader: uint32, intersectionShader: uint32): VkRayTracingShaderGroupCreateInfoNV =
8757 result.sType = sType
8758 result.pNext = pNext
8759 result.`type` = `type`
8760 result.generalShader = generalShader
8761 result.closestHitShader = closestHitShader
8762 result.anyHitShader = anyHitShader
8763 result.intersectionShader = intersectionShader
8764
8765 proc newVkRayTracingShaderGroupCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, `type`: VkRayTracingShaderGroupTypeKHR, generalShader: uint32, closestHitShader: uint32, anyHitShader: uint32, intersectionShader: uint32, pShaderGroupCaptureReplayHandle: pointer = nil): VkRayTracingShaderGroupCreateInfoKHR =
8766 result.sType = sType
8767 result.pNext = pNext
8768 result.`type` = `type`
8769 result.generalShader = generalShader
8770 result.closestHitShader = closestHitShader
8771 result.anyHitShader = anyHitShader
8772 result.intersectionShader = intersectionShader
8773 result.pShaderGroupCaptureReplayHandle = pShaderGroupCaptureReplayHandle
8774
8775 proc newVkRayTracingPipelineCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineCreateFlags = 0.VkPipelineCreateFlags, stageCount: uint32, pStages: ptr VkPipelineShaderStageCreateInfo, groupCount: uint32, pGroups: ptr VkRayTracingShaderGroupCreateInfoNV, maxRecursionDepth: uint32, layout: VkPipelineLayout, basePipelineHandle: VkPipeline, basePipelineIndex: int32): VkRayTracingPipelineCreateInfoNV =
8776 result.sType = sType
8777 result.pNext = pNext
8778 result.flags = flags
8779 result.stageCount = stageCount
8780 result.pStages = pStages
8781 result.groupCount = groupCount
8782 result.pGroups = pGroups
8783 result.maxRecursionDepth = maxRecursionDepth
8784 result.layout = layout
8785 result.basePipelineHandle = basePipelineHandle
8786 result.basePipelineIndex = basePipelineIndex
8787
8788 proc newVkRayTracingPipelineCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineCreateFlags = 0.VkPipelineCreateFlags, stageCount: uint32, pStages: ptr VkPipelineShaderStageCreateInfo, groupCount: uint32, pGroups: ptr VkRayTracingShaderGroupCreateInfoKHR, maxRecursionDepth: uint32, libraries: VkPipelineLibraryCreateInfoKHR, pLibraryInterface: ptr VkRayTracingPipelineInterfaceCreateInfoKHR, layout: VkPipelineLayout, basePipelineHandle: VkPipeline, basePipelineIndex: int32): VkRayTracingPipelineCreateInfoKHR =
8789 result.sType = sType
8790 result.pNext = pNext
8791 result.flags = flags
8792 result.stageCount = stageCount
8793 result.pStages = pStages
8794 result.groupCount = groupCount
8795 result.pGroups = pGroups
8796 result.maxRecursionDepth = maxRecursionDepth
8797 result.libraries = libraries
8798 result.pLibraryInterface = pLibraryInterface
8799 result.layout = layout
8800 result.basePipelineHandle = basePipelineHandle
8801 result.basePipelineIndex = basePipelineIndex
8802
8803 proc newVkGeometryTrianglesNV*(sType: VkStructureType, pNext: pointer = nil, vertexData: VkBuffer, vertexOffset: VkDeviceSize, vertexCount: uint32, vertexStride: VkDeviceSize, vertexFormat: VkFormat, indexData: VkBuffer, indexOffset: VkDeviceSize, indexCount: uint32, indexType: VkIndexType, transformData: VkBuffer, transformOffset: VkDeviceSize): VkGeometryTrianglesNV =
8804 result.sType = sType
8805 result.pNext = pNext
8806 result.vertexData = vertexData
8807 result.vertexOffset = vertexOffset
8808 result.vertexCount = vertexCount
8809 result.vertexStride = vertexStride
8810 result.vertexFormat = vertexFormat
8811 result.indexData = indexData
8812 result.indexOffset = indexOffset
8813 result.indexCount = indexCount
8814 result.indexType = indexType
8815 result.transformData = transformData
8816 result.transformOffset = transformOffset
8817
8818 proc newVkGeometryAABBNV*(sType: VkStructureType, pNext: pointer = nil, aabbData: VkBuffer, numAABBs: uint32, stride: uint32, offset: VkDeviceSize): VkGeometryAABBNV =
8819 result.sType = sType
8820 result.pNext = pNext
8821 result.aabbData = aabbData
8822 result.numAABBs = numAABBs
8823 result.stride = stride
8824 result.offset = offset
8825
8826 proc newVkGeometryDataNV*(triangles: VkGeometryTrianglesNV, aabbs: VkGeometryAABBNV): VkGeometryDataNV =
8827 result.triangles = triangles
8828 result.aabbs = aabbs
8829
8830 proc newVkGeometryNV*(sType: VkStructureType, pNext: pointer = nil, geometryType: VkGeometryTypeKHR, geometry: VkGeometryDataNV, flags: VkGeometryFlagsKHR = 0.VkGeometryFlagsKHR): VkGeometryNV =
8831 result.sType = sType
8832 result.pNext = pNext
8833 result.geometryType = geometryType
8834 result.geometry = geometry
8835 result.flags = flags
8836
8837 proc newVkAccelerationStructureInfoNV*(sType: VkStructureType, pNext: pointer = nil, `type`: VkAccelerationStructureTypeNV, flags: VkBuildAccelerationStructureFlagsNV = 0.VkBuildAccelerationStructureFlagsNV, instanceCount: uint32, geometryCount: uint32, pGeometries: ptr VkGeometryNV): VkAccelerationStructureInfoNV =
8838 result.sType = sType
8839 result.pNext = pNext
8840 result.`type` = `type`
8841 result.flags = flags
8842 result.instanceCount = instanceCount
8843 result.geometryCount = geometryCount
8844 result.pGeometries = pGeometries
8845
8846 proc newVkAccelerationStructureCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, compactedSize: VkDeviceSize, info: VkAccelerationStructureInfoNV): VkAccelerationStructureCreateInfoNV =
8847 result.sType = sType
8848 result.pNext = pNext
8849 result.compactedSize = compactedSize
8850 result.info = info
8851
8852 proc newVkBindAccelerationStructureMemoryInfoKHR*(sType: VkStructureType, pNext: pointer = nil, accelerationStructure: VkAccelerationStructureKHR, memory: VkDeviceMemory, memoryOffset: VkDeviceSize, deviceIndexCount: uint32, pDeviceIndices: ptr uint32): VkBindAccelerationStructureMemoryInfoKHR =
8853 result.sType = sType
8854 result.pNext = pNext
8855 result.accelerationStructure = accelerationStructure
8856 result.memory = memory
8857 result.memoryOffset = memoryOffset
8858 result.deviceIndexCount = deviceIndexCount
8859 result.pDeviceIndices = pDeviceIndices
8860
8861 proc newVkWriteDescriptorSetAccelerationStructureKHR*(sType: VkStructureType, pNext: pointer = nil, accelerationStructureCount: uint32, pAccelerationStructures: ptr VkAccelerationStructureKHR): VkWriteDescriptorSetAccelerationStructureKHR =
8862 result.sType = sType
8863 result.pNext = pNext
8864 result.accelerationStructureCount = accelerationStructureCount
8865 result.pAccelerationStructures = pAccelerationStructures
8866
8867 proc newVkAccelerationStructureMemoryRequirementsInfoKHR*(sType: VkStructureType, pNext: pointer = nil, `type`: VkAccelerationStructureMemoryRequirementsTypeKHR, buildType: VkAccelerationStructureBuildTypeKHR, accelerationStructure: VkAccelerationStructureKHR): VkAccelerationStructureMemoryRequirementsInfoKHR =
8868 result.sType = sType
8869 result.pNext = pNext
8870 result.`type` = `type`
8871 result.buildType = buildType
8872 result.accelerationStructure = accelerationStructure
8873
8874 proc newVkAccelerationStructureMemoryRequirementsInfoNV*(sType: VkStructureType, pNext: pointer = nil, `type`: VkAccelerationStructureMemoryRequirementsTypeNV, accelerationStructure: VkAccelerationStructureNV): VkAccelerationStructureMemoryRequirementsInfoNV =
8875 result.sType = sType
8876 result.pNext = pNext
8877 result.`type` = `type`
8878 result.accelerationStructure = accelerationStructure
8879
8880 proc newVkPhysicalDeviceRayTracingFeaturesKHR*(sType: VkStructureType, pNext: pointer = nil, rayTracing: VkBool32, rayTracingShaderGroupHandleCaptureReplay: VkBool32, rayTracingShaderGroupHandleCaptureReplayMixed: VkBool32, rayTracingAccelerationStructureCaptureReplay: VkBool32, rayTracingIndirectTraceRays: VkBool32, rayTracingIndirectAccelerationStructureBuild: VkBool32, rayTracingHostAccelerationStructureCommands: VkBool32, rayQuery: VkBool32, rayTracingPrimitiveCulling: VkBool32): VkPhysicalDeviceRayTracingFeaturesKHR =
8881 result.sType = sType
8882 result.pNext = pNext
8883 result.rayTracing = rayTracing
8884 result.rayTracingShaderGroupHandleCaptureReplay = rayTracingShaderGroupHandleCaptureReplay
8885 result.rayTracingShaderGroupHandleCaptureReplayMixed = rayTracingShaderGroupHandleCaptureReplayMixed
8886 result.rayTracingAccelerationStructureCaptureReplay = rayTracingAccelerationStructureCaptureReplay
8887 result.rayTracingIndirectTraceRays = rayTracingIndirectTraceRays
8888 result.rayTracingIndirectAccelerationStructureBuild = rayTracingIndirectAccelerationStructureBuild
8889 result.rayTracingHostAccelerationStructureCommands = rayTracingHostAccelerationStructureCommands
8890 result.rayQuery = rayQuery
8891 result.rayTracingPrimitiveCulling = rayTracingPrimitiveCulling
8892
8893 proc newVkPhysicalDeviceRayTracingPropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, shaderGroupHandleSize: uint32, maxRecursionDepth: uint32, maxShaderGroupStride: uint32, shaderGroupBaseAlignment: uint32, maxGeometryCount: uint64, maxInstanceCount: uint64, maxPrimitiveCount: uint64, maxDescriptorSetAccelerationStructures: uint32, shaderGroupHandleCaptureReplaySize: uint32): VkPhysicalDeviceRayTracingPropertiesKHR =
8894 result.sType = sType
8895 result.pNext = pNext
8896 result.shaderGroupHandleSize = shaderGroupHandleSize
8897 result.maxRecursionDepth = maxRecursionDepth
8898 result.maxShaderGroupStride = maxShaderGroupStride
8899 result.shaderGroupBaseAlignment = shaderGroupBaseAlignment
8900 result.maxGeometryCount = maxGeometryCount
8901 result.maxInstanceCount = maxInstanceCount
8902 result.maxPrimitiveCount = maxPrimitiveCount
8903 result.maxDescriptorSetAccelerationStructures = maxDescriptorSetAccelerationStructures
8904 result.shaderGroupHandleCaptureReplaySize = shaderGroupHandleCaptureReplaySize
8905
8906 proc newVkPhysicalDeviceRayTracingPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, shaderGroupHandleSize: uint32, maxRecursionDepth: uint32, maxShaderGroupStride: uint32, shaderGroupBaseAlignment: uint32, maxGeometryCount: uint64, maxInstanceCount: uint64, maxTriangleCount: uint64, maxDescriptorSetAccelerationStructures: uint32): VkPhysicalDeviceRayTracingPropertiesNV =
8907 result.sType = sType
8908 result.pNext = pNext
8909 result.shaderGroupHandleSize = shaderGroupHandleSize
8910 result.maxRecursionDepth = maxRecursionDepth
8911 result.maxShaderGroupStride = maxShaderGroupStride
8912 result.shaderGroupBaseAlignment = shaderGroupBaseAlignment
8913 result.maxGeometryCount = maxGeometryCount
8914 result.maxInstanceCount = maxInstanceCount
8915 result.maxTriangleCount = maxTriangleCount
8916 result.maxDescriptorSetAccelerationStructures = maxDescriptorSetAccelerationStructures
8917
8918 proc newVkStridedBufferRegionKHR*(buffer: VkBuffer, offset: VkDeviceSize, stride: VkDeviceSize, size: VkDeviceSize): VkStridedBufferRegionKHR =
8919 result.buffer = buffer
8920 result.offset = offset
8921 result.stride = stride
8922 result.size = size
8923
8924 proc newVkTraceRaysIndirectCommandKHR*(width: uint32, height: uint32, depth: uint32): VkTraceRaysIndirectCommandKHR =
8925 result.width = width
8926 result.height = height
8927 result.depth = depth
8928
8929 proc newVkDrmFormatModifierPropertiesListEXT*(sType: VkStructureType, pNext: pointer = nil, drmFormatModifierCount: uint32, pDrmFormatModifierProperties: ptr VkDrmFormatModifierPropertiesEXT): VkDrmFormatModifierPropertiesListEXT =
8930 result.sType = sType
8931 result.pNext = pNext
8932 result.drmFormatModifierCount = drmFormatModifierCount
8933 result.pDrmFormatModifierProperties = pDrmFormatModifierProperties
8934
8935 proc newVkDrmFormatModifierPropertiesEXT*(drmFormatModifier: uint64, drmFormatModifierPlaneCount: uint32, drmFormatModifierTilingFeatures: VkFormatFeatureFlags): VkDrmFormatModifierPropertiesEXT =
8936 result.drmFormatModifier = drmFormatModifier
8937 result.drmFormatModifierPlaneCount = drmFormatModifierPlaneCount
8938 result.drmFormatModifierTilingFeatures = drmFormatModifierTilingFeatures
8939
8940 proc newVkPhysicalDeviceImageDrmFormatModifierInfoEXT*(sType: VkStructureType, pNext: pointer = nil, drmFormatModifier: uint64, sharingMode: VkSharingMode, queueFamilyIndexCount: uint32, pQueueFamilyIndices: ptr uint32): VkPhysicalDeviceImageDrmFormatModifierInfoEXT =
8941 result.sType = sType
8942 result.pNext = pNext
8943 result.drmFormatModifier = drmFormatModifier
8944 result.sharingMode = sharingMode
8945 result.queueFamilyIndexCount = queueFamilyIndexCount
8946 result.pQueueFamilyIndices = pQueueFamilyIndices
8947
8948 proc newVkImageDrmFormatModifierListCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, drmFormatModifierCount: uint32, pDrmFormatModifiers: ptr uint64): VkImageDrmFormatModifierListCreateInfoEXT =
8949 result.sType = sType
8950 result.pNext = pNext
8951 result.drmFormatModifierCount = drmFormatModifierCount
8952 result.pDrmFormatModifiers = pDrmFormatModifiers
8953
8954 proc newVkImageDrmFormatModifierExplicitCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, drmFormatModifier: uint64, drmFormatModifierPlaneCount: uint32, pPlaneLayouts: ptr VkSubresourceLayout): VkImageDrmFormatModifierExplicitCreateInfoEXT =
8955 result.sType = sType
8956 result.pNext = pNext
8957 result.drmFormatModifier = drmFormatModifier
8958 result.drmFormatModifierPlaneCount = drmFormatModifierPlaneCount
8959 result.pPlaneLayouts = pPlaneLayouts
8960
8961 proc newVkImageDrmFormatModifierPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, drmFormatModifier: uint64): VkImageDrmFormatModifierPropertiesEXT =
8962 result.sType = sType
8963 result.pNext = pNext
8964 result.drmFormatModifier = drmFormatModifier
8965
8966 proc newVkImageStencilUsageCreateInfo*(sType: VkStructureType, pNext: pointer = nil, stencilUsage: VkImageUsageFlags): VkImageStencilUsageCreateInfo =
8967 result.sType = sType
8968 result.pNext = pNext
8969 result.stencilUsage = stencilUsage
8970
8971 proc newVkDeviceMemoryOverallocationCreateInfoAMD*(sType: VkStructureType, pNext: pointer = nil, overallocationBehavior: VkMemoryOverallocationBehaviorAMD): VkDeviceMemoryOverallocationCreateInfoAMD =
8972 result.sType = sType
8973 result.pNext = pNext
8974 result.overallocationBehavior = overallocationBehavior
8975
8976 proc newVkPhysicalDeviceFragmentDensityMapFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, fragmentDensityMap: VkBool32, fragmentDensityMapDynamic: VkBool32, fragmentDensityMapNonSubsampledImages: VkBool32): VkPhysicalDeviceFragmentDensityMapFeaturesEXT =
8977 result.sType = sType
8978 result.pNext = pNext
8979 result.fragmentDensityMap = fragmentDensityMap
8980 result.fragmentDensityMapDynamic = fragmentDensityMapDynamic
8981 result.fragmentDensityMapNonSubsampledImages = fragmentDensityMapNonSubsampledImages
8982
8983 proc newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, fragmentDensityMapDeferred: VkBool32): VkPhysicalDeviceFragmentDensityMap2FeaturesEXT =
8984 result.sType = sType
8985 result.pNext = pNext
8986 result.fragmentDensityMapDeferred = fragmentDensityMapDeferred
8987
8988 proc newVkPhysicalDeviceFragmentDensityMapPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, minFragmentDensityTexelSize: VkExtent2D, maxFragmentDensityTexelSize: VkExtent2D, fragmentDensityInvocations: VkBool32): VkPhysicalDeviceFragmentDensityMapPropertiesEXT =
8989 result.sType = sType
8990 result.pNext = pNext
8991 result.minFragmentDensityTexelSize = minFragmentDensityTexelSize
8992 result.maxFragmentDensityTexelSize = maxFragmentDensityTexelSize
8993 result.fragmentDensityInvocations = fragmentDensityInvocations
8994
8995 proc newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, subsampledLoads: VkBool32, subsampledCoarseReconstructionEarlyAccess: VkBool32, maxSubsampledArrayLayers: uint32, maxDescriptorSetSubsampledSamplers: uint32): VkPhysicalDeviceFragmentDensityMap2PropertiesEXT =
8996 result.sType = sType
8997 result.pNext = pNext
8998 result.subsampledLoads = subsampledLoads
8999 result.subsampledCoarseReconstructionEarlyAccess = subsampledCoarseReconstructionEarlyAccess
9000 result.maxSubsampledArrayLayers = maxSubsampledArrayLayers
9001 result.maxDescriptorSetSubsampledSamplers = maxDescriptorSetSubsampledSamplers
9002
9003 proc newVkRenderPassFragmentDensityMapCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, fragmentDensityMapAttachment: VkAttachmentReference): VkRenderPassFragmentDensityMapCreateInfoEXT =
9004 result.sType = sType
9005 result.pNext = pNext
9006 result.fragmentDensityMapAttachment = fragmentDensityMapAttachment
9007
9008 proc newVkPhysicalDeviceScalarBlockLayoutFeatures*(sType: VkStructureType, pNext: pointer = nil, scalarBlockLayout: VkBool32): VkPhysicalDeviceScalarBlockLayoutFeatures =
9009 result.sType = sType
9010 result.pNext = pNext
9011 result.scalarBlockLayout = scalarBlockLayout
9012
9013 proc newVkSurfaceProtectedCapabilitiesKHR*(sType: VkStructureType, pNext: pointer = nil, supportsProtected: VkBool32): VkSurfaceProtectedCapabilitiesKHR =
9014 result.sType = sType
9015 result.pNext = pNext
9016 result.supportsProtected = supportsProtected
9017
9018 proc newVkPhysicalDeviceUniformBufferStandardLayoutFeatures*(sType: VkStructureType, pNext: pointer = nil, uniformBufferStandardLayout: VkBool32): VkPhysicalDeviceUniformBufferStandardLayoutFeatures =
9019 result.sType = sType
9020 result.pNext = pNext
9021 result.uniformBufferStandardLayout = uniformBufferStandardLayout
9022
9023 proc newVkPhysicalDeviceDepthClipEnableFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, depthClipEnable: VkBool32): VkPhysicalDeviceDepthClipEnableFeaturesEXT =
9024 result.sType = sType
9025 result.pNext = pNext
9026 result.depthClipEnable = depthClipEnable
9027
9028 proc newVkPipelineRasterizationDepthClipStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineRasterizationDepthClipStateCreateFlagsEXT = 0.VkPipelineRasterizationDepthClipStateCreateFlagsEXT, depthClipEnable: VkBool32): VkPipelineRasterizationDepthClipStateCreateInfoEXT =
9029 result.sType = sType
9030 result.pNext = pNext
9031 result.flags = flags
9032 result.depthClipEnable = depthClipEnable
9033
9034 proc newVkPhysicalDeviceMemoryBudgetPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, heapBudget: array[VK_MAX_MEMORY_HEAPS, VkDeviceSize], heapUsage: array[VK_MAX_MEMORY_HEAPS, VkDeviceSize]): VkPhysicalDeviceMemoryBudgetPropertiesEXT =
9035 result.sType = sType
9036 result.pNext = pNext
9037 result.heapBudget = heapBudget
9038 result.heapUsage = heapUsage
9039
9040 proc newVkPhysicalDeviceMemoryPriorityFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, memoryPriority: VkBool32): VkPhysicalDeviceMemoryPriorityFeaturesEXT =
9041 result.sType = sType
9042 result.pNext = pNext
9043 result.memoryPriority = memoryPriority
9044
9045 proc newVkMemoryPriorityAllocateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, priority: float32): VkMemoryPriorityAllocateInfoEXT =
9046 result.sType = sType
9047 result.pNext = pNext
9048 result.priority = priority
9049
9050 proc newVkPhysicalDeviceBufferDeviceAddressFeatures*(sType: VkStructureType, pNext: pointer = nil, bufferDeviceAddress: VkBool32, bufferDeviceAddressCaptureReplay: VkBool32, bufferDeviceAddressMultiDevice: VkBool32): VkPhysicalDeviceBufferDeviceAddressFeatures =
9051 result.sType = sType
9052 result.pNext = pNext
9053 result.bufferDeviceAddress = bufferDeviceAddress
9054 result.bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay
9055 result.bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice
9056
9057 proc newVkPhysicalDeviceBufferDeviceAddressFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, bufferDeviceAddress: VkBool32, bufferDeviceAddressCaptureReplay: VkBool32, bufferDeviceAddressMultiDevice: VkBool32): VkPhysicalDeviceBufferDeviceAddressFeaturesEXT =
9058 result.sType = sType
9059 result.pNext = pNext
9060 result.bufferDeviceAddress = bufferDeviceAddress
9061 result.bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay
9062 result.bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice
9063
9064 proc newVkBufferDeviceAddressInfo*(sType: VkStructureType, pNext: pointer = nil, buffer: VkBuffer): VkBufferDeviceAddressInfo =
9065 result.sType = sType
9066 result.pNext = pNext
9067 result.buffer = buffer
9068
9069 proc newVkBufferOpaqueCaptureAddressCreateInfo*(sType: VkStructureType, pNext: pointer = nil, opaqueCaptureAddress: uint64): VkBufferOpaqueCaptureAddressCreateInfo =
9070 result.sType = sType
9071 result.pNext = pNext
9072 result.opaqueCaptureAddress = opaqueCaptureAddress
9073
9074 proc newVkBufferDeviceAddressCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, deviceAddress: VkDeviceAddress): VkBufferDeviceAddressCreateInfoEXT =
9075 result.sType = sType
9076 result.pNext = pNext
9077 result.deviceAddress = deviceAddress
9078
9079 proc newVkPhysicalDeviceImageViewImageFormatInfoEXT*(sType: VkStructureType, pNext: pointer = nil, imageViewType: VkImageViewType): VkPhysicalDeviceImageViewImageFormatInfoEXT =
9080 result.sType = sType
9081 result.pNext = pNext
9082 result.imageViewType = imageViewType
9083
9084 proc newVkFilterCubicImageViewImageFormatPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, filterCubic: VkBool32, filterCubicMinmax: VkBool32): VkFilterCubicImageViewImageFormatPropertiesEXT =
9085 result.sType = sType
9086 result.pNext = pNext
9087 result.filterCubic = filterCubic
9088 result.filterCubicMinmax = filterCubicMinmax
9089
9090 proc newVkPhysicalDeviceImagelessFramebufferFeatures*(sType: VkStructureType, pNext: pointer = nil, imagelessFramebuffer: VkBool32): VkPhysicalDeviceImagelessFramebufferFeatures =
9091 result.sType = sType
9092 result.pNext = pNext
9093 result.imagelessFramebuffer = imagelessFramebuffer
9094
9095 proc newVkFramebufferAttachmentsCreateInfo*(sType: VkStructureType, pNext: pointer = nil, attachmentImageInfoCount: uint32, pAttachmentImageInfos: ptr VkFramebufferAttachmentImageInfo): VkFramebufferAttachmentsCreateInfo =
9096 result.sType = sType
9097 result.pNext = pNext
9098 result.attachmentImageInfoCount = attachmentImageInfoCount
9099 result.pAttachmentImageInfos = pAttachmentImageInfos
9100
9101 proc newVkFramebufferAttachmentImageInfo*(sType: VkStructureType, pNext: pointer = nil, flags: VkImageCreateFlags = 0.VkImageCreateFlags, usage: VkImageUsageFlags, width: uint32, height: uint32, layerCount: uint32, viewFormatCount: uint32, pViewFormats: ptr VkFormat): VkFramebufferAttachmentImageInfo =
9102 result.sType = sType
9103 result.pNext = pNext
9104 result.flags = flags
9105 result.usage = usage
9106 result.width = width
9107 result.height = height
9108 result.layerCount = layerCount
9109 result.viewFormatCount = viewFormatCount
9110 result.pViewFormats = pViewFormats
9111
9112 proc newVkRenderPassAttachmentBeginInfo*(sType: VkStructureType, pNext: pointer = nil, attachmentCount: uint32, pAttachments: ptr VkImageView): VkRenderPassAttachmentBeginInfo =
9113 result.sType = sType
9114 result.pNext = pNext
9115 result.attachmentCount = attachmentCount
9116 result.pAttachments = pAttachments
9117
9118 proc newVkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, textureCompressionASTC_HDR: VkBool32): VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT =
9119 result.sType = sType
9120 result.pNext = pNext
9121 result.textureCompressionASTC_HDR = textureCompressionASTC_HDR
9122
9123 proc newVkPhysicalDeviceCooperativeMatrixFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, cooperativeMatrix: VkBool32, cooperativeMatrixRobustBufferAccess: VkBool32): VkPhysicalDeviceCooperativeMatrixFeaturesNV =
9124 result.sType = sType
9125 result.pNext = pNext
9126 result.cooperativeMatrix = cooperativeMatrix
9127 result.cooperativeMatrixRobustBufferAccess = cooperativeMatrixRobustBufferAccess
9128
9129 proc newVkPhysicalDeviceCooperativeMatrixPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, cooperativeMatrixSupportedStages: VkShaderStageFlags): VkPhysicalDeviceCooperativeMatrixPropertiesNV =
9130 result.sType = sType
9131 result.pNext = pNext
9132 result.cooperativeMatrixSupportedStages = cooperativeMatrixSupportedStages
9133
9134 proc newVkCooperativeMatrixPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, MSize: uint32, NSize: uint32, KSize: uint32, AType: VkComponentTypeNV, BType: VkComponentTypeNV, CType: VkComponentTypeNV, DType: VkComponentTypeNV, scope: VkScopeNV): VkCooperativeMatrixPropertiesNV =
9135 result.sType = sType
9136 result.pNext = pNext
9137 result.MSize = MSize
9138 result.NSize = NSize
9139 result.KSize = KSize
9140 result.AType = AType
9141 result.BType = BType
9142 result.CType = CType
9143 result.DType = DType
9144 result.scope = scope
9145
9146 proc newVkPhysicalDeviceYcbcrImageArraysFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, ycbcrImageArrays: VkBool32): VkPhysicalDeviceYcbcrImageArraysFeaturesEXT =
9147 result.sType = sType
9148 result.pNext = pNext
9149 result.ycbcrImageArrays = ycbcrImageArrays
9150
9151 proc newVkImageViewHandleInfoNVX*(sType: VkStructureType, pNext: pointer = nil, imageView: VkImageView, descriptorType: VkDescriptorType, sampler: VkSampler): VkImageViewHandleInfoNVX =
9152 result.sType = sType
9153 result.pNext = pNext
9154 result.imageView = imageView
9155 result.descriptorType = descriptorType
9156 result.sampler = sampler
9157
9158 proc newVkImageViewAddressPropertiesNVX*(sType: VkStructureType, pNext: pointer = nil, deviceAddress: VkDeviceAddress, size: VkDeviceSize): VkImageViewAddressPropertiesNVX =
9159 result.sType = sType
9160 result.pNext = pNext
9161 result.deviceAddress = deviceAddress
9162 result.size = size
9163
9164 proc newVkPresentFrameTokenGGP*(sType: VkStructureType, pNext: pointer = nil, frameToken: GgpFrameToken): VkPresentFrameTokenGGP =
9165 result.sType = sType
9166 result.pNext = pNext
9167 result.frameToken = frameToken
9168
9169 proc newVkPipelineCreationFeedbackEXT*(flags: VkPipelineCreationFeedbackFlagsEXT = 0.VkPipelineCreationFeedbackFlagsEXT, duration: uint64): VkPipelineCreationFeedbackEXT =
9170 result.flags = flags
9171 result.duration = duration
9172
9173 proc newVkPipelineCreationFeedbackCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, pPipelineCreationFeedback: ptr VkPipelineCreationFeedbackEXT, pipelineStageCreationFeedbackCount: uint32, pPipelineStageCreationFeedbacks: ptr ptr VkPipelineCreationFeedbackEXT): VkPipelineCreationFeedbackCreateInfoEXT =
9174 result.sType = sType
9175 result.pNext = pNext
9176 result.pPipelineCreationFeedback = pPipelineCreationFeedback
9177 result.pipelineStageCreationFeedbackCount = pipelineStageCreationFeedbackCount
9178 result.pPipelineStageCreationFeedbacks = pPipelineStageCreationFeedbacks
9179
9180 proc newVkSurfaceFullScreenExclusiveInfoEXT*(sType: VkStructureType, pNext: pointer = nil, fullScreenExclusive: VkFullScreenExclusiveEXT): VkSurfaceFullScreenExclusiveInfoEXT =
9181 result.sType = sType
9182 result.pNext = pNext
9183 result.fullScreenExclusive = fullScreenExclusive
9184
9185 proc newVkSurfaceFullScreenExclusiveWin32InfoEXT*(sType: VkStructureType, pNext: pointer = nil, hmonitor: HMONITOR): VkSurfaceFullScreenExclusiveWin32InfoEXT =
9186 result.sType = sType
9187 result.pNext = pNext
9188 result.hmonitor = hmonitor
9189
9190 proc newVkSurfaceCapabilitiesFullScreenExclusiveEXT*(sType: VkStructureType, pNext: pointer = nil, fullScreenExclusiveSupported: VkBool32): VkSurfaceCapabilitiesFullScreenExclusiveEXT =
9191 result.sType = sType
9192 result.pNext = pNext
9193 result.fullScreenExclusiveSupported = fullScreenExclusiveSupported
9194
9195 proc newVkPhysicalDevicePerformanceQueryFeaturesKHR*(sType: VkStructureType, pNext: pointer = nil, performanceCounterQueryPools: VkBool32, performanceCounterMultipleQueryPools: VkBool32): VkPhysicalDevicePerformanceQueryFeaturesKHR =
9196 result.sType = sType
9197 result.pNext = pNext
9198 result.performanceCounterQueryPools = performanceCounterQueryPools
9199 result.performanceCounterMultipleQueryPools = performanceCounterMultipleQueryPools
9200
9201 proc newVkPhysicalDevicePerformanceQueryPropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, allowCommandBufferQueryCopies: VkBool32): VkPhysicalDevicePerformanceQueryPropertiesKHR =
9202 result.sType = sType
9203 result.pNext = pNext
9204 result.allowCommandBufferQueryCopies = allowCommandBufferQueryCopies
9205
9206 proc newVkPerformanceCounterKHR*(sType: VkStructureType, pNext: pointer = nil, unit: VkPerformanceCounterUnitKHR, scope: VkPerformanceCounterScopeKHR, storage: VkPerformanceCounterStorageKHR, uuid: array[VK_UUID_SIZE, uint8]): VkPerformanceCounterKHR =
9207 result.sType = sType
9208 result.pNext = pNext
9209 result.unit = unit
9210 result.scope = scope
9211 result.storage = storage
9212 result.uuid = uuid
9213
9214 proc newVkPerformanceCounterDescriptionKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkPerformanceCounterDescriptionFlagsKHR = 0.VkPerformanceCounterDescriptionFlagsKHR, name: array[VK_MAX_DESCRIPTION_SIZE, char], category: array[VK_MAX_DESCRIPTION_SIZE, char], description: array[VK_MAX_DESCRIPTION_SIZE, char]): VkPerformanceCounterDescriptionKHR =
9215 result.sType = sType
9216 result.pNext = pNext
9217 result.flags = flags
9218 result.name = name
9219 result.category = category
9220 result.description = description
9221
9222 proc newVkQueryPoolPerformanceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, queueFamilyIndex: uint32, counterIndexCount: uint32, pCounterIndices: ptr uint32): VkQueryPoolPerformanceCreateInfoKHR =
9223 result.sType = sType
9224 result.pNext = pNext
9225 result.queueFamilyIndex = queueFamilyIndex
9226 result.counterIndexCount = counterIndexCount
9227 result.pCounterIndices = pCounterIndices
9228
9229 proc newVkAcquireProfilingLockInfoKHR*(sType: VkStructureType, pNext: pointer = nil, flags: VkAcquireProfilingLockFlagsKHR = 0.VkAcquireProfilingLockFlagsKHR, timeout: uint64): VkAcquireProfilingLockInfoKHR =
9230 result.sType = sType
9231 result.pNext = pNext
9232 result.flags = flags
9233 result.timeout = timeout
9234
9235 proc newVkPerformanceQuerySubmitInfoKHR*(sType: VkStructureType, pNext: pointer = nil, counterPassIndex: uint32): VkPerformanceQuerySubmitInfoKHR =
9236 result.sType = sType
9237 result.pNext = pNext
9238 result.counterPassIndex = counterPassIndex
9239
9240 proc newVkHeadlessSurfaceCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, flags: VkHeadlessSurfaceCreateFlagsEXT = 0.VkHeadlessSurfaceCreateFlagsEXT): VkHeadlessSurfaceCreateInfoEXT =
9241 result.sType = sType
9242 result.pNext = pNext
9243 result.flags = flags
9244
9245 proc newVkPhysicalDeviceCoverageReductionModeFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, coverageReductionMode: VkBool32): VkPhysicalDeviceCoverageReductionModeFeaturesNV =
9246 result.sType = sType
9247 result.pNext = pNext
9248 result.coverageReductionMode = coverageReductionMode
9249
9250 proc newVkPipelineCoverageReductionStateCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkPipelineCoverageReductionStateCreateFlagsNV = 0.VkPipelineCoverageReductionStateCreateFlagsNV, coverageReductionMode: VkCoverageReductionModeNV): VkPipelineCoverageReductionStateCreateInfoNV =
9251 result.sType = sType
9252 result.pNext = pNext
9253 result.flags = flags
9254 result.coverageReductionMode = coverageReductionMode
9255
9256 proc newVkFramebufferMixedSamplesCombinationNV*(sType: VkStructureType, pNext: pointer = nil, coverageReductionMode: VkCoverageReductionModeNV, rasterizationSamples: VkSampleCountFlagBits, depthStencilSamples: VkSampleCountFlags, colorSamples: VkSampleCountFlags): VkFramebufferMixedSamplesCombinationNV =
9257 result.sType = sType
9258 result.pNext = pNext
9259 result.coverageReductionMode = coverageReductionMode
9260 result.rasterizationSamples = rasterizationSamples
9261 result.depthStencilSamples = depthStencilSamples
9262 result.colorSamples = colorSamples
9263
9264 proc newVkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL*(sType: VkStructureType, pNext: pointer = nil, shaderIntegerFunctions2: VkBool32): VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL =
9265 result.sType = sType
9266 result.pNext = pNext
9267 result.shaderIntegerFunctions2 = shaderIntegerFunctions2
9268
9269 proc newVkPerformanceValueINTEL*(`type`: VkPerformanceValueTypeINTEL, data: VkPerformanceValueDataINTEL): VkPerformanceValueINTEL =
9270 result.`type` = `type`
9271 result.data = data
9272
9273 proc newVkInitializePerformanceApiInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, pUserData: pointer = nil): VkInitializePerformanceApiInfoINTEL =
9274 result.sType = sType
9275 result.pNext = pNext
9276 result.pUserData = pUserData
9277
9278 proc newVkQueryPoolPerformanceQueryCreateInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, performanceCountersSampling: VkQueryPoolSamplingModeINTEL): VkQueryPoolPerformanceQueryCreateInfoINTEL =
9279 result.sType = sType
9280 result.pNext = pNext
9281 result.performanceCountersSampling = performanceCountersSampling
9282
9283 proc newVkPerformanceMarkerInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, marker: uint64): VkPerformanceMarkerInfoINTEL =
9284 result.sType = sType
9285 result.pNext = pNext
9286 result.marker = marker
9287
9288 proc newVkPerformanceStreamMarkerInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, marker: uint32): VkPerformanceStreamMarkerInfoINTEL =
9289 result.sType = sType
9290 result.pNext = pNext
9291 result.marker = marker
9292
9293 proc newVkPerformanceOverrideInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, `type`: VkPerformanceOverrideTypeINTEL, enable: VkBool32, parameter: uint64): VkPerformanceOverrideInfoINTEL =
9294 result.sType = sType
9295 result.pNext = pNext
9296 result.`type` = `type`
9297 result.enable = enable
9298 result.parameter = parameter
9299
9300 proc newVkPerformanceConfigurationAcquireInfoINTEL*(sType: VkStructureType, pNext: pointer = nil, `type`: VkPerformanceConfigurationTypeINTEL): VkPerformanceConfigurationAcquireInfoINTEL =
9301 result.sType = sType
9302 result.pNext = pNext
9303 result.`type` = `type`
9304
9305 proc newVkPhysicalDeviceShaderClockFeaturesKHR*(sType: VkStructureType, pNext: pointer = nil, shaderSubgroupClock: VkBool32, shaderDeviceClock: VkBool32): VkPhysicalDeviceShaderClockFeaturesKHR =
9306 result.sType = sType
9307 result.pNext = pNext
9308 result.shaderSubgroupClock = shaderSubgroupClock
9309 result.shaderDeviceClock = shaderDeviceClock
9310
9311 proc newVkPhysicalDeviceIndexTypeUint8FeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, indexTypeUint8: VkBool32): VkPhysicalDeviceIndexTypeUint8FeaturesEXT =
9312 result.sType = sType
9313 result.pNext = pNext
9314 result.indexTypeUint8 = indexTypeUint8
9315
9316 proc newVkPhysicalDeviceShaderSMBuiltinsPropertiesNV*(sType: VkStructureType, pNext: pointer = nil, shaderSMCount: uint32, shaderWarpsPerSM: uint32): VkPhysicalDeviceShaderSMBuiltinsPropertiesNV =
9317 result.sType = sType
9318 result.pNext = pNext
9319 result.shaderSMCount = shaderSMCount
9320 result.shaderWarpsPerSM = shaderWarpsPerSM
9321
9322 proc newVkPhysicalDeviceShaderSMBuiltinsFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, shaderSMBuiltins: VkBool32): VkPhysicalDeviceShaderSMBuiltinsFeaturesNV =
9323 result.sType = sType
9324 result.pNext = pNext
9325 result.shaderSMBuiltins = shaderSMBuiltins
9326
9327 proc newVkPhysicalDeviceFragmentShaderInterlockFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, fragmentShaderSampleInterlock: VkBool32, fragmentShaderPixelInterlock: VkBool32, fragmentShaderShadingRateInterlock: VkBool32): VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT =
9328 result.sType = sType
9329 result.pNext = pNext
9330 result.fragmentShaderSampleInterlock = fragmentShaderSampleInterlock
9331 result.fragmentShaderPixelInterlock = fragmentShaderPixelInterlock
9332 result.fragmentShaderShadingRateInterlock = fragmentShaderShadingRateInterlock
9333
9334 proc newVkPhysicalDeviceSeparateDepthStencilLayoutsFeatures*(sType: VkStructureType, pNext: pointer = nil, separateDepthStencilLayouts: VkBool32): VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures =
9335 result.sType = sType
9336 result.pNext = pNext
9337 result.separateDepthStencilLayouts = separateDepthStencilLayouts
9338
9339 proc newVkAttachmentReferenceStencilLayout*(sType: VkStructureType, pNext: pointer = nil, stencilLayout: VkImageLayout): VkAttachmentReferenceStencilLayout =
9340 result.sType = sType
9341 result.pNext = pNext
9342 result.stencilLayout = stencilLayout
9343
9344 proc newVkAttachmentDescriptionStencilLayout*(sType: VkStructureType, pNext: pointer = nil, stencilInitialLayout: VkImageLayout, stencilFinalLayout: VkImageLayout): VkAttachmentDescriptionStencilLayout =
9345 result.sType = sType
9346 result.pNext = pNext
9347 result.stencilInitialLayout = stencilInitialLayout
9348 result.stencilFinalLayout = stencilFinalLayout
9349
9350 proc newVkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR*(sType: VkStructureType, pNext: pointer = nil, pipelineExecutableInfo: VkBool32): VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR =
9351 result.sType = sType
9352 result.pNext = pNext
9353 result.pipelineExecutableInfo = pipelineExecutableInfo
9354
9355 proc newVkPipelineInfoKHR*(sType: VkStructureType, pNext: pointer = nil, pipeline: VkPipeline): VkPipelineInfoKHR =
9356 result.sType = sType
9357 result.pNext = pNext
9358 result.pipeline = pipeline
9359
9360 proc newVkPipelineExecutablePropertiesKHR*(sType: VkStructureType, pNext: pointer = nil, stages: VkShaderStageFlags, name: array[VK_MAX_DESCRIPTION_SIZE, char], description: array[VK_MAX_DESCRIPTION_SIZE, char], subgroupSize: uint32): VkPipelineExecutablePropertiesKHR =
9361 result.sType = sType
9362 result.pNext = pNext
9363 result.stages = stages
9364 result.name = name
9365 result.description = description
9366 result.subgroupSize = subgroupSize
9367
9368 proc newVkPipelineExecutableInfoKHR*(sType: VkStructureType, pNext: pointer = nil, pipeline: VkPipeline, executableIndex: uint32): VkPipelineExecutableInfoKHR =
9369 result.sType = sType
9370 result.pNext = pNext
9371 result.pipeline = pipeline
9372 result.executableIndex = executableIndex
9373
9374 proc newVkPipelineExecutableStatisticKHR*(sType: VkStructureType, pNext: pointer = nil, name: array[VK_MAX_DESCRIPTION_SIZE, char], description: array[VK_MAX_DESCRIPTION_SIZE, char], format: VkPipelineExecutableStatisticFormatKHR, value: VkPipelineExecutableStatisticValueKHR): VkPipelineExecutableStatisticKHR =
9375 result.sType = sType
9376 result.pNext = pNext
9377 result.name = name
9378 result.description = description
9379 result.format = format
9380 result.value = value
9381
9382 proc newVkPipelineExecutableInternalRepresentationKHR*(sType: VkStructureType, pNext: pointer = nil, name: array[VK_MAX_DESCRIPTION_SIZE, char], description: array[VK_MAX_DESCRIPTION_SIZE, char], isText: VkBool32, dataSize: uint, pData: pointer = nil): VkPipelineExecutableInternalRepresentationKHR =
9383 result.sType = sType
9384 result.pNext = pNext
9385 result.name = name
9386 result.description = description
9387 result.isText = isText
9388 result.dataSize = dataSize
9389 result.pData = pData
9390
9391 proc newVkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, shaderDemoteToHelperInvocation: VkBool32): VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT =
9392 result.sType = sType
9393 result.pNext = pNext
9394 result.shaderDemoteToHelperInvocation = shaderDemoteToHelperInvocation
9395
9396 proc newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, texelBufferAlignment: VkBool32): VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT =
9397 result.sType = sType
9398 result.pNext = pNext
9399 result.texelBufferAlignment = texelBufferAlignment
9400
9401 proc newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, storageTexelBufferOffsetAlignmentBytes: VkDeviceSize, storageTexelBufferOffsetSingleTexelAlignment: VkBool32, uniformTexelBufferOffsetAlignmentBytes: VkDeviceSize, uniformTexelBufferOffsetSingleTexelAlignment: VkBool32): VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT =
9402 result.sType = sType
9403 result.pNext = pNext
9404 result.storageTexelBufferOffsetAlignmentBytes = storageTexelBufferOffsetAlignmentBytes
9405 result.storageTexelBufferOffsetSingleTexelAlignment = storageTexelBufferOffsetSingleTexelAlignment
9406 result.uniformTexelBufferOffsetAlignmentBytes = uniformTexelBufferOffsetAlignmentBytes
9407 result.uniformTexelBufferOffsetSingleTexelAlignment = uniformTexelBufferOffsetSingleTexelAlignment
9408
9409 proc newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, subgroupSizeControl: VkBool32, computeFullSubgroups: VkBool32): VkPhysicalDeviceSubgroupSizeControlFeaturesEXT =
9410 result.sType = sType
9411 result.pNext = pNext
9412 result.subgroupSizeControl = subgroupSizeControl
9413 result.computeFullSubgroups = computeFullSubgroups
9414
9415 proc newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, minSubgroupSize: uint32, maxSubgroupSize: uint32, maxComputeWorkgroupSubgroups: uint32, requiredSubgroupSizeStages: VkShaderStageFlags): VkPhysicalDeviceSubgroupSizeControlPropertiesEXT =
9416 result.sType = sType
9417 result.pNext = pNext
9418 result.minSubgroupSize = minSubgroupSize
9419 result.maxSubgroupSize = maxSubgroupSize
9420 result.maxComputeWorkgroupSubgroups = maxComputeWorkgroupSubgroups
9421 result.requiredSubgroupSizeStages = requiredSubgroupSizeStages
9422
9423 proc newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, requiredSubgroupSize: uint32): VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT =
9424 result.sType = sType
9425 result.pNext = pNext
9426 result.requiredSubgroupSize = requiredSubgroupSize
9427
9428 proc newVkMemoryOpaqueCaptureAddressAllocateInfo*(sType: VkStructureType, pNext: pointer = nil, opaqueCaptureAddress: uint64): VkMemoryOpaqueCaptureAddressAllocateInfo =
9429 result.sType = sType
9430 result.pNext = pNext
9431 result.opaqueCaptureAddress = opaqueCaptureAddress
9432
9433 proc newVkDeviceMemoryOpaqueCaptureAddressInfo*(sType: VkStructureType, pNext: pointer = nil, memory: VkDeviceMemory): VkDeviceMemoryOpaqueCaptureAddressInfo =
9434 result.sType = sType
9435 result.pNext = pNext
9436 result.memory = memory
9437
9438 proc newVkPhysicalDeviceLineRasterizationFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, rectangularLines: VkBool32, bresenhamLines: VkBool32, smoothLines: VkBool32, stippledRectangularLines: VkBool32, stippledBresenhamLines: VkBool32, stippledSmoothLines: VkBool32): VkPhysicalDeviceLineRasterizationFeaturesEXT =
9439 result.sType = sType
9440 result.pNext = pNext
9441 result.rectangularLines = rectangularLines
9442 result.bresenhamLines = bresenhamLines
9443 result.smoothLines = smoothLines
9444 result.stippledRectangularLines = stippledRectangularLines
9445 result.stippledBresenhamLines = stippledBresenhamLines
9446 result.stippledSmoothLines = stippledSmoothLines
9447
9448 proc newVkPhysicalDeviceLineRasterizationPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, lineSubPixelPrecisionBits: uint32): VkPhysicalDeviceLineRasterizationPropertiesEXT =
9449 result.sType = sType
9450 result.pNext = pNext
9451 result.lineSubPixelPrecisionBits = lineSubPixelPrecisionBits
9452
9453 proc newVkPipelineRasterizationLineStateCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, lineRasterizationMode: VkLineRasterizationModeEXT, stippledLineEnable: VkBool32, lineStippleFactor: uint32, lineStipplePattern: uint16): VkPipelineRasterizationLineStateCreateInfoEXT =
9454 result.sType = sType
9455 result.pNext = pNext
9456 result.lineRasterizationMode = lineRasterizationMode
9457 result.stippledLineEnable = stippledLineEnable
9458 result.lineStippleFactor = lineStippleFactor
9459 result.lineStipplePattern = lineStipplePattern
9460
9461 proc newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, pipelineCreationCacheControl: VkBool32): VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT =
9462 result.sType = sType
9463 result.pNext = pNext
9464 result.pipelineCreationCacheControl = pipelineCreationCacheControl
9465
9466 proc newVkPhysicalDeviceVulkan11Features*(sType: VkStructureType, pNext: pointer = nil, storageBuffer16BitAccess: VkBool32, uniformAndStorageBuffer16BitAccess: VkBool32, storagePushConstant16: VkBool32, storageInputOutput16: VkBool32, multiview: VkBool32, multiviewGeometryShader: VkBool32, multiviewTessellationShader: VkBool32, variablePointersStorageBuffer: VkBool32, variablePointers: VkBool32, protectedMemory: VkBool32, samplerYcbcrConversion: VkBool32, shaderDrawParameters: VkBool32): VkPhysicalDeviceVulkan11Features =
9467 result.sType = sType
9468 result.pNext = pNext
9469 result.storageBuffer16BitAccess = storageBuffer16BitAccess
9470 result.uniformAndStorageBuffer16BitAccess = uniformAndStorageBuffer16BitAccess
9471 result.storagePushConstant16 = storagePushConstant16
9472 result.storageInputOutput16 = storageInputOutput16
9473 result.multiview = multiview
9474 result.multiviewGeometryShader = multiviewGeometryShader
9475 result.multiviewTessellationShader = multiviewTessellationShader
9476 result.variablePointersStorageBuffer = variablePointersStorageBuffer
9477 result.variablePointers = variablePointers
9478 result.protectedMemory = protectedMemory
9479 result.samplerYcbcrConversion = samplerYcbcrConversion
9480 result.shaderDrawParameters = shaderDrawParameters
9481
9482 proc newVkPhysicalDeviceVulkan11Properties*(sType: VkStructureType, pNext: pointer = nil, deviceUUID: array[VK_UUID_SIZE, uint8], driverUUID: array[VK_UUID_SIZE, uint8], deviceLUID: array[VK_LUID_SIZE, uint8], deviceNodeMask: uint32, deviceLUIDValid: VkBool32, subgroupSize: uint32, subgroupSupportedStages: VkShaderStageFlags, subgroupSupportedOperations: VkSubgroupFeatureFlags, subgroupQuadOperationsInAllStages: VkBool32, pointClippingBehavior: VkPointClippingBehavior, maxMultiviewViewCount: uint32, maxMultiviewInstanceIndex: uint32, protectedNoFault: VkBool32, maxPerSetDescriptors: uint32, maxMemoryAllocationSize: VkDeviceSize): VkPhysicalDeviceVulkan11Properties =
9483 result.sType = sType
9484 result.pNext = pNext
9485 result.deviceUUID = deviceUUID
9486 result.driverUUID = driverUUID
9487 result.deviceLUID = deviceLUID
9488 result.deviceNodeMask = deviceNodeMask
9489 result.deviceLUIDValid = deviceLUIDValid
9490 result.subgroupSize = subgroupSize
9491 result.subgroupSupportedStages = subgroupSupportedStages
9492 result.subgroupSupportedOperations = subgroupSupportedOperations
9493 result.subgroupQuadOperationsInAllStages = subgroupQuadOperationsInAllStages
9494 result.pointClippingBehavior = pointClippingBehavior
9495 result.maxMultiviewViewCount = maxMultiviewViewCount
9496 result.maxMultiviewInstanceIndex = maxMultiviewInstanceIndex
9497 result.protectedNoFault = protectedNoFault
9498 result.maxPerSetDescriptors = maxPerSetDescriptors
9499 result.maxMemoryAllocationSize = maxMemoryAllocationSize
9500
9501 proc newVkPhysicalDeviceVulkan12Features*(sType: VkStructureType, pNext: pointer = nil, samplerMirrorClampToEdge: VkBool32, drawIndirectCount: VkBool32, storageBuffer8BitAccess: VkBool32, uniformAndStorageBuffer8BitAccess: VkBool32, storagePushConstant8: VkBool32, shaderBufferInt64Atomics: VkBool32, shaderSharedInt64Atomics: VkBool32, shaderFloat16: VkBool32, shaderInt8: VkBool32, descriptorIndexing: VkBool32, shaderInputAttachmentArrayDynamicIndexing: VkBool32, shaderUniformTexelBufferArrayDynamicIndexing: VkBool32, shaderStorageTexelBufferArrayDynamicIndexing: VkBool32, shaderUniformBufferArrayNonUniformIndexing: VkBool32, shaderSampledImageArrayNonUniformIndexing: VkBool32, shaderStorageBufferArrayNonUniformIndexing: VkBool32, shaderStorageImageArrayNonUniformIndexing: VkBool32, shaderInputAttachmentArrayNonUniformIndexing: VkBool32, shaderUniformTexelBufferArrayNonUniformIndexing: VkBool32, shaderStorageTexelBufferArrayNonUniformIndexing: VkBool32, descriptorBindingUniformBufferUpdateAfterBind: VkBool32, descriptorBindingSampledImageUpdateAfterBind: VkBool32, descriptorBindingStorageImageUpdateAfterBind: VkBool32, descriptorBindingStorageBufferUpdateAfterBind: VkBool32, descriptorBindingUniformTexelBufferUpdateAfterBind: VkBool32, descriptorBindingStorageTexelBufferUpdateAfterBind: VkBool32, descriptorBindingUpdateUnusedWhilePending: VkBool32, descriptorBindingPartiallyBound: VkBool32, descriptorBindingVariableDescriptorCount: VkBool32, runtimeDescriptorArray: VkBool32, samplerFilterMinmax: VkBool32, scalarBlockLayout: VkBool32, imagelessFramebuffer: VkBool32, uniformBufferStandardLayout: VkBool32, shaderSubgroupExtendedTypes: VkBool32, separateDepthStencilLayouts: VkBool32, hostQueryReset: VkBool32, timelineSemaphore: VkBool32, bufferDeviceAddress: VkBool32, bufferDeviceAddressCaptureReplay: VkBool32, bufferDeviceAddressMultiDevice: VkBool32, vulkanMemoryModel: VkBool32, vulkanMemoryModelDeviceScope: VkBool32, vulkanMemoryModelAvailabilityVisibilityChains: VkBool32, shaderOutputViewportIndex: VkBool32, shaderOutputLayer: VkBool32, subgroupBroadcastDynamicId: VkBool32): VkPhysicalDeviceVulkan12Features =
9502 result.sType = sType
9503 result.pNext = pNext
9504 result.samplerMirrorClampToEdge = samplerMirrorClampToEdge
9505 result.drawIndirectCount = drawIndirectCount
9506 result.storageBuffer8BitAccess = storageBuffer8BitAccess
9507 result.uniformAndStorageBuffer8BitAccess = uniformAndStorageBuffer8BitAccess
9508 result.storagePushConstant8 = storagePushConstant8
9509 result.shaderBufferInt64Atomics = shaderBufferInt64Atomics
9510 result.shaderSharedInt64Atomics = shaderSharedInt64Atomics
9511 result.shaderFloat16 = shaderFloat16
9512 result.shaderInt8 = shaderInt8
9513 result.descriptorIndexing = descriptorIndexing
9514 result.shaderInputAttachmentArrayDynamicIndexing = shaderInputAttachmentArrayDynamicIndexing
9515 result.shaderUniformTexelBufferArrayDynamicIndexing = shaderUniformTexelBufferArrayDynamicIndexing
9516 result.shaderStorageTexelBufferArrayDynamicIndexing = shaderStorageTexelBufferArrayDynamicIndexing
9517 result.shaderUniformBufferArrayNonUniformIndexing = shaderUniformBufferArrayNonUniformIndexing
9518 result.shaderSampledImageArrayNonUniformIndexing = shaderSampledImageArrayNonUniformIndexing
9519 result.shaderStorageBufferArrayNonUniformIndexing = shaderStorageBufferArrayNonUniformIndexing
9520 result.shaderStorageImageArrayNonUniformIndexing = shaderStorageImageArrayNonUniformIndexing
9521 result.shaderInputAttachmentArrayNonUniformIndexing = shaderInputAttachmentArrayNonUniformIndexing
9522 result.shaderUniformTexelBufferArrayNonUniformIndexing = shaderUniformTexelBufferArrayNonUniformIndexing
9523 result.shaderStorageTexelBufferArrayNonUniformIndexing = shaderStorageTexelBufferArrayNonUniformIndexing
9524 result.descriptorBindingUniformBufferUpdateAfterBind = descriptorBindingUniformBufferUpdateAfterBind
9525 result.descriptorBindingSampledImageUpdateAfterBind = descriptorBindingSampledImageUpdateAfterBind
9526 result.descriptorBindingStorageImageUpdateAfterBind = descriptorBindingStorageImageUpdateAfterBind
9527 result.descriptorBindingStorageBufferUpdateAfterBind = descriptorBindingStorageBufferUpdateAfterBind
9528 result.descriptorBindingUniformTexelBufferUpdateAfterBind = descriptorBindingUniformTexelBufferUpdateAfterBind
9529 result.descriptorBindingStorageTexelBufferUpdateAfterBind = descriptorBindingStorageTexelBufferUpdateAfterBind
9530 result.descriptorBindingUpdateUnusedWhilePending = descriptorBindingUpdateUnusedWhilePending
9531 result.descriptorBindingPartiallyBound = descriptorBindingPartiallyBound
9532 result.descriptorBindingVariableDescriptorCount = descriptorBindingVariableDescriptorCount
9533 result.runtimeDescriptorArray = runtimeDescriptorArray
9534 result.samplerFilterMinmax = samplerFilterMinmax
9535 result.scalarBlockLayout = scalarBlockLayout
9536 result.imagelessFramebuffer = imagelessFramebuffer
9537 result.uniformBufferStandardLayout = uniformBufferStandardLayout
9538 result.shaderSubgroupExtendedTypes = shaderSubgroupExtendedTypes
9539 result.separateDepthStencilLayouts = separateDepthStencilLayouts
9540 result.hostQueryReset = hostQueryReset
9541 result.timelineSemaphore = timelineSemaphore
9542 result.bufferDeviceAddress = bufferDeviceAddress
9543 result.bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay
9544 result.bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice
9545 result.vulkanMemoryModel = vulkanMemoryModel
9546 result.vulkanMemoryModelDeviceScope = vulkanMemoryModelDeviceScope
9547 result.vulkanMemoryModelAvailabilityVisibilityChains = vulkanMemoryModelAvailabilityVisibilityChains
9548 result.shaderOutputViewportIndex = shaderOutputViewportIndex
9549 result.shaderOutputLayer = shaderOutputLayer
9550 result.subgroupBroadcastDynamicId = subgroupBroadcastDynamicId
9551
9552 proc newVkPhysicalDeviceVulkan12Properties*(sType: VkStructureType, pNext: pointer = nil, driverID: VkDriverId, driverName: array[VK_MAX_DRIVER_NAME_SIZE, char], driverInfo: array[VK_MAX_DRIVER_INFO_SIZE, char], conformanceVersion: VkConformanceVersion, denormBehaviorIndependence: VkShaderFloatControlsIndependence, roundingModeIndependence: VkShaderFloatControlsIndependence, shaderSignedZeroInfNanPreserveFloat16: VkBool32, shaderSignedZeroInfNanPreserveFloat32: VkBool32, shaderSignedZeroInfNanPreserveFloat64: VkBool32, shaderDenormPreserveFloat16: VkBool32, shaderDenormPreserveFloat32: VkBool32, shaderDenormPreserveFloat64: VkBool32, shaderDenormFlushToZeroFloat16: VkBool32, shaderDenormFlushToZeroFloat32: VkBool32, shaderDenormFlushToZeroFloat64: VkBool32, shaderRoundingModeRTEFloat16: VkBool32, shaderRoundingModeRTEFloat32: VkBool32, shaderRoundingModeRTEFloat64: VkBool32, shaderRoundingModeRTZFloat16: VkBool32, shaderRoundingModeRTZFloat32: VkBool32, shaderRoundingModeRTZFloat64: VkBool32, maxUpdateAfterBindDescriptorsInAllPools: uint32, shaderUniformBufferArrayNonUniformIndexingNative: VkBool32, shaderSampledImageArrayNonUniformIndexingNative: VkBool32, shaderStorageBufferArrayNonUniformIndexingNative: VkBool32, shaderStorageImageArrayNonUniformIndexingNative: VkBool32, shaderInputAttachmentArrayNonUniformIndexingNative: VkBool32, robustBufferAccessUpdateAfterBind: VkBool32, quadDivergentImplicitLod: VkBool32, maxPerStageDescriptorUpdateAfterBindSamplers: uint32, maxPerStageDescriptorUpdateAfterBindUniformBuffers: uint32, maxPerStageDescriptorUpdateAfterBindStorageBuffers: uint32, maxPerStageDescriptorUpdateAfterBindSampledImages: uint32, maxPerStageDescriptorUpdateAfterBindStorageImages: uint32, maxPerStageDescriptorUpdateAfterBindInputAttachments: uint32, maxPerStageUpdateAfterBindResources: uint32, maxDescriptorSetUpdateAfterBindSamplers: uint32, maxDescriptorSetUpdateAfterBindUniformBuffers: uint32, maxDescriptorSetUpdateAfterBindUniformBuffersDynamic: uint32, maxDescriptorSetUpdateAfterBindStorageBuffers: uint32, maxDescriptorSetUpdateAfterBindStorageBuffersDynamic: uint32, maxDescriptorSetUpdateAfterBindSampledImages: uint32, maxDescriptorSetUpdateAfterBindStorageImages: uint32, maxDescriptorSetUpdateAfterBindInputAttachments: uint32, supportedDepthResolveModes: VkResolveModeFlags, supportedStencilResolveModes: VkResolveModeFlags, independentResolveNone: VkBool32, independentResolve: VkBool32, filterMinmaxSingleComponentFormats: VkBool32, filterMinmaxImageComponentMapping: VkBool32, maxTimelineSemaphoreValueDifference: uint64, framebufferIntegerColorSampleCounts: VkSampleCountFlags): VkPhysicalDeviceVulkan12Properties =
9553 result.sType = sType
9554 result.pNext = pNext
9555 result.driverID = driverID
9556 result.driverName = driverName
9557 result.driverInfo = driverInfo
9558 result.conformanceVersion = conformanceVersion
9559 result.denormBehaviorIndependence = denormBehaviorIndependence
9560 result.roundingModeIndependence = roundingModeIndependence
9561 result.shaderSignedZeroInfNanPreserveFloat16 = shaderSignedZeroInfNanPreserveFloat16
9562 result.shaderSignedZeroInfNanPreserveFloat32 = shaderSignedZeroInfNanPreserveFloat32
9563 result.shaderSignedZeroInfNanPreserveFloat64 = shaderSignedZeroInfNanPreserveFloat64
9564 result.shaderDenormPreserveFloat16 = shaderDenormPreserveFloat16
9565 result.shaderDenormPreserveFloat32 = shaderDenormPreserveFloat32
9566 result.shaderDenormPreserveFloat64 = shaderDenormPreserveFloat64
9567 result.shaderDenormFlushToZeroFloat16 = shaderDenormFlushToZeroFloat16
9568 result.shaderDenormFlushToZeroFloat32 = shaderDenormFlushToZeroFloat32
9569 result.shaderDenormFlushToZeroFloat64 = shaderDenormFlushToZeroFloat64
9570 result.shaderRoundingModeRTEFloat16 = shaderRoundingModeRTEFloat16
9571 result.shaderRoundingModeRTEFloat32 = shaderRoundingModeRTEFloat32
9572 result.shaderRoundingModeRTEFloat64 = shaderRoundingModeRTEFloat64
9573 result.shaderRoundingModeRTZFloat16 = shaderRoundingModeRTZFloat16
9574 result.shaderRoundingModeRTZFloat32 = shaderRoundingModeRTZFloat32
9575 result.shaderRoundingModeRTZFloat64 = shaderRoundingModeRTZFloat64
9576 result.maxUpdateAfterBindDescriptorsInAllPools = maxUpdateAfterBindDescriptorsInAllPools
9577 result.shaderUniformBufferArrayNonUniformIndexingNative = shaderUniformBufferArrayNonUniformIndexingNative
9578 result.shaderSampledImageArrayNonUniformIndexingNative = shaderSampledImageArrayNonUniformIndexingNative
9579 result.shaderStorageBufferArrayNonUniformIndexingNative = shaderStorageBufferArrayNonUniformIndexingNative
9580 result.shaderStorageImageArrayNonUniformIndexingNative = shaderStorageImageArrayNonUniformIndexingNative
9581 result.shaderInputAttachmentArrayNonUniformIndexingNative = shaderInputAttachmentArrayNonUniformIndexingNative
9582 result.robustBufferAccessUpdateAfterBind = robustBufferAccessUpdateAfterBind
9583 result.quadDivergentImplicitLod = quadDivergentImplicitLod
9584 result.maxPerStageDescriptorUpdateAfterBindSamplers = maxPerStageDescriptorUpdateAfterBindSamplers
9585 result.maxPerStageDescriptorUpdateAfterBindUniformBuffers = maxPerStageDescriptorUpdateAfterBindUniformBuffers
9586 result.maxPerStageDescriptorUpdateAfterBindStorageBuffers = maxPerStageDescriptorUpdateAfterBindStorageBuffers
9587 result.maxPerStageDescriptorUpdateAfterBindSampledImages = maxPerStageDescriptorUpdateAfterBindSampledImages
9588 result.maxPerStageDescriptorUpdateAfterBindStorageImages = maxPerStageDescriptorUpdateAfterBindStorageImages
9589 result.maxPerStageDescriptorUpdateAfterBindInputAttachments = maxPerStageDescriptorUpdateAfterBindInputAttachments
9590 result.maxPerStageUpdateAfterBindResources = maxPerStageUpdateAfterBindResources
9591 result.maxDescriptorSetUpdateAfterBindSamplers = maxDescriptorSetUpdateAfterBindSamplers
9592 result.maxDescriptorSetUpdateAfterBindUniformBuffers = maxDescriptorSetUpdateAfterBindUniformBuffers
9593 result.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = maxDescriptorSetUpdateAfterBindUniformBuffersDynamic
9594 result.maxDescriptorSetUpdateAfterBindStorageBuffers = maxDescriptorSetUpdateAfterBindStorageBuffers
9595 result.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = maxDescriptorSetUpdateAfterBindStorageBuffersDynamic
9596 result.maxDescriptorSetUpdateAfterBindSampledImages = maxDescriptorSetUpdateAfterBindSampledImages
9597 result.maxDescriptorSetUpdateAfterBindStorageImages = maxDescriptorSetUpdateAfterBindStorageImages
9598 result.maxDescriptorSetUpdateAfterBindInputAttachments = maxDescriptorSetUpdateAfterBindInputAttachments
9599 result.supportedDepthResolveModes = supportedDepthResolveModes
9600 result.supportedStencilResolveModes = supportedStencilResolveModes
9601 result.independentResolveNone = independentResolveNone
9602 result.independentResolve = independentResolve
9603 result.filterMinmaxSingleComponentFormats = filterMinmaxSingleComponentFormats
9604 result.filterMinmaxImageComponentMapping = filterMinmaxImageComponentMapping
9605 result.maxTimelineSemaphoreValueDifference = maxTimelineSemaphoreValueDifference
9606 result.framebufferIntegerColorSampleCounts = framebufferIntegerColorSampleCounts
9607
9608 proc newVkPipelineCompilerControlCreateInfoAMD*(sType: VkStructureType, pNext: pointer = nil, compilerControlFlags: VkPipelineCompilerControlFlagsAMD): VkPipelineCompilerControlCreateInfoAMD =
9609 result.sType = sType
9610 result.pNext = pNext
9611 result.compilerControlFlags = compilerControlFlags
9612
9613 proc newVkPhysicalDeviceCoherentMemoryFeaturesAMD*(sType: VkStructureType, pNext: pointer = nil, deviceCoherentMemory: VkBool32): VkPhysicalDeviceCoherentMemoryFeaturesAMD =
9614 result.sType = sType
9615 result.pNext = pNext
9616 result.deviceCoherentMemory = deviceCoherentMemory
9617
9618 proc newVkPhysicalDeviceToolPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, name: array[VK_MAX_EXTENSION_NAME_SIZE, char], version: array[VK_MAX_EXTENSION_NAME_SIZE, char], purposes: VkToolPurposeFlagsEXT, description: array[VK_MAX_DESCRIPTION_SIZE, char], layer: array[VK_MAX_EXTENSION_NAME_SIZE, char]): VkPhysicalDeviceToolPropertiesEXT =
9619 result.sType = sType
9620 result.pNext = pNext
9621 result.name = name
9622 result.version = version
9623 result.purposes = purposes
9624 result.description = description
9625 result.layer = layer
9626
9627 proc newVkSamplerCustomBorderColorCreateInfoEXT*(sType: VkStructureType, pNext: pointer = nil, customBorderColor: VkClearColorValue, format: VkFormat): VkSamplerCustomBorderColorCreateInfoEXT =
9628 result.sType = sType
9629 result.pNext = pNext
9630 result.customBorderColor = customBorderColor
9631 result.format = format
9632
9633 proc newVkPhysicalDeviceCustomBorderColorPropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, maxCustomBorderColorSamplers: uint32): VkPhysicalDeviceCustomBorderColorPropertiesEXT =
9634 result.sType = sType
9635 result.pNext = pNext
9636 result.maxCustomBorderColorSamplers = maxCustomBorderColorSamplers
9637
9638 proc newVkPhysicalDeviceCustomBorderColorFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, customBorderColors: VkBool32, customBorderColorWithoutFormat: VkBool32): VkPhysicalDeviceCustomBorderColorFeaturesEXT =
9639 result.sType = sType
9640 result.pNext = pNext
9641 result.customBorderColors = customBorderColors
9642 result.customBorderColorWithoutFormat = customBorderColorWithoutFormat
9643
9644 proc newVkAccelerationStructureGeometryTrianglesDataKHR*(sType: VkStructureType, pNext: pointer = nil, vertexFormat: VkFormat, vertexData: VkDeviceOrHostAddressConstKHR, vertexStride: VkDeviceSize, indexType: VkIndexType, indexData: VkDeviceOrHostAddressConstKHR, transformData: VkDeviceOrHostAddressConstKHR): VkAccelerationStructureGeometryTrianglesDataKHR =
9645 result.sType = sType
9646 result.pNext = pNext
9647 result.vertexFormat = vertexFormat
9648 result.vertexData = vertexData
9649 result.vertexStride = vertexStride
9650 result.indexType = indexType
9651 result.indexData = indexData
9652 result.transformData = transformData
9653
9654 proc newVkAccelerationStructureGeometryAabbsDataKHR*(sType: VkStructureType, pNext: pointer = nil, data: VkDeviceOrHostAddressConstKHR, stride: VkDeviceSize): VkAccelerationStructureGeometryAabbsDataKHR =
9655 result.sType = sType
9656 result.pNext = pNext
9657 result.data = data
9658 result.stride = stride
9659
9660 proc newVkAccelerationStructureGeometryInstancesDataKHR*(sType: VkStructureType, pNext: pointer = nil, arrayOfPointers: VkBool32, data: VkDeviceOrHostAddressConstKHR): VkAccelerationStructureGeometryInstancesDataKHR =
9661 result.sType = sType
9662 result.pNext = pNext
9663 result.arrayOfPointers = arrayOfPointers
9664 result.data = data
9665
9666 proc newVkAccelerationStructureGeometryKHR*(sType: VkStructureType, pNext: pointer = nil, geometryType: VkGeometryTypeKHR, geometry: VkAccelerationStructureGeometryDataKHR, flags: VkGeometryFlagsKHR = 0.VkGeometryFlagsKHR): VkAccelerationStructureGeometryKHR =
9667 result.sType = sType
9668 result.pNext = pNext
9669 result.geometryType = geometryType
9670 result.geometry = geometry
9671 result.flags = flags
9672
9673 proc newVkAccelerationStructureBuildGeometryInfoKHR*(sType: VkStructureType, pNext: pointer = nil, `type`: VkAccelerationStructureTypeKHR, flags: VkBuildAccelerationStructureFlagsKHR = 0.VkBuildAccelerationStructureFlagsKHR, update: VkBool32, srcAccelerationStructure: VkAccelerationStructureKHR, dstAccelerationStructure: VkAccelerationStructureKHR, geometryArrayOfPointers: VkBool32, geometryCount: uint32, ppGeometries: ptr ptr VkAccelerationStructureGeometryKHR, scratchData: VkDeviceOrHostAddressKHR): VkAccelerationStructureBuildGeometryInfoKHR =
9674 result.sType = sType
9675 result.pNext = pNext
9676 result.`type` = `type`
9677 result.flags = flags
9678 result.update = update
9679 result.srcAccelerationStructure = srcAccelerationStructure
9680 result.dstAccelerationStructure = dstAccelerationStructure
9681 result.geometryArrayOfPointers = geometryArrayOfPointers
9682 result.geometryCount = geometryCount
9683 result.ppGeometries = ppGeometries
9684 result.scratchData = scratchData
9685
9686 proc newVkAccelerationStructureBuildOffsetInfoKHR*(primitiveCount: uint32, primitiveOffset: uint32, firstVertex: uint32, transformOffset: uint32): VkAccelerationStructureBuildOffsetInfoKHR =
9687 result.primitiveCount = primitiveCount
9688 result.primitiveOffset = primitiveOffset
9689 result.firstVertex = firstVertex
9690 result.transformOffset = transformOffset
9691
9692 proc newVkAccelerationStructureCreateGeometryTypeInfoKHR*(sType: VkStructureType, pNext: pointer = nil, geometryType: VkGeometryTypeKHR, maxPrimitiveCount: uint32, indexType: VkIndexType, maxVertexCount: uint32, vertexFormat: VkFormat, allowsTransforms: VkBool32): VkAccelerationStructureCreateGeometryTypeInfoKHR =
9693 result.sType = sType
9694 result.pNext = pNext
9695 result.geometryType = geometryType
9696 result.maxPrimitiveCount = maxPrimitiveCount
9697 result.indexType = indexType
9698 result.maxVertexCount = maxVertexCount
9699 result.vertexFormat = vertexFormat
9700 result.allowsTransforms = allowsTransforms
9701
9702 proc newVkAccelerationStructureCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, compactedSize: VkDeviceSize, `type`: VkAccelerationStructureTypeKHR, flags: VkBuildAccelerationStructureFlagsKHR = 0.VkBuildAccelerationStructureFlagsKHR, maxGeometryCount: uint32, pGeometryInfos: ptr VkAccelerationStructureCreateGeometryTypeInfoKHR, deviceAddress: VkDeviceAddress): VkAccelerationStructureCreateInfoKHR =
9703 result.sType = sType
9704 result.pNext = pNext
9705 result.compactedSize = compactedSize
9706 result.`type` = `type`
9707 result.flags = flags
9708 result.maxGeometryCount = maxGeometryCount
9709 result.pGeometryInfos = pGeometryInfos
9710 result.deviceAddress = deviceAddress
9711
9712 proc newVkAabbPositionsKHR*(minX: float32, minY: float32, minZ: float32, maxX: float32, maxY: float32, maxZ: float32): VkAabbPositionsKHR =
9713 result.minX = minX
9714 result.minY = minY
9715 result.minZ = minZ
9716 result.maxX = maxX
9717 result.maxY = maxY
9718 result.maxZ = maxZ
9719
9720 proc newVkTransformMatrixKHR*(matrix: array[3, float32]): VkTransformMatrixKHR =
9721 result.matrix = matrix
9722
9723 proc newVkAccelerationStructureInstanceKHR*(transform: VkTransformMatrixKHR, instanceCustomIndex: uint32, mask: uint32, instanceShaderBindingTableRecordOffset: uint32, flags: VkGeometryInstanceFlagsKHR = 0.VkGeometryInstanceFlagsKHR, accelerationStructureReference: uint64): VkAccelerationStructureInstanceKHR =
9724 result.transform = transform
9725 result.instanceCustomIndex = instanceCustomIndex
9726 result.mask = mask
9727 result.instanceShaderBindingTableRecordOffset = instanceShaderBindingTableRecordOffset
9728 result.flags = flags
9729 result.accelerationStructureReference = accelerationStructureReference
9730
9731 proc newVkAccelerationStructureDeviceAddressInfoKHR*(sType: VkStructureType, pNext: pointer = nil, accelerationStructure: VkAccelerationStructureKHR): VkAccelerationStructureDeviceAddressInfoKHR =
9732 result.sType = sType
9733 result.pNext = pNext
9734 result.accelerationStructure = accelerationStructure
9735
9736 proc newVkAccelerationStructureVersionKHR*(sType: VkStructureType, pNext: pointer = nil, versionData: ptr uint8): VkAccelerationStructureVersionKHR =
9737 result.sType = sType
9738 result.pNext = pNext
9739 result.versionData = versionData
9740
9741 proc newVkCopyAccelerationStructureInfoKHR*(sType: VkStructureType, pNext: pointer = nil, src: VkAccelerationStructureKHR, dst: VkAccelerationStructureKHR, mode: VkCopyAccelerationStructureModeKHR): VkCopyAccelerationStructureInfoKHR =
9742 result.sType = sType
9743 result.pNext = pNext
9744 result.src = src
9745 result.dst = dst
9746 result.mode = mode
9747
9748 proc newVkCopyAccelerationStructureToMemoryInfoKHR*(sType: VkStructureType, pNext: pointer = nil, src: VkAccelerationStructureKHR, dst: VkDeviceOrHostAddressKHR, mode: VkCopyAccelerationStructureModeKHR): VkCopyAccelerationStructureToMemoryInfoKHR =
9749 result.sType = sType
9750 result.pNext = pNext
9751 result.src = src
9752 result.dst = dst
9753 result.mode = mode
9754
9755 proc newVkCopyMemoryToAccelerationStructureInfoKHR*(sType: VkStructureType, pNext: pointer = nil, src: VkDeviceOrHostAddressConstKHR, dst: VkAccelerationStructureKHR, mode: VkCopyAccelerationStructureModeKHR): VkCopyMemoryToAccelerationStructureInfoKHR =
9756 result.sType = sType
9757 result.pNext = pNext
9758 result.src = src
9759 result.dst = dst
9760 result.mode = mode
9761
9762 proc newVkRayTracingPipelineInterfaceCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, maxPayloadSize: uint32, maxAttributeSize: uint32, maxCallableSize: uint32): VkRayTracingPipelineInterfaceCreateInfoKHR =
9763 result.sType = sType
9764 result.pNext = pNext
9765 result.maxPayloadSize = maxPayloadSize
9766 result.maxAttributeSize = maxAttributeSize
9767 result.maxCallableSize = maxCallableSize
9768
9769 proc newVkDeferredOperationInfoKHR*(sType: VkStructureType, pNext: pointer = nil, operationHandle: VkDeferredOperationKHR): VkDeferredOperationInfoKHR =
9770 result.sType = sType
9771 result.pNext = pNext
9772 result.operationHandle = operationHandle
9773
9774 proc newVkPipelineLibraryCreateInfoKHR*(sType: VkStructureType, pNext: pointer = nil, libraryCount: uint32, pLibraries: ptr VkPipeline): VkPipelineLibraryCreateInfoKHR =
9775 result.sType = sType
9776 result.pNext = pNext
9777 result.libraryCount = libraryCount
9778 result.pLibraries = pLibraries
9779
9780 proc newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, extendedDynamicState: VkBool32): VkPhysicalDeviceExtendedDynamicStateFeaturesEXT =
9781 result.sType = sType
9782 result.pNext = pNext
9783 result.extendedDynamicState = extendedDynamicState
9784
9785 proc newVkRenderPassTransformBeginInfoQCOM*(sType: VkStructureType, pNext: pointer = nil, transform: VkSurfaceTransformFlagBitsKHR): VkRenderPassTransformBeginInfoQCOM =
9786 result.sType = sType
9787 result.pNext = pNext
9788 result.transform = transform
9789
9790 proc newVkCommandBufferInheritanceRenderPassTransformInfoQCOM*(sType: VkStructureType, pNext: pointer = nil, transform: VkSurfaceTransformFlagBitsKHR, renderArea: VkRect2D): VkCommandBufferInheritanceRenderPassTransformInfoQCOM =
9791 result.sType = sType
9792 result.pNext = pNext
9793 result.transform = transform
9794 result.renderArea = renderArea
9795
9796 proc newVkPhysicalDeviceDiagnosticsConfigFeaturesNV*(sType: VkStructureType, pNext: pointer = nil, diagnosticsConfig: VkBool32): VkPhysicalDeviceDiagnosticsConfigFeaturesNV =
9797 result.sType = sType
9798 result.pNext = pNext
9799 result.diagnosticsConfig = diagnosticsConfig
9800
9801 proc newVkDeviceDiagnosticsConfigCreateInfoNV*(sType: VkStructureType, pNext: pointer = nil, flags: VkDeviceDiagnosticsConfigFlagsNV = 0.VkDeviceDiagnosticsConfigFlagsNV): VkDeviceDiagnosticsConfigCreateInfoNV =
9802 result.sType = sType
9803 result.pNext = pNext
9804 result.flags = flags
9805
9806 proc newVkPhysicalDeviceRobustness2FeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, robustBufferAccess2: VkBool32, robustImageAccess2: VkBool32, nullDescriptor: VkBool32): VkPhysicalDeviceRobustness2FeaturesEXT =
9807 result.sType = sType
9808 result.pNext = pNext
9809 result.robustBufferAccess2 = robustBufferAccess2
9810 result.robustImageAccess2 = robustImageAccess2
9811 result.nullDescriptor = nullDescriptor
9812
9813 proc newVkPhysicalDeviceRobustness2PropertiesEXT*(sType: VkStructureType, pNext: pointer = nil, robustStorageBufferAccessSizeAlignment: VkDeviceSize, robustUniformBufferAccessSizeAlignment: VkDeviceSize): VkPhysicalDeviceRobustness2PropertiesEXT =
9814 result.sType = sType
9815 result.pNext = pNext
9816 result.robustStorageBufferAccessSizeAlignment = robustStorageBufferAccessSizeAlignment
9817 result.robustUniformBufferAccessSizeAlignment = robustUniformBufferAccessSizeAlignment
9818
9819 proc newVkPhysicalDeviceImageRobustnessFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, robustImageAccess: VkBool32): VkPhysicalDeviceImageRobustnessFeaturesEXT =
9820 result.sType = sType
9821 result.pNext = pNext
9822 result.robustImageAccess = robustImageAccess
9823
9824 proc newVkPhysicalDevice4444FormatsFeaturesEXT*(sType: VkStructureType, pNext: pointer = nil, formatA4R4G4B4: VkBool32, formatA4B4G4R4: VkBool32): VkPhysicalDevice4444FormatsFeaturesEXT =
9825 result.sType = sType
9826 result.pNext = pNext
9827 result.formatA4R4G4B4 = formatA4R4G4B4
9828 result.formatA4B4G4R4 = formatA4B4G4R4
9829
9830 # Procs
9831 var
9832 vkCreateInstance*: proc(pCreateInfo: ptr VkInstanceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pInstance: ptr VkInstance ): VkResult {.stdcall.}
9833 vkDestroyInstance*: proc(instance: VkInstance, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9834 vkEnumeratePhysicalDevices*: proc(instance: VkInstance, pPhysicalDeviceCount: ptr uint32 , pPhysicalDevices: ptr VkPhysicalDevice ): VkResult {.stdcall.}
9835 vkGetDeviceProcAddr*: proc(device: VkDevice, pName: cstring ): PFN_vkVoidFunction {.stdcall.}
9836 vkGetInstanceProcAddr*: proc(instance: VkInstance, pName: cstring ): PFN_vkVoidFunction {.stdcall.}
9837 vkGetPhysicalDeviceProperties*: proc(physicalDevice: VkPhysicalDevice, pProperties: ptr VkPhysicalDeviceProperties ): void {.stdcall.}
9838 vkGetPhysicalDeviceQueueFamilyProperties*: proc(physicalDevice: VkPhysicalDevice, pQueueFamilyPropertyCount: ptr uint32 , pQueueFamilyProperties: ptr VkQueueFamilyProperties ): void {.stdcall.}
9839 vkGetPhysicalDeviceMemoryProperties*: proc(physicalDevice: VkPhysicalDevice, pMemoryProperties: ptr VkPhysicalDeviceMemoryProperties ): void {.stdcall.}
9840 vkGetPhysicalDeviceFeatures*: proc(physicalDevice: VkPhysicalDevice, pFeatures: ptr VkPhysicalDeviceFeatures ): void {.stdcall.}
9841 vkGetPhysicalDeviceFormatProperties*: proc(physicalDevice: VkPhysicalDevice, format: VkFormat, pFormatProperties: ptr VkFormatProperties ): void {.stdcall.}
9842 vkGetPhysicalDeviceImageFormatProperties*: proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, tiling: VkImageTiling, usage: VkImageUsageFlags, flags: VkImageCreateFlags, pImageFormatProperties: ptr VkImageFormatProperties ): VkResult {.stdcall.}
9843 vkCreateDevice*: proc(physicalDevice: VkPhysicalDevice, pCreateInfo: ptr VkDeviceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDevice: ptr VkDevice ): VkResult {.stdcall.}
9844 vkDestroyDevice*: proc(device: VkDevice, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9845 vkEnumerateInstanceVersion*: proc(pApiVersion: ptr uint32 ): VkResult {.stdcall.}
9846 vkEnumerateInstanceLayerProperties*: proc(pPropertyCount: ptr uint32 , pProperties: ptr VkLayerProperties ): VkResult {.stdcall.}
9847 vkEnumerateInstanceExtensionProperties*: proc(pLayerName: cstring , pPropertyCount: ptr uint32 , pProperties: ptr VkExtensionProperties ): VkResult {.stdcall.}
9848 vkEnumerateDeviceLayerProperties*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkLayerProperties ): VkResult {.stdcall.}
9849 vkEnumerateDeviceExtensionProperties*: proc(physicalDevice: VkPhysicalDevice, pLayerName: cstring , pPropertyCount: ptr uint32 , pProperties: ptr VkExtensionProperties ): VkResult {.stdcall.}
9850 vkGetDeviceQueue*: proc(device: VkDevice, queueFamilyIndex: uint32, queueIndex: uint32, pQueue: ptr VkQueue ): void {.stdcall.}
9851 vkQueueSubmit*: proc(queue: VkQueue, submitCount: uint32, pSubmits: ptr VkSubmitInfo , fence: VkFence): VkResult {.stdcall.}
9852 vkQueueWaitIdle*: proc(queue: VkQueue): VkResult {.stdcall.}
9853 vkDeviceWaitIdle*: proc(device: VkDevice): VkResult {.stdcall.}
9854 vkAllocateMemory*: proc(device: VkDevice, pAllocateInfo: ptr VkMemoryAllocateInfo , pAllocator: ptr VkAllocationCallbacks , pMemory: ptr VkDeviceMemory ): VkResult {.stdcall.}
9855 vkFreeMemory*: proc(device: VkDevice, memory: VkDeviceMemory, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9856 vkMapMemory*: proc(device: VkDevice, memory: VkDeviceMemory, offset: VkDeviceSize, size: VkDeviceSize, flags: VkMemoryMapFlags, ppData: ptr pointer ): VkResult {.stdcall.}
9857 vkUnmapMemory*: proc(device: VkDevice, memory: VkDeviceMemory): void {.stdcall.}
9858 vkFlushMappedMemoryRanges*: proc(device: VkDevice, memoryRangeCount: uint32, pMemoryRanges: ptr VkMappedMemoryRange ): VkResult {.stdcall.}
9859 vkInvalidateMappedMemoryRanges*: proc(device: VkDevice, memoryRangeCount: uint32, pMemoryRanges: ptr VkMappedMemoryRange ): VkResult {.stdcall.}
9860 vkGetDeviceMemoryCommitment*: proc(device: VkDevice, memory: VkDeviceMemory, pCommittedMemoryInBytes: ptr VkDeviceSize ): void {.stdcall.}
9861 vkGetBufferMemoryRequirements*: proc(device: VkDevice, buffer: VkBuffer, pMemoryRequirements: ptr VkMemoryRequirements ): void {.stdcall.}
9862 vkBindBufferMemory*: proc(device: VkDevice, buffer: VkBuffer, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkResult {.stdcall.}
9863 vkGetImageMemoryRequirements*: proc(device: VkDevice, image: VkImage, pMemoryRequirements: ptr VkMemoryRequirements ): void {.stdcall.}
9864 vkBindImageMemory*: proc(device: VkDevice, image: VkImage, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkResult {.stdcall.}
9865 vkGetImageSparseMemoryRequirements*: proc(device: VkDevice, image: VkImage, pSparseMemoryRequirementCount: ptr uint32 , pSparseMemoryRequirements: ptr VkSparseImageMemoryRequirements ): void {.stdcall.}
9866 vkGetPhysicalDeviceSparseImageFormatProperties*: proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, samples: VkSampleCountFlagBits, usage: VkImageUsageFlags, tiling: VkImageTiling, pPropertyCount: ptr uint32 , pProperties: ptr VkSparseImageFormatProperties ): void {.stdcall.}
9867 vkQueueBindSparse*: proc(queue: VkQueue, bindInfoCount: uint32, pBindInfo: ptr VkBindSparseInfo , fence: VkFence): VkResult {.stdcall.}
9868 vkCreateFence*: proc(device: VkDevice, pCreateInfo: ptr VkFenceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}
9869 vkDestroyFence*: proc(device: VkDevice, fence: VkFence, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9870 vkResetFences*: proc(device: VkDevice, fenceCount: uint32, pFences: ptr VkFence ): VkResult {.stdcall.}
9871 vkGetFenceStatus*: proc(device: VkDevice, fence: VkFence): VkResult {.stdcall.}
9872 vkWaitForFences*: proc(device: VkDevice, fenceCount: uint32, pFences: ptr VkFence , waitAll: VkBool32, timeout: uint64): VkResult {.stdcall.}
9873 vkCreateSemaphore*: proc(device: VkDevice, pCreateInfo: ptr VkSemaphoreCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSemaphore: ptr VkSemaphore ): VkResult {.stdcall.}
9874 vkDestroySemaphore*: proc(device: VkDevice, semaphore: VkSemaphore, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9875 vkCreateEvent*: proc(device: VkDevice, pCreateInfo: ptr VkEventCreateInfo , pAllocator: ptr VkAllocationCallbacks , pEvent: ptr VkEvent ): VkResult {.stdcall.}
9876 vkDestroyEvent*: proc(device: VkDevice, event: VkEvent, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9877 vkGetEventStatus*: proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}
9878 vkSetEvent*: proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}
9879 vkResetEvent*: proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}
9880 vkCreateQueryPool*: proc(device: VkDevice, pCreateInfo: ptr VkQueryPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pQueryPool: ptr VkQueryPool ): VkResult {.stdcall.}
9881 vkDestroyQueryPool*: proc(device: VkDevice, queryPool: VkQueryPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9882 vkGetQueryPoolResults*: proc(device: VkDevice, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32, dataSize: uint, pData: pointer , stride: VkDeviceSize, flags: VkQueryResultFlags): VkResult {.stdcall.}
9883 vkResetQueryPool*: proc(device: VkDevice, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32): void {.stdcall.}
9884 vkCreateBuffer*: proc(device: VkDevice, pCreateInfo: ptr VkBufferCreateInfo , pAllocator: ptr VkAllocationCallbacks , pBuffer: ptr VkBuffer ): VkResult {.stdcall.}
9885 vkDestroyBuffer*: proc(device: VkDevice, buffer: VkBuffer, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9886 vkCreateBufferView*: proc(device: VkDevice, pCreateInfo: ptr VkBufferViewCreateInfo , pAllocator: ptr VkAllocationCallbacks , pView: ptr VkBufferView ): VkResult {.stdcall.}
9887 vkDestroyBufferView*: proc(device: VkDevice, bufferView: VkBufferView, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9888 vkCreateImage*: proc(device: VkDevice, pCreateInfo: ptr VkImageCreateInfo , pAllocator: ptr VkAllocationCallbacks , pImage: ptr VkImage ): VkResult {.stdcall.}
9889 vkDestroyImage*: proc(device: VkDevice, image: VkImage, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9890 vkGetImageSubresourceLayout*: proc(device: VkDevice, image: VkImage, pSubresource: ptr VkImageSubresource , pLayout: ptr VkSubresourceLayout ): void {.stdcall.}
9891 vkCreateImageView*: proc(device: VkDevice, pCreateInfo: ptr VkImageViewCreateInfo , pAllocator: ptr VkAllocationCallbacks , pView: ptr VkImageView ): VkResult {.stdcall.}
9892 vkDestroyImageView*: proc(device: VkDevice, imageView: VkImageView, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9893 vkCreateShaderModule*: proc(device: VkDevice, pCreateInfo: ptr VkShaderModuleCreateInfo , pAllocator: ptr VkAllocationCallbacks , pShaderModule: ptr VkShaderModule ): VkResult {.stdcall.}
9894 vkDestroyShaderModule*: proc(device: VkDevice, shaderModule: VkShaderModule, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9895 vkCreatePipelineCache*: proc(device: VkDevice, pCreateInfo: ptr VkPipelineCacheCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelineCache: ptr VkPipelineCache ): VkResult {.stdcall.}
9896 vkDestroyPipelineCache*: proc(device: VkDevice, pipelineCache: VkPipelineCache, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9897 vkGetPipelineCacheData*: proc(device: VkDevice, pipelineCache: VkPipelineCache, pDataSize: ptr uint , pData: pointer ): VkResult {.stdcall.}
9898 vkMergePipelineCaches*: proc(device: VkDevice, dstCache: VkPipelineCache, srcCacheCount: uint32, pSrcCaches: ptr VkPipelineCache ): VkResult {.stdcall.}
9899 vkCreateGraphicsPipelines*: proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkGraphicsPipelineCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}
9900 vkCreateComputePipelines*: proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkComputePipelineCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}
9901 vkDestroyPipeline*: proc(device: VkDevice, pipeline: VkPipeline, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9902 vkCreatePipelineLayout*: proc(device: VkDevice, pCreateInfo: ptr VkPipelineLayoutCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelineLayout: ptr VkPipelineLayout ): VkResult {.stdcall.}
9903 vkDestroyPipelineLayout*: proc(device: VkDevice, pipelineLayout: VkPipelineLayout, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9904 vkCreateSampler*: proc(device: VkDevice, pCreateInfo: ptr VkSamplerCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSampler: ptr VkSampler ): VkResult {.stdcall.}
9905 vkDestroySampler*: proc(device: VkDevice, sampler: VkSampler, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9906 vkCreateDescriptorSetLayout*: proc(device: VkDevice, pCreateInfo: ptr VkDescriptorSetLayoutCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSetLayout: ptr VkDescriptorSetLayout ): VkResult {.stdcall.}
9907 vkDestroyDescriptorSetLayout*: proc(device: VkDevice, descriptorSetLayout: VkDescriptorSetLayout, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9908 vkCreateDescriptorPool*: proc(device: VkDevice, pCreateInfo: ptr VkDescriptorPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDescriptorPool: ptr VkDescriptorPool ): VkResult {.stdcall.}
9909 vkDestroyDescriptorPool*: proc(device: VkDevice, descriptorPool: VkDescriptorPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9910 vkResetDescriptorPool*: proc(device: VkDevice, descriptorPool: VkDescriptorPool, flags: VkDescriptorPoolResetFlags): VkResult {.stdcall.}
9911 vkAllocateDescriptorSets*: proc(device: VkDevice, pAllocateInfo: ptr VkDescriptorSetAllocateInfo , pDescriptorSets: ptr VkDescriptorSet ): VkResult {.stdcall.}
9912 vkFreeDescriptorSets*: proc(device: VkDevice, descriptorPool: VkDescriptorPool, descriptorSetCount: uint32, pDescriptorSets: ptr VkDescriptorSet ): VkResult {.stdcall.}
9913 vkUpdateDescriptorSets*: proc(device: VkDevice, descriptorWriteCount: uint32, pDescriptorWrites: ptr VkWriteDescriptorSet , descriptorCopyCount: uint32, pDescriptorCopies: ptr VkCopyDescriptorSet ): void {.stdcall.}
9914 vkCreateFramebuffer*: proc(device: VkDevice, pCreateInfo: ptr VkFramebufferCreateInfo , pAllocator: ptr VkAllocationCallbacks , pFramebuffer: ptr VkFramebuffer ): VkResult {.stdcall.}
9915 vkDestroyFramebuffer*: proc(device: VkDevice, framebuffer: VkFramebuffer, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9916 vkCreateRenderPass*: proc(device: VkDevice, pCreateInfo: ptr VkRenderPassCreateInfo , pAllocator: ptr VkAllocationCallbacks , pRenderPass: ptr VkRenderPass ): VkResult {.stdcall.}
9917 vkDestroyRenderPass*: proc(device: VkDevice, renderPass: VkRenderPass, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9918 vkGetRenderAreaGranularity*: proc(device: VkDevice, renderPass: VkRenderPass, pGranularity: ptr VkExtent2D ): void {.stdcall.}
9919 vkCreateCommandPool*: proc(device: VkDevice, pCreateInfo: ptr VkCommandPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pCommandPool: ptr VkCommandPool ): VkResult {.stdcall.}
9920 vkDestroyCommandPool*: proc(device: VkDevice, commandPool: VkCommandPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9921 vkResetCommandPool*: proc(device: VkDevice, commandPool: VkCommandPool, flags: VkCommandPoolResetFlags): VkResult {.stdcall.}
9922 vkAllocateCommandBuffers*: proc(device: VkDevice, pAllocateInfo: ptr VkCommandBufferAllocateInfo , pCommandBuffers: ptr VkCommandBuffer ): VkResult {.stdcall.}
9923 vkFreeCommandBuffers*: proc(device: VkDevice, commandPool: VkCommandPool, commandBufferCount: uint32, pCommandBuffers: ptr VkCommandBuffer ): void {.stdcall.}
9924 vkBeginCommandBuffer*: proc(commandBuffer: VkCommandBuffer, pBeginInfo: ptr VkCommandBufferBeginInfo ): VkResult {.stdcall.}
9925 vkEndCommandBuffer*: proc(commandBuffer: VkCommandBuffer): VkResult {.stdcall.}
9926 vkResetCommandBuffer*: proc(commandBuffer: VkCommandBuffer, flags: VkCommandBufferResetFlags): VkResult {.stdcall.}
9927 vkCmdBindPipeline*: proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline): void {.stdcall.}
9928 vkCmdSetViewport*: proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pViewports: ptr VkViewport ): void {.stdcall.}
9929 vkCmdSetScissor*: proc(commandBuffer: VkCommandBuffer, firstScissor: uint32, scissorCount: uint32, pScissors: ptr VkRect2D ): void {.stdcall.}
9930 vkCmdSetLineWidth*: proc(commandBuffer: VkCommandBuffer, lineWidth: float32): void {.stdcall.}
9931 vkCmdSetDepthBias*: proc(commandBuffer: VkCommandBuffer, depthBiasConstantFactor: float32, depthBiasClamp: float32, depthBiasSlopeFactor: float32): void {.stdcall.}
9932 vkCmdSetBlendConstants*: proc(commandBuffer: VkCommandBuffer, blendConstants: array[4, float32]): void {.stdcall.}
9933 vkCmdSetDepthBounds*: proc(commandBuffer: VkCommandBuffer, minDepthBounds: float32, maxDepthBounds: float32): void {.stdcall.}
9934 vkCmdSetStencilCompareMask*: proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, compareMask: uint32): void {.stdcall.}
9935 vkCmdSetStencilWriteMask*: proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, writeMask: uint32): void {.stdcall.}
9936 vkCmdSetStencilReference*: proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, reference: uint32): void {.stdcall.}
9937 vkCmdBindDescriptorSets*: proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, layout: VkPipelineLayout, firstSet: uint32, descriptorSetCount: uint32, pDescriptorSets: ptr VkDescriptorSet , dynamicOffsetCount: uint32, pDynamicOffsets: ptr uint32 ): void {.stdcall.}
9938 vkCmdBindIndexBuffer*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, indexType: VkIndexType): void {.stdcall.}
9939 vkCmdBindVertexBuffers*: proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize ): void {.stdcall.}
9940 vkCmdDraw*: proc(commandBuffer: VkCommandBuffer, vertexCount: uint32, instanceCount: uint32, firstVertex: uint32, firstInstance: uint32): void {.stdcall.}
9941 vkCmdDrawIndexed*: proc(commandBuffer: VkCommandBuffer, indexCount: uint32, instanceCount: uint32, firstIndex: uint32, vertexOffset: int32, firstInstance: uint32): void {.stdcall.}
9942 vkCmdDrawIndirect*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}
9943 vkCmdDrawIndexedIndirect*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}
9944 vkCmdDispatch*: proc(commandBuffer: VkCommandBuffer, groupCountX: uint32, groupCountY: uint32, groupCountZ: uint32): void {.stdcall.}
9945 vkCmdDispatchIndirect*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize): void {.stdcall.}
9946 vkCmdCopyBuffer*: proc(commandBuffer: VkCommandBuffer, srcBuffer: VkBuffer, dstBuffer: VkBuffer, regionCount: uint32, pRegions: ptr VkBufferCopy ): void {.stdcall.}
9947 vkCmdCopyImage*: proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageCopy ): void {.stdcall.}
9948 vkCmdBlitImage*: proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageBlit , filter: VkFilter): void {.stdcall.}
9949 vkCmdCopyBufferToImage*: proc(commandBuffer: VkCommandBuffer, srcBuffer: VkBuffer, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkBufferImageCopy ): void {.stdcall.}
9950 vkCmdCopyImageToBuffer*: proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstBuffer: VkBuffer, regionCount: uint32, pRegions: ptr VkBufferImageCopy ): void {.stdcall.}
9951 vkCmdUpdateBuffer*: proc(commandBuffer: VkCommandBuffer, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, dataSize: VkDeviceSize, pData: pointer ): void {.stdcall.}
9952 vkCmdFillBuffer*: proc(commandBuffer: VkCommandBuffer, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, size: VkDeviceSize, data: uint32): void {.stdcall.}
9953 vkCmdClearColorImage*: proc(commandBuffer: VkCommandBuffer, image: VkImage, imageLayout: VkImageLayout, pColor: ptr VkClearColorValue , rangeCount: uint32, pRanges: ptr VkImageSubresourceRange ): void {.stdcall.}
9954 vkCmdClearDepthStencilImage*: proc(commandBuffer: VkCommandBuffer, image: VkImage, imageLayout: VkImageLayout, pDepthStencil: ptr VkClearDepthStencilValue , rangeCount: uint32, pRanges: ptr VkImageSubresourceRange ): void {.stdcall.}
9955 vkCmdClearAttachments*: proc(commandBuffer: VkCommandBuffer, attachmentCount: uint32, pAttachments: ptr VkClearAttachment , rectCount: uint32, pRects: ptr VkClearRect ): void {.stdcall.}
9956 vkCmdResolveImage*: proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageResolve ): void {.stdcall.}
9957 vkCmdSetEvent*: proc(commandBuffer: VkCommandBuffer, event: VkEvent, stageMask: VkPipelineStageFlags): void {.stdcall.}
9958 vkCmdResetEvent*: proc(commandBuffer: VkCommandBuffer, event: VkEvent, stageMask: VkPipelineStageFlags): void {.stdcall.}
9959 vkCmdWaitEvents*: proc(commandBuffer: VkCommandBuffer, eventCount: uint32, pEvents: ptr VkEvent , srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, memoryBarrierCount: uint32, pMemoryBarriers: ptr VkMemoryBarrier , bufferMemoryBarrierCount: uint32, pBufferMemoryBarriers: ptr VkBufferMemoryBarrier , imageMemoryBarrierCount: uint32, pImageMemoryBarriers: ptr VkImageMemoryBarrier ): void {.stdcall.}
9960 vkCmdPipelineBarrier*: proc(commandBuffer: VkCommandBuffer, srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, dependencyFlags: VkDependencyFlags, memoryBarrierCount: uint32, pMemoryBarriers: ptr VkMemoryBarrier , bufferMemoryBarrierCount: uint32, pBufferMemoryBarriers: ptr VkBufferMemoryBarrier , imageMemoryBarrierCount: uint32, pImageMemoryBarriers: ptr VkImageMemoryBarrier ): void {.stdcall.}
9961 vkCmdBeginQuery*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, flags: VkQueryControlFlags): void {.stdcall.}
9962 vkCmdEndQuery*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32): void {.stdcall.}
9963 vkCmdBeginConditionalRenderingEXT*: proc(commandBuffer: VkCommandBuffer, pConditionalRenderingBegin: ptr VkConditionalRenderingBeginInfoEXT ): void {.stdcall.}
9964 vkCmdEndConditionalRenderingEXT*: proc(commandBuffer: VkCommandBuffer): void {.stdcall.}
9965 vkCmdResetQueryPool*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32): void {.stdcall.}
9966 vkCmdWriteTimestamp*: proc(commandBuffer: VkCommandBuffer, pipelineStage: VkPipelineStageFlagBits, queryPool: VkQueryPool, query: uint32): void {.stdcall.}
9967 vkCmdCopyQueryPoolResults*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, stride: VkDeviceSize, flags: VkQueryResultFlags): void {.stdcall.}
9968 vkCmdPushConstants*: proc(commandBuffer: VkCommandBuffer, layout: VkPipelineLayout, stageFlags: VkShaderStageFlags, offset: uint32, size: uint32, pValues: pointer ): void {.stdcall.}
9969 vkCmdBeginRenderPass*: proc(commandBuffer: VkCommandBuffer, pRenderPassBegin: ptr VkRenderPassBeginInfo , contents: VkSubpassContents): void {.stdcall.}
9970 vkCmdNextSubpass*: proc(commandBuffer: VkCommandBuffer, contents: VkSubpassContents): void {.stdcall.}
9971 vkCmdEndRenderPass*: proc(commandBuffer: VkCommandBuffer): void {.stdcall.}
9972 vkCmdExecuteCommands*: proc(commandBuffer: VkCommandBuffer, commandBufferCount: uint32, pCommandBuffers: ptr VkCommandBuffer ): void {.stdcall.}
9973 vkCreateAndroidSurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkAndroidSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9974 vkGetPhysicalDeviceDisplayPropertiesKHR*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPropertiesKHR ): VkResult {.stdcall.}
9975 vkGetPhysicalDeviceDisplayPlanePropertiesKHR*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPlanePropertiesKHR ): VkResult {.stdcall.}
9976 vkGetDisplayPlaneSupportedDisplaysKHR*: proc(physicalDevice: VkPhysicalDevice, planeIndex: uint32, pDisplayCount: ptr uint32 , pDisplays: ptr VkDisplayKHR ): VkResult {.stdcall.}
9977 vkGetDisplayModePropertiesKHR*: proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayModePropertiesKHR ): VkResult {.stdcall.}
9978 vkCreateDisplayModeKHR*: proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pCreateInfo: ptr VkDisplayModeCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pMode: ptr VkDisplayModeKHR ): VkResult {.stdcall.}
9979 vkGetDisplayPlaneCapabilitiesKHR*: proc(physicalDevice: VkPhysicalDevice, mode: VkDisplayModeKHR, planeIndex: uint32, pCapabilities: ptr VkDisplayPlaneCapabilitiesKHR ): VkResult {.stdcall.}
9980 vkCreateDisplayPlaneSurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkDisplaySurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9981 vkCreateSharedSwapchainsKHR*: proc(device: VkDevice, swapchainCount: uint32, pCreateInfos: ptr VkSwapchainCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSwapchains: ptr VkSwapchainKHR ): VkResult {.stdcall.}
9982 vkDestroySurfaceKHR*: proc(instance: VkInstance, surface: VkSurfaceKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9983 vkGetPhysicalDeviceSurfaceSupportKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, surface: VkSurfaceKHR, pSupported: ptr VkBool32 ): VkResult {.stdcall.}
9984 vkGetPhysicalDeviceSurfaceCapabilitiesKHR*: proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceCapabilities: ptr VkSurfaceCapabilitiesKHR ): VkResult {.stdcall.}
9985 vkGetPhysicalDeviceSurfaceFormatsKHR*: proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceFormatCount: ptr uint32 , pSurfaceFormats: ptr VkSurfaceFormatKHR ): VkResult {.stdcall.}
9986 vkGetPhysicalDeviceSurfacePresentModesKHR*: proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pPresentModeCount: ptr uint32 , pPresentModes: ptr VkPresentModeKHR ): VkResult {.stdcall.}
9987 vkCreateSwapchainKHR*: proc(device: VkDevice, pCreateInfo: ptr VkSwapchainCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSwapchain: ptr VkSwapchainKHR ): VkResult {.stdcall.}
9988 vkDestroySwapchainKHR*: proc(device: VkDevice, swapchain: VkSwapchainKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
9989 vkGetSwapchainImagesKHR*: proc(device: VkDevice, swapchain: VkSwapchainKHR, pSwapchainImageCount: ptr uint32 , pSwapchainImages: ptr VkImage ): VkResult {.stdcall.}
9990 vkAcquireNextImageKHR*: proc(device: VkDevice, swapchain: VkSwapchainKHR, timeout: uint64, semaphore: VkSemaphore, fence: VkFence, pImageIndex: ptr uint32 ): VkResult {.stdcall.}
9991 vkQueuePresentKHR*: proc(queue: VkQueue, pPresentInfo: ptr VkPresentInfoKHR ): VkResult {.stdcall.}
9992 vkCreateViSurfaceNN*: proc(instance: VkInstance, pCreateInfo: ptr VkViSurfaceCreateInfoNN , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9993 vkCreateWaylandSurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkWaylandSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9994 vkGetPhysicalDeviceWaylandPresentationSupportKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, display: ptr wl_display ): VkBool32 {.stdcall.}
9995 vkCreateWin32SurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkWin32SurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9996 vkGetPhysicalDeviceWin32PresentationSupportKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32): VkBool32 {.stdcall.}
9997 vkCreateXlibSurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkXlibSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
9998 vkGetPhysicalDeviceXlibPresentationSupportKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, dpy: ptr Display , visualID: VisualID): VkBool32 {.stdcall.}
9999 vkCreateXcbSurfaceKHR*: proc(instance: VkInstance, pCreateInfo: ptr VkXcbSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10000 vkGetPhysicalDeviceXcbPresentationSupportKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, connection: ptr xcb_connection_t , visual_id: xcb_visualid_t): VkBool32 {.stdcall.}
10001 vkCreateDirectFBSurfaceEXT*: proc(instance: VkInstance, pCreateInfo: ptr VkDirectFBSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10002 vkGetPhysicalDeviceDirectFBPresentationSupportEXT*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, dfb: ptr IDirectFB ): VkBool32 {.stdcall.}
10003 vkCreateImagePipeSurfaceFUCHSIA*: proc(instance: VkInstance, pCreateInfo: ptr VkImagePipeSurfaceCreateInfoFUCHSIA , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10004 vkCreateStreamDescriptorSurfaceGGP*: proc(instance: VkInstance, pCreateInfo: ptr VkStreamDescriptorSurfaceCreateInfoGGP , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10005 vkCreateDebugReportCallbackEXT*: proc(instance: VkInstance, pCreateInfo: ptr VkDebugReportCallbackCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pCallback: ptr VkDebugReportCallbackEXT ): VkResult {.stdcall.}
10006 vkDestroyDebugReportCallbackEXT*: proc(instance: VkInstance, callback: VkDebugReportCallbackEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10007 vkDebugReportMessageEXT*: proc(instance: VkInstance, flags: VkDebugReportFlagsEXT, objectType: VkDebugReportObjectTypeEXT, `object`: uint64, location: uint, messageCode: int32, pLayerPrefix: cstring , pMessage: cstring ): void {.stdcall.}
10008 vkDebugMarkerSetObjectNameEXT*: proc(device: VkDevice, pNameInfo: ptr VkDebugMarkerObjectNameInfoEXT ): VkResult {.stdcall.}
10009 vkDebugMarkerSetObjectTagEXT*: proc(device: VkDevice, pTagInfo: ptr VkDebugMarkerObjectTagInfoEXT ): VkResult {.stdcall.}
10010 vkCmdDebugMarkerBeginEXT*: proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkDebugMarkerMarkerInfoEXT ): void {.stdcall.}
10011 vkCmdDebugMarkerEndEXT*: proc(commandBuffer: VkCommandBuffer): void {.stdcall.}
10012 vkCmdDebugMarkerInsertEXT*: proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkDebugMarkerMarkerInfoEXT ): void {.stdcall.}
10013 vkGetPhysicalDeviceExternalImageFormatPropertiesNV*: proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, tiling: VkImageTiling, usage: VkImageUsageFlags, flags: VkImageCreateFlags, externalHandleType: VkExternalMemoryHandleTypeFlagsNV, pExternalImageFormatProperties: ptr VkExternalImageFormatPropertiesNV ): VkResult {.stdcall.}
10014 vkGetMemoryWin32HandleNV*: proc(device: VkDevice, memory: VkDeviceMemory, handleType: VkExternalMemoryHandleTypeFlagsNV, pHandle: ptr HANDLE ): VkResult {.stdcall.}
10015 vkCmdExecuteGeneratedCommandsNV*: proc(commandBuffer: VkCommandBuffer, isPreprocessed: VkBool32, pGeneratedCommandsInfo: ptr VkGeneratedCommandsInfoNV ): void {.stdcall.}
10016 vkCmdPreprocessGeneratedCommandsNV*: proc(commandBuffer: VkCommandBuffer, pGeneratedCommandsInfo: ptr VkGeneratedCommandsInfoNV ): void {.stdcall.}
10017 vkCmdBindPipelineShaderGroupNV*: proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline, groupIndex: uint32): void {.stdcall.}
10018 vkGetGeneratedCommandsMemoryRequirementsNV*: proc(device: VkDevice, pInfo: ptr VkGeneratedCommandsMemoryRequirementsInfoNV , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}
10019 vkCreateIndirectCommandsLayoutNV*: proc(device: VkDevice, pCreateInfo: ptr VkIndirectCommandsLayoutCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pIndirectCommandsLayout: ptr VkIndirectCommandsLayoutNV ): VkResult {.stdcall.}
10020 vkDestroyIndirectCommandsLayoutNV*: proc(device: VkDevice, indirectCommandsLayout: VkIndirectCommandsLayoutNV, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10021 vkGetPhysicalDeviceFeatures2*: proc(physicalDevice: VkPhysicalDevice, pFeatures: ptr VkPhysicalDeviceFeatures2 ): void {.stdcall.}
10022 vkGetPhysicalDeviceProperties2*: proc(physicalDevice: VkPhysicalDevice, pProperties: ptr VkPhysicalDeviceProperties2 ): void {.stdcall.}
10023 vkGetPhysicalDeviceFormatProperties2*: proc(physicalDevice: VkPhysicalDevice, format: VkFormat, pFormatProperties: ptr VkFormatProperties2 ): void {.stdcall.}
10024 vkGetPhysicalDeviceImageFormatProperties2*: proc(physicalDevice: VkPhysicalDevice, pImageFormatInfo: ptr VkPhysicalDeviceImageFormatInfo2 , pImageFormatProperties: ptr VkImageFormatProperties2 ): VkResult {.stdcall.}
10025 vkGetPhysicalDeviceQueueFamilyProperties2*: proc(physicalDevice: VkPhysicalDevice, pQueueFamilyPropertyCount: ptr uint32 , pQueueFamilyProperties: ptr VkQueueFamilyProperties2 ): void {.stdcall.}
10026 vkGetPhysicalDeviceMemoryProperties2*: proc(physicalDevice: VkPhysicalDevice, pMemoryProperties: ptr VkPhysicalDeviceMemoryProperties2 ): void {.stdcall.}
10027 vkGetPhysicalDeviceSparseImageFormatProperties2*: proc(physicalDevice: VkPhysicalDevice, pFormatInfo: ptr VkPhysicalDeviceSparseImageFormatInfo2 , pPropertyCount: ptr uint32 , pProperties: ptr VkSparseImageFormatProperties2 ): void {.stdcall.}
10028 vkCmdPushDescriptorSetKHR*: proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, layout: VkPipelineLayout, set: uint32, descriptorWriteCount: uint32, pDescriptorWrites: ptr VkWriteDescriptorSet ): void {.stdcall.}
10029 vkTrimCommandPool*: proc(device: VkDevice, commandPool: VkCommandPool, flags: VkCommandPoolTrimFlags): void {.stdcall.}
10030 vkGetPhysicalDeviceExternalBufferProperties*: proc(physicalDevice: VkPhysicalDevice, pExternalBufferInfo: ptr VkPhysicalDeviceExternalBufferInfo , pExternalBufferProperties: ptr VkExternalBufferProperties ): void {.stdcall.}
10031 vkGetMemoryWin32HandleKHR*: proc(device: VkDevice, pGetWin32HandleInfo: ptr VkMemoryGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}
10032 vkGetMemoryWin32HandlePropertiesKHR*: proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, handle: HANDLE, pMemoryWin32HandleProperties: ptr VkMemoryWin32HandlePropertiesKHR ): VkResult {.stdcall.}
10033 vkGetMemoryFdKHR*: proc(device: VkDevice, pGetFdInfo: ptr VkMemoryGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}
10034 vkGetMemoryFdPropertiesKHR*: proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, fd: int, pMemoryFdProperties: ptr VkMemoryFdPropertiesKHR ): VkResult {.stdcall.}
10035 vkGetPhysicalDeviceExternalSemaphoreProperties*: proc(physicalDevice: VkPhysicalDevice, pExternalSemaphoreInfo: ptr VkPhysicalDeviceExternalSemaphoreInfo , pExternalSemaphoreProperties: ptr VkExternalSemaphoreProperties ): void {.stdcall.}
10036 vkGetSemaphoreWin32HandleKHR*: proc(device: VkDevice, pGetWin32HandleInfo: ptr VkSemaphoreGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}
10037 vkImportSemaphoreWin32HandleKHR*: proc(device: VkDevice, pImportSemaphoreWin32HandleInfo: ptr VkImportSemaphoreWin32HandleInfoKHR ): VkResult {.stdcall.}
10038 vkGetSemaphoreFdKHR*: proc(device: VkDevice, pGetFdInfo: ptr VkSemaphoreGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}
10039 vkImportSemaphoreFdKHR*: proc(device: VkDevice, pImportSemaphoreFdInfo: ptr VkImportSemaphoreFdInfoKHR ): VkResult {.stdcall.}
10040 vkGetPhysicalDeviceExternalFenceProperties*: proc(physicalDevice: VkPhysicalDevice, pExternalFenceInfo: ptr VkPhysicalDeviceExternalFenceInfo , pExternalFenceProperties: ptr VkExternalFenceProperties ): void {.stdcall.}
10041 vkGetFenceWin32HandleKHR*: proc(device: VkDevice, pGetWin32HandleInfo: ptr VkFenceGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}
10042 vkImportFenceWin32HandleKHR*: proc(device: VkDevice, pImportFenceWin32HandleInfo: ptr VkImportFenceWin32HandleInfoKHR ): VkResult {.stdcall.}
10043 vkGetFenceFdKHR*: proc(device: VkDevice, pGetFdInfo: ptr VkFenceGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}
10044 vkImportFenceFdKHR*: proc(device: VkDevice, pImportFenceFdInfo: ptr VkImportFenceFdInfoKHR ): VkResult {.stdcall.}
10045 vkReleaseDisplayEXT*: proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR): VkResult {.stdcall.}
10046 vkAcquireXlibDisplayEXT*: proc(physicalDevice: VkPhysicalDevice, dpy: ptr Display , display: VkDisplayKHR): VkResult {.stdcall.}
10047 vkGetRandROutputDisplayEXT*: proc(physicalDevice: VkPhysicalDevice, dpy: ptr Display , rrOutput: RROutput, pDisplay: ptr VkDisplayKHR ): VkResult {.stdcall.}
10048 vkDisplayPowerControlEXT*: proc(device: VkDevice, display: VkDisplayKHR, pDisplayPowerInfo: ptr VkDisplayPowerInfoEXT ): VkResult {.stdcall.}
10049 vkRegisterDeviceEventEXT*: proc(device: VkDevice, pDeviceEventInfo: ptr VkDeviceEventInfoEXT , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}
10050 vkRegisterDisplayEventEXT*: proc(device: VkDevice, display: VkDisplayKHR, pDisplayEventInfo: ptr VkDisplayEventInfoEXT , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}
10051 vkGetSwapchainCounterEXT*: proc(device: VkDevice, swapchain: VkSwapchainKHR, counter: VkSurfaceCounterFlagBitsEXT, pCounterValue: ptr uint64 ): VkResult {.stdcall.}
10052 vkGetPhysicalDeviceSurfaceCapabilities2EXT*: proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceCapabilities: ptr VkSurfaceCapabilities2EXT ): VkResult {.stdcall.}
10053 vkEnumeratePhysicalDeviceGroups*: proc(instance: VkInstance, pPhysicalDeviceGroupCount: ptr uint32 , pPhysicalDeviceGroupProperties: ptr VkPhysicalDeviceGroupProperties ): VkResult {.stdcall.}
10054 vkGetDeviceGroupPeerMemoryFeatures*: proc(device: VkDevice, heapIndex: uint32, localDeviceIndex: uint32, remoteDeviceIndex: uint32, pPeerMemoryFeatures: ptr VkPeerMemoryFeatureFlags ): void {.stdcall.}
10055 vkBindBufferMemory2*: proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindBufferMemoryInfo ): VkResult {.stdcall.}
10056 vkBindImageMemory2*: proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindImageMemoryInfo ): VkResult {.stdcall.}
10057 vkCmdSetDeviceMask*: proc(commandBuffer: VkCommandBuffer, deviceMask: uint32): void {.stdcall.}
10058 vkGetDeviceGroupPresentCapabilitiesKHR*: proc(device: VkDevice, pDeviceGroupPresentCapabilities: ptr VkDeviceGroupPresentCapabilitiesKHR ): VkResult {.stdcall.}
10059 vkGetDeviceGroupSurfacePresentModesKHR*: proc(device: VkDevice, surface: VkSurfaceKHR, pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}
10060 vkAcquireNextImage2KHR*: proc(device: VkDevice, pAcquireInfo: ptr VkAcquireNextImageInfoKHR , pImageIndex: ptr uint32 ): VkResult {.stdcall.}
10061 vkCmdDispatchBase*: proc(commandBuffer: VkCommandBuffer, baseGroupX: uint32, baseGroupY: uint32, baseGroupZ: uint32, groupCountX: uint32, groupCountY: uint32, groupCountZ: uint32): void {.stdcall.}
10062 vkGetPhysicalDevicePresentRectanglesKHR*: proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pRectCount: ptr uint32 , pRects: ptr VkRect2D ): VkResult {.stdcall.}
10063 vkCreateDescriptorUpdateTemplate*: proc(device: VkDevice, pCreateInfo: ptr VkDescriptorUpdateTemplateCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDescriptorUpdateTemplate: ptr VkDescriptorUpdateTemplate ): VkResult {.stdcall.}
10064 vkDestroyDescriptorUpdateTemplate*: proc(device: VkDevice, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10065 vkUpdateDescriptorSetWithTemplate*: proc(device: VkDevice, descriptorSet: VkDescriptorSet, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, pData: pointer ): void {.stdcall.}
10066 vkCmdPushDescriptorSetWithTemplateKHR*: proc(commandBuffer: VkCommandBuffer, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, layout: VkPipelineLayout, set: uint32, pData: pointer ): void {.stdcall.}
10067 vkSetHdrMetadataEXT*: proc(device: VkDevice, swapchainCount: uint32, pSwapchains: ptr VkSwapchainKHR , pMetadata: ptr VkHdrMetadataEXT ): void {.stdcall.}
10068 vkGetSwapchainStatusKHR*: proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}
10069 vkGetRefreshCycleDurationGOOGLE*: proc(device: VkDevice, swapchain: VkSwapchainKHR, pDisplayTimingProperties: ptr VkRefreshCycleDurationGOOGLE ): VkResult {.stdcall.}
10070 vkGetPastPresentationTimingGOOGLE*: proc(device: VkDevice, swapchain: VkSwapchainKHR, pPresentationTimingCount: ptr uint32 , pPresentationTimings: ptr VkPastPresentationTimingGOOGLE ): VkResult {.stdcall.}
10071 vkCreateIOSSurfaceMVK*: proc(instance: VkInstance, pCreateInfo: ptr VkIOSSurfaceCreateInfoMVK , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10072 vkCreateMacOSSurfaceMVK*: proc(instance: VkInstance, pCreateInfo: ptr VkMacOSSurfaceCreateInfoMVK , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10073 vkCreateMetalSurfaceEXT*: proc(instance: VkInstance, pCreateInfo: ptr VkMetalSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10074 vkCmdSetViewportWScalingNV*: proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pViewportWScalings: ptr VkViewportWScalingNV ): void {.stdcall.}
10075 vkCmdSetDiscardRectangleEXT*: proc(commandBuffer: VkCommandBuffer, firstDiscardRectangle: uint32, discardRectangleCount: uint32, pDiscardRectangles: ptr VkRect2D ): void {.stdcall.}
10076 vkCmdSetSampleLocationsEXT*: proc(commandBuffer: VkCommandBuffer, pSampleLocationsInfo: ptr VkSampleLocationsInfoEXT ): void {.stdcall.}
10077 vkGetPhysicalDeviceMultisamplePropertiesEXT*: proc(physicalDevice: VkPhysicalDevice, samples: VkSampleCountFlagBits, pMultisampleProperties: ptr VkMultisamplePropertiesEXT ): void {.stdcall.}
10078 vkGetPhysicalDeviceSurfaceCapabilities2KHR*: proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pSurfaceCapabilities: ptr VkSurfaceCapabilities2KHR ): VkResult {.stdcall.}
10079 vkGetPhysicalDeviceSurfaceFormats2KHR*: proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pSurfaceFormatCount: ptr uint32 , pSurfaceFormats: ptr VkSurfaceFormat2KHR ): VkResult {.stdcall.}
10080 vkGetPhysicalDeviceDisplayProperties2KHR*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayProperties2KHR ): VkResult {.stdcall.}
10081 vkGetPhysicalDeviceDisplayPlaneProperties2KHR*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPlaneProperties2KHR ): VkResult {.stdcall.}
10082 vkGetDisplayModeProperties2KHR*: proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayModeProperties2KHR ): VkResult {.stdcall.}
10083 vkGetDisplayPlaneCapabilities2KHR*: proc(physicalDevice: VkPhysicalDevice, pDisplayPlaneInfo: ptr VkDisplayPlaneInfo2KHR , pCapabilities: ptr VkDisplayPlaneCapabilities2KHR ): VkResult {.stdcall.}
10084 vkGetBufferMemoryRequirements2*: proc(device: VkDevice, pInfo: ptr VkBufferMemoryRequirementsInfo2 , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}
10085 vkGetImageMemoryRequirements2*: proc(device: VkDevice, pInfo: ptr VkImageMemoryRequirementsInfo2 , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}
10086 vkGetImageSparseMemoryRequirements2*: proc(device: VkDevice, pInfo: ptr VkImageSparseMemoryRequirementsInfo2 , pSparseMemoryRequirementCount: ptr uint32 , pSparseMemoryRequirements: ptr VkSparseImageMemoryRequirements2 ): void {.stdcall.}
10087 vkCreateSamplerYcbcrConversion*: proc(device: VkDevice, pCreateInfo: ptr VkSamplerYcbcrConversionCreateInfo , pAllocator: ptr VkAllocationCallbacks , pYcbcrConversion: ptr VkSamplerYcbcrConversion ): VkResult {.stdcall.}
10088 vkDestroySamplerYcbcrConversion*: proc(device: VkDevice, ycbcrConversion: VkSamplerYcbcrConversion, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10089 vkGetDeviceQueue2*: proc(device: VkDevice, pQueueInfo: ptr VkDeviceQueueInfo2 , pQueue: ptr VkQueue ): void {.stdcall.}
10090 vkCreateValidationCacheEXT*: proc(device: VkDevice, pCreateInfo: ptr VkValidationCacheCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pValidationCache: ptr VkValidationCacheEXT ): VkResult {.stdcall.}
10091 vkDestroyValidationCacheEXT*: proc(device: VkDevice, validationCache: VkValidationCacheEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10092 vkGetValidationCacheDataEXT*: proc(device: VkDevice, validationCache: VkValidationCacheEXT, pDataSize: ptr uint , pData: pointer ): VkResult {.stdcall.}
10093 vkMergeValidationCachesEXT*: proc(device: VkDevice, dstCache: VkValidationCacheEXT, srcCacheCount: uint32, pSrcCaches: ptr VkValidationCacheEXT ): VkResult {.stdcall.}
10094 vkGetDescriptorSetLayoutSupport*: proc(device: VkDevice, pCreateInfo: ptr VkDescriptorSetLayoutCreateInfo , pSupport: ptr VkDescriptorSetLayoutSupport ): void {.stdcall.}
10095 vkGetSwapchainGrallocUsageANDROID*: proc(device: VkDevice, format: VkFormat, imageUsage: VkImageUsageFlags, grallocUsage: ptr int ): VkResult {.stdcall.}
10096 vkGetSwapchainGrallocUsage2ANDROID*: proc(device: VkDevice, format: VkFormat, imageUsage: VkImageUsageFlags, swapchainImageUsage: VkSwapchainImageUsageFlagsANDROID, grallocConsumerUsage: ptr uint64 , grallocProducerUsage: ptr uint64 ): VkResult {.stdcall.}
10097 vkAcquireImageANDROID*: proc(device: VkDevice, image: VkImage, nativeFenceFd: int, semaphore: VkSemaphore, fence: VkFence): VkResult {.stdcall.}
10098 vkQueueSignalReleaseImageANDROID*: proc(queue: VkQueue, waitSemaphoreCount: uint32, pWaitSemaphores: ptr VkSemaphore , image: VkImage, pNativeFenceFd: ptr int ): VkResult {.stdcall.}
10099 vkGetShaderInfoAMD*: proc(device: VkDevice, pipeline: VkPipeline, shaderStage: VkShaderStageFlagBits, infoType: VkShaderInfoTypeAMD, pInfoSize: ptr uint , pInfo: pointer ): VkResult {.stdcall.}
10100 vkSetLocalDimmingAMD*: proc(device: VkDevice, swapChain: VkSwapchainKHR, localDimmingEnable: VkBool32): void {.stdcall.}
10101 vkGetPhysicalDeviceCalibrateableTimeDomainsEXT*: proc(physicalDevice: VkPhysicalDevice, pTimeDomainCount: ptr uint32 , pTimeDomains: ptr VkTimeDomainEXT ): VkResult {.stdcall.}
10102 vkGetCalibratedTimestampsEXT*: proc(device: VkDevice, timestampCount: uint32, pTimestampInfos: ptr VkCalibratedTimestampInfoEXT , pTimestamps: ptr uint64 , pMaxDeviation: ptr uint64 ): VkResult {.stdcall.}
10103 vkSetDebugUtilsObjectNameEXT*: proc(device: VkDevice, pNameInfo: ptr VkDebugUtilsObjectNameInfoEXT ): VkResult {.stdcall.}
10104 vkSetDebugUtilsObjectTagEXT*: proc(device: VkDevice, pTagInfo: ptr VkDebugUtilsObjectTagInfoEXT ): VkResult {.stdcall.}
10105 vkQueueBeginDebugUtilsLabelEXT*: proc(queue: VkQueue, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}
10106 vkQueueEndDebugUtilsLabelEXT*: proc(queue: VkQueue): void {.stdcall.}
10107 vkQueueInsertDebugUtilsLabelEXT*: proc(queue: VkQueue, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}
10108 vkCmdBeginDebugUtilsLabelEXT*: proc(commandBuffer: VkCommandBuffer, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}
10109 vkCmdEndDebugUtilsLabelEXT*: proc(commandBuffer: VkCommandBuffer): void {.stdcall.}
10110 vkCmdInsertDebugUtilsLabelEXT*: proc(commandBuffer: VkCommandBuffer, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}
10111 vkCreateDebugUtilsMessengerEXT*: proc(instance: VkInstance, pCreateInfo: ptr VkDebugUtilsMessengerCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pMessenger: ptr VkDebugUtilsMessengerEXT ): VkResult {.stdcall.}
10112 vkDestroyDebugUtilsMessengerEXT*: proc(instance: VkInstance, messenger: VkDebugUtilsMessengerEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10113 vkSubmitDebugUtilsMessageEXT*: proc(instance: VkInstance, messageSeverity: VkDebugUtilsMessageSeverityFlagBitsEXT, messageTypes: VkDebugUtilsMessageTypeFlagsEXT, pCallbackData: ptr VkDebugUtilsMessengerCallbackDataEXT ): void {.stdcall.}
10114 vkGetMemoryHostPointerPropertiesEXT*: proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, pHostPointer: pointer , pMemoryHostPointerProperties: ptr VkMemoryHostPointerPropertiesEXT ): VkResult {.stdcall.}
10115 vkCmdWriteBufferMarkerAMD*: proc(commandBuffer: VkCommandBuffer, pipelineStage: VkPipelineStageFlagBits, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, marker: uint32): void {.stdcall.}
10116 vkCreateRenderPass2*: proc(device: VkDevice, pCreateInfo: ptr VkRenderPassCreateInfo2 , pAllocator: ptr VkAllocationCallbacks , pRenderPass: ptr VkRenderPass ): VkResult {.stdcall.}
10117 vkCmdBeginRenderPass2*: proc(commandBuffer: VkCommandBuffer, pRenderPassBegin: ptr VkRenderPassBeginInfo , pSubpassBeginInfo: ptr VkSubpassBeginInfo ): void {.stdcall.}
10118 vkCmdNextSubpass2*: proc(commandBuffer: VkCommandBuffer, pSubpassBeginInfo: ptr VkSubpassBeginInfo , pSubpassEndInfo: ptr VkSubpassEndInfo ): void {.stdcall.}
10119 vkCmdEndRenderPass2*: proc(commandBuffer: VkCommandBuffer, pSubpassEndInfo: ptr VkSubpassEndInfo ): void {.stdcall.}
10120 vkGetSemaphoreCounterValue*: proc(device: VkDevice, semaphore: VkSemaphore, pValue: ptr uint64 ): VkResult {.stdcall.}
10121 vkWaitSemaphores*: proc(device: VkDevice, pWaitInfo: ptr VkSemaphoreWaitInfo , timeout: uint64): VkResult {.stdcall.}
10122 vkSignalSemaphore*: proc(device: VkDevice, pSignalInfo: ptr VkSemaphoreSignalInfo ): VkResult {.stdcall.}
10123 vkGetAndroidHardwareBufferPropertiesANDROID*: proc(device: VkDevice, buffer: ptr AHardwareBuffer , pProperties: ptr VkAndroidHardwareBufferPropertiesANDROID ): VkResult {.stdcall.}
10124 vkGetMemoryAndroidHardwareBufferANDROID*: proc(device: VkDevice, pInfo: ptr VkMemoryGetAndroidHardwareBufferInfoANDROID , pBuffer: ptr ptr AHardwareBuffer ): VkResult {.stdcall.}
10125 vkCmdDrawIndirectCount*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}
10126 vkCmdDrawIndexedIndirectCount*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}
10127 vkCmdSetCheckpointNV*: proc(commandBuffer: VkCommandBuffer, pCheckpointMarker: pointer ): void {.stdcall.}
10128 vkGetQueueCheckpointDataNV*: proc(queue: VkQueue, pCheckpointDataCount: ptr uint32 , pCheckpointData: ptr VkCheckpointDataNV ): void {.stdcall.}
10129 vkCmdBindTransformFeedbackBuffersEXT*: proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize , pSizes: ptr VkDeviceSize ): void {.stdcall.}
10130 vkCmdBeginTransformFeedbackEXT*: proc(commandBuffer: VkCommandBuffer, firstCounterBuffer: uint32, counterBufferCount: uint32, pCounterBuffers: ptr VkBuffer , pCounterBufferOffsets: ptr VkDeviceSize ): void {.stdcall.}
10131 vkCmdEndTransformFeedbackEXT*: proc(commandBuffer: VkCommandBuffer, firstCounterBuffer: uint32, counterBufferCount: uint32, pCounterBuffers: ptr VkBuffer , pCounterBufferOffsets: ptr VkDeviceSize ): void {.stdcall.}
10132 vkCmdBeginQueryIndexedEXT*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, flags: VkQueryControlFlags, index: uint32): void {.stdcall.}
10133 vkCmdEndQueryIndexedEXT*: proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, index: uint32): void {.stdcall.}
10134 vkCmdDrawIndirectByteCountEXT*: proc(commandBuffer: VkCommandBuffer, instanceCount: uint32, firstInstance: uint32, counterBuffer: VkBuffer, counterBufferOffset: VkDeviceSize, counterOffset: uint32, vertexStride: uint32): void {.stdcall.}
10135 vkCmdSetExclusiveScissorNV*: proc(commandBuffer: VkCommandBuffer, firstExclusiveScissor: uint32, exclusiveScissorCount: uint32, pExclusiveScissors: ptr VkRect2D ): void {.stdcall.}
10136 vkCmdBindShadingRateImageNV*: proc(commandBuffer: VkCommandBuffer, imageView: VkImageView, imageLayout: VkImageLayout): void {.stdcall.}
10137 vkCmdSetViewportShadingRatePaletteNV*: proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pShadingRatePalettes: ptr VkShadingRatePaletteNV ): void {.stdcall.}
10138 vkCmdSetCoarseSampleOrderNV*: proc(commandBuffer: VkCommandBuffer, sampleOrderType: VkCoarseSampleOrderTypeNV, customSampleOrderCount: uint32, pCustomSampleOrders: ptr VkCoarseSampleOrderCustomNV ): void {.stdcall.}
10139 vkCmdDrawMeshTasksNV*: proc(commandBuffer: VkCommandBuffer, taskCount: uint32, firstTask: uint32): void {.stdcall.}
10140 vkCmdDrawMeshTasksIndirectNV*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}
10141 vkCmdDrawMeshTasksIndirectCountNV*: proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}
10142 vkCompileDeferredNV*: proc(device: VkDevice, pipeline: VkPipeline, shader: uint32): VkResult {.stdcall.}
10143 vkCreateAccelerationStructureNV*: proc(device: VkDevice, pCreateInfo: ptr VkAccelerationStructureCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pAccelerationStructure: ptr VkAccelerationStructureNV ): VkResult {.stdcall.}
10144 vkDestroyAccelerationStructureKHR*: proc(device: VkDevice, accelerationStructure: VkAccelerationStructureKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10145 vkGetAccelerationStructureMemoryRequirementsKHR*: proc(device: VkDevice, pInfo: ptr VkAccelerationStructureMemoryRequirementsInfoKHR , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}
10146 vkGetAccelerationStructureMemoryRequirementsNV*: proc(device: VkDevice, pInfo: ptr VkAccelerationStructureMemoryRequirementsInfoNV , pMemoryRequirements: ptr VkMemoryRequirements2KHR ): void {.stdcall.}
10147 vkBindAccelerationStructureMemoryKHR*: proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindAccelerationStructureMemoryInfoKHR ): VkResult {.stdcall.}
10148 vkCmdCopyAccelerationStructureNV*: proc(commandBuffer: VkCommandBuffer, dst: VkAccelerationStructureKHR, src: VkAccelerationStructureKHR, mode: VkCopyAccelerationStructureModeKHR): void {.stdcall.}
10149 vkCmdCopyAccelerationStructureKHR*: proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyAccelerationStructureInfoKHR ): void {.stdcall.}
10150 vkCopyAccelerationStructureKHR*: proc(device: VkDevice, pInfo: ptr VkCopyAccelerationStructureInfoKHR ): VkResult {.stdcall.}
10151 vkCmdCopyAccelerationStructureToMemoryKHR*: proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyAccelerationStructureToMemoryInfoKHR ): void {.stdcall.}
10152 vkCopyAccelerationStructureToMemoryKHR*: proc(device: VkDevice, pInfo: ptr VkCopyAccelerationStructureToMemoryInfoKHR ): VkResult {.stdcall.}
10153 vkCmdCopyMemoryToAccelerationStructureKHR*: proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyMemoryToAccelerationStructureInfoKHR ): void {.stdcall.}
10154 vkCopyMemoryToAccelerationStructureKHR*: proc(device: VkDevice, pInfo: ptr VkCopyMemoryToAccelerationStructureInfoKHR ): VkResult {.stdcall.}
10155 vkCmdWriteAccelerationStructuresPropertiesKHR*: proc(commandBuffer: VkCommandBuffer, accelerationStructureCount: uint32, pAccelerationStructures: ptr VkAccelerationStructureKHR , queryType: VkQueryType, queryPool: VkQueryPool, firstQuery: uint32): void {.stdcall.}
10156 vkCmdBuildAccelerationStructureNV*: proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkAccelerationStructureInfoNV , instanceData: VkBuffer, instanceOffset: VkDeviceSize, update: VkBool32, dst: VkAccelerationStructureKHR, src: VkAccelerationStructureKHR, scratch: VkBuffer, scratchOffset: VkDeviceSize): void {.stdcall.}
10157 vkWriteAccelerationStructuresPropertiesKHR*: proc(device: VkDevice, accelerationStructureCount: uint32, pAccelerationStructures: ptr VkAccelerationStructureKHR , queryType: VkQueryType, dataSize: uint, pData: pointer , stride: uint): VkResult {.stdcall.}
10158 vkCmdTraceRaysKHR*: proc(commandBuffer: VkCommandBuffer, pRaygenShaderBindingTable: ptr VkStridedBufferRegionKHR , pMissShaderBindingTable: ptr VkStridedBufferRegionKHR , pHitShaderBindingTable: ptr VkStridedBufferRegionKHR , pCallableShaderBindingTable: ptr VkStridedBufferRegionKHR , width: uint32, height: uint32, depth: uint32): void {.stdcall.}
10159 vkCmdTraceRaysNV*: proc(commandBuffer: VkCommandBuffer, raygenShaderBindingTableBuffer: VkBuffer, raygenShaderBindingOffset: VkDeviceSize, missShaderBindingTableBuffer: VkBuffer, missShaderBindingOffset: VkDeviceSize, missShaderBindingStride: VkDeviceSize, hitShaderBindingTableBuffer: VkBuffer, hitShaderBindingOffset: VkDeviceSize, hitShaderBindingStride: VkDeviceSize, callableShaderBindingTableBuffer: VkBuffer, callableShaderBindingOffset: VkDeviceSize, callableShaderBindingStride: VkDeviceSize, width: uint32, height: uint32, depth: uint32): void {.stdcall.}
10160 vkGetRayTracingShaderGroupHandlesKHR*: proc(device: VkDevice, pipeline: VkPipeline, firstGroup: uint32, groupCount: uint32, dataSize: uint, pData: pointer ): VkResult {.stdcall.}
10161 vkGetRayTracingCaptureReplayShaderGroupHandlesKHR*: proc(device: VkDevice, pipeline: VkPipeline, firstGroup: uint32, groupCount: uint32, dataSize: uint, pData: pointer ): VkResult {.stdcall.}
10162 vkGetAccelerationStructureHandleNV*: proc(device: VkDevice, accelerationStructure: VkAccelerationStructureKHR, dataSize: uint, pData: pointer ): VkResult {.stdcall.}
10163 vkCreateRayTracingPipelinesNV*: proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkRayTracingPipelineCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}
10164 vkCreateRayTracingPipelinesKHR*: proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkRayTracingPipelineCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}
10165 vkGetPhysicalDeviceCooperativeMatrixPropertiesNV*: proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkCooperativeMatrixPropertiesNV ): VkResult {.stdcall.}
10166 vkCmdTraceRaysIndirectKHR*: proc(commandBuffer: VkCommandBuffer, pRaygenShaderBindingTable: ptr VkStridedBufferRegionKHR , pMissShaderBindingTable: ptr VkStridedBufferRegionKHR , pHitShaderBindingTable: ptr VkStridedBufferRegionKHR , pCallableShaderBindingTable: ptr VkStridedBufferRegionKHR , buffer: VkBuffer, offset: VkDeviceSize): void {.stdcall.}
10167 vkGetDeviceAccelerationStructureCompatibilityKHR*: proc(device: VkDevice, version: ptr VkAccelerationStructureVersionKHR ): VkResult {.stdcall.}
10168 vkGetImageViewHandleNVX*: proc(device: VkDevice, pInfo: ptr VkImageViewHandleInfoNVX ): uint32 {.stdcall.}
10169 vkGetImageViewAddressNVX*: proc(device: VkDevice, imageView: VkImageView, pProperties: ptr VkImageViewAddressPropertiesNVX ): VkResult {.stdcall.}
10170 vkGetPhysicalDeviceSurfacePresentModes2EXT*: proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pPresentModeCount: ptr uint32 , pPresentModes: ptr VkPresentModeKHR ): VkResult {.stdcall.}
10171 vkGetDeviceGroupSurfacePresentModes2EXT*: proc(device: VkDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}
10172 vkAcquireFullScreenExclusiveModeEXT*: proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}
10173 vkReleaseFullScreenExclusiveModeEXT*: proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}
10174 vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR*: proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, pCounterCount: ptr uint32 , pCounters: ptr VkPerformanceCounterKHR , pCounterDescriptions: ptr VkPerformanceCounterDescriptionKHR ): VkResult {.stdcall.}
10175 vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR*: proc(physicalDevice: VkPhysicalDevice, pPerformanceQueryCreateInfo: ptr VkQueryPoolPerformanceCreateInfoKHR , pNumPasses: ptr uint32 ): void {.stdcall.}
10176 vkAcquireProfilingLockKHR*: proc(device: VkDevice, pInfo: ptr VkAcquireProfilingLockInfoKHR ): VkResult {.stdcall.}
10177 vkReleaseProfilingLockKHR*: proc(device: VkDevice): void {.stdcall.}
10178 vkGetImageDrmFormatModifierPropertiesEXT*: proc(device: VkDevice, image: VkImage, pProperties: ptr VkImageDrmFormatModifierPropertiesEXT ): VkResult {.stdcall.}
10179 vkGetBufferOpaqueCaptureAddress*: proc(device: VkDevice, pInfo: ptr VkBufferDeviceAddressInfo ): uint64 {.stdcall.}
10180 vkGetBufferDeviceAddress*: proc(device: VkDevice, pInfo: ptr VkBufferDeviceAddressInfo ): VkDeviceAddress {.stdcall.}
10181 vkCreateHeadlessSurfaceEXT*: proc(instance: VkInstance, pCreateInfo: ptr VkHeadlessSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}
10182 vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV*: proc(physicalDevice: VkPhysicalDevice, pCombinationCount: ptr uint32 , pCombinations: ptr VkFramebufferMixedSamplesCombinationNV ): VkResult {.stdcall.}
10183 vkInitializePerformanceApiINTEL*: proc(device: VkDevice, pInitializeInfo: ptr VkInitializePerformanceApiInfoINTEL ): VkResult {.stdcall.}
10184 vkUninitializePerformanceApiINTEL*: proc(device: VkDevice): void {.stdcall.}
10185 vkCmdSetPerformanceMarkerINTEL*: proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkPerformanceMarkerInfoINTEL ): VkResult {.stdcall.}
10186 vkCmdSetPerformanceStreamMarkerINTEL*: proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkPerformanceStreamMarkerInfoINTEL ): VkResult {.stdcall.}
10187 vkCmdSetPerformanceOverrideINTEL*: proc(commandBuffer: VkCommandBuffer, pOverrideInfo: ptr VkPerformanceOverrideInfoINTEL ): VkResult {.stdcall.}
10188 vkAcquirePerformanceConfigurationINTEL*: proc(device: VkDevice, pAcquireInfo: ptr VkPerformanceConfigurationAcquireInfoINTEL , pConfiguration: ptr VkPerformanceConfigurationINTEL ): VkResult {.stdcall.}
10189 vkReleasePerformanceConfigurationINTEL*: proc(device: VkDevice, configuration: VkPerformanceConfigurationINTEL): VkResult {.stdcall.}
10190 vkQueueSetPerformanceConfigurationINTEL*: proc(queue: VkQueue, configuration: VkPerformanceConfigurationINTEL): VkResult {.stdcall.}
10191 vkGetPerformanceParameterINTEL*: proc(device: VkDevice, parameter: VkPerformanceParameterTypeINTEL, pValue: ptr VkPerformanceValueINTEL ): VkResult {.stdcall.}
10192 vkGetDeviceMemoryOpaqueCaptureAddress*: proc(device: VkDevice, pInfo: ptr VkDeviceMemoryOpaqueCaptureAddressInfo ): uint64 {.stdcall.}
10193 vkGetPipelineExecutablePropertiesKHR*: proc(device: VkDevice, pPipelineInfo: ptr VkPipelineInfoKHR , pExecutableCount: ptr uint32 , pProperties: ptr VkPipelineExecutablePropertiesKHR ): VkResult {.stdcall.}
10194 vkGetPipelineExecutableStatisticsKHR*: proc(device: VkDevice, pExecutableInfo: ptr VkPipelineExecutableInfoKHR , pStatisticCount: ptr uint32 , pStatistics: ptr VkPipelineExecutableStatisticKHR ): VkResult {.stdcall.}
10195 vkGetPipelineExecutableInternalRepresentationsKHR*: proc(device: VkDevice, pExecutableInfo: ptr VkPipelineExecutableInfoKHR , pInternalRepresentationCount: ptr uint32 , pInternalRepresentations: ptr VkPipelineExecutableInternalRepresentationKHR ): VkResult {.stdcall.}
10196 vkCmdSetLineStippleEXT*: proc(commandBuffer: VkCommandBuffer, lineStippleFactor: uint32, lineStipplePattern: uint16): void {.stdcall.}
10197 vkGetPhysicalDeviceToolPropertiesEXT*: proc(physicalDevice: VkPhysicalDevice, pToolCount: ptr uint32 , pToolProperties: ptr VkPhysicalDeviceToolPropertiesEXT ): VkResult {.stdcall.}
10198 vkCreateAccelerationStructureKHR*: proc(device: VkDevice, pCreateInfo: ptr VkAccelerationStructureCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pAccelerationStructure: ptr VkAccelerationStructureKHR ): VkResult {.stdcall.}
10199 vkCmdBuildAccelerationStructureKHR*: proc(commandBuffer: VkCommandBuffer, infoCount: uint32, pInfos: ptr VkAccelerationStructureBuildGeometryInfoKHR , ppOffsetInfos: ptr ptr VkAccelerationStructureBuildOffsetInfoKHR ): void {.stdcall.}
10200 vkCmdBuildAccelerationStructureIndirectKHR*: proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkAccelerationStructureBuildGeometryInfoKHR , indirectBuffer: VkBuffer, indirectOffset: VkDeviceSize, indirectStride: uint32): void {.stdcall.}
10201 vkBuildAccelerationStructureKHR*: proc(device: VkDevice, infoCount: uint32, pInfos: ptr VkAccelerationStructureBuildGeometryInfoKHR , ppOffsetInfos: ptr ptr VkAccelerationStructureBuildOffsetInfoKHR ): VkResult {.stdcall.}
10202 vkGetAccelerationStructureDeviceAddressKHR*: proc(device: VkDevice, pInfo: ptr VkAccelerationStructureDeviceAddressInfoKHR ): VkDeviceAddress {.stdcall.}
10203 vkCreateDeferredOperationKHR*: proc(device: VkDevice, pAllocator: ptr VkAllocationCallbacks , pDeferredOperation: ptr VkDeferredOperationKHR ): VkResult {.stdcall.}
10204 vkDestroyDeferredOperationKHR*: proc(device: VkDevice, operation: VkDeferredOperationKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10205 vkGetDeferredOperationMaxConcurrencyKHR*: proc(device: VkDevice, operation: VkDeferredOperationKHR): uint32 {.stdcall.}
10206 vkGetDeferredOperationResultKHR*: proc(device: VkDevice, operation: VkDeferredOperationKHR): VkResult {.stdcall.}
10207 vkDeferredOperationJoinKHR*: proc(device: VkDevice, operation: VkDeferredOperationKHR): VkResult {.stdcall.}
10208 vkCmdSetCullModeEXT*: proc(commandBuffer: VkCommandBuffer, cullMode: VkCullModeFlags): void {.stdcall.}
10209 vkCmdSetFrontFaceEXT*: proc(commandBuffer: VkCommandBuffer, frontFace: VkFrontFace): void {.stdcall.}
10210 vkCmdSetPrimitiveTopologyEXT*: proc(commandBuffer: VkCommandBuffer, primitiveTopology: VkPrimitiveTopology): void {.stdcall.}
10211 vkCmdSetViewportWithCountEXT*: proc(commandBuffer: VkCommandBuffer, viewportCount: uint32, pViewports: ptr VkViewport ): void {.stdcall.}
10212 vkCmdSetScissorWithCountEXT*: proc(commandBuffer: VkCommandBuffer, scissorCount: uint32, pScissors: ptr VkRect2D ): void {.stdcall.}
10213 vkCmdBindVertexBuffers2EXT*: proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize , pSizes: ptr VkDeviceSize , pStrides: ptr VkDeviceSize ): void {.stdcall.}
10214 vkCmdSetDepthTestEnableEXT*: proc(commandBuffer: VkCommandBuffer, depthTestEnable: VkBool32): void {.stdcall.}
10215 vkCmdSetDepthWriteEnableEXT*: proc(commandBuffer: VkCommandBuffer, depthWriteEnable: VkBool32): void {.stdcall.}
10216 vkCmdSetDepthCompareOpEXT*: proc(commandBuffer: VkCommandBuffer, depthCompareOp: VkCompareOp): void {.stdcall.}
10217 vkCmdSetDepthBoundsTestEnableEXT*: proc(commandBuffer: VkCommandBuffer, depthBoundsTestEnable: VkBool32): void {.stdcall.}
10218 vkCmdSetStencilTestEnableEXT*: proc(commandBuffer: VkCommandBuffer, stencilTestEnable: VkBool32): void {.stdcall.}
10219 vkCmdSetStencilOpEXT*: proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, failOp: VkStencilOp, passOp: VkStencilOp, depthFailOp: VkStencilOp, compareOp: VkCompareOp): void {.stdcall.}
10220 vkCreatePrivateDataSlotEXT*: proc(device: VkDevice, pCreateInfo: ptr VkPrivateDataSlotCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pPrivateDataSlot: ptr VkPrivateDataSlotEXT ): VkResult {.stdcall.}
10221 vkDestroyPrivateDataSlotEXT*: proc(device: VkDevice, privateDataSlot: VkPrivateDataSlotEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}
10222 vkSetPrivateDataEXT*: proc(device: VkDevice, objectType: VkObjectType, objectHandle: uint64, privateDataSlot: VkPrivateDataSlotEXT, data: uint64): VkResult {.stdcall.}
10223 vkGetPrivateDataEXT*: proc(device: VkDevice, objectType: VkObjectType, objectHandle: uint64, privateDataSlot: VkPrivateDataSlotEXT, pData: ptr uint64 ): void {.stdcall.}
10224
10225 # Vulkan 1_0
10226 proc vkLoad1_0*() =
10227 vkCreateInstance = cast[proc(pCreateInfo: ptr VkInstanceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pInstance: ptr VkInstance ): VkResult {.stdcall.}](vkGetProc("vkCreateInstance"))
10228 vkDestroyInstance = cast[proc(instance: VkInstance, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyInstance"))
10229 vkEnumeratePhysicalDevices = cast[proc(instance: VkInstance, pPhysicalDeviceCount: ptr uint32 , pPhysicalDevices: ptr VkPhysicalDevice ): VkResult {.stdcall.}](vkGetProc("vkEnumeratePhysicalDevices"))
10230 vkGetPhysicalDeviceFeatures = cast[proc(physicalDevice: VkPhysicalDevice, pFeatures: ptr VkPhysicalDeviceFeatures ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceFeatures"))
10231 vkGetPhysicalDeviceFormatProperties = cast[proc(physicalDevice: VkPhysicalDevice, format: VkFormat, pFormatProperties: ptr VkFormatProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceFormatProperties"))
10232 vkGetPhysicalDeviceImageFormatProperties = cast[proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, tiling: VkImageTiling, usage: VkImageUsageFlags, flags: VkImageCreateFlags, pImageFormatProperties: ptr VkImageFormatProperties ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceImageFormatProperties"))
10233 vkGetPhysicalDeviceProperties = cast[proc(physicalDevice: VkPhysicalDevice, pProperties: ptr VkPhysicalDeviceProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceProperties"))
10234 vkGetPhysicalDeviceQueueFamilyProperties = cast[proc(physicalDevice: VkPhysicalDevice, pQueueFamilyPropertyCount: ptr uint32 , pQueueFamilyProperties: ptr VkQueueFamilyProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceQueueFamilyProperties"))
10235 vkGetPhysicalDeviceMemoryProperties = cast[proc(physicalDevice: VkPhysicalDevice, pMemoryProperties: ptr VkPhysicalDeviceMemoryProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceMemoryProperties"))
10236 vkGetInstanceProcAddr = cast[proc(instance: VkInstance, pName: cstring ): PFN_vkVoidFunction {.stdcall.}](vkGetProc("vkGetInstanceProcAddr"))
10237 vkGetDeviceProcAddr = cast[proc(device: VkDevice, pName: cstring ): PFN_vkVoidFunction {.stdcall.}](vkGetProc("vkGetDeviceProcAddr"))
10238 vkCreateDevice = cast[proc(physicalDevice: VkPhysicalDevice, pCreateInfo: ptr VkDeviceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDevice: ptr VkDevice ): VkResult {.stdcall.}](vkGetProc("vkCreateDevice"))
10239 vkDestroyDevice = cast[proc(device: VkDevice, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDevice"))
10240 vkEnumerateInstanceExtensionProperties = cast[proc(pLayerName: cstring , pPropertyCount: ptr uint32 , pProperties: ptr VkExtensionProperties ): VkResult {.stdcall.}](vkGetProc("vkEnumerateInstanceExtensionProperties"))
10241 vkEnumerateDeviceExtensionProperties = cast[proc(physicalDevice: VkPhysicalDevice, pLayerName: cstring , pPropertyCount: ptr uint32 , pProperties: ptr VkExtensionProperties ): VkResult {.stdcall.}](vkGetProc("vkEnumerateDeviceExtensionProperties"))
10242 vkEnumerateInstanceLayerProperties = cast[proc(pPropertyCount: ptr uint32 , pProperties: ptr VkLayerProperties ): VkResult {.stdcall.}](vkGetProc("vkEnumerateInstanceLayerProperties"))
10243 vkEnumerateDeviceLayerProperties = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkLayerProperties ): VkResult {.stdcall.}](vkGetProc("vkEnumerateDeviceLayerProperties"))
10244 vkGetDeviceQueue = cast[proc(device: VkDevice, queueFamilyIndex: uint32, queueIndex: uint32, pQueue: ptr VkQueue ): void {.stdcall.}](vkGetProc("vkGetDeviceQueue"))
10245 vkQueueSubmit = cast[proc(queue: VkQueue, submitCount: uint32, pSubmits: ptr VkSubmitInfo , fence: VkFence): VkResult {.stdcall.}](vkGetProc("vkQueueSubmit"))
10246 vkQueueWaitIdle = cast[proc(queue: VkQueue): VkResult {.stdcall.}](vkGetProc("vkQueueWaitIdle"))
10247 vkDeviceWaitIdle = cast[proc(device: VkDevice): VkResult {.stdcall.}](vkGetProc("vkDeviceWaitIdle"))
10248 vkAllocateMemory = cast[proc(device: VkDevice, pAllocateInfo: ptr VkMemoryAllocateInfo , pAllocator: ptr VkAllocationCallbacks , pMemory: ptr VkDeviceMemory ): VkResult {.stdcall.}](vkGetProc("vkAllocateMemory"))
10249 vkFreeMemory = cast[proc(device: VkDevice, memory: VkDeviceMemory, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkFreeMemory"))
10250 vkMapMemory = cast[proc(device: VkDevice, memory: VkDeviceMemory, offset: VkDeviceSize, size: VkDeviceSize, flags: VkMemoryMapFlags, ppData: ptr pointer ): VkResult {.stdcall.}](vkGetProc("vkMapMemory"))
10251 vkUnmapMemory = cast[proc(device: VkDevice, memory: VkDeviceMemory): void {.stdcall.}](vkGetProc("vkUnmapMemory"))
10252 vkFlushMappedMemoryRanges = cast[proc(device: VkDevice, memoryRangeCount: uint32, pMemoryRanges: ptr VkMappedMemoryRange ): VkResult {.stdcall.}](vkGetProc("vkFlushMappedMemoryRanges"))
10253 vkInvalidateMappedMemoryRanges = cast[proc(device: VkDevice, memoryRangeCount: uint32, pMemoryRanges: ptr VkMappedMemoryRange ): VkResult {.stdcall.}](vkGetProc("vkInvalidateMappedMemoryRanges"))
10254 vkGetDeviceMemoryCommitment = cast[proc(device: VkDevice, memory: VkDeviceMemory, pCommittedMemoryInBytes: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkGetDeviceMemoryCommitment"))
10255 vkBindBufferMemory = cast[proc(device: VkDevice, buffer: VkBuffer, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkResult {.stdcall.}](vkGetProc("vkBindBufferMemory"))
10256 vkBindImageMemory = cast[proc(device: VkDevice, image: VkImage, memory: VkDeviceMemory, memoryOffset: VkDeviceSize): VkResult {.stdcall.}](vkGetProc("vkBindImageMemory"))
10257 vkGetBufferMemoryRequirements = cast[proc(device: VkDevice, buffer: VkBuffer, pMemoryRequirements: ptr VkMemoryRequirements ): void {.stdcall.}](vkGetProc("vkGetBufferMemoryRequirements"))
10258 vkGetImageMemoryRequirements = cast[proc(device: VkDevice, image: VkImage, pMemoryRequirements: ptr VkMemoryRequirements ): void {.stdcall.}](vkGetProc("vkGetImageMemoryRequirements"))
10259 vkGetImageSparseMemoryRequirements = cast[proc(device: VkDevice, image: VkImage, pSparseMemoryRequirementCount: ptr uint32 , pSparseMemoryRequirements: ptr VkSparseImageMemoryRequirements ): void {.stdcall.}](vkGetProc("vkGetImageSparseMemoryRequirements"))
10260 vkGetPhysicalDeviceSparseImageFormatProperties = cast[proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, samples: VkSampleCountFlagBits, usage: VkImageUsageFlags, tiling: VkImageTiling, pPropertyCount: ptr uint32 , pProperties: ptr VkSparseImageFormatProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSparseImageFormatProperties"))
10261 vkQueueBindSparse = cast[proc(queue: VkQueue, bindInfoCount: uint32, pBindInfo: ptr VkBindSparseInfo , fence: VkFence): VkResult {.stdcall.}](vkGetProc("vkQueueBindSparse"))
10262 vkCreateFence = cast[proc(device: VkDevice, pCreateInfo: ptr VkFenceCreateInfo , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}](vkGetProc("vkCreateFence"))
10263 vkDestroyFence = cast[proc(device: VkDevice, fence: VkFence, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyFence"))
10264 vkResetFences = cast[proc(device: VkDevice, fenceCount: uint32, pFences: ptr VkFence ): VkResult {.stdcall.}](vkGetProc("vkResetFences"))
10265 vkGetFenceStatus = cast[proc(device: VkDevice, fence: VkFence): VkResult {.stdcall.}](vkGetProc("vkGetFenceStatus"))
10266 vkWaitForFences = cast[proc(device: VkDevice, fenceCount: uint32, pFences: ptr VkFence , waitAll: VkBool32, timeout: uint64): VkResult {.stdcall.}](vkGetProc("vkWaitForFences"))
10267 vkCreateSemaphore = cast[proc(device: VkDevice, pCreateInfo: ptr VkSemaphoreCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSemaphore: ptr VkSemaphore ): VkResult {.stdcall.}](vkGetProc("vkCreateSemaphore"))
10268 vkDestroySemaphore = cast[proc(device: VkDevice, semaphore: VkSemaphore, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroySemaphore"))
10269 vkCreateEvent = cast[proc(device: VkDevice, pCreateInfo: ptr VkEventCreateInfo , pAllocator: ptr VkAllocationCallbacks , pEvent: ptr VkEvent ): VkResult {.stdcall.}](vkGetProc("vkCreateEvent"))
10270 vkDestroyEvent = cast[proc(device: VkDevice, event: VkEvent, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyEvent"))
10271 vkGetEventStatus = cast[proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}](vkGetProc("vkGetEventStatus"))
10272 vkSetEvent = cast[proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}](vkGetProc("vkSetEvent"))
10273 vkResetEvent = cast[proc(device: VkDevice, event: VkEvent): VkResult {.stdcall.}](vkGetProc("vkResetEvent"))
10274 vkCreateQueryPool = cast[proc(device: VkDevice, pCreateInfo: ptr VkQueryPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pQueryPool: ptr VkQueryPool ): VkResult {.stdcall.}](vkGetProc("vkCreateQueryPool"))
10275 vkDestroyQueryPool = cast[proc(device: VkDevice, queryPool: VkQueryPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyQueryPool"))
10276 vkGetQueryPoolResults = cast[proc(device: VkDevice, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32, dataSize: uint, pData: pointer , stride: VkDeviceSize, flags: VkQueryResultFlags): VkResult {.stdcall.}](vkGetProc("vkGetQueryPoolResults"))
10277 vkCreateBuffer = cast[proc(device: VkDevice, pCreateInfo: ptr VkBufferCreateInfo , pAllocator: ptr VkAllocationCallbacks , pBuffer: ptr VkBuffer ): VkResult {.stdcall.}](vkGetProc("vkCreateBuffer"))
10278 vkDestroyBuffer = cast[proc(device: VkDevice, buffer: VkBuffer, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyBuffer"))
10279 vkCreateBufferView = cast[proc(device: VkDevice, pCreateInfo: ptr VkBufferViewCreateInfo , pAllocator: ptr VkAllocationCallbacks , pView: ptr VkBufferView ): VkResult {.stdcall.}](vkGetProc("vkCreateBufferView"))
10280 vkDestroyBufferView = cast[proc(device: VkDevice, bufferView: VkBufferView, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyBufferView"))
10281 vkCreateImage = cast[proc(device: VkDevice, pCreateInfo: ptr VkImageCreateInfo , pAllocator: ptr VkAllocationCallbacks , pImage: ptr VkImage ): VkResult {.stdcall.}](vkGetProc("vkCreateImage"))
10282 vkDestroyImage = cast[proc(device: VkDevice, image: VkImage, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyImage"))
10283 vkGetImageSubresourceLayout = cast[proc(device: VkDevice, image: VkImage, pSubresource: ptr VkImageSubresource , pLayout: ptr VkSubresourceLayout ): void {.stdcall.}](vkGetProc("vkGetImageSubresourceLayout"))
10284 vkCreateImageView = cast[proc(device: VkDevice, pCreateInfo: ptr VkImageViewCreateInfo , pAllocator: ptr VkAllocationCallbacks , pView: ptr VkImageView ): VkResult {.stdcall.}](vkGetProc("vkCreateImageView"))
10285 vkDestroyImageView = cast[proc(device: VkDevice, imageView: VkImageView, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyImageView"))
10286 vkCreateShaderModule = cast[proc(device: VkDevice, pCreateInfo: ptr VkShaderModuleCreateInfo , pAllocator: ptr VkAllocationCallbacks , pShaderModule: ptr VkShaderModule ): VkResult {.stdcall.}](vkGetProc("vkCreateShaderModule"))
10287 vkDestroyShaderModule = cast[proc(device: VkDevice, shaderModule: VkShaderModule, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyShaderModule"))
10288 vkCreatePipelineCache = cast[proc(device: VkDevice, pCreateInfo: ptr VkPipelineCacheCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelineCache: ptr VkPipelineCache ): VkResult {.stdcall.}](vkGetProc("vkCreatePipelineCache"))
10289 vkDestroyPipelineCache = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyPipelineCache"))
10290 vkGetPipelineCacheData = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, pDataSize: ptr uint , pData: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetPipelineCacheData"))
10291 vkMergePipelineCaches = cast[proc(device: VkDevice, dstCache: VkPipelineCache, srcCacheCount: uint32, pSrcCaches: ptr VkPipelineCache ): VkResult {.stdcall.}](vkGetProc("vkMergePipelineCaches"))
10292 vkCreateGraphicsPipelines = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkGraphicsPipelineCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}](vkGetProc("vkCreateGraphicsPipelines"))
10293 vkCreateComputePipelines = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkComputePipelineCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}](vkGetProc("vkCreateComputePipelines"))
10294 vkDestroyPipeline = cast[proc(device: VkDevice, pipeline: VkPipeline, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyPipeline"))
10295 vkCreatePipelineLayout = cast[proc(device: VkDevice, pCreateInfo: ptr VkPipelineLayoutCreateInfo , pAllocator: ptr VkAllocationCallbacks , pPipelineLayout: ptr VkPipelineLayout ): VkResult {.stdcall.}](vkGetProc("vkCreatePipelineLayout"))
10296 vkDestroyPipelineLayout = cast[proc(device: VkDevice, pipelineLayout: VkPipelineLayout, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyPipelineLayout"))
10297 vkCreateSampler = cast[proc(device: VkDevice, pCreateInfo: ptr VkSamplerCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSampler: ptr VkSampler ): VkResult {.stdcall.}](vkGetProc("vkCreateSampler"))
10298 vkDestroySampler = cast[proc(device: VkDevice, sampler: VkSampler, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroySampler"))
10299 vkCreateDescriptorSetLayout = cast[proc(device: VkDevice, pCreateInfo: ptr VkDescriptorSetLayoutCreateInfo , pAllocator: ptr VkAllocationCallbacks , pSetLayout: ptr VkDescriptorSetLayout ): VkResult {.stdcall.}](vkGetProc("vkCreateDescriptorSetLayout"))
10300 vkDestroyDescriptorSetLayout = cast[proc(device: VkDevice, descriptorSetLayout: VkDescriptorSetLayout, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDescriptorSetLayout"))
10301 vkCreateDescriptorPool = cast[proc(device: VkDevice, pCreateInfo: ptr VkDescriptorPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDescriptorPool: ptr VkDescriptorPool ): VkResult {.stdcall.}](vkGetProc("vkCreateDescriptorPool"))
10302 vkDestroyDescriptorPool = cast[proc(device: VkDevice, descriptorPool: VkDescriptorPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDescriptorPool"))
10303 vkResetDescriptorPool = cast[proc(device: VkDevice, descriptorPool: VkDescriptorPool, flags: VkDescriptorPoolResetFlags): VkResult {.stdcall.}](vkGetProc("vkResetDescriptorPool"))
10304 vkAllocateDescriptorSets = cast[proc(device: VkDevice, pAllocateInfo: ptr VkDescriptorSetAllocateInfo , pDescriptorSets: ptr VkDescriptorSet ): VkResult {.stdcall.}](vkGetProc("vkAllocateDescriptorSets"))
10305 vkFreeDescriptorSets = cast[proc(device: VkDevice, descriptorPool: VkDescriptorPool, descriptorSetCount: uint32, pDescriptorSets: ptr VkDescriptorSet ): VkResult {.stdcall.}](vkGetProc("vkFreeDescriptorSets"))
10306 vkUpdateDescriptorSets = cast[proc(device: VkDevice, descriptorWriteCount: uint32, pDescriptorWrites: ptr VkWriteDescriptorSet , descriptorCopyCount: uint32, pDescriptorCopies: ptr VkCopyDescriptorSet ): void {.stdcall.}](vkGetProc("vkUpdateDescriptorSets"))
10307 vkCreateFramebuffer = cast[proc(device: VkDevice, pCreateInfo: ptr VkFramebufferCreateInfo , pAllocator: ptr VkAllocationCallbacks , pFramebuffer: ptr VkFramebuffer ): VkResult {.stdcall.}](vkGetProc("vkCreateFramebuffer"))
10308 vkDestroyFramebuffer = cast[proc(device: VkDevice, framebuffer: VkFramebuffer, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyFramebuffer"))
10309 vkCreateRenderPass = cast[proc(device: VkDevice, pCreateInfo: ptr VkRenderPassCreateInfo , pAllocator: ptr VkAllocationCallbacks , pRenderPass: ptr VkRenderPass ): VkResult {.stdcall.}](vkGetProc("vkCreateRenderPass"))
10310 vkDestroyRenderPass = cast[proc(device: VkDevice, renderPass: VkRenderPass, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyRenderPass"))
10311 vkGetRenderAreaGranularity = cast[proc(device: VkDevice, renderPass: VkRenderPass, pGranularity: ptr VkExtent2D ): void {.stdcall.}](vkGetProc("vkGetRenderAreaGranularity"))
10312 vkCreateCommandPool = cast[proc(device: VkDevice, pCreateInfo: ptr VkCommandPoolCreateInfo , pAllocator: ptr VkAllocationCallbacks , pCommandPool: ptr VkCommandPool ): VkResult {.stdcall.}](vkGetProc("vkCreateCommandPool"))
10313 vkDestroyCommandPool = cast[proc(device: VkDevice, commandPool: VkCommandPool, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyCommandPool"))
10314 vkResetCommandPool = cast[proc(device: VkDevice, commandPool: VkCommandPool, flags: VkCommandPoolResetFlags): VkResult {.stdcall.}](vkGetProc("vkResetCommandPool"))
10315 vkAllocateCommandBuffers = cast[proc(device: VkDevice, pAllocateInfo: ptr VkCommandBufferAllocateInfo , pCommandBuffers: ptr VkCommandBuffer ): VkResult {.stdcall.}](vkGetProc("vkAllocateCommandBuffers"))
10316 vkFreeCommandBuffers = cast[proc(device: VkDevice, commandPool: VkCommandPool, commandBufferCount: uint32, pCommandBuffers: ptr VkCommandBuffer ): void {.stdcall.}](vkGetProc("vkFreeCommandBuffers"))
10317 vkBeginCommandBuffer = cast[proc(commandBuffer: VkCommandBuffer, pBeginInfo: ptr VkCommandBufferBeginInfo ): VkResult {.stdcall.}](vkGetProc("vkBeginCommandBuffer"))
10318 vkEndCommandBuffer = cast[proc(commandBuffer: VkCommandBuffer): VkResult {.stdcall.}](vkGetProc("vkEndCommandBuffer"))
10319 vkResetCommandBuffer = cast[proc(commandBuffer: VkCommandBuffer, flags: VkCommandBufferResetFlags): VkResult {.stdcall.}](vkGetProc("vkResetCommandBuffer"))
10320 vkCmdBindPipeline = cast[proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline): void {.stdcall.}](vkGetProc("vkCmdBindPipeline"))
10321 vkCmdSetViewport = cast[proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pViewports: ptr VkViewport ): void {.stdcall.}](vkGetProc("vkCmdSetViewport"))
10322 vkCmdSetScissor = cast[proc(commandBuffer: VkCommandBuffer, firstScissor: uint32, scissorCount: uint32, pScissors: ptr VkRect2D ): void {.stdcall.}](vkGetProc("vkCmdSetScissor"))
10323 vkCmdSetLineWidth = cast[proc(commandBuffer: VkCommandBuffer, lineWidth: float32): void {.stdcall.}](vkGetProc("vkCmdSetLineWidth"))
10324 vkCmdSetDepthBias = cast[proc(commandBuffer: VkCommandBuffer, depthBiasConstantFactor: float32, depthBiasClamp: float32, depthBiasSlopeFactor: float32): void {.stdcall.}](vkGetProc("vkCmdSetDepthBias"))
10325 vkCmdSetBlendConstants = cast[proc(commandBuffer: VkCommandBuffer, blendConstants: array[4, float32]): void {.stdcall.}](vkGetProc("vkCmdSetBlendConstants"))
10326 vkCmdSetDepthBounds = cast[proc(commandBuffer: VkCommandBuffer, minDepthBounds: float32, maxDepthBounds: float32): void {.stdcall.}](vkGetProc("vkCmdSetDepthBounds"))
10327 vkCmdSetStencilCompareMask = cast[proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, compareMask: uint32): void {.stdcall.}](vkGetProc("vkCmdSetStencilCompareMask"))
10328 vkCmdSetStencilWriteMask = cast[proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, writeMask: uint32): void {.stdcall.}](vkGetProc("vkCmdSetStencilWriteMask"))
10329 vkCmdSetStencilReference = cast[proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, reference: uint32): void {.stdcall.}](vkGetProc("vkCmdSetStencilReference"))
10330 vkCmdBindDescriptorSets = cast[proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, layout: VkPipelineLayout, firstSet: uint32, descriptorSetCount: uint32, pDescriptorSets: ptr VkDescriptorSet , dynamicOffsetCount: uint32, pDynamicOffsets: ptr uint32 ): void {.stdcall.}](vkGetProc("vkCmdBindDescriptorSets"))
10331 vkCmdBindIndexBuffer = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, indexType: VkIndexType): void {.stdcall.}](vkGetProc("vkCmdBindIndexBuffer"))
10332 vkCmdBindVertexBuffers = cast[proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkCmdBindVertexBuffers"))
10333 vkCmdDraw = cast[proc(commandBuffer: VkCommandBuffer, vertexCount: uint32, instanceCount: uint32, firstVertex: uint32, firstInstance: uint32): void {.stdcall.}](vkGetProc("vkCmdDraw"))
10334 vkCmdDrawIndexed = cast[proc(commandBuffer: VkCommandBuffer, indexCount: uint32, instanceCount: uint32, firstIndex: uint32, vertexOffset: int32, firstInstance: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndexed"))
10335 vkCmdDrawIndirect = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndirect"))
10336 vkCmdDrawIndexedIndirect = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndexedIndirect"))
10337 vkCmdDispatch = cast[proc(commandBuffer: VkCommandBuffer, groupCountX: uint32, groupCountY: uint32, groupCountZ: uint32): void {.stdcall.}](vkGetProc("vkCmdDispatch"))
10338 vkCmdDispatchIndirect = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize): void {.stdcall.}](vkGetProc("vkCmdDispatchIndirect"))
10339 vkCmdCopyBuffer = cast[proc(commandBuffer: VkCommandBuffer, srcBuffer: VkBuffer, dstBuffer: VkBuffer, regionCount: uint32, pRegions: ptr VkBufferCopy ): void {.stdcall.}](vkGetProc("vkCmdCopyBuffer"))
10340 vkCmdCopyImage = cast[proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageCopy ): void {.stdcall.}](vkGetProc("vkCmdCopyImage"))
10341 vkCmdBlitImage = cast[proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageBlit , filter: VkFilter): void {.stdcall.}](vkGetProc("vkCmdBlitImage"))
10342 vkCmdCopyBufferToImage = cast[proc(commandBuffer: VkCommandBuffer, srcBuffer: VkBuffer, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkBufferImageCopy ): void {.stdcall.}](vkGetProc("vkCmdCopyBufferToImage"))
10343 vkCmdCopyImageToBuffer = cast[proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstBuffer: VkBuffer, regionCount: uint32, pRegions: ptr VkBufferImageCopy ): void {.stdcall.}](vkGetProc("vkCmdCopyImageToBuffer"))
10344 vkCmdUpdateBuffer = cast[proc(commandBuffer: VkCommandBuffer, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, dataSize: VkDeviceSize, pData: pointer ): void {.stdcall.}](vkGetProc("vkCmdUpdateBuffer"))
10345 vkCmdFillBuffer = cast[proc(commandBuffer: VkCommandBuffer, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, size: VkDeviceSize, data: uint32): void {.stdcall.}](vkGetProc("vkCmdFillBuffer"))
10346 vkCmdClearColorImage = cast[proc(commandBuffer: VkCommandBuffer, image: VkImage, imageLayout: VkImageLayout, pColor: ptr VkClearColorValue , rangeCount: uint32, pRanges: ptr VkImageSubresourceRange ): void {.stdcall.}](vkGetProc("vkCmdClearColorImage"))
10347 vkCmdClearDepthStencilImage = cast[proc(commandBuffer: VkCommandBuffer, image: VkImage, imageLayout: VkImageLayout, pDepthStencil: ptr VkClearDepthStencilValue , rangeCount: uint32, pRanges: ptr VkImageSubresourceRange ): void {.stdcall.}](vkGetProc("vkCmdClearDepthStencilImage"))
10348 vkCmdClearAttachments = cast[proc(commandBuffer: VkCommandBuffer, attachmentCount: uint32, pAttachments: ptr VkClearAttachment , rectCount: uint32, pRects: ptr VkClearRect ): void {.stdcall.}](vkGetProc("vkCmdClearAttachments"))
10349 vkCmdResolveImage = cast[proc(commandBuffer: VkCommandBuffer, srcImage: VkImage, srcImageLayout: VkImageLayout, dstImage: VkImage, dstImageLayout: VkImageLayout, regionCount: uint32, pRegions: ptr VkImageResolve ): void {.stdcall.}](vkGetProc("vkCmdResolveImage"))
10350 vkCmdSetEvent = cast[proc(commandBuffer: VkCommandBuffer, event: VkEvent, stageMask: VkPipelineStageFlags): void {.stdcall.}](vkGetProc("vkCmdSetEvent"))
10351 vkCmdResetEvent = cast[proc(commandBuffer: VkCommandBuffer, event: VkEvent, stageMask: VkPipelineStageFlags): void {.stdcall.}](vkGetProc("vkCmdResetEvent"))
10352 vkCmdWaitEvents = cast[proc(commandBuffer: VkCommandBuffer, eventCount: uint32, pEvents: ptr VkEvent , srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, memoryBarrierCount: uint32, pMemoryBarriers: ptr VkMemoryBarrier , bufferMemoryBarrierCount: uint32, pBufferMemoryBarriers: ptr VkBufferMemoryBarrier , imageMemoryBarrierCount: uint32, pImageMemoryBarriers: ptr VkImageMemoryBarrier ): void {.stdcall.}](vkGetProc("vkCmdWaitEvents"))
10353 vkCmdPipelineBarrier = cast[proc(commandBuffer: VkCommandBuffer, srcStageMask: VkPipelineStageFlags, dstStageMask: VkPipelineStageFlags, dependencyFlags: VkDependencyFlags, memoryBarrierCount: uint32, pMemoryBarriers: ptr VkMemoryBarrier , bufferMemoryBarrierCount: uint32, pBufferMemoryBarriers: ptr VkBufferMemoryBarrier , imageMemoryBarrierCount: uint32, pImageMemoryBarriers: ptr VkImageMemoryBarrier ): void {.stdcall.}](vkGetProc("vkCmdPipelineBarrier"))
10354 vkCmdBeginQuery = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, flags: VkQueryControlFlags): void {.stdcall.}](vkGetProc("vkCmdBeginQuery"))
10355 vkCmdEndQuery = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32): void {.stdcall.}](vkGetProc("vkCmdEndQuery"))
10356 vkCmdResetQueryPool = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32): void {.stdcall.}](vkGetProc("vkCmdResetQueryPool"))
10357 vkCmdWriteTimestamp = cast[proc(commandBuffer: VkCommandBuffer, pipelineStage: VkPipelineStageFlagBits, queryPool: VkQueryPool, query: uint32): void {.stdcall.}](vkGetProc("vkCmdWriteTimestamp"))
10358 vkCmdCopyQueryPoolResults = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, stride: VkDeviceSize, flags: VkQueryResultFlags): void {.stdcall.}](vkGetProc("vkCmdCopyQueryPoolResults"))
10359 vkCmdPushConstants = cast[proc(commandBuffer: VkCommandBuffer, layout: VkPipelineLayout, stageFlags: VkShaderStageFlags, offset: uint32, size: uint32, pValues: pointer ): void {.stdcall.}](vkGetProc("vkCmdPushConstants"))
10360 vkCmdBeginRenderPass = cast[proc(commandBuffer: VkCommandBuffer, pRenderPassBegin: ptr VkRenderPassBeginInfo , contents: VkSubpassContents): void {.stdcall.}](vkGetProc("vkCmdBeginRenderPass"))
10361 vkCmdNextSubpass = cast[proc(commandBuffer: VkCommandBuffer, contents: VkSubpassContents): void {.stdcall.}](vkGetProc("vkCmdNextSubpass"))
10362 vkCmdEndRenderPass = cast[proc(commandBuffer: VkCommandBuffer): void {.stdcall.}](vkGetProc("vkCmdEndRenderPass"))
10363 vkCmdExecuteCommands = cast[proc(commandBuffer: VkCommandBuffer, commandBufferCount: uint32, pCommandBuffers: ptr VkCommandBuffer ): void {.stdcall.}](vkGetProc("vkCmdExecuteCommands"))
10364
10365 # Vulkan 1_1
10366 proc vkLoad1_1*() =
10367 vkEnumerateInstanceVersion = cast[proc(pApiVersion: ptr uint32 ): VkResult {.stdcall.}](vkGetProc("vkEnumerateInstanceVersion"))
10368 vkBindBufferMemory2 = cast[proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindBufferMemoryInfo ): VkResult {.stdcall.}](vkGetProc("vkBindBufferMemory2"))
10369 vkBindImageMemory2 = cast[proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindImageMemoryInfo ): VkResult {.stdcall.}](vkGetProc("vkBindImageMemory2"))
10370 vkGetDeviceGroupPeerMemoryFeatures = cast[proc(device: VkDevice, heapIndex: uint32, localDeviceIndex: uint32, remoteDeviceIndex: uint32, pPeerMemoryFeatures: ptr VkPeerMemoryFeatureFlags ): void {.stdcall.}](vkGetProc("vkGetDeviceGroupPeerMemoryFeatures"))
10371 vkCmdSetDeviceMask = cast[proc(commandBuffer: VkCommandBuffer, deviceMask: uint32): void {.stdcall.}](vkGetProc("vkCmdSetDeviceMask"))
10372 vkCmdDispatchBase = cast[proc(commandBuffer: VkCommandBuffer, baseGroupX: uint32, baseGroupY: uint32, baseGroupZ: uint32, groupCountX: uint32, groupCountY: uint32, groupCountZ: uint32): void {.stdcall.}](vkGetProc("vkCmdDispatchBase"))
10373 vkEnumeratePhysicalDeviceGroups = cast[proc(instance: VkInstance, pPhysicalDeviceGroupCount: ptr uint32 , pPhysicalDeviceGroupProperties: ptr VkPhysicalDeviceGroupProperties ): VkResult {.stdcall.}](vkGetProc("vkEnumeratePhysicalDeviceGroups"))
10374 vkGetImageMemoryRequirements2 = cast[proc(device: VkDevice, pInfo: ptr VkImageMemoryRequirementsInfo2 , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}](vkGetProc("vkGetImageMemoryRequirements2"))
10375 vkGetBufferMemoryRequirements2 = cast[proc(device: VkDevice, pInfo: ptr VkBufferMemoryRequirementsInfo2 , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}](vkGetProc("vkGetBufferMemoryRequirements2"))
10376 vkGetImageSparseMemoryRequirements2 = cast[proc(device: VkDevice, pInfo: ptr VkImageSparseMemoryRequirementsInfo2 , pSparseMemoryRequirementCount: ptr uint32 , pSparseMemoryRequirements: ptr VkSparseImageMemoryRequirements2 ): void {.stdcall.}](vkGetProc("vkGetImageSparseMemoryRequirements2"))
10377 vkGetPhysicalDeviceFeatures2 = cast[proc(physicalDevice: VkPhysicalDevice, pFeatures: ptr VkPhysicalDeviceFeatures2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceFeatures2"))
10378 vkGetPhysicalDeviceProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, pProperties: ptr VkPhysicalDeviceProperties2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceProperties2"))
10379 vkGetPhysicalDeviceFormatProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, format: VkFormat, pFormatProperties: ptr VkFormatProperties2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceFormatProperties2"))
10380 vkGetPhysicalDeviceImageFormatProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, pImageFormatInfo: ptr VkPhysicalDeviceImageFormatInfo2 , pImageFormatProperties: ptr VkImageFormatProperties2 ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceImageFormatProperties2"))
10381 vkGetPhysicalDeviceQueueFamilyProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, pQueueFamilyPropertyCount: ptr uint32 , pQueueFamilyProperties: ptr VkQueueFamilyProperties2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceQueueFamilyProperties2"))
10382 vkGetPhysicalDeviceMemoryProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, pMemoryProperties: ptr VkPhysicalDeviceMemoryProperties2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceMemoryProperties2"))
10383 vkGetPhysicalDeviceSparseImageFormatProperties2 = cast[proc(physicalDevice: VkPhysicalDevice, pFormatInfo: ptr VkPhysicalDeviceSparseImageFormatInfo2 , pPropertyCount: ptr uint32 , pProperties: ptr VkSparseImageFormatProperties2 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSparseImageFormatProperties2"))
10384 vkTrimCommandPool = cast[proc(device: VkDevice, commandPool: VkCommandPool, flags: VkCommandPoolTrimFlags): void {.stdcall.}](vkGetProc("vkTrimCommandPool"))
10385 vkGetDeviceQueue2 = cast[proc(device: VkDevice, pQueueInfo: ptr VkDeviceQueueInfo2 , pQueue: ptr VkQueue ): void {.stdcall.}](vkGetProc("vkGetDeviceQueue2"))
10386 vkCreateSamplerYcbcrConversion = cast[proc(device: VkDevice, pCreateInfo: ptr VkSamplerYcbcrConversionCreateInfo , pAllocator: ptr VkAllocationCallbacks , pYcbcrConversion: ptr VkSamplerYcbcrConversion ): VkResult {.stdcall.}](vkGetProc("vkCreateSamplerYcbcrConversion"))
10387 vkDestroySamplerYcbcrConversion = cast[proc(device: VkDevice, ycbcrConversion: VkSamplerYcbcrConversion, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroySamplerYcbcrConversion"))
10388 vkCreateDescriptorUpdateTemplate = cast[proc(device: VkDevice, pCreateInfo: ptr VkDescriptorUpdateTemplateCreateInfo , pAllocator: ptr VkAllocationCallbacks , pDescriptorUpdateTemplate: ptr VkDescriptorUpdateTemplate ): VkResult {.stdcall.}](vkGetProc("vkCreateDescriptorUpdateTemplate"))
10389 vkDestroyDescriptorUpdateTemplate = cast[proc(device: VkDevice, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDescriptorUpdateTemplate"))
10390 vkUpdateDescriptorSetWithTemplate = cast[proc(device: VkDevice, descriptorSet: VkDescriptorSet, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, pData: pointer ): void {.stdcall.}](vkGetProc("vkUpdateDescriptorSetWithTemplate"))
10391 vkGetPhysicalDeviceExternalBufferProperties = cast[proc(physicalDevice: VkPhysicalDevice, pExternalBufferInfo: ptr VkPhysicalDeviceExternalBufferInfo , pExternalBufferProperties: ptr VkExternalBufferProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceExternalBufferProperties"))
10392 vkGetPhysicalDeviceExternalFenceProperties = cast[proc(physicalDevice: VkPhysicalDevice, pExternalFenceInfo: ptr VkPhysicalDeviceExternalFenceInfo , pExternalFenceProperties: ptr VkExternalFenceProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceExternalFenceProperties"))
10393 vkGetPhysicalDeviceExternalSemaphoreProperties = cast[proc(physicalDevice: VkPhysicalDevice, pExternalSemaphoreInfo: ptr VkPhysicalDeviceExternalSemaphoreInfo , pExternalSemaphoreProperties: ptr VkExternalSemaphoreProperties ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceExternalSemaphoreProperties"))
10394 vkGetDescriptorSetLayoutSupport = cast[proc(device: VkDevice, pCreateInfo: ptr VkDescriptorSetLayoutCreateInfo , pSupport: ptr VkDescriptorSetLayoutSupport ): void {.stdcall.}](vkGetProc("vkGetDescriptorSetLayoutSupport"))
10395
10396 # Vulkan 1_2
10397 proc vkLoad1_2*() =
10398 vkCmdDrawIndirectCount = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndirectCount"))
10399 vkCmdDrawIndexedIndirectCount = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndexedIndirectCount"))
10400 vkCreateRenderPass2 = cast[proc(device: VkDevice, pCreateInfo: ptr VkRenderPassCreateInfo2 , pAllocator: ptr VkAllocationCallbacks , pRenderPass: ptr VkRenderPass ): VkResult {.stdcall.}](vkGetProc("vkCreateRenderPass2"))
10401 vkCmdBeginRenderPass2 = cast[proc(commandBuffer: VkCommandBuffer, pRenderPassBegin: ptr VkRenderPassBeginInfo , pSubpassBeginInfo: ptr VkSubpassBeginInfo ): void {.stdcall.}](vkGetProc("vkCmdBeginRenderPass2"))
10402 vkCmdNextSubpass2 = cast[proc(commandBuffer: VkCommandBuffer, pSubpassBeginInfo: ptr VkSubpassBeginInfo , pSubpassEndInfo: ptr VkSubpassEndInfo ): void {.stdcall.}](vkGetProc("vkCmdNextSubpass2"))
10403 vkCmdEndRenderPass2 = cast[proc(commandBuffer: VkCommandBuffer, pSubpassEndInfo: ptr VkSubpassEndInfo ): void {.stdcall.}](vkGetProc("vkCmdEndRenderPass2"))
10404 vkResetQueryPool = cast[proc(device: VkDevice, queryPool: VkQueryPool, firstQuery: uint32, queryCount: uint32): void {.stdcall.}](vkGetProc("vkResetQueryPool"))
10405 vkGetSemaphoreCounterValue = cast[proc(device: VkDevice, semaphore: VkSemaphore, pValue: ptr uint64 ): VkResult {.stdcall.}](vkGetProc("vkGetSemaphoreCounterValue"))
10406 vkWaitSemaphores = cast[proc(device: VkDevice, pWaitInfo: ptr VkSemaphoreWaitInfo , timeout: uint64): VkResult {.stdcall.}](vkGetProc("vkWaitSemaphores"))
10407 vkSignalSemaphore = cast[proc(device: VkDevice, pSignalInfo: ptr VkSemaphoreSignalInfo ): VkResult {.stdcall.}](vkGetProc("vkSignalSemaphore"))
10408 vkGetBufferDeviceAddress = cast[proc(device: VkDevice, pInfo: ptr VkBufferDeviceAddressInfo ): VkDeviceAddress {.stdcall.}](vkGetProc("vkGetBufferDeviceAddress"))
10409 vkGetBufferOpaqueCaptureAddress = cast[proc(device: VkDevice, pInfo: ptr VkBufferDeviceAddressInfo ): uint64 {.stdcall.}](vkGetProc("vkGetBufferOpaqueCaptureAddress"))
10410 vkGetDeviceMemoryOpaqueCaptureAddress = cast[proc(device: VkDevice, pInfo: ptr VkDeviceMemoryOpaqueCaptureAddressInfo ): uint64 {.stdcall.}](vkGetProc("vkGetDeviceMemoryOpaqueCaptureAddress"))
10411
10412 # Load VK_KHR_surface
10413 proc loadVK_KHR_surface*() =
10414 vkDestroySurfaceKHR = cast[proc(instance: VkInstance, surface: VkSurfaceKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroySurfaceKHR"))
10415 vkGetPhysicalDeviceSurfaceSupportKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, surface: VkSurfaceKHR, pSupported: ptr VkBool32 ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceSupportKHR"))
10416 vkGetPhysicalDeviceSurfaceCapabilitiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceCapabilities: ptr VkSurfaceCapabilitiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceCapabilitiesKHR"))
10417 vkGetPhysicalDeviceSurfaceFormatsKHR = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceFormatCount: ptr uint32 , pSurfaceFormats: ptr VkSurfaceFormatKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceFormatsKHR"))
10418 vkGetPhysicalDeviceSurfacePresentModesKHR = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pPresentModeCount: ptr uint32 , pPresentModes: ptr VkPresentModeKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfacePresentModesKHR"))
10419
10420 # Load VK_KHR_swapchain
10421 proc loadVK_KHR_swapchain*() =
10422 vkCreateSwapchainKHR = cast[proc(device: VkDevice, pCreateInfo: ptr VkSwapchainCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSwapchain: ptr VkSwapchainKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateSwapchainKHR"))
10423 vkDestroySwapchainKHR = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroySwapchainKHR"))
10424 vkGetSwapchainImagesKHR = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, pSwapchainImageCount: ptr uint32 , pSwapchainImages: ptr VkImage ): VkResult {.stdcall.}](vkGetProc("vkGetSwapchainImagesKHR"))
10425 vkAcquireNextImageKHR = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, timeout: uint64, semaphore: VkSemaphore, fence: VkFence, pImageIndex: ptr uint32 ): VkResult {.stdcall.}](vkGetProc("vkAcquireNextImageKHR"))
10426 vkQueuePresentKHR = cast[proc(queue: VkQueue, pPresentInfo: ptr VkPresentInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkQueuePresentKHR"))
10427 vkGetDeviceGroupPresentCapabilitiesKHR = cast[proc(device: VkDevice, pDeviceGroupPresentCapabilities: ptr VkDeviceGroupPresentCapabilitiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupPresentCapabilitiesKHR"))
10428 vkGetDeviceGroupSurfacePresentModesKHR = cast[proc(device: VkDevice, surface: VkSurfaceKHR, pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupSurfacePresentModesKHR"))
10429 vkGetPhysicalDevicePresentRectanglesKHR = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pRectCount: ptr uint32 , pRects: ptr VkRect2D ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDevicePresentRectanglesKHR"))
10430 vkAcquireNextImage2KHR = cast[proc(device: VkDevice, pAcquireInfo: ptr VkAcquireNextImageInfoKHR , pImageIndex: ptr uint32 ): VkResult {.stdcall.}](vkGetProc("vkAcquireNextImage2KHR"))
10431
10432 # Load VK_KHR_display
10433 proc loadVK_KHR_display*() =
10434 vkGetPhysicalDeviceDisplayPropertiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceDisplayPropertiesKHR"))
10435 vkGetPhysicalDeviceDisplayPlanePropertiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPlanePropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceDisplayPlanePropertiesKHR"))
10436 vkGetDisplayPlaneSupportedDisplaysKHR = cast[proc(physicalDevice: VkPhysicalDevice, planeIndex: uint32, pDisplayCount: ptr uint32 , pDisplays: ptr VkDisplayKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDisplayPlaneSupportedDisplaysKHR"))
10437 vkGetDisplayModePropertiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayModePropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDisplayModePropertiesKHR"))
10438 vkCreateDisplayModeKHR = cast[proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pCreateInfo: ptr VkDisplayModeCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pMode: ptr VkDisplayModeKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateDisplayModeKHR"))
10439 vkGetDisplayPlaneCapabilitiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, mode: VkDisplayModeKHR, planeIndex: uint32, pCapabilities: ptr VkDisplayPlaneCapabilitiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDisplayPlaneCapabilitiesKHR"))
10440 vkCreateDisplayPlaneSurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkDisplaySurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateDisplayPlaneSurfaceKHR"))
10441
10442 # Load VK_KHR_display_swapchain
10443 proc loadVK_KHR_display_swapchain*() =
10444 vkCreateSharedSwapchainsKHR = cast[proc(device: VkDevice, swapchainCount: uint32, pCreateInfos: ptr VkSwapchainCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSwapchains: ptr VkSwapchainKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateSharedSwapchainsKHR"))
10445
10446 # Load VK_KHR_xlib_surface
10447 proc loadVK_KHR_xlib_surface*() =
10448 vkCreateXlibSurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkXlibSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateXlibSurfaceKHR"))
10449 vkGetPhysicalDeviceXlibPresentationSupportKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, dpy: ptr Display , visualID: VisualID): VkBool32 {.stdcall.}](vkGetProc("vkGetPhysicalDeviceXlibPresentationSupportKHR"))
10450
10451 # Load VK_KHR_xcb_surface
10452 proc loadVK_KHR_xcb_surface*() =
10453 vkCreateXcbSurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkXcbSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateXcbSurfaceKHR"))
10454 vkGetPhysicalDeviceXcbPresentationSupportKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, connection: ptr xcb_connection_t , visual_id: xcb_visualid_t): VkBool32 {.stdcall.}](vkGetProc("vkGetPhysicalDeviceXcbPresentationSupportKHR"))
10455
10456 # Load VK_KHR_wayland_surface
10457 proc loadVK_KHR_wayland_surface*() =
10458 vkCreateWaylandSurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkWaylandSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateWaylandSurfaceKHR"))
10459 vkGetPhysicalDeviceWaylandPresentationSupportKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, display: ptr wl_display ): VkBool32 {.stdcall.}](vkGetProc("vkGetPhysicalDeviceWaylandPresentationSupportKHR"))
10460
10461 # Load VK_KHR_android_surface
10462 proc loadVK_KHR_android_surface*() =
10463 vkCreateAndroidSurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkAndroidSurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateAndroidSurfaceKHR"))
10464
10465 # Load VK_KHR_win32_surface
10466 proc loadVK_KHR_win32_surface*() =
10467 vkCreateWin32SurfaceKHR = cast[proc(instance: VkInstance, pCreateInfo: ptr VkWin32SurfaceCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateWin32SurfaceKHR"))
10468 vkGetPhysicalDeviceWin32PresentationSupportKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32): VkBool32 {.stdcall.}](vkGetProc("vkGetPhysicalDeviceWin32PresentationSupportKHR"))
10469
10470 # Load VK_ANDROID_native_buffer
10471 proc loadVK_ANDROID_native_buffer*() =
10472 vkGetSwapchainGrallocUsageANDROID = cast[proc(device: VkDevice, format: VkFormat, imageUsage: VkImageUsageFlags, grallocUsage: ptr int ): VkResult {.stdcall.}](vkGetProc("vkGetSwapchainGrallocUsageANDROID"))
10473 vkAcquireImageANDROID = cast[proc(device: VkDevice, image: VkImage, nativeFenceFd: int, semaphore: VkSemaphore, fence: VkFence): VkResult {.stdcall.}](vkGetProc("vkAcquireImageANDROID"))
10474 vkQueueSignalReleaseImageANDROID = cast[proc(queue: VkQueue, waitSemaphoreCount: uint32, pWaitSemaphores: ptr VkSemaphore , image: VkImage, pNativeFenceFd: ptr int ): VkResult {.stdcall.}](vkGetProc("vkQueueSignalReleaseImageANDROID"))
10475 vkGetSwapchainGrallocUsage2ANDROID = cast[proc(device: VkDevice, format: VkFormat, imageUsage: VkImageUsageFlags, swapchainImageUsage: VkSwapchainImageUsageFlagsANDROID, grallocConsumerUsage: ptr uint64 , grallocProducerUsage: ptr uint64 ): VkResult {.stdcall.}](vkGetProc("vkGetSwapchainGrallocUsage2ANDROID"))
10476
10477 # Load VK_EXT_debug_report
10478 proc loadVK_EXT_debug_report*() =
10479 vkCreateDebugReportCallbackEXT = cast[proc(instance: VkInstance, pCreateInfo: ptr VkDebugReportCallbackCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pCallback: ptr VkDebugReportCallbackEXT ): VkResult {.stdcall.}](vkGetProc("vkCreateDebugReportCallbackEXT"))
10480 vkDestroyDebugReportCallbackEXT = cast[proc(instance: VkInstance, callback: VkDebugReportCallbackEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDebugReportCallbackEXT"))
10481 vkDebugReportMessageEXT = cast[proc(instance: VkInstance, flags: VkDebugReportFlagsEXT, objectType: VkDebugReportObjectTypeEXT, `object`: uint64, location: uint, messageCode: int32, pLayerPrefix: cstring , pMessage: cstring ): void {.stdcall.}](vkGetProc("vkDebugReportMessageEXT"))
10482
10483 # Load VK_EXT_debug_marker
10484 proc loadVK_EXT_debug_marker*() =
10485 vkDebugMarkerSetObjectTagEXT = cast[proc(device: VkDevice, pTagInfo: ptr VkDebugMarkerObjectTagInfoEXT ): VkResult {.stdcall.}](vkGetProc("vkDebugMarkerSetObjectTagEXT"))
10486 vkDebugMarkerSetObjectNameEXT = cast[proc(device: VkDevice, pNameInfo: ptr VkDebugMarkerObjectNameInfoEXT ): VkResult {.stdcall.}](vkGetProc("vkDebugMarkerSetObjectNameEXT"))
10487 vkCmdDebugMarkerBeginEXT = cast[proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkDebugMarkerMarkerInfoEXT ): void {.stdcall.}](vkGetProc("vkCmdDebugMarkerBeginEXT"))
10488 vkCmdDebugMarkerEndEXT = cast[proc(commandBuffer: VkCommandBuffer): void {.stdcall.}](vkGetProc("vkCmdDebugMarkerEndEXT"))
10489 vkCmdDebugMarkerInsertEXT = cast[proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkDebugMarkerMarkerInfoEXT ): void {.stdcall.}](vkGetProc("vkCmdDebugMarkerInsertEXT"))
10490
10491 # Load VK_EXT_transform_feedback
10492 proc loadVK_EXT_transform_feedback*() =
10493 vkCmdBindTransformFeedbackBuffersEXT = cast[proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize , pSizes: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkCmdBindTransformFeedbackBuffersEXT"))
10494 vkCmdBeginTransformFeedbackEXT = cast[proc(commandBuffer: VkCommandBuffer, firstCounterBuffer: uint32, counterBufferCount: uint32, pCounterBuffers: ptr VkBuffer , pCounterBufferOffsets: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkCmdBeginTransformFeedbackEXT"))
10495 vkCmdEndTransformFeedbackEXT = cast[proc(commandBuffer: VkCommandBuffer, firstCounterBuffer: uint32, counterBufferCount: uint32, pCounterBuffers: ptr VkBuffer , pCounterBufferOffsets: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkCmdEndTransformFeedbackEXT"))
10496 vkCmdBeginQueryIndexedEXT = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, flags: VkQueryControlFlags, index: uint32): void {.stdcall.}](vkGetProc("vkCmdBeginQueryIndexedEXT"))
10497 vkCmdEndQueryIndexedEXT = cast[proc(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: uint32, index: uint32): void {.stdcall.}](vkGetProc("vkCmdEndQueryIndexedEXT"))
10498 vkCmdDrawIndirectByteCountEXT = cast[proc(commandBuffer: VkCommandBuffer, instanceCount: uint32, firstInstance: uint32, counterBuffer: VkBuffer, counterBufferOffset: VkDeviceSize, counterOffset: uint32, vertexStride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawIndirectByteCountEXT"))
10499
10500 # Load VK_NVX_image_view_handle
10501 proc loadVK_NVX_image_view_handle*() =
10502 vkGetImageViewHandleNVX = cast[proc(device: VkDevice, pInfo: ptr VkImageViewHandleInfoNVX ): uint32 {.stdcall.}](vkGetProc("vkGetImageViewHandleNVX"))
10503 vkGetImageViewAddressNVX = cast[proc(device: VkDevice, imageView: VkImageView, pProperties: ptr VkImageViewAddressPropertiesNVX ): VkResult {.stdcall.}](vkGetProc("vkGetImageViewAddressNVX"))
10504
10505 # Load VK_AMD_shader_info
10506 proc loadVK_AMD_shader_info*() =
10507 vkGetShaderInfoAMD = cast[proc(device: VkDevice, pipeline: VkPipeline, shaderStage: VkShaderStageFlagBits, infoType: VkShaderInfoTypeAMD, pInfoSize: ptr uint , pInfo: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetShaderInfoAMD"))
10508
10509 # Load VK_GGP_stream_descriptor_surface
10510 proc loadVK_GGP_stream_descriptor_surface*() =
10511 vkCreateStreamDescriptorSurfaceGGP = cast[proc(instance: VkInstance, pCreateInfo: ptr VkStreamDescriptorSurfaceCreateInfoGGP , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateStreamDescriptorSurfaceGGP"))
10512
10513 # Load VK_NV_external_memory_capabilities
10514 proc loadVK_NV_external_memory_capabilities*() =
10515 vkGetPhysicalDeviceExternalImageFormatPropertiesNV = cast[proc(physicalDevice: VkPhysicalDevice, format: VkFormat, `type`: VkImageType, tiling: VkImageTiling, usage: VkImageUsageFlags, flags: VkImageCreateFlags, externalHandleType: VkExternalMemoryHandleTypeFlagsNV, pExternalImageFormatProperties: ptr VkExternalImageFormatPropertiesNV ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceExternalImageFormatPropertiesNV"))
10516
10517 # Load VK_NV_external_memory_win32
10518 proc loadVK_NV_external_memory_win32*() =
10519 vkGetMemoryWin32HandleNV = cast[proc(device: VkDevice, memory: VkDeviceMemory, handleType: VkExternalMemoryHandleTypeFlagsNV, pHandle: ptr HANDLE ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryWin32HandleNV"))
10520
10521 # Load VK_KHR_device_group
10522 proc loadVK_KHR_device_group*() =
10523 vkGetDeviceGroupPresentCapabilitiesKHR = cast[proc(device: VkDevice, pDeviceGroupPresentCapabilities: ptr VkDeviceGroupPresentCapabilitiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupPresentCapabilitiesKHR"))
10524 vkGetDeviceGroupSurfacePresentModesKHR = cast[proc(device: VkDevice, surface: VkSurfaceKHR, pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupSurfacePresentModesKHR"))
10525 vkGetPhysicalDevicePresentRectanglesKHR = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pRectCount: ptr uint32 , pRects: ptr VkRect2D ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDevicePresentRectanglesKHR"))
10526 vkAcquireNextImage2KHR = cast[proc(device: VkDevice, pAcquireInfo: ptr VkAcquireNextImageInfoKHR , pImageIndex: ptr uint32 ): VkResult {.stdcall.}](vkGetProc("vkAcquireNextImage2KHR"))
10527
10528 # Load VK_NN_vi_surface
10529 proc loadVK_NN_vi_surface*() =
10530 vkCreateViSurfaceNN = cast[proc(instance: VkInstance, pCreateInfo: ptr VkViSurfaceCreateInfoNN , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateViSurfaceNN"))
10531
10532 # Load VK_KHR_external_memory_win32
10533 proc loadVK_KHR_external_memory_win32*() =
10534 vkGetMemoryWin32HandleKHR = cast[proc(device: VkDevice, pGetWin32HandleInfo: ptr VkMemoryGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryWin32HandleKHR"))
10535 vkGetMemoryWin32HandlePropertiesKHR = cast[proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, handle: HANDLE, pMemoryWin32HandleProperties: ptr VkMemoryWin32HandlePropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryWin32HandlePropertiesKHR"))
10536
10537 # Load VK_KHR_external_memory_fd
10538 proc loadVK_KHR_external_memory_fd*() =
10539 vkGetMemoryFdKHR = cast[proc(device: VkDevice, pGetFdInfo: ptr VkMemoryGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryFdKHR"))
10540 vkGetMemoryFdPropertiesKHR = cast[proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, fd: int, pMemoryFdProperties: ptr VkMemoryFdPropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryFdPropertiesKHR"))
10541
10542 # Load VK_KHR_external_semaphore_win32
10543 proc loadVK_KHR_external_semaphore_win32*() =
10544 vkImportSemaphoreWin32HandleKHR = cast[proc(device: VkDevice, pImportSemaphoreWin32HandleInfo: ptr VkImportSemaphoreWin32HandleInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkImportSemaphoreWin32HandleKHR"))
10545 vkGetSemaphoreWin32HandleKHR = cast[proc(device: VkDevice, pGetWin32HandleInfo: ptr VkSemaphoreGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}](vkGetProc("vkGetSemaphoreWin32HandleKHR"))
10546
10547 # Load VK_KHR_external_semaphore_fd
10548 proc loadVK_KHR_external_semaphore_fd*() =
10549 vkImportSemaphoreFdKHR = cast[proc(device: VkDevice, pImportSemaphoreFdInfo: ptr VkImportSemaphoreFdInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkImportSemaphoreFdKHR"))
10550 vkGetSemaphoreFdKHR = cast[proc(device: VkDevice, pGetFdInfo: ptr VkSemaphoreGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}](vkGetProc("vkGetSemaphoreFdKHR"))
10551
10552 # Load VK_KHR_push_descriptor
10553 proc loadVK_KHR_push_descriptor*() =
10554 vkCmdPushDescriptorSetKHR = cast[proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, layout: VkPipelineLayout, set: uint32, descriptorWriteCount: uint32, pDescriptorWrites: ptr VkWriteDescriptorSet ): void {.stdcall.}](vkGetProc("vkCmdPushDescriptorSetKHR"))
10555 vkCmdPushDescriptorSetWithTemplateKHR = cast[proc(commandBuffer: VkCommandBuffer, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, layout: VkPipelineLayout, set: uint32, pData: pointer ): void {.stdcall.}](vkGetProc("vkCmdPushDescriptorSetWithTemplateKHR"))
10556 vkCmdPushDescriptorSetWithTemplateKHR = cast[proc(commandBuffer: VkCommandBuffer, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, layout: VkPipelineLayout, set: uint32, pData: pointer ): void {.stdcall.}](vkGetProc("vkCmdPushDescriptorSetWithTemplateKHR"))
10557
10558 # Load VK_EXT_conditional_rendering
10559 proc loadVK_EXT_conditional_rendering*() =
10560 vkCmdBeginConditionalRenderingEXT = cast[proc(commandBuffer: VkCommandBuffer, pConditionalRenderingBegin: ptr VkConditionalRenderingBeginInfoEXT ): void {.stdcall.}](vkGetProc("vkCmdBeginConditionalRenderingEXT"))
10561 vkCmdEndConditionalRenderingEXT = cast[proc(commandBuffer: VkCommandBuffer): void {.stdcall.}](vkGetProc("vkCmdEndConditionalRenderingEXT"))
10562
10563 # Load VK_KHR_descriptor_update_template
10564 proc loadVK_KHR_descriptor_update_template*() =
10565 vkCmdPushDescriptorSetWithTemplateKHR = cast[proc(commandBuffer: VkCommandBuffer, descriptorUpdateTemplate: VkDescriptorUpdateTemplate, layout: VkPipelineLayout, set: uint32, pData: pointer ): void {.stdcall.}](vkGetProc("vkCmdPushDescriptorSetWithTemplateKHR"))
10566
10567 # Load VK_NV_clip_space_w_scaling
10568 proc loadVK_NV_clip_space_w_scaling*() =
10569 vkCmdSetViewportWScalingNV = cast[proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pViewportWScalings: ptr VkViewportWScalingNV ): void {.stdcall.}](vkGetProc("vkCmdSetViewportWScalingNV"))
10570
10571 # Load VK_EXT_direct_mode_display
10572 proc loadVK_EXT_direct_mode_display*() =
10573 vkReleaseDisplayEXT = cast[proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR): VkResult {.stdcall.}](vkGetProc("vkReleaseDisplayEXT"))
10574
10575 # Load VK_EXT_acquire_xlib_display
10576 proc loadVK_EXT_acquire_xlib_display*() =
10577 vkAcquireXlibDisplayEXT = cast[proc(physicalDevice: VkPhysicalDevice, dpy: ptr Display , display: VkDisplayKHR): VkResult {.stdcall.}](vkGetProc("vkAcquireXlibDisplayEXT"))
10578 vkGetRandROutputDisplayEXT = cast[proc(physicalDevice: VkPhysicalDevice, dpy: ptr Display , rrOutput: RROutput, pDisplay: ptr VkDisplayKHR ): VkResult {.stdcall.}](vkGetProc("vkGetRandROutputDisplayEXT"))
10579
10580 # Load VK_EXT_display_surface_counter
10581 proc loadVK_EXT_display_surface_counter*() =
10582 vkGetPhysicalDeviceSurfaceCapabilities2EXT = cast[proc(physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceCapabilities: ptr VkSurfaceCapabilities2EXT ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceCapabilities2EXT"))
10583
10584 # Load VK_EXT_display_control
10585 proc loadVK_EXT_display_control*() =
10586 vkDisplayPowerControlEXT = cast[proc(device: VkDevice, display: VkDisplayKHR, pDisplayPowerInfo: ptr VkDisplayPowerInfoEXT ): VkResult {.stdcall.}](vkGetProc("vkDisplayPowerControlEXT"))
10587 vkRegisterDeviceEventEXT = cast[proc(device: VkDevice, pDeviceEventInfo: ptr VkDeviceEventInfoEXT , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}](vkGetProc("vkRegisterDeviceEventEXT"))
10588 vkRegisterDisplayEventEXT = cast[proc(device: VkDevice, display: VkDisplayKHR, pDisplayEventInfo: ptr VkDisplayEventInfoEXT , pAllocator: ptr VkAllocationCallbacks , pFence: ptr VkFence ): VkResult {.stdcall.}](vkGetProc("vkRegisterDisplayEventEXT"))
10589 vkGetSwapchainCounterEXT = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, counter: VkSurfaceCounterFlagBitsEXT, pCounterValue: ptr uint64 ): VkResult {.stdcall.}](vkGetProc("vkGetSwapchainCounterEXT"))
10590
10591 # Load VK_GOOGLE_display_timing
10592 proc loadVK_GOOGLE_display_timing*() =
10593 vkGetRefreshCycleDurationGOOGLE = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, pDisplayTimingProperties: ptr VkRefreshCycleDurationGOOGLE ): VkResult {.stdcall.}](vkGetProc("vkGetRefreshCycleDurationGOOGLE"))
10594 vkGetPastPresentationTimingGOOGLE = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR, pPresentationTimingCount: ptr uint32 , pPresentationTimings: ptr VkPastPresentationTimingGOOGLE ): VkResult {.stdcall.}](vkGetProc("vkGetPastPresentationTimingGOOGLE"))
10595
10596 # Load VK_EXT_discard_rectangles
10597 proc loadVK_EXT_discard_rectangles*() =
10598 vkCmdSetDiscardRectangleEXT = cast[proc(commandBuffer: VkCommandBuffer, firstDiscardRectangle: uint32, discardRectangleCount: uint32, pDiscardRectangles: ptr VkRect2D ): void {.stdcall.}](vkGetProc("vkCmdSetDiscardRectangleEXT"))
10599
10600 # Load VK_EXT_hdr_metadata
10601 proc loadVK_EXT_hdr_metadata*() =
10602 vkSetHdrMetadataEXT = cast[proc(device: VkDevice, swapchainCount: uint32, pSwapchains: ptr VkSwapchainKHR , pMetadata: ptr VkHdrMetadataEXT ): void {.stdcall.}](vkGetProc("vkSetHdrMetadataEXT"))
10603
10604 # Load VK_KHR_shared_presentable_image
10605 proc loadVK_KHR_shared_presentable_image*() =
10606 vkGetSwapchainStatusKHR = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}](vkGetProc("vkGetSwapchainStatusKHR"))
10607
10608 # Load VK_KHR_external_fence_win32
10609 proc loadVK_KHR_external_fence_win32*() =
10610 vkImportFenceWin32HandleKHR = cast[proc(device: VkDevice, pImportFenceWin32HandleInfo: ptr VkImportFenceWin32HandleInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkImportFenceWin32HandleKHR"))
10611 vkGetFenceWin32HandleKHR = cast[proc(device: VkDevice, pGetWin32HandleInfo: ptr VkFenceGetWin32HandleInfoKHR , pHandle: ptr HANDLE ): VkResult {.stdcall.}](vkGetProc("vkGetFenceWin32HandleKHR"))
10612
10613 # Load VK_KHR_external_fence_fd
10614 proc loadVK_KHR_external_fence_fd*() =
10615 vkImportFenceFdKHR = cast[proc(device: VkDevice, pImportFenceFdInfo: ptr VkImportFenceFdInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkImportFenceFdKHR"))
10616 vkGetFenceFdKHR = cast[proc(device: VkDevice, pGetFdInfo: ptr VkFenceGetFdInfoKHR , pFd: ptr int ): VkResult {.stdcall.}](vkGetProc("vkGetFenceFdKHR"))
10617
10618 # Load VK_KHR_performance_query
10619 proc loadVK_KHR_performance_query*() =
10620 vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, pCounterCount: ptr uint32 , pCounters: ptr VkPerformanceCounterKHR , pCounterDescriptions: ptr VkPerformanceCounterDescriptionKHR ): VkResult {.stdcall.}](vkGetProc("vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR"))
10621 vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = cast[proc(physicalDevice: VkPhysicalDevice, pPerformanceQueryCreateInfo: ptr VkQueryPoolPerformanceCreateInfoKHR , pNumPasses: ptr uint32 ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR"))
10622 vkAcquireProfilingLockKHR = cast[proc(device: VkDevice, pInfo: ptr VkAcquireProfilingLockInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkAcquireProfilingLockKHR"))
10623 vkReleaseProfilingLockKHR = cast[proc(device: VkDevice): void {.stdcall.}](vkGetProc("vkReleaseProfilingLockKHR"))
10624
10625 # Load VK_KHR_get_surface_capabilities2
10626 proc loadVK_KHR_get_surface_capabilities2*() =
10627 vkGetPhysicalDeviceSurfaceCapabilities2KHR = cast[proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pSurfaceCapabilities: ptr VkSurfaceCapabilities2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceCapabilities2KHR"))
10628 vkGetPhysicalDeviceSurfaceFormats2KHR = cast[proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pSurfaceFormatCount: ptr uint32 , pSurfaceFormats: ptr VkSurfaceFormat2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfaceFormats2KHR"))
10629
10630 # Load VK_KHR_get_display_properties2
10631 proc loadVK_KHR_get_display_properties2*() =
10632 vkGetPhysicalDeviceDisplayProperties2KHR = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayProperties2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceDisplayProperties2KHR"))
10633 vkGetPhysicalDeviceDisplayPlaneProperties2KHR = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayPlaneProperties2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceDisplayPlaneProperties2KHR"))
10634 vkGetDisplayModeProperties2KHR = cast[proc(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, pPropertyCount: ptr uint32 , pProperties: ptr VkDisplayModeProperties2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetDisplayModeProperties2KHR"))
10635 vkGetDisplayPlaneCapabilities2KHR = cast[proc(physicalDevice: VkPhysicalDevice, pDisplayPlaneInfo: ptr VkDisplayPlaneInfo2KHR , pCapabilities: ptr VkDisplayPlaneCapabilities2KHR ): VkResult {.stdcall.}](vkGetProc("vkGetDisplayPlaneCapabilities2KHR"))
10636
10637 # Load VK_MVK_ios_surface
10638 proc loadVK_MVK_ios_surface*() =
10639 vkCreateIOSSurfaceMVK = cast[proc(instance: VkInstance, pCreateInfo: ptr VkIOSSurfaceCreateInfoMVK , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateIOSSurfaceMVK"))
10640
10641 # Load VK_MVK_macos_surface
10642 proc loadVK_MVK_macos_surface*() =
10643 vkCreateMacOSSurfaceMVK = cast[proc(instance: VkInstance, pCreateInfo: ptr VkMacOSSurfaceCreateInfoMVK , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateMacOSSurfaceMVK"))
10644
10645 # Load VK_EXT_debug_utils
10646 proc loadVK_EXT_debug_utils*(instance: VkInstance) =
10647 vkSetDebugUtilsObjectNameEXT = cast[proc(device: VkDevice, pNameInfo: ptr VkDebugUtilsObjectNameInfoEXT ): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkSetDebugUtilsObjectNameEXT"))
10648 vkSetDebugUtilsObjectTagEXT = cast[proc(device: VkDevice, pTagInfo: ptr VkDebugUtilsObjectTagInfoEXT ): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkSetDebugUtilsObjectTagEXT"))
10649 vkQueueBeginDebugUtilsLabelEXT = cast[proc(queue: VkQueue, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkQueueBeginDebugUtilsLabelEXT"))
10650 vkQueueEndDebugUtilsLabelEXT = cast[proc(queue: VkQueue): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkQueueEndDebugUtilsLabelEXT"))
10651 vkQueueInsertDebugUtilsLabelEXT = cast[proc(queue: VkQueue, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkQueueInsertDebugUtilsLabelEXT"))
10652 vkCmdBeginDebugUtilsLabelEXT = cast[proc(commandBuffer: VkCommandBuffer, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCmdBeginDebugUtilsLabelEXT"))
10653 vkCmdEndDebugUtilsLabelEXT = cast[proc(commandBuffer: VkCommandBuffer): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCmdEndDebugUtilsLabelEXT"))
10654 vkCmdInsertDebugUtilsLabelEXT = cast[proc(commandBuffer: VkCommandBuffer, pLabelInfo: ptr VkDebugUtilsLabelEXT ): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCmdInsertDebugUtilsLabelEXT"))
10655 vkCreateDebugUtilsMessengerEXT = cast[proc(instance: VkInstance, pCreateInfo: ptr VkDebugUtilsMessengerCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pMessenger: ptr VkDebugUtilsMessengerEXT ): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCreateDebugUtilsMessengerEXT"))
10656 vkDestroyDebugUtilsMessengerEXT = cast[proc(instance: VkInstance, messenger: VkDebugUtilsMessengerEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkDestroyDebugUtilsMessengerEXT"))
10657 vkSubmitDebugUtilsMessageEXT = cast[proc(instance: VkInstance, messageSeverity: VkDebugUtilsMessageSeverityFlagBitsEXT, messageTypes: VkDebugUtilsMessageTypeFlagsEXT, pCallbackData: ptr VkDebugUtilsMessengerCallbackDataEXT ): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkSubmitDebugUtilsMessageEXT"))
10658
10659 # Load VK_ANDROID_external_memory_android_hardware_buffer
10660 proc loadVK_ANDROID_external_memory_android_hardware_buffer*() =
10661 vkGetAndroidHardwareBufferPropertiesANDROID = cast[proc(device: VkDevice, buffer: ptr AHardwareBuffer , pProperties: ptr VkAndroidHardwareBufferPropertiesANDROID ): VkResult {.stdcall.}](vkGetProc("vkGetAndroidHardwareBufferPropertiesANDROID"))
10662 vkGetMemoryAndroidHardwareBufferANDROID = cast[proc(device: VkDevice, pInfo: ptr VkMemoryGetAndroidHardwareBufferInfoANDROID , pBuffer: ptr ptr AHardwareBuffer ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryAndroidHardwareBufferANDROID"))
10663
10664 # Load VK_EXT_sample_locations
10665 proc loadVK_EXT_sample_locations*() =
10666 vkCmdSetSampleLocationsEXT = cast[proc(commandBuffer: VkCommandBuffer, pSampleLocationsInfo: ptr VkSampleLocationsInfoEXT ): void {.stdcall.}](vkGetProc("vkCmdSetSampleLocationsEXT"))
10667 vkGetPhysicalDeviceMultisamplePropertiesEXT = cast[proc(physicalDevice: VkPhysicalDevice, samples: VkSampleCountFlagBits, pMultisampleProperties: ptr VkMultisamplePropertiesEXT ): void {.stdcall.}](vkGetProc("vkGetPhysicalDeviceMultisamplePropertiesEXT"))
10668
10669 # Load VK_KHR_ray_tracing
10670 proc loadVK_KHR_ray_tracing*() =
10671 vkCreateAccelerationStructureKHR = cast[proc(device: VkDevice, pCreateInfo: ptr VkAccelerationStructureCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pAccelerationStructure: ptr VkAccelerationStructureKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateAccelerationStructureKHR"))
10672 vkDestroyAccelerationStructureKHR = cast[proc(device: VkDevice, accelerationStructure: VkAccelerationStructureKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyAccelerationStructureKHR"))
10673 vkGetAccelerationStructureMemoryRequirementsKHR = cast[proc(device: VkDevice, pInfo: ptr VkAccelerationStructureMemoryRequirementsInfoKHR , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}](vkGetProc("vkGetAccelerationStructureMemoryRequirementsKHR"))
10674 vkBindAccelerationStructureMemoryKHR = cast[proc(device: VkDevice, bindInfoCount: uint32, pBindInfos: ptr VkBindAccelerationStructureMemoryInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkBindAccelerationStructureMemoryKHR"))
10675 vkCmdBuildAccelerationStructureKHR = cast[proc(commandBuffer: VkCommandBuffer, infoCount: uint32, pInfos: ptr VkAccelerationStructureBuildGeometryInfoKHR , ppOffsetInfos: ptr ptr VkAccelerationStructureBuildOffsetInfoKHR ): void {.stdcall.}](vkGetProc("vkCmdBuildAccelerationStructureKHR"))
10676 vkCmdBuildAccelerationStructureIndirectKHR = cast[proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkAccelerationStructureBuildGeometryInfoKHR , indirectBuffer: VkBuffer, indirectOffset: VkDeviceSize, indirectStride: uint32): void {.stdcall.}](vkGetProc("vkCmdBuildAccelerationStructureIndirectKHR"))
10677 vkBuildAccelerationStructureKHR = cast[proc(device: VkDevice, infoCount: uint32, pInfos: ptr VkAccelerationStructureBuildGeometryInfoKHR , ppOffsetInfos: ptr ptr VkAccelerationStructureBuildOffsetInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkBuildAccelerationStructureKHR"))
10678 vkCopyAccelerationStructureKHR = cast[proc(device: VkDevice, pInfo: ptr VkCopyAccelerationStructureInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkCopyAccelerationStructureKHR"))
10679 vkCopyAccelerationStructureToMemoryKHR = cast[proc(device: VkDevice, pInfo: ptr VkCopyAccelerationStructureToMemoryInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkCopyAccelerationStructureToMemoryKHR"))
10680 vkCopyMemoryToAccelerationStructureKHR = cast[proc(device: VkDevice, pInfo: ptr VkCopyMemoryToAccelerationStructureInfoKHR ): VkResult {.stdcall.}](vkGetProc("vkCopyMemoryToAccelerationStructureKHR"))
10681 vkWriteAccelerationStructuresPropertiesKHR = cast[proc(device: VkDevice, accelerationStructureCount: uint32, pAccelerationStructures: ptr VkAccelerationStructureKHR , queryType: VkQueryType, dataSize: uint, pData: pointer , stride: uint): VkResult {.stdcall.}](vkGetProc("vkWriteAccelerationStructuresPropertiesKHR"))
10682 vkCmdCopyAccelerationStructureKHR = cast[proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyAccelerationStructureInfoKHR ): void {.stdcall.}](vkGetProc("vkCmdCopyAccelerationStructureKHR"))
10683 vkCmdCopyAccelerationStructureToMemoryKHR = cast[proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyAccelerationStructureToMemoryInfoKHR ): void {.stdcall.}](vkGetProc("vkCmdCopyAccelerationStructureToMemoryKHR"))
10684 vkCmdCopyMemoryToAccelerationStructureKHR = cast[proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkCopyMemoryToAccelerationStructureInfoKHR ): void {.stdcall.}](vkGetProc("vkCmdCopyMemoryToAccelerationStructureKHR"))
10685 vkCmdTraceRaysKHR = cast[proc(commandBuffer: VkCommandBuffer, pRaygenShaderBindingTable: ptr VkStridedBufferRegionKHR , pMissShaderBindingTable: ptr VkStridedBufferRegionKHR , pHitShaderBindingTable: ptr VkStridedBufferRegionKHR , pCallableShaderBindingTable: ptr VkStridedBufferRegionKHR , width: uint32, height: uint32, depth: uint32): void {.stdcall.}](vkGetProc("vkCmdTraceRaysKHR"))
10686 vkCreateRayTracingPipelinesKHR = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkRayTracingPipelineCreateInfoKHR , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}](vkGetProc("vkCreateRayTracingPipelinesKHR"))
10687 vkGetRayTracingShaderGroupHandlesKHR = cast[proc(device: VkDevice, pipeline: VkPipeline, firstGroup: uint32, groupCount: uint32, dataSize: uint, pData: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetRayTracingShaderGroupHandlesKHR"))
10688 vkGetAccelerationStructureDeviceAddressKHR = cast[proc(device: VkDevice, pInfo: ptr VkAccelerationStructureDeviceAddressInfoKHR ): VkDeviceAddress {.stdcall.}](vkGetProc("vkGetAccelerationStructureDeviceAddressKHR"))
10689 vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = cast[proc(device: VkDevice, pipeline: VkPipeline, firstGroup: uint32, groupCount: uint32, dataSize: uint, pData: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetRayTracingCaptureReplayShaderGroupHandlesKHR"))
10690 vkCmdWriteAccelerationStructuresPropertiesKHR = cast[proc(commandBuffer: VkCommandBuffer, accelerationStructureCount: uint32, pAccelerationStructures: ptr VkAccelerationStructureKHR , queryType: VkQueryType, queryPool: VkQueryPool, firstQuery: uint32): void {.stdcall.}](vkGetProc("vkCmdWriteAccelerationStructuresPropertiesKHR"))
10691 vkCmdTraceRaysIndirectKHR = cast[proc(commandBuffer: VkCommandBuffer, pRaygenShaderBindingTable: ptr VkStridedBufferRegionKHR , pMissShaderBindingTable: ptr VkStridedBufferRegionKHR , pHitShaderBindingTable: ptr VkStridedBufferRegionKHR , pCallableShaderBindingTable: ptr VkStridedBufferRegionKHR , buffer: VkBuffer, offset: VkDeviceSize): void {.stdcall.}](vkGetProc("vkCmdTraceRaysIndirectKHR"))
10692 vkGetDeviceAccelerationStructureCompatibilityKHR = cast[proc(device: VkDevice, version: ptr VkAccelerationStructureVersionKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceAccelerationStructureCompatibilityKHR"))
10693
10694 # Load VK_EXT_image_drm_format_modifier
10695 proc loadVK_EXT_image_drm_format_modifier*() =
10696 vkGetImageDrmFormatModifierPropertiesEXT = cast[proc(device: VkDevice, image: VkImage, pProperties: ptr VkImageDrmFormatModifierPropertiesEXT ): VkResult {.stdcall.}](vkGetProc("vkGetImageDrmFormatModifierPropertiesEXT"))
10697
10698 # Load VK_EXT_validation_cache
10699 proc loadVK_EXT_validation_cache*() =
10700 vkCreateValidationCacheEXT = cast[proc(device: VkDevice, pCreateInfo: ptr VkValidationCacheCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pValidationCache: ptr VkValidationCacheEXT ): VkResult {.stdcall.}](vkGetProc("vkCreateValidationCacheEXT"))
10701 vkDestroyValidationCacheEXT = cast[proc(device: VkDevice, validationCache: VkValidationCacheEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyValidationCacheEXT"))
10702 vkMergeValidationCachesEXT = cast[proc(device: VkDevice, dstCache: VkValidationCacheEXT, srcCacheCount: uint32, pSrcCaches: ptr VkValidationCacheEXT ): VkResult {.stdcall.}](vkGetProc("vkMergeValidationCachesEXT"))
10703 vkGetValidationCacheDataEXT = cast[proc(device: VkDevice, validationCache: VkValidationCacheEXT, pDataSize: ptr uint , pData: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetValidationCacheDataEXT"))
10704
10705 # Load VK_NV_shading_rate_image
10706 proc loadVK_NV_shading_rate_image*() =
10707 vkCmdBindShadingRateImageNV = cast[proc(commandBuffer: VkCommandBuffer, imageView: VkImageView, imageLayout: VkImageLayout): void {.stdcall.}](vkGetProc("vkCmdBindShadingRateImageNV"))
10708 vkCmdSetViewportShadingRatePaletteNV = cast[proc(commandBuffer: VkCommandBuffer, firstViewport: uint32, viewportCount: uint32, pShadingRatePalettes: ptr VkShadingRatePaletteNV ): void {.stdcall.}](vkGetProc("vkCmdSetViewportShadingRatePaletteNV"))
10709 vkCmdSetCoarseSampleOrderNV = cast[proc(commandBuffer: VkCommandBuffer, sampleOrderType: VkCoarseSampleOrderTypeNV, customSampleOrderCount: uint32, pCustomSampleOrders: ptr VkCoarseSampleOrderCustomNV ): void {.stdcall.}](vkGetProc("vkCmdSetCoarseSampleOrderNV"))
10710
10711 # Load VK_NV_ray_tracing
10712 proc loadVK_NV_ray_tracing*() =
10713 vkCreateAccelerationStructureNV = cast[proc(device: VkDevice, pCreateInfo: ptr VkAccelerationStructureCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pAccelerationStructure: ptr VkAccelerationStructureNV ): VkResult {.stdcall.}](vkGetProc("vkCreateAccelerationStructureNV"))
10714 vkGetAccelerationStructureMemoryRequirementsNV = cast[proc(device: VkDevice, pInfo: ptr VkAccelerationStructureMemoryRequirementsInfoNV , pMemoryRequirements: ptr VkMemoryRequirements2KHR ): void {.stdcall.}](vkGetProc("vkGetAccelerationStructureMemoryRequirementsNV"))
10715 vkCmdBuildAccelerationStructureNV = cast[proc(commandBuffer: VkCommandBuffer, pInfo: ptr VkAccelerationStructureInfoNV , instanceData: VkBuffer, instanceOffset: VkDeviceSize, update: VkBool32, dst: VkAccelerationStructureKHR, src: VkAccelerationStructureKHR, scratch: VkBuffer, scratchOffset: VkDeviceSize): void {.stdcall.}](vkGetProc("vkCmdBuildAccelerationStructureNV"))
10716 vkCmdCopyAccelerationStructureNV = cast[proc(commandBuffer: VkCommandBuffer, dst: VkAccelerationStructureKHR, src: VkAccelerationStructureKHR, mode: VkCopyAccelerationStructureModeKHR): void {.stdcall.}](vkGetProc("vkCmdCopyAccelerationStructureNV"))
10717 vkCmdTraceRaysNV = cast[proc(commandBuffer: VkCommandBuffer, raygenShaderBindingTableBuffer: VkBuffer, raygenShaderBindingOffset: VkDeviceSize, missShaderBindingTableBuffer: VkBuffer, missShaderBindingOffset: VkDeviceSize, missShaderBindingStride: VkDeviceSize, hitShaderBindingTableBuffer: VkBuffer, hitShaderBindingOffset: VkDeviceSize, hitShaderBindingStride: VkDeviceSize, callableShaderBindingTableBuffer: VkBuffer, callableShaderBindingOffset: VkDeviceSize, callableShaderBindingStride: VkDeviceSize, width: uint32, height: uint32, depth: uint32): void {.stdcall.}](vkGetProc("vkCmdTraceRaysNV"))
10718 vkCreateRayTracingPipelinesNV = cast[proc(device: VkDevice, pipelineCache: VkPipelineCache, createInfoCount: uint32, pCreateInfos: ptr VkRayTracingPipelineCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pPipelines: ptr VkPipeline ): VkResult {.stdcall.}](vkGetProc("vkCreateRayTracingPipelinesNV"))
10719 vkGetAccelerationStructureHandleNV = cast[proc(device: VkDevice, accelerationStructure: VkAccelerationStructureKHR, dataSize: uint, pData: pointer ): VkResult {.stdcall.}](vkGetProc("vkGetAccelerationStructureHandleNV"))
10720 vkCompileDeferredNV = cast[proc(device: VkDevice, pipeline: VkPipeline, shader: uint32): VkResult {.stdcall.}](vkGetProc("vkCompileDeferredNV"))
10721
10722 # Load VK_EXT_external_memory_host
10723 proc loadVK_EXT_external_memory_host*() =
10724 vkGetMemoryHostPointerPropertiesEXT = cast[proc(device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBits, pHostPointer: pointer , pMemoryHostPointerProperties: ptr VkMemoryHostPointerPropertiesEXT ): VkResult {.stdcall.}](vkGetProc("vkGetMemoryHostPointerPropertiesEXT"))
10725
10726 # Load VK_AMD_buffer_marker
10727 proc loadVK_AMD_buffer_marker*() =
10728 vkCmdWriteBufferMarkerAMD = cast[proc(commandBuffer: VkCommandBuffer, pipelineStage: VkPipelineStageFlagBits, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, marker: uint32): void {.stdcall.}](vkGetProc("vkCmdWriteBufferMarkerAMD"))
10729
10730 # Load VK_EXT_calibrated_timestamps
10731 proc loadVK_EXT_calibrated_timestamps*() =
10732 vkGetPhysicalDeviceCalibrateableTimeDomainsEXT = cast[proc(physicalDevice: VkPhysicalDevice, pTimeDomainCount: ptr uint32 , pTimeDomains: ptr VkTimeDomainEXT ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceCalibrateableTimeDomainsEXT"))
10733 vkGetCalibratedTimestampsEXT = cast[proc(device: VkDevice, timestampCount: uint32, pTimestampInfos: ptr VkCalibratedTimestampInfoEXT , pTimestamps: ptr uint64 , pMaxDeviation: ptr uint64 ): VkResult {.stdcall.}](vkGetProc("vkGetCalibratedTimestampsEXT"))
10734
10735 # Load VK_NV_mesh_shader
10736 proc loadVK_NV_mesh_shader*() =
10737 vkCmdDrawMeshTasksNV = cast[proc(commandBuffer: VkCommandBuffer, taskCount: uint32, firstTask: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawMeshTasksNV"))
10738 vkCmdDrawMeshTasksIndirectNV = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, drawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawMeshTasksIndirectNV"))
10739 vkCmdDrawMeshTasksIndirectCountNV = cast[proc(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize, countBuffer: VkBuffer, countBufferOffset: VkDeviceSize, maxDrawCount: uint32, stride: uint32): void {.stdcall.}](vkGetProc("vkCmdDrawMeshTasksIndirectCountNV"))
10740
10741 # Load VK_NV_scissor_exclusive
10742 proc loadVK_NV_scissor_exclusive*() =
10743 vkCmdSetExclusiveScissorNV = cast[proc(commandBuffer: VkCommandBuffer, firstExclusiveScissor: uint32, exclusiveScissorCount: uint32, pExclusiveScissors: ptr VkRect2D ): void {.stdcall.}](vkGetProc("vkCmdSetExclusiveScissorNV"))
10744
10745 # Load VK_NV_device_diagnostic_checkpoints
10746 proc loadVK_NV_device_diagnostic_checkpoints*() =
10747 vkCmdSetCheckpointNV = cast[proc(commandBuffer: VkCommandBuffer, pCheckpointMarker: pointer ): void {.stdcall.}](vkGetProc("vkCmdSetCheckpointNV"))
10748 vkGetQueueCheckpointDataNV = cast[proc(queue: VkQueue, pCheckpointDataCount: ptr uint32 , pCheckpointData: ptr VkCheckpointDataNV ): void {.stdcall.}](vkGetProc("vkGetQueueCheckpointDataNV"))
10749
10750 # Load VK_INTEL_performance_query
10751 proc loadVK_INTEL_performance_query*() =
10752 vkInitializePerformanceApiINTEL = cast[proc(device: VkDevice, pInitializeInfo: ptr VkInitializePerformanceApiInfoINTEL ): VkResult {.stdcall.}](vkGetProc("vkInitializePerformanceApiINTEL"))
10753 vkUninitializePerformanceApiINTEL = cast[proc(device: VkDevice): void {.stdcall.}](vkGetProc("vkUninitializePerformanceApiINTEL"))
10754 vkCmdSetPerformanceMarkerINTEL = cast[proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkPerformanceMarkerInfoINTEL ): VkResult {.stdcall.}](vkGetProc("vkCmdSetPerformanceMarkerINTEL"))
10755 vkCmdSetPerformanceStreamMarkerINTEL = cast[proc(commandBuffer: VkCommandBuffer, pMarkerInfo: ptr VkPerformanceStreamMarkerInfoINTEL ): VkResult {.stdcall.}](vkGetProc("vkCmdSetPerformanceStreamMarkerINTEL"))
10756 vkCmdSetPerformanceOverrideINTEL = cast[proc(commandBuffer: VkCommandBuffer, pOverrideInfo: ptr VkPerformanceOverrideInfoINTEL ): VkResult {.stdcall.}](vkGetProc("vkCmdSetPerformanceOverrideINTEL"))
10757 vkAcquirePerformanceConfigurationINTEL = cast[proc(device: VkDevice, pAcquireInfo: ptr VkPerformanceConfigurationAcquireInfoINTEL , pConfiguration: ptr VkPerformanceConfigurationINTEL ): VkResult {.stdcall.}](vkGetProc("vkAcquirePerformanceConfigurationINTEL"))
10758 vkReleasePerformanceConfigurationINTEL = cast[proc(device: VkDevice, configuration: VkPerformanceConfigurationINTEL): VkResult {.stdcall.}](vkGetProc("vkReleasePerformanceConfigurationINTEL"))
10759 vkQueueSetPerformanceConfigurationINTEL = cast[proc(queue: VkQueue, configuration: VkPerformanceConfigurationINTEL): VkResult {.stdcall.}](vkGetProc("vkQueueSetPerformanceConfigurationINTEL"))
10760 vkGetPerformanceParameterINTEL = cast[proc(device: VkDevice, parameter: VkPerformanceParameterTypeINTEL, pValue: ptr VkPerformanceValueINTEL ): VkResult {.stdcall.}](vkGetProc("vkGetPerformanceParameterINTEL"))
10761
10762 # Load VK_AMD_display_native_hdr
10763 proc loadVK_AMD_display_native_hdr*() =
10764 vkSetLocalDimmingAMD = cast[proc(device: VkDevice, swapChain: VkSwapchainKHR, localDimmingEnable: VkBool32): void {.stdcall.}](vkGetProc("vkSetLocalDimmingAMD"))
10765
10766 # Load VK_FUCHSIA_imagepipe_surface
10767 proc loadVK_FUCHSIA_imagepipe_surface*() =
10768 vkCreateImagePipeSurfaceFUCHSIA = cast[proc(instance: VkInstance, pCreateInfo: ptr VkImagePipeSurfaceCreateInfoFUCHSIA , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateImagePipeSurfaceFUCHSIA"))
10769
10770 # Load VK_EXT_metal_surface
10771 proc loadVK_EXT_metal_surface*() =
10772 vkCreateMetalSurfaceEXT = cast[proc(instance: VkInstance, pCreateInfo: ptr VkMetalSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateMetalSurfaceEXT"))
10773
10774 # Load VK_EXT_tooling_info
10775 proc loadVK_EXT_tooling_info*() =
10776 vkGetPhysicalDeviceToolPropertiesEXT = cast[proc(physicalDevice: VkPhysicalDevice, pToolCount: ptr uint32 , pToolProperties: ptr VkPhysicalDeviceToolPropertiesEXT ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceToolPropertiesEXT"))
10777
10778 # Load VK_NV_cooperative_matrix
10779 proc loadVK_NV_cooperative_matrix*() =
10780 vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = cast[proc(physicalDevice: VkPhysicalDevice, pPropertyCount: ptr uint32 , pProperties: ptr VkCooperativeMatrixPropertiesNV ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceCooperativeMatrixPropertiesNV"))
10781
10782 # Load VK_NV_coverage_reduction_mode
10783 proc loadVK_NV_coverage_reduction_mode*() =
10784 vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = cast[proc(physicalDevice: VkPhysicalDevice, pCombinationCount: ptr uint32 , pCombinations: ptr VkFramebufferMixedSamplesCombinationNV ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV"))
10785
10786 # Load VK_EXT_full_screen_exclusive
10787 proc loadVK_EXT_full_screen_exclusive*() =
10788 vkGetPhysicalDeviceSurfacePresentModes2EXT = cast[proc(physicalDevice: VkPhysicalDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pPresentModeCount: ptr uint32 , pPresentModes: ptr VkPresentModeKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPhysicalDeviceSurfacePresentModes2EXT"))
10789 vkAcquireFullScreenExclusiveModeEXT = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}](vkGetProc("vkAcquireFullScreenExclusiveModeEXT"))
10790 vkReleaseFullScreenExclusiveModeEXT = cast[proc(device: VkDevice, swapchain: VkSwapchainKHR): VkResult {.stdcall.}](vkGetProc("vkReleaseFullScreenExclusiveModeEXT"))
10791 vkGetDeviceGroupSurfacePresentModes2EXT = cast[proc(device: VkDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupSurfacePresentModes2EXT"))
10792 vkGetDeviceGroupSurfacePresentModes2EXT = cast[proc(device: VkDevice, pSurfaceInfo: ptr VkPhysicalDeviceSurfaceInfo2KHR , pModes: ptr VkDeviceGroupPresentModeFlagsKHR ): VkResult {.stdcall.}](vkGetProc("vkGetDeviceGroupSurfacePresentModes2EXT"))
10793
10794 # Load VK_EXT_headless_surface
10795 proc loadVK_EXT_headless_surface*() =
10796 vkCreateHeadlessSurfaceEXT = cast[proc(instance: VkInstance, pCreateInfo: ptr VkHeadlessSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateHeadlessSurfaceEXT"))
10797
10798 # Load VK_EXT_line_rasterization
10799 proc loadVK_EXT_line_rasterization*() =
10800 vkCmdSetLineStippleEXT = cast[proc(commandBuffer: VkCommandBuffer, lineStippleFactor: uint32, lineStipplePattern: uint16): void {.stdcall.}](vkGetProc("vkCmdSetLineStippleEXT"))
10801
10802 # Load VK_EXT_extended_dynamic_state
10803 proc loadVK_EXT_extended_dynamic_state*() =
10804 vkCmdSetCullModeEXT = cast[proc(commandBuffer: VkCommandBuffer, cullMode: VkCullModeFlags): void {.stdcall.}](vkGetProc("vkCmdSetCullModeEXT"))
10805 vkCmdSetFrontFaceEXT = cast[proc(commandBuffer: VkCommandBuffer, frontFace: VkFrontFace): void {.stdcall.}](vkGetProc("vkCmdSetFrontFaceEXT"))
10806 vkCmdSetPrimitiveTopologyEXT = cast[proc(commandBuffer: VkCommandBuffer, primitiveTopology: VkPrimitiveTopology): void {.stdcall.}](vkGetProc("vkCmdSetPrimitiveTopologyEXT"))
10807 vkCmdSetViewportWithCountEXT = cast[proc(commandBuffer: VkCommandBuffer, viewportCount: uint32, pViewports: ptr VkViewport ): void {.stdcall.}](vkGetProc("vkCmdSetViewportWithCountEXT"))
10808 vkCmdSetScissorWithCountEXT = cast[proc(commandBuffer: VkCommandBuffer, scissorCount: uint32, pScissors: ptr VkRect2D ): void {.stdcall.}](vkGetProc("vkCmdSetScissorWithCountEXT"))
10809 vkCmdBindVertexBuffers2EXT = cast[proc(commandBuffer: VkCommandBuffer, firstBinding: uint32, bindingCount: uint32, pBuffers: ptr VkBuffer , pOffsets: ptr VkDeviceSize , pSizes: ptr VkDeviceSize , pStrides: ptr VkDeviceSize ): void {.stdcall.}](vkGetProc("vkCmdBindVertexBuffers2EXT"))
10810 vkCmdSetDepthTestEnableEXT = cast[proc(commandBuffer: VkCommandBuffer, depthTestEnable: VkBool32): void {.stdcall.}](vkGetProc("vkCmdSetDepthTestEnableEXT"))
10811 vkCmdSetDepthWriteEnableEXT = cast[proc(commandBuffer: VkCommandBuffer, depthWriteEnable: VkBool32): void {.stdcall.}](vkGetProc("vkCmdSetDepthWriteEnableEXT"))
10812 vkCmdSetDepthCompareOpEXT = cast[proc(commandBuffer: VkCommandBuffer, depthCompareOp: VkCompareOp): void {.stdcall.}](vkGetProc("vkCmdSetDepthCompareOpEXT"))
10813 vkCmdSetDepthBoundsTestEnableEXT = cast[proc(commandBuffer: VkCommandBuffer, depthBoundsTestEnable: VkBool32): void {.stdcall.}](vkGetProc("vkCmdSetDepthBoundsTestEnableEXT"))
10814 vkCmdSetStencilTestEnableEXT = cast[proc(commandBuffer: VkCommandBuffer, stencilTestEnable: VkBool32): void {.stdcall.}](vkGetProc("vkCmdSetStencilTestEnableEXT"))
10815 vkCmdSetStencilOpEXT = cast[proc(commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, failOp: VkStencilOp, passOp: VkStencilOp, depthFailOp: VkStencilOp, compareOp: VkCompareOp): void {.stdcall.}](vkGetProc("vkCmdSetStencilOpEXT"))
10816
10817 # Load VK_KHR_deferred_host_operations
10818 proc loadVK_KHR_deferred_host_operations*() =
10819 vkCreateDeferredOperationKHR = cast[proc(device: VkDevice, pAllocator: ptr VkAllocationCallbacks , pDeferredOperation: ptr VkDeferredOperationKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateDeferredOperationKHR"))
10820 vkDestroyDeferredOperationKHR = cast[proc(device: VkDevice, operation: VkDeferredOperationKHR, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyDeferredOperationKHR"))
10821 vkGetDeferredOperationMaxConcurrencyKHR = cast[proc(device: VkDevice, operation: VkDeferredOperationKHR): uint32 {.stdcall.}](vkGetProc("vkGetDeferredOperationMaxConcurrencyKHR"))
10822 vkGetDeferredOperationResultKHR = cast[proc(device: VkDevice, operation: VkDeferredOperationKHR): VkResult {.stdcall.}](vkGetProc("vkGetDeferredOperationResultKHR"))
10823 vkDeferredOperationJoinKHR = cast[proc(device: VkDevice, operation: VkDeferredOperationKHR): VkResult {.stdcall.}](vkGetProc("vkDeferredOperationJoinKHR"))
10824
10825 # Load VK_KHR_pipeline_executable_properties
10826 proc loadVK_KHR_pipeline_executable_properties*() =
10827 vkGetPipelineExecutablePropertiesKHR = cast[proc(device: VkDevice, pPipelineInfo: ptr VkPipelineInfoKHR , pExecutableCount: ptr uint32 , pProperties: ptr VkPipelineExecutablePropertiesKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPipelineExecutablePropertiesKHR"))
10828 vkGetPipelineExecutableStatisticsKHR = cast[proc(device: VkDevice, pExecutableInfo: ptr VkPipelineExecutableInfoKHR , pStatisticCount: ptr uint32 , pStatistics: ptr VkPipelineExecutableStatisticKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPipelineExecutableStatisticsKHR"))
10829 vkGetPipelineExecutableInternalRepresentationsKHR = cast[proc(device: VkDevice, pExecutableInfo: ptr VkPipelineExecutableInfoKHR , pInternalRepresentationCount: ptr uint32 , pInternalRepresentations: ptr VkPipelineExecutableInternalRepresentationKHR ): VkResult {.stdcall.}](vkGetProc("vkGetPipelineExecutableInternalRepresentationsKHR"))
10830
10831 # Load VK_NV_device_generated_commands
10832 proc loadVK_NV_device_generated_commands*() =
10833 vkGetGeneratedCommandsMemoryRequirementsNV = cast[proc(device: VkDevice, pInfo: ptr VkGeneratedCommandsMemoryRequirementsInfoNV , pMemoryRequirements: ptr VkMemoryRequirements2 ): void {.stdcall.}](vkGetProc("vkGetGeneratedCommandsMemoryRequirementsNV"))
10834 vkCmdPreprocessGeneratedCommandsNV = cast[proc(commandBuffer: VkCommandBuffer, pGeneratedCommandsInfo: ptr VkGeneratedCommandsInfoNV ): void {.stdcall.}](vkGetProc("vkCmdPreprocessGeneratedCommandsNV"))
10835 vkCmdExecuteGeneratedCommandsNV = cast[proc(commandBuffer: VkCommandBuffer, isPreprocessed: VkBool32, pGeneratedCommandsInfo: ptr VkGeneratedCommandsInfoNV ): void {.stdcall.}](vkGetProc("vkCmdExecuteGeneratedCommandsNV"))
10836 vkCmdBindPipelineShaderGroupNV = cast[proc(commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline, groupIndex: uint32): void {.stdcall.}](vkGetProc("vkCmdBindPipelineShaderGroupNV"))
10837 vkCreateIndirectCommandsLayoutNV = cast[proc(device: VkDevice, pCreateInfo: ptr VkIndirectCommandsLayoutCreateInfoNV , pAllocator: ptr VkAllocationCallbacks , pIndirectCommandsLayout: ptr VkIndirectCommandsLayoutNV ): VkResult {.stdcall.}](vkGetProc("vkCreateIndirectCommandsLayoutNV"))
10838 vkDestroyIndirectCommandsLayoutNV = cast[proc(device: VkDevice, indirectCommandsLayout: VkIndirectCommandsLayoutNV, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyIndirectCommandsLayoutNV"))
10839
10840 # Load VK_EXT_private_data
10841 proc loadVK_EXT_private_data*() =
10842 vkCreatePrivateDataSlotEXT = cast[proc(device: VkDevice, pCreateInfo: ptr VkPrivateDataSlotCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pPrivateDataSlot: ptr VkPrivateDataSlotEXT ): VkResult {.stdcall.}](vkGetProc("vkCreatePrivateDataSlotEXT"))
10843 vkDestroyPrivateDataSlotEXT = cast[proc(device: VkDevice, privateDataSlot: VkPrivateDataSlotEXT, pAllocator: ptr VkAllocationCallbacks ): void {.stdcall.}](vkGetProc("vkDestroyPrivateDataSlotEXT"))
10844 vkSetPrivateDataEXT = cast[proc(device: VkDevice, objectType: VkObjectType, objectHandle: uint64, privateDataSlot: VkPrivateDataSlotEXT, data: uint64): VkResult {.stdcall.}](vkGetProc("vkSetPrivateDataEXT"))
10845 vkGetPrivateDataEXT = cast[proc(device: VkDevice, objectType: VkObjectType, objectHandle: uint64, privateDataSlot: VkPrivateDataSlotEXT, pData: ptr uint64 ): void {.stdcall.}](vkGetProc("vkGetPrivateDataEXT"))
10846
10847 # Load VK_EXT_directfb_surface
10848 proc loadVK_EXT_directfb_surface*() =
10849 vkCreateDirectFBSurfaceEXT = cast[proc(instance: VkInstance, pCreateInfo: ptr VkDirectFBSurfaceCreateInfoEXT , pAllocator: ptr VkAllocationCallbacks , pSurface: ptr VkSurfaceKHR ): VkResult {.stdcall.}](vkGetProc("vkCreateDirectFBSurfaceEXT"))
10850 vkGetPhysicalDeviceDirectFBPresentationSupportEXT = cast[proc(physicalDevice: VkPhysicalDevice, queueFamilyIndex: uint32, dfb: ptr IDirectFB ): VkBool32 {.stdcall.}](vkGetProc("vkGetPhysicalDeviceDirectFBPresentationSupportEXT"))
10851
10852 proc vkInit*(load1_0: bool = true, load1_1: bool = true): bool =
10853 if load1_0:
10854 vkLoad1_0()
10855 when not defined(macosx):
10856 if load1_1:
10857 vkLoad1_1()
10858 return true