forked from Eiton/vulkan
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.go
More file actions
6744 lines (5940 loc) · 294 KB
/
types.go
File metadata and controls
6744 lines (5940 loc) · 294 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS.
// WARNING: This file has automatically been generated on Tue, 25 Nov 2025 19:14:43 CST.
// Code generated by https://git.io/c-for-go. DO NOT EDIT.
package vulkan
/*
#cgo CFLAGS: -I. -DVK_NO_PROTOTYPES
#include "vulkan/vulkan.h"
#include "vulkan/vulkan_beta.h"
#include "vk_wrapper.h"
#include "vk_bridge.h"
#include <stdlib.h>
#include "cgo_helpers.h"
*/
import "C"
import "unsafe"
// PhysicalDevicePortabilitySubsetFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPhysicalDevicePortabilitySubsetFeaturesKHR
type PhysicalDevicePortabilitySubsetFeatures struct {
SType StructureType
PNext unsafe.Pointer
ConstantAlphaColorBlendFactors Bool32
Events Bool32
ImageViewFormatReinterpretation Bool32
ImageViewFormatSwizzle Bool32
ImageView2DOn3DImage Bool32
MultisampleArrayImage Bool32
MutableComparisonSamplers Bool32
PointPolygons Bool32
SamplerMipLodBias Bool32
SeparateStencilMaskRef Bool32
ShaderSampleRateInterpolationFunctions Bool32
TessellationIsolines Bool32
TessellationPointMode Bool32
TriangleFans Bool32
VertexAttributeAccessBeyondStride Bool32
}
// PhysicalDevicePortabilitySubsetProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPhysicalDevicePortabilitySubsetPropertiesKHR
type PhysicalDevicePortabilitySubsetProperties struct {
SType StructureType
PNext unsafe.Pointer
MinVertexInputBindingStrideAlignment uint32
}
// Bool32 type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBool32.html
type Bool32 uint32
// DeviceAddress type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceAddress.html
type DeviceAddress uint64
// DeviceSize type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceSize.html
type DeviceSize uint64
// Flags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFlags.html
type Flags uint32
// SampleMask type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSampleMask.html
type SampleMask uint32
// Buffer as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBuffer.html
type Buffer C.VkBuffer
// Image as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImage.html
type Image C.VkImage
// Instance as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkInstance.html
type Instance C.VkInstance
// PhysicalDevice as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDevice.html
type PhysicalDevice C.VkPhysicalDevice
// Device as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDevice.html
type Device C.VkDevice
// Queue as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueue.html
type Queue C.VkQueue
// Semaphore as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSemaphore.html
type Semaphore C.VkSemaphore
// CommandBuffer as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBuffer.html
type CommandBuffer C.VkCommandBuffer
// Fence as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFence.html
type Fence C.VkFence
// DeviceMemory as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceMemory.html
type DeviceMemory C.VkDeviceMemory
// Event as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkEvent.html
type Event C.VkEvent
// QueryPool as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryPool.html
type QueryPool C.VkQueryPool
// BufferView as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferView.html
type BufferView C.VkBufferView
// ImageView as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageView.html
type ImageView C.VkImageView
// ShaderModule as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShaderModule.html
type ShaderModule C.VkShaderModule
// PipelineCache as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCache.html
type PipelineCache C.VkPipelineCache
// PipelineLayout as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineLayout.html
type PipelineLayout C.VkPipelineLayout
// Pipeline as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipeline.html
type Pipeline C.VkPipeline
// RenderPass as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRenderPass.html
type RenderPass C.VkRenderPass
// DescriptorSetLayout as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetLayout.html
type DescriptorSetLayout C.VkDescriptorSetLayout
// Sampler as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSampler.html
type Sampler C.VkSampler
// DescriptorSet as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSet.html
type DescriptorSet C.VkDescriptorSet
// DescriptorPool as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorPool.html
type DescriptorPool C.VkDescriptorPool
// Framebuffer as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFramebuffer.html
type Framebuffer C.VkFramebuffer
// CommandPool as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPool.html
type CommandPool C.VkCommandPool
// AccessFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAccessFlags.html
type AccessFlags uint32
// ImageAspectFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageAspectFlags.html
type ImageAspectFlags uint32
// FormatFeatureFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFormatFeatureFlags.html
type FormatFeatureFlags uint32
// ImageCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageCreateFlags.html
type ImageCreateFlags uint32
// SampleCountFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSampleCountFlags.html
type SampleCountFlags uint32
// ImageUsageFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageUsageFlags.html
type ImageUsageFlags uint32
// InstanceCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkInstanceCreateFlags.html
type InstanceCreateFlags uint32
// MemoryHeapFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryHeapFlags.html
type MemoryHeapFlags uint32
// MemoryPropertyFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryPropertyFlags.html
type MemoryPropertyFlags uint32
// QueueFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueueFlags.html
type QueueFlags uint32
// DeviceCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceCreateFlags.html
type DeviceCreateFlags uint32
// DeviceQueueCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceQueueCreateFlags.html
type DeviceQueueCreateFlags uint32
// PipelineStageFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineStageFlags.html
type PipelineStageFlags uint32
// MemoryMapFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryMapFlags.html
type MemoryMapFlags uint32
// SparseMemoryBindFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseMemoryBindFlags.html
type SparseMemoryBindFlags uint32
// SparseImageFormatFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageFormatFlags.html
type SparseImageFormatFlags uint32
// FenceCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFenceCreateFlags.html
type FenceCreateFlags uint32
// SemaphoreCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSemaphoreCreateFlags.html
type SemaphoreCreateFlags uint32
// EventCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkEventCreateFlags.html
type EventCreateFlags uint32
// QueryPipelineStatisticFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryPipelineStatisticFlags.html
type QueryPipelineStatisticFlags uint32
// QueryPoolCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryPoolCreateFlags.html
type QueryPoolCreateFlags uint32
// QueryResultFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryResultFlags.html
type QueryResultFlags uint32
// BufferCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCreateFlags.html
type BufferCreateFlags uint32
// BufferUsageFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferUsageFlags.html
type BufferUsageFlags uint32
// BufferViewCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferViewCreateFlags.html
type BufferViewCreateFlags uint32
// ImageViewCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageViewCreateFlags.html
type ImageViewCreateFlags uint32
// ShaderModuleCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShaderModuleCreateFlags.html
type ShaderModuleCreateFlags uint32
// PipelineCacheCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCacheCreateFlags.html
type PipelineCacheCreateFlags uint32
// ColorComponentFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkColorComponentFlags.html
type ColorComponentFlags uint32
// PipelineCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCreateFlags.html
type PipelineCreateFlags uint32
// PipelineShaderStageCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineShaderStageCreateFlags.html
type PipelineShaderStageCreateFlags uint32
// CullModeFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCullModeFlags.html
type CullModeFlags uint32
// PipelineVertexInputStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineVertexInputStateCreateFlags.html
type PipelineVertexInputStateCreateFlags uint32
// PipelineInputAssemblyStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineInputAssemblyStateCreateFlags.html
type PipelineInputAssemblyStateCreateFlags uint32
// PipelineTessellationStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineTessellationStateCreateFlags.html
type PipelineTessellationStateCreateFlags uint32
// PipelineViewportStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineViewportStateCreateFlags.html
type PipelineViewportStateCreateFlags uint32
// PipelineRasterizationStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineRasterizationStateCreateFlags.html
type PipelineRasterizationStateCreateFlags uint32
// PipelineMultisampleStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineMultisampleStateCreateFlags.html
type PipelineMultisampleStateCreateFlags uint32
// PipelineDepthStencilStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineDepthStencilStateCreateFlags.html
type PipelineDepthStencilStateCreateFlags uint32
// PipelineColorBlendStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineColorBlendStateCreateFlags.html
type PipelineColorBlendStateCreateFlags uint32
// PipelineDynamicStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineDynamicStateCreateFlags.html
type PipelineDynamicStateCreateFlags uint32
// PipelineLayoutCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineLayoutCreateFlags.html
type PipelineLayoutCreateFlags uint32
// ShaderStageFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShaderStageFlags.html
type ShaderStageFlags uint32
// SamplerCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerCreateFlags.html
type SamplerCreateFlags uint32
// DescriptorPoolCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorPoolCreateFlags.html
type DescriptorPoolCreateFlags uint32
// DescriptorPoolResetFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorPoolResetFlags.html
type DescriptorPoolResetFlags uint32
// DescriptorSetLayoutCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetLayoutCreateFlags.html
type DescriptorSetLayoutCreateFlags uint32
// AttachmentDescriptionFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentDescriptionFlags.html
type AttachmentDescriptionFlags uint32
// DependencyFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDependencyFlags.html
type DependencyFlags uint32
// FramebufferCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFramebufferCreateFlags.html
type FramebufferCreateFlags uint32
// RenderPassCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRenderPassCreateFlags.html
type RenderPassCreateFlags uint32
// SubpassDescriptionFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubpassDescriptionFlags.html
type SubpassDescriptionFlags uint32
// CommandPoolCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolCreateFlags.html
type CommandPoolCreateFlags uint32
// CommandPoolResetFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolResetFlags.html
type CommandPoolResetFlags uint32
// CommandBufferUsageFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferUsageFlags.html
type CommandBufferUsageFlags uint32
// QueryControlFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryControlFlags.html
type QueryControlFlags uint32
// CommandBufferResetFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferResetFlags.html
type CommandBufferResetFlags uint32
// StencilFaceFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkStencilFaceFlags.html
type StencilFaceFlags uint32
// Extent2D as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExtent2D.html
type Extent2D struct {
Width uint32
Height uint32
}
// Extent3D as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExtent3D.html
type Extent3D struct {
Width uint32
Height uint32
Depth uint32
}
// Offset2D as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkOffset2D.html
type Offset2D struct {
X int32
Y int32
}
// Offset3D as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkOffset3D.html
type Offset3D struct {
X int32
Y int32
Z int32
}
// Rect2D as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRect2D.html
type Rect2D struct {
Offset Offset2D
Extent Extent2D
}
// BaseInStructure as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBaseInStructure.html
type BaseInStructure struct {
SType StructureType
PNext []BaseInStructure
refeae401a9 *C.VkBaseInStructure
allocseae401a9 interface{}
}
// BaseOutStructure as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBaseOutStructure.html
type BaseOutStructure struct {
SType StructureType
PNext []BaseOutStructure
refd536fcd0 *C.VkBaseOutStructure
allocsd536fcd0 interface{}
}
// BufferMemoryBarrier as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferMemoryBarrier.html
type BufferMemoryBarrier struct {
SType StructureType
PNext unsafe.Pointer
SrcAccessMask AccessFlags
DstAccessMask AccessFlags
SrcQueueFamilyIndex uint32
DstQueueFamilyIndex uint32
Buffer Buffer
Offset DeviceSize
Size DeviceSize
refeaf4700b *C.VkBufferMemoryBarrier
allocseaf4700b interface{}
}
// DispatchIndirectCommand as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDispatchIndirectCommand.html
type DispatchIndirectCommand struct {
X uint32
Y uint32
Z uint32
}
// DrawIndexedIndirectCommand as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDrawIndexedIndirectCommand.html
type DrawIndexedIndirectCommand struct {
IndexCount uint32
InstanceCount uint32
FirstIndex uint32
VertexOffset int32
FirstInstance uint32
}
// DrawIndirectCommand as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDrawIndirectCommand.html
type DrawIndirectCommand struct {
VertexCount uint32
InstanceCount uint32
FirstVertex uint32
FirstInstance uint32
}
// ImageSubresourceRange as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageSubresourceRange.html
type ImageSubresourceRange struct {
AspectMask ImageAspectFlags
BaseMipLevel uint32
LevelCount uint32
BaseArrayLayer uint32
LayerCount uint32
}
// ImageMemoryBarrier as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageMemoryBarrier.html
type ImageMemoryBarrier struct {
SType StructureType
PNext unsafe.Pointer
SrcAccessMask AccessFlags
DstAccessMask AccessFlags
OldLayout ImageLayout
NewLayout ImageLayout
SrcQueueFamilyIndex uint32
DstQueueFamilyIndex uint32
Image Image
SubresourceRange ImageSubresourceRange
refd52734ec *C.VkImageMemoryBarrier
allocsd52734ec interface{}
}
// MemoryBarrier as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryBarrier.html
type MemoryBarrier struct {
SType StructureType
PNext unsafe.Pointer
SrcAccessMask AccessFlags
DstAccessMask AccessFlags
}
// PipelineCacheHeaderVersionOne as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCacheHeaderVersionOne.html
type PipelineCacheHeaderVersionOne struct {
HeaderSize uint32
HeaderVersion PipelineCacheHeaderVersion
VendorID uint32
DeviceID uint32
PipelineCacheUUID [16]byte
refa2162ec9 *C.VkPipelineCacheHeaderVersionOne
allocsa2162ec9 interface{}
}
// AllocationCallbacks as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAllocationCallbacks.html
type AllocationCallbacks C.VkAllocationCallbacks
// ApplicationInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkApplicationInfo.html
type ApplicationInfo struct {
SType StructureType
PNext unsafe.Pointer
PApplicationName string
ApplicationVersion uint32
PEngineName string
EngineVersion uint32
ApiVersion uint32
refb0af7378 *C.VkApplicationInfo
allocsb0af7378 interface{}
}
// FormatProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFormatProperties.html
type FormatProperties struct {
LinearTilingFeatures FormatFeatureFlags
OptimalTilingFeatures FormatFeatureFlags
BufferFeatures FormatFeatureFlags
}
// ImageFormatProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageFormatProperties.html
type ImageFormatProperties struct {
MaxExtent Extent3D
MaxMipLevels uint32
MaxArrayLayers uint32
SampleCounts SampleCountFlags
MaxResourceSize DeviceSize
}
// InstanceCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkInstanceCreateInfo.html
type InstanceCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags InstanceCreateFlags
PApplicationInfo *ApplicationInfo
EnabledLayerCount uint32
PpEnabledLayerNames []string
EnabledExtensionCount uint32
PpEnabledExtensionNames []string
ref9b760798 *C.VkInstanceCreateInfo
allocs9b760798 interface{}
}
// MemoryHeap as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryHeap.html
type MemoryHeap struct {
Size DeviceSize
Flags MemoryHeapFlags
}
// MemoryType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryType.html
type MemoryType struct {
PropertyFlags MemoryPropertyFlags
HeapIndex uint32
}
// PhysicalDeviceFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceFeatures.html
type PhysicalDeviceFeatures struct {
RobustBufferAccess Bool32
FullDrawIndexUint32 Bool32
ImageCubeArray Bool32
IndependentBlend Bool32
GeometryShader Bool32
TessellationShader Bool32
SampleRateShading Bool32
DualSrcBlend Bool32
LogicOp Bool32
MultiDrawIndirect Bool32
DrawIndirectFirstInstance Bool32
DepthClamp Bool32
DepthBiasClamp Bool32
FillModeNonSolid Bool32
DepthBounds Bool32
WideLines Bool32
LargePoints Bool32
AlphaToOne Bool32
MultiViewport Bool32
SamplerAnisotropy Bool32
TextureCompressionETC2 Bool32
TextureCompressionASTC_LDR Bool32
TextureCompressionBC Bool32
OcclusionQueryPrecise Bool32
PipelineStatisticsQuery Bool32
VertexPipelineStoresAndAtomics Bool32
FragmentStoresAndAtomics Bool32
ShaderTessellationAndGeometryPointSize Bool32
ShaderImageGatherExtended Bool32
ShaderStorageImageExtendedFormats Bool32
ShaderStorageImageMultisample Bool32
ShaderStorageImageReadWithoutFormat Bool32
ShaderStorageImageWriteWithoutFormat Bool32
ShaderUniformBufferArrayDynamicIndexing Bool32
ShaderSampledImageArrayDynamicIndexing Bool32
ShaderStorageBufferArrayDynamicIndexing Bool32
ShaderStorageImageArrayDynamicIndexing Bool32
ShaderClipDistance Bool32
ShaderCullDistance Bool32
ShaderFloat64 Bool32
ShaderInt64 Bool32
ShaderInt16 Bool32
ShaderResourceResidency Bool32
ShaderResourceMinLod Bool32
SparseBinding Bool32
SparseResidencyBuffer Bool32
SparseResidencyImage2D Bool32
SparseResidencyImage3D Bool32
SparseResidency2Samples Bool32
SparseResidency4Samples Bool32
SparseResidency8Samples Bool32
SparseResidency16Samples Bool32
SparseResidencyAliased Bool32
VariableMultisampleRate Bool32
InheritedQueries Bool32
}
// PhysicalDeviceLimits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceLimits.html
type PhysicalDeviceLimits struct {
MaxImageDimension1D uint32
MaxImageDimension2D uint32
MaxImageDimension3D uint32
MaxImageDimensionCube uint32
MaxImageArrayLayers uint32
MaxTexelBufferElements uint32
MaxUniformBufferRange uint32
MaxStorageBufferRange uint32
MaxPushConstantsSize uint32
MaxMemoryAllocationCount uint32
MaxSamplerAllocationCount uint32
BufferImageGranularity DeviceSize
SparseAddressSpaceSize DeviceSize
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 [3]uint32
MaxComputeWorkGroupInvocations uint32
MaxComputeWorkGroupSize [3]uint32
SubPixelPrecisionBits uint32
SubTexelPrecisionBits uint32
MipmapPrecisionBits uint32
MaxDrawIndexedIndexValue uint32
MaxDrawIndirectCount uint32
MaxSamplerLodBias float32
MaxSamplerAnisotropy float32
MaxViewports uint32
MaxViewportDimensions [2]uint32
ViewportBoundsRange [2]float32
ViewportSubPixelBits uint32
MinMemoryMapAlignment uint64
MinTexelBufferOffsetAlignment DeviceSize
MinUniformBufferOffsetAlignment DeviceSize
MinStorageBufferOffsetAlignment DeviceSize
MinTexelOffset int32
MaxTexelOffset uint32
MinTexelGatherOffset int32
MaxTexelGatherOffset uint32
MinInterpolationOffset float32
MaxInterpolationOffset float32
SubPixelInterpolationOffsetBits uint32
MaxFramebufferWidth uint32
MaxFramebufferHeight uint32
MaxFramebufferLayers uint32
FramebufferColorSampleCounts SampleCountFlags
FramebufferDepthSampleCounts SampleCountFlags
FramebufferStencilSampleCounts SampleCountFlags
FramebufferNoAttachmentsSampleCounts SampleCountFlags
MaxColorAttachments uint32
SampledImageColorSampleCounts SampleCountFlags
SampledImageIntegerSampleCounts SampleCountFlags
SampledImageDepthSampleCounts SampleCountFlags
SampledImageStencilSampleCounts SampleCountFlags
StorageImageSampleCounts SampleCountFlags
MaxSampleMaskWords uint32
TimestampComputeAndGraphics Bool32
TimestampPeriod float32
MaxClipDistances uint32
MaxCullDistances uint32
MaxCombinedClipAndCullDistances uint32
DiscreteQueuePriorities uint32
PointSizeRange [2]float32
LineWidthRange [2]float32
PointSizeGranularity float32
LineWidthGranularity float32
StrictLines Bool32
StandardSampleLocations Bool32
OptimalBufferCopyOffsetAlignment DeviceSize
OptimalBufferCopyRowPitchAlignment DeviceSize
NonCoherentAtomSize DeviceSize
}
// PhysicalDeviceMemoryProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceMemoryProperties.html
type PhysicalDeviceMemoryProperties struct {
MemoryTypeCount uint32
MemoryTypes [32]MemoryType
MemoryHeapCount uint32
MemoryHeaps [16]MemoryHeap
}
// PhysicalDeviceSparseProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceSparseProperties.html
type PhysicalDeviceSparseProperties struct {
ResidencyStandard2DBlockShape Bool32
ResidencyStandard2DMultisampleBlockShape Bool32
ResidencyStandard3DBlockShape Bool32
ResidencyAlignedMipSize Bool32
ResidencyNonResidentStrict Bool32
}
// PhysicalDeviceProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceProperties.html
type PhysicalDeviceProperties struct {
ApiVersion uint32
DriverVersion uint32
VendorID uint32
DeviceID uint32
DeviceType PhysicalDeviceType
DeviceName [256]byte
PipelineCacheUUID [16]byte
Limits PhysicalDeviceLimits
SparseProperties PhysicalDeviceSparseProperties
ref1080ca9d *C.VkPhysicalDeviceProperties
allocs1080ca9d interface{}
}
// QueueFamilyProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueueFamilyProperties.html
type QueueFamilyProperties struct {
QueueFlags QueueFlags
QueueCount uint32
TimestampValidBits uint32
MinImageTransferGranularity Extent3D
}
// DeviceQueueCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceQueueCreateInfo.html
type DeviceQueueCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags DeviceQueueCreateFlags
QueueFamilyIndex uint32
QueueCount uint32
PQueuePriorities []float32
ref6087b30d *C.VkDeviceQueueCreateInfo
allocs6087b30d interface{}
}
// DeviceCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceCreateInfo.html
type DeviceCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags DeviceCreateFlags
QueueCreateInfoCount uint32
PQueueCreateInfos []DeviceQueueCreateInfo
EnabledLayerCount uint32
PpEnabledLayerNames []string
EnabledExtensionCount uint32
PpEnabledExtensionNames []string
PEnabledFeatures []PhysicalDeviceFeatures
refc0d8b997 *C.VkDeviceCreateInfo
allocsc0d8b997 interface{}
}
// ExtensionProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExtensionProperties.html
type ExtensionProperties struct {
ExtensionName [256]byte
SpecVersion uint32
ref2f001956 *C.VkExtensionProperties
allocs2f001956 interface{}
}
// LayerProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkLayerProperties.html
type LayerProperties struct {
LayerName [256]byte
SpecVersion uint32
ImplementationVersion uint32
Description [256]byte
refd9407ce7 *C.VkLayerProperties
allocsd9407ce7 interface{}
}
// SubmitInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubmitInfo.html
type SubmitInfo struct {
SType StructureType
PNext unsafe.Pointer
WaitSemaphoreCount uint32
PWaitSemaphores []Semaphore
PWaitDstStageMask []PipelineStageFlags
CommandBufferCount uint32
PCommandBuffers []CommandBuffer
SignalSemaphoreCount uint32
PSignalSemaphores []Semaphore
ref22884025 *C.VkSubmitInfo
allocs22884025 interface{}
}
// MappedMemoryRange as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMappedMemoryRange.html
type MappedMemoryRange struct {
SType StructureType
PNext unsafe.Pointer
Memory DeviceMemory
Offset DeviceSize
Size DeviceSize
ref42a37320 *C.VkMappedMemoryRange
allocs42a37320 interface{}
}
// MemoryAllocateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryAllocateInfo.html
type MemoryAllocateInfo struct {
SType StructureType
PNext unsafe.Pointer
AllocationSize DeviceSize
MemoryTypeIndex uint32
}
// MemoryRequirements as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryRequirements.html
type MemoryRequirements struct {
Size DeviceSize
Alignment DeviceSize
MemoryTypeBits uint32
}
// SparseMemoryBind as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseMemoryBind.html
type SparseMemoryBind struct {
ResourceOffset DeviceSize
Size DeviceSize
Memory DeviceMemory
MemoryOffset DeviceSize
Flags SparseMemoryBindFlags
ref5bf418e8 *C.VkSparseMemoryBind
allocs5bf418e8 interface{}
}
// SparseBufferMemoryBindInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseBufferMemoryBindInfo.html
type SparseBufferMemoryBindInfo struct {
Buffer Buffer
BindCount uint32
PBinds []SparseMemoryBind
refebcaf40c *C.VkSparseBufferMemoryBindInfo
allocsebcaf40c interface{}
}
// SparseImageOpaqueMemoryBindInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageOpaqueMemoryBindInfo.html
type SparseImageOpaqueMemoryBindInfo struct {
Image Image
BindCount uint32
PBinds []SparseMemoryBind
reffb1b3d56 *C.VkSparseImageOpaqueMemoryBindInfo
allocsfb1b3d56 interface{}
}
// ImageSubresource as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageSubresource.html
type ImageSubresource struct {
AspectMask ImageAspectFlags
MipLevel uint32
ArrayLayer uint32
}
// SparseImageMemoryBind as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageMemoryBind.html
type SparseImageMemoryBind struct {
Subresource ImageSubresource
Offset Offset3D
Extent Extent3D
Memory DeviceMemory
MemoryOffset DeviceSize
Flags SparseMemoryBindFlags
ref41b516d7 *C.VkSparseImageMemoryBind
allocs41b516d7 interface{}
}
// SparseImageMemoryBindInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageMemoryBindInfo.html
type SparseImageMemoryBindInfo struct {
Image Image
BindCount uint32
PBinds []SparseImageMemoryBind
ref50faeb70 *C.VkSparseImageMemoryBindInfo
allocs50faeb70 interface{}
}
// BindSparseInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindSparseInfo.html
type BindSparseInfo struct {
SType StructureType
PNext unsafe.Pointer
WaitSemaphoreCount uint32
PWaitSemaphores []Semaphore
BufferBindCount uint32
PBufferBinds []SparseBufferMemoryBindInfo
ImageOpaqueBindCount uint32
PImageOpaqueBinds []SparseImageOpaqueMemoryBindInfo
ImageBindCount uint32
PImageBinds []SparseImageMemoryBindInfo
SignalSemaphoreCount uint32
PSignalSemaphores []Semaphore
refb0cbe910 *C.VkBindSparseInfo
allocsb0cbe910 interface{}
}
// SparseImageFormatProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageFormatProperties.html
type SparseImageFormatProperties struct {
AspectMask ImageAspectFlags
ImageGranularity Extent3D
Flags SparseImageFormatFlags
}
// SparseImageMemoryRequirements as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageMemoryRequirements.html
type SparseImageMemoryRequirements struct {
FormatProperties SparseImageFormatProperties
ImageMipTailFirstLod uint32
ImageMipTailSize DeviceSize
ImageMipTailOffset DeviceSize
ImageMipTailStride DeviceSize
}
// FenceCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFenceCreateInfo.html
type FenceCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags FenceCreateFlags
}
// SemaphoreCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSemaphoreCreateInfo.html
type SemaphoreCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags SemaphoreCreateFlags
}
// EventCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkEventCreateInfo.html
type EventCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags EventCreateFlags
}
// QueryPoolCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryPoolCreateInfo.html
type QueryPoolCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags QueryPoolCreateFlags
QueryType QueryType
QueryCount uint32
PipelineStatistics QueryPipelineStatisticFlags
}
// BufferCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCreateInfo.html
type BufferCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags BufferCreateFlags
Size DeviceSize
Usage BufferUsageFlags
SharingMode SharingMode
QueueFamilyIndexCount uint32
PQueueFamilyIndices []uint32
reffe19d2cd *C.VkBufferCreateInfo
allocsfe19d2cd interface{}
}
// BufferViewCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferViewCreateInfo.html
type BufferViewCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags BufferViewCreateFlags
Buffer Buffer
Format Format
Offset DeviceSize
Range DeviceSize
ref49b97027 *C.VkBufferViewCreateInfo
allocs49b97027 interface{}
}
// ImageCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageCreateInfo.html
type ImageCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags ImageCreateFlags
ImageType ImageType
Format Format
Extent Extent3D
MipLevels uint32
ArrayLayers uint32
Samples SampleCountFlagBits
Tiling ImageTiling
Usage ImageUsageFlags
SharingMode SharingMode
QueueFamilyIndexCount uint32
PQueueFamilyIndices []uint32
InitialLayout ImageLayout
reffb587ba1 *C.VkImageCreateInfo
allocsfb587ba1 interface{}
}
// SubresourceLayout as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubresourceLayout.html
type SubresourceLayout struct {
Offset DeviceSize
Size DeviceSize
RowPitch DeviceSize
ArrayPitch DeviceSize
DepthPitch DeviceSize
}
// ComponentMapping as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkComponentMapping.html
type ComponentMapping struct {
R ComponentSwizzle
G ComponentSwizzle
B ComponentSwizzle
A ComponentSwizzle
}
// ImageViewCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageViewCreateInfo.html
type ImageViewCreateInfo struct {
SType StructureType
PNext unsafe.Pointer
Flags ImageViewCreateFlags
Image Image
ViewType ImageViewType
Format Format
Components ComponentMapping
SubresourceRange ImageSubresourceRange
ref77e8d4b8 *C.VkImageViewCreateInfo
allocs77e8d4b8 interface{}
}
// ShaderModuleCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShaderModuleCreateInfo.html
type ShaderModuleCreateInfo struct {
SType StructureType