-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypemap
More file actions
683 lines (680 loc) · 47.3 KB
/
typemap
File metadata and controls
683 lines (680 loc) · 47.3 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
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! #
# This file is generated by webgpu.xs.PL #
# !!!!!!! ANY EDIT WILL BE LOST !!!!!!! #
WGPUStringView T_FETCH
WGPUStringView * T_FETCHPTR
WGPUStringView const * T_FETCHPTR
struct WGPUStringView const * T_FETCHPTR
WebGPU::Direct::StringView T_SV
WGPUAdapter T_FETCHPTR
WGPUBindGroup T_FETCHPTR
WGPUBindGroupLayout T_FETCHPTR
WGPUBuffer T_FETCHPTR
WGPUCommandBuffer T_FETCHPTR
WGPUCommandEncoder T_FETCHPTR
WGPUComputePassEncoder T_FETCHPTR
WGPUComputePipeline T_FETCHPTR
WGPUDevice T_FETCHPTR
WGPUInstance T_FETCHPTR
WGPUPipelineLayout T_FETCHPTR
WGPUQuerySet T_FETCHPTR
WGPUQueue T_FETCHPTR
WGPURenderBundle T_FETCHPTR
WGPURenderBundleEncoder T_FETCHPTR
WGPURenderPassEncoder T_FETCHPTR
WGPURenderPipeline T_FETCHPTR
WGPUSampler T_FETCHPTR
WGPUShaderModule T_FETCHPTR
WGPUSurface T_FETCHPTR
WGPUTexture T_FETCHPTR
WGPUTextureView T_FETCHPTR
WGPUProc T_FETCHPTR
WGPUBufferMapCallback T_FETCHPTR
WGPUCompilationInfoCallback T_FETCHPTR
WGPUCreateComputePipelineAsyncCallback T_FETCHPTR
WGPUCreateRenderPipelineAsyncCallback T_FETCHPTR
WGPUDeviceLostCallback T_FETCHPTR
WGPUPopErrorScopeCallback T_FETCHPTR
WGPUQueueWorkDoneCallback T_FETCHPTR
WGPURequestAdapterCallback T_FETCHPTR
WGPURequestDeviceCallback T_FETCHPTR
WGPUUncapturedErrorCallback T_FETCHPTR
WGPUChainedStruct T_FETCH
WGPUChainedStruct * T_FETCHPTR
WGPUChainedStruct const * T_FETCHPTR
struct WGPUChainedStruct const * T_FETCHPTR
WebGPU::Direct::ChainedStruct T_SV
WGPUChainedStructOut T_FETCH
WGPUChainedStructOut * T_FETCHPTR
WGPUChainedStructOut const * T_FETCHPTR
struct WGPUChainedStructOut const * T_FETCHPTR
WebGPU::Direct::ChainedStructOut T_SV
WGPUBufferMapCallbackInfo T_FETCH
WGPUBufferMapCallbackInfo * T_FETCHPTR
WGPUBufferMapCallbackInfo const * T_FETCHPTR
struct WGPUBufferMapCallbackInfo const * T_FETCHPTR
WebGPU::Direct::BufferMapCallbackInfo T_SV
WGPUCompilationInfoCallbackInfo T_FETCH
WGPUCompilationInfoCallbackInfo * T_FETCHPTR
WGPUCompilationInfoCallbackInfo const * T_FETCHPTR
struct WGPUCompilationInfoCallbackInfo const * T_FETCHPTR
WebGPU::Direct::CompilationInfoCallbackInfo T_SV
WGPUCreateComputePipelineAsyncCallbackInfo T_FETCH
WGPUCreateComputePipelineAsyncCallbackInfo * T_FETCHPTR
WGPUCreateComputePipelineAsyncCallbackInfo const * T_FETCHPTR
struct WGPUCreateComputePipelineAsyncCallbackInfo const * T_FETCHPTR
WebGPU::Direct::CreateComputePipelineAsyncCallbackInfo T_SV
WGPUCreateRenderPipelineAsyncCallbackInfo T_FETCH
WGPUCreateRenderPipelineAsyncCallbackInfo * T_FETCHPTR
WGPUCreateRenderPipelineAsyncCallbackInfo const * T_FETCHPTR
struct WGPUCreateRenderPipelineAsyncCallbackInfo const * T_FETCHPTR
WebGPU::Direct::CreateRenderPipelineAsyncCallbackInfo T_SV
WGPUDeviceLostCallbackInfo T_FETCH
WGPUDeviceLostCallbackInfo * T_FETCHPTR
WGPUDeviceLostCallbackInfo const * T_FETCHPTR
struct WGPUDeviceLostCallbackInfo const * T_FETCHPTR
WebGPU::Direct::DeviceLostCallbackInfo T_SV
WGPUPopErrorScopeCallbackInfo T_FETCH
WGPUPopErrorScopeCallbackInfo * T_FETCHPTR
WGPUPopErrorScopeCallbackInfo const * T_FETCHPTR
struct WGPUPopErrorScopeCallbackInfo const * T_FETCHPTR
WebGPU::Direct::PopErrorScopeCallbackInfo T_SV
WGPUQueueWorkDoneCallbackInfo T_FETCH
WGPUQueueWorkDoneCallbackInfo * T_FETCHPTR
WGPUQueueWorkDoneCallbackInfo const * T_FETCHPTR
struct WGPUQueueWorkDoneCallbackInfo const * T_FETCHPTR
WebGPU::Direct::QueueWorkDoneCallbackInfo T_SV
WGPURequestAdapterCallbackInfo T_FETCH
WGPURequestAdapterCallbackInfo * T_FETCHPTR
WGPURequestAdapterCallbackInfo const * T_FETCHPTR
struct WGPURequestAdapterCallbackInfo const * T_FETCHPTR
WebGPU::Direct::RequestAdapterCallbackInfo T_SV
WGPURequestDeviceCallbackInfo T_FETCH
WGPURequestDeviceCallbackInfo * T_FETCHPTR
WGPURequestDeviceCallbackInfo const * T_FETCHPTR
struct WGPURequestDeviceCallbackInfo const * T_FETCHPTR
WebGPU::Direct::RequestDeviceCallbackInfo T_SV
WGPUUncapturedErrorCallbackInfo T_FETCH
WGPUUncapturedErrorCallbackInfo * T_FETCHPTR
WGPUUncapturedErrorCallbackInfo const * T_FETCHPTR
struct WGPUUncapturedErrorCallbackInfo const * T_FETCHPTR
WebGPU::Direct::UncapturedErrorCallbackInfo T_SV
WGPUAdapterInfo T_FETCH
WGPUAdapterInfo * T_FETCHPTR
WGPUAdapterInfo const * T_FETCHPTR
struct WGPUAdapterInfo const * T_FETCHPTR
WebGPU::Direct::AdapterInfo T_SV
WGPUBindGroupEntry T_FETCH
WGPUBindGroupEntry * T_FETCHPTR
WGPUBindGroupEntry const * T_FETCHPTR
struct WGPUBindGroupEntry const * T_FETCHPTR
WebGPU::Direct::BindGroupEntry T_SV
WGPUBlendComponent T_FETCH
WGPUBlendComponent * T_FETCHPTR
WGPUBlendComponent const * T_FETCHPTR
struct WGPUBlendComponent const * T_FETCHPTR
WebGPU::Direct::BlendComponent T_SV
WGPUBufferBindingLayout T_FETCH
WGPUBufferBindingLayout * T_FETCHPTR
WGPUBufferBindingLayout const * T_FETCHPTR
struct WGPUBufferBindingLayout const * T_FETCHPTR
WebGPU::Direct::BufferBindingLayout T_SV
WGPUBufferDescriptor T_FETCH
WGPUBufferDescriptor * T_FETCHPTR
WGPUBufferDescriptor const * T_FETCHPTR
struct WGPUBufferDescriptor const * T_FETCHPTR
WebGPU::Direct::BufferDescriptor T_SV
WGPUColor T_FETCH
WGPUColor * T_FETCHPTR
WGPUColor const * T_FETCHPTR
struct WGPUColor const * T_FETCHPTR
WebGPU::Direct::Color T_SV
WGPUCommandBufferDescriptor T_FETCH
WGPUCommandBufferDescriptor * T_FETCHPTR
WGPUCommandBufferDescriptor const * T_FETCHPTR
struct WGPUCommandBufferDescriptor const * T_FETCHPTR
WebGPU::Direct::CommandBufferDescriptor T_SV
WGPUCommandEncoderDescriptor T_FETCH
WGPUCommandEncoderDescriptor * T_FETCHPTR
WGPUCommandEncoderDescriptor const * T_FETCHPTR
struct WGPUCommandEncoderDescriptor const * T_FETCHPTR
WebGPU::Direct::CommandEncoderDescriptor T_SV
WGPUCompilationMessage T_FETCH
WGPUCompilationMessage * T_FETCHPTR
WGPUCompilationMessage const * T_FETCHPTR
struct WGPUCompilationMessage const * T_FETCHPTR
WebGPU::Direct::CompilationMessage T_SV
WGPUComputePassTimestampWrites T_FETCH
WGPUComputePassTimestampWrites * T_FETCHPTR
WGPUComputePassTimestampWrites const * T_FETCHPTR
struct WGPUComputePassTimestampWrites const * T_FETCHPTR
WebGPU::Direct::ComputePassTimestampWrites T_SV
WGPUConstantEntry T_FETCH
WGPUConstantEntry * T_FETCHPTR
WGPUConstantEntry const * T_FETCHPTR
struct WGPUConstantEntry const * T_FETCHPTR
WebGPU::Direct::ConstantEntry T_SV
WGPUExtent3D T_FETCH
WGPUExtent3D * T_FETCHPTR
WGPUExtent3D const * T_FETCHPTR
struct WGPUExtent3D const * T_FETCHPTR
WebGPU::Direct::Extent3D T_SV
WGPUFuture T_FETCH
WGPUFuture * T_FETCHPTR
WGPUFuture const * T_FETCHPTR
struct WGPUFuture const * T_FETCHPTR
WebGPU::Direct::Future T_SV
WGPUInstanceCapabilities T_FETCH
WGPUInstanceCapabilities * T_FETCHPTR
WGPUInstanceCapabilities const * T_FETCHPTR
struct WGPUInstanceCapabilities const * T_FETCHPTR
WebGPU::Direct::InstanceCapabilities T_SV
WGPULimits T_FETCH
WGPULimits * T_FETCHPTR
WGPULimits const * T_FETCHPTR
struct WGPULimits const * T_FETCHPTR
WebGPU::Direct::Limits T_SV
WGPUMultisampleState T_FETCH
WGPUMultisampleState * T_FETCHPTR
WGPUMultisampleState const * T_FETCHPTR
struct WGPUMultisampleState const * T_FETCHPTR
WebGPU::Direct::MultisampleState T_SV
WGPUOrigin3D T_FETCH
WGPUOrigin3D * T_FETCHPTR
WGPUOrigin3D const * T_FETCHPTR
struct WGPUOrigin3D const * T_FETCHPTR
WebGPU::Direct::Origin3D T_SV
WGPUPipelineLayoutDescriptor T_FETCH
WGPUPipelineLayoutDescriptor * T_FETCHPTR
WGPUPipelineLayoutDescriptor const * T_FETCHPTR
struct WGPUPipelineLayoutDescriptor const * T_FETCHPTR
WebGPU::Direct::PipelineLayoutDescriptor T_SV
WGPUPrimitiveState T_FETCH
WGPUPrimitiveState * T_FETCHPTR
WGPUPrimitiveState const * T_FETCHPTR
struct WGPUPrimitiveState const * T_FETCHPTR
WebGPU::Direct::PrimitiveState T_SV
WGPUQuerySetDescriptor T_FETCH
WGPUQuerySetDescriptor * T_FETCHPTR
WGPUQuerySetDescriptor const * T_FETCHPTR
struct WGPUQuerySetDescriptor const * T_FETCHPTR
WebGPU::Direct::QuerySetDescriptor T_SV
WGPUQueueDescriptor T_FETCH
WGPUQueueDescriptor * T_FETCHPTR
WGPUQueueDescriptor const * T_FETCHPTR
struct WGPUQueueDescriptor const * T_FETCHPTR
WebGPU::Direct::QueueDescriptor T_SV
WGPURenderBundleDescriptor T_FETCH
WGPURenderBundleDescriptor * T_FETCHPTR
WGPURenderBundleDescriptor const * T_FETCHPTR
struct WGPURenderBundleDescriptor const * T_FETCHPTR
WebGPU::Direct::RenderBundleDescriptor T_SV
WGPURenderBundleEncoderDescriptor T_FETCH
WGPURenderBundleEncoderDescriptor * T_FETCHPTR
WGPURenderBundleEncoderDescriptor const * T_FETCHPTR
struct WGPURenderBundleEncoderDescriptor const * T_FETCHPTR
WebGPU::Direct::RenderBundleEncoderDescriptor T_SV
WGPURenderPassDepthStencilAttachment T_FETCH
WGPURenderPassDepthStencilAttachment * T_FETCHPTR
WGPURenderPassDepthStencilAttachment const * T_FETCHPTR
struct WGPURenderPassDepthStencilAttachment const * T_FETCHPTR
WebGPU::Direct::RenderPassDepthStencilAttachment T_SV
WGPURenderPassMaxDrawCount T_FETCH
WGPURenderPassMaxDrawCount * T_FETCHPTR
WGPURenderPassMaxDrawCount const * T_FETCHPTR
struct WGPURenderPassMaxDrawCount const * T_FETCHPTR
WebGPU::Direct::RenderPassMaxDrawCount T_SV
WGPURenderPassTimestampWrites T_FETCH
WGPURenderPassTimestampWrites * T_FETCHPTR
WGPURenderPassTimestampWrites const * T_FETCHPTR
struct WGPURenderPassTimestampWrites const * T_FETCHPTR
WebGPU::Direct::RenderPassTimestampWrites T_SV
WGPURequestAdapterOptions T_FETCH
WGPURequestAdapterOptions * T_FETCHPTR
WGPURequestAdapterOptions const * T_FETCHPTR
struct WGPURequestAdapterOptions const * T_FETCHPTR
WebGPU::Direct::RequestAdapterOptions T_SV
WGPUSamplerBindingLayout T_FETCH
WGPUSamplerBindingLayout * T_FETCHPTR
WGPUSamplerBindingLayout const * T_FETCHPTR
struct WGPUSamplerBindingLayout const * T_FETCHPTR
WebGPU::Direct::SamplerBindingLayout T_SV
WGPUSamplerDescriptor T_FETCH
WGPUSamplerDescriptor * T_FETCHPTR
WGPUSamplerDescriptor const * T_FETCHPTR
struct WGPUSamplerDescriptor const * T_FETCHPTR
WebGPU::Direct::SamplerDescriptor T_SV
WGPUShaderModuleDescriptor T_FETCH
WGPUShaderModuleDescriptor * T_FETCHPTR
WGPUShaderModuleDescriptor const * T_FETCHPTR
struct WGPUShaderModuleDescriptor const * T_FETCHPTR
WebGPU::Direct::ShaderModuleDescriptor T_SV
WGPUShaderSourceSPIRV T_FETCH
WGPUShaderSourceSPIRV * T_FETCHPTR
WGPUShaderSourceSPIRV const * T_FETCHPTR
struct WGPUShaderSourceSPIRV const * T_FETCHPTR
WebGPU::Direct::ShaderSourceSPIRV T_SV
WGPUShaderSourceWGSL T_FETCH
WGPUShaderSourceWGSL * T_FETCHPTR
WGPUShaderSourceWGSL const * T_FETCHPTR
struct WGPUShaderSourceWGSL const * T_FETCHPTR
WebGPU::Direct::ShaderSourceWGSL T_SV
WGPUStencilFaceState T_FETCH
WGPUStencilFaceState * T_FETCHPTR
WGPUStencilFaceState const * T_FETCHPTR
struct WGPUStencilFaceState const * T_FETCHPTR
WebGPU::Direct::StencilFaceState T_SV
WGPUStorageTextureBindingLayout T_FETCH
WGPUStorageTextureBindingLayout * T_FETCHPTR
WGPUStorageTextureBindingLayout const * T_FETCHPTR
struct WGPUStorageTextureBindingLayout const * T_FETCHPTR
WebGPU::Direct::StorageTextureBindingLayout T_SV
WGPUSupportedFeatures T_FETCH
WGPUSupportedFeatures * T_FETCHPTR
WGPUSupportedFeatures const * T_FETCHPTR
struct WGPUSupportedFeatures const * T_FETCHPTR
WebGPU::Direct::SupportedFeatures T_SV
WGPUSupportedWGSLLanguageFeatures T_FETCH
WGPUSupportedWGSLLanguageFeatures * T_FETCHPTR
WGPUSupportedWGSLLanguageFeatures const * T_FETCHPTR
struct WGPUSupportedWGSLLanguageFeatures const * T_FETCHPTR
WebGPU::Direct::SupportedWGSLLanguageFeatures T_SV
WGPUSurfaceCapabilities T_FETCH
WGPUSurfaceCapabilities * T_FETCHPTR
WGPUSurfaceCapabilities const * T_FETCHPTR
struct WGPUSurfaceCapabilities const * T_FETCHPTR
WebGPU::Direct::SurfaceCapabilities T_SV
WGPUSurfaceConfiguration T_FETCH
WGPUSurfaceConfiguration * T_FETCHPTR
WGPUSurfaceConfiguration const * T_FETCHPTR
struct WGPUSurfaceConfiguration const * T_FETCHPTR
WebGPU::Direct::SurfaceConfiguration T_SV
WGPUSurfaceDescriptor T_FETCH
WGPUSurfaceDescriptor * T_FETCHPTR
WGPUSurfaceDescriptor const * T_FETCHPTR
struct WGPUSurfaceDescriptor const * T_FETCHPTR
WebGPU::Direct::SurfaceDescriptor T_SV
WGPUSurfaceSourceAndroidNativeWindow T_FETCH
WGPUSurfaceSourceAndroidNativeWindow * T_FETCHPTR
WGPUSurfaceSourceAndroidNativeWindow const * T_FETCHPTR
struct WGPUSurfaceSourceAndroidNativeWindow const * T_FETCHPTR
WebGPU::Direct::SurfaceSourceAndroidNativeWindow T_SV
WGPUSurfaceSourceMetalLayer T_FETCH
WGPUSurfaceSourceMetalLayer * T_FETCHPTR
WGPUSurfaceSourceMetalLayer const * T_FETCHPTR
struct WGPUSurfaceSourceMetalLayer const * T_FETCHPTR
WebGPU::Direct::SurfaceSourceMetalLayer T_SV
WGPUSurfaceSourceWaylandSurface T_FETCH
WGPUSurfaceSourceWaylandSurface * T_FETCHPTR
WGPUSurfaceSourceWaylandSurface const * T_FETCHPTR
struct WGPUSurfaceSourceWaylandSurface const * T_FETCHPTR
WebGPU::Direct::SurfaceSourceWaylandSurface T_SV
WGPUSurfaceSourceWindowsHWND T_FETCH
WGPUSurfaceSourceWindowsHWND * T_FETCHPTR
WGPUSurfaceSourceWindowsHWND const * T_FETCHPTR
struct WGPUSurfaceSourceWindowsHWND const * T_FETCHPTR
WebGPU::Direct::SurfaceSourceWindowsHWND T_SV
WGPUSurfaceSourceXCBWindow T_FETCH
WGPUSurfaceSourceXCBWindow * T_FETCHPTR
WGPUSurfaceSourceXCBWindow const * T_FETCHPTR
struct WGPUSurfaceSourceXCBWindow const * T_FETCHPTR
WebGPU::Direct::SurfaceSourceXCBWindow T_SV
WGPUSurfaceSourceXlibWindow T_FETCH
WGPUSurfaceSourceXlibWindow * T_FETCHPTR
WGPUSurfaceSourceXlibWindow const * T_FETCHPTR
struct WGPUSurfaceSourceXlibWindow const * T_FETCHPTR
WebGPU::Direct::SurfaceSourceXlibWindow T_SV
WGPUSurfaceTexture T_FETCH
WGPUSurfaceTexture * T_FETCHPTR
WGPUSurfaceTexture const * T_FETCHPTR
struct WGPUSurfaceTexture const * T_FETCHPTR
WebGPU::Direct::SurfaceTexture T_SV
WGPUTexelCopyBufferLayout T_FETCH
WGPUTexelCopyBufferLayout * T_FETCHPTR
WGPUTexelCopyBufferLayout const * T_FETCHPTR
struct WGPUTexelCopyBufferLayout const * T_FETCHPTR
WebGPU::Direct::TexelCopyBufferLayout T_SV
WGPUTextureBindingLayout T_FETCH
WGPUTextureBindingLayout * T_FETCHPTR
WGPUTextureBindingLayout const * T_FETCHPTR
struct WGPUTextureBindingLayout const * T_FETCHPTR
WebGPU::Direct::TextureBindingLayout T_SV
WGPUTextureViewDescriptor T_FETCH
WGPUTextureViewDescriptor * T_FETCHPTR
WGPUTextureViewDescriptor const * T_FETCHPTR
struct WGPUTextureViewDescriptor const * T_FETCHPTR
WebGPU::Direct::TextureViewDescriptor T_SV
WGPUVertexAttribute T_FETCH
WGPUVertexAttribute * T_FETCHPTR
WGPUVertexAttribute const * T_FETCHPTR
struct WGPUVertexAttribute const * T_FETCHPTR
WebGPU::Direct::VertexAttribute T_SV
WGPUBindGroupDescriptor T_FETCH
WGPUBindGroupDescriptor * T_FETCHPTR
WGPUBindGroupDescriptor const * T_FETCHPTR
struct WGPUBindGroupDescriptor const * T_FETCHPTR
WebGPU::Direct::BindGroupDescriptor T_SV
WGPUBindGroupLayoutEntry T_FETCH
WGPUBindGroupLayoutEntry * T_FETCHPTR
WGPUBindGroupLayoutEntry const * T_FETCHPTR
struct WGPUBindGroupLayoutEntry const * T_FETCHPTR
WebGPU::Direct::BindGroupLayoutEntry T_SV
WGPUBlendState T_FETCH
WGPUBlendState * T_FETCHPTR
WGPUBlendState const * T_FETCHPTR
struct WGPUBlendState const * T_FETCHPTR
WebGPU::Direct::BlendState T_SV
WGPUCompilationInfo T_FETCH
WGPUCompilationInfo * T_FETCHPTR
WGPUCompilationInfo const * T_FETCHPTR
struct WGPUCompilationInfo const * T_FETCHPTR
WebGPU::Direct::CompilationInfo T_SV
WGPUComputePassDescriptor T_FETCH
WGPUComputePassDescriptor * T_FETCHPTR
WGPUComputePassDescriptor const * T_FETCHPTR
struct WGPUComputePassDescriptor const * T_FETCHPTR
WebGPU::Direct::ComputePassDescriptor T_SV
WGPUDepthStencilState T_FETCH
WGPUDepthStencilState * T_FETCHPTR
WGPUDepthStencilState const * T_FETCHPTR
struct WGPUDepthStencilState const * T_FETCHPTR
WebGPU::Direct::DepthStencilState T_SV
WGPUDeviceDescriptor T_FETCH
WGPUDeviceDescriptor * T_FETCHPTR
WGPUDeviceDescriptor const * T_FETCHPTR
struct WGPUDeviceDescriptor const * T_FETCHPTR
WebGPU::Direct::DeviceDescriptor T_SV
WGPUFutureWaitInfo T_FETCH
WGPUFutureWaitInfo * T_FETCHPTR
WGPUFutureWaitInfo const * T_FETCHPTR
struct WGPUFutureWaitInfo const * T_FETCHPTR
WebGPU::Direct::FutureWaitInfo T_SV
WGPUInstanceDescriptor T_FETCH
WGPUInstanceDescriptor * T_FETCHPTR
WGPUInstanceDescriptor const * T_FETCHPTR
struct WGPUInstanceDescriptor const * T_FETCHPTR
WebGPU::Direct::InstanceDescriptor T_SV
WGPUProgrammableStageDescriptor T_FETCH
WGPUProgrammableStageDescriptor * T_FETCHPTR
WGPUProgrammableStageDescriptor const * T_FETCHPTR
struct WGPUProgrammableStageDescriptor const * T_FETCHPTR
WebGPU::Direct::ProgrammableStageDescriptor T_SV
WGPURenderPassColorAttachment T_FETCH
WGPURenderPassColorAttachment * T_FETCHPTR
WGPURenderPassColorAttachment const * T_FETCHPTR
struct WGPURenderPassColorAttachment const * T_FETCHPTR
WebGPU::Direct::RenderPassColorAttachment T_SV
WGPUTexelCopyBufferInfo T_FETCH
WGPUTexelCopyBufferInfo * T_FETCHPTR
WGPUTexelCopyBufferInfo const * T_FETCHPTR
struct WGPUTexelCopyBufferInfo const * T_FETCHPTR
WebGPU::Direct::TexelCopyBufferInfo T_SV
WGPUTexelCopyTextureInfo T_FETCH
WGPUTexelCopyTextureInfo * T_FETCHPTR
WGPUTexelCopyTextureInfo const * T_FETCHPTR
struct WGPUTexelCopyTextureInfo const * T_FETCHPTR
WebGPU::Direct::TexelCopyTextureInfo T_SV
WGPUTextureDescriptor T_FETCH
WGPUTextureDescriptor * T_FETCHPTR
WGPUTextureDescriptor const * T_FETCHPTR
struct WGPUTextureDescriptor const * T_FETCHPTR
WebGPU::Direct::TextureDescriptor T_SV
WGPUVertexBufferLayout T_FETCH
WGPUVertexBufferLayout * T_FETCHPTR
WGPUVertexBufferLayout const * T_FETCHPTR
struct WGPUVertexBufferLayout const * T_FETCHPTR
WebGPU::Direct::VertexBufferLayout T_SV
WGPUBindGroupLayoutDescriptor T_FETCH
WGPUBindGroupLayoutDescriptor * T_FETCHPTR
WGPUBindGroupLayoutDescriptor const * T_FETCHPTR
struct WGPUBindGroupLayoutDescriptor const * T_FETCHPTR
WebGPU::Direct::BindGroupLayoutDescriptor T_SV
WGPUColorTargetState T_FETCH
WGPUColorTargetState * T_FETCHPTR
WGPUColorTargetState const * T_FETCHPTR
struct WGPUColorTargetState const * T_FETCHPTR
WebGPU::Direct::ColorTargetState T_SV
WGPUComputePipelineDescriptor T_FETCH
WGPUComputePipelineDescriptor * T_FETCHPTR
WGPUComputePipelineDescriptor const * T_FETCHPTR
struct WGPUComputePipelineDescriptor const * T_FETCHPTR
WebGPU::Direct::ComputePipelineDescriptor T_SV
WGPURenderPassDescriptor T_FETCH
WGPURenderPassDescriptor * T_FETCHPTR
WGPURenderPassDescriptor const * T_FETCHPTR
struct WGPURenderPassDescriptor const * T_FETCHPTR
WebGPU::Direct::RenderPassDescriptor T_SV
WGPUVertexState T_FETCH
WGPUVertexState * T_FETCHPTR
WGPUVertexState const * T_FETCHPTR
struct WGPUVertexState const * T_FETCHPTR
WebGPU::Direct::VertexState T_SV
WGPUFragmentState T_FETCH
WGPUFragmentState * T_FETCHPTR
WGPUFragmentState const * T_FETCHPTR
struct WGPUFragmentState const * T_FETCHPTR
WebGPU::Direct::FragmentState T_SV
WGPURenderPipelineDescriptor T_FETCH
WGPURenderPipelineDescriptor * T_FETCHPTR
WGPURenderPipelineDescriptor const * T_FETCHPTR
struct WGPURenderPipelineDescriptor const * T_FETCHPTR
WebGPU::Direct::RenderPipelineDescriptor T_SV
WGPUAdapterType T_IV
WGPUAdapterType * T_IV
WGPUAdapterType const * T_IV
WGPUAddressMode T_IV
WGPUAddressMode * T_IV
WGPUAddressMode const * T_IV
WGPUBackendType T_IV
WGPUBackendType * T_IV
WGPUBackendType const * T_IV
WGPUBlendFactor T_IV
WGPUBlendFactor * T_IV
WGPUBlendFactor const * T_IV
WGPUBlendOperation T_IV
WGPUBlendOperation * T_IV
WGPUBlendOperation const * T_IV
WGPUBool T_IV
WGPUBool * T_IV
WGPUBool const * T_IV
WGPUBufferBindingType T_IV
WGPUBufferBindingType * T_IV
WGPUBufferBindingType const * T_IV
WGPUBufferMapState T_IV
WGPUBufferMapState * T_IV
WGPUBufferMapState const * T_IV
WGPUBufferUsage T_IV
WGPUBufferUsage * T_IV
WGPUBufferUsage const * T_IV
WGPUCallbackMode T_IV
WGPUCallbackMode * T_IV
WGPUCallbackMode const * T_IV
WGPUColorWriteMask T_IV
WGPUColorWriteMask * T_IV
WGPUColorWriteMask const * T_IV
WGPUCompareFunction T_IV
WGPUCompareFunction * T_IV
WGPUCompareFunction const * T_IV
WGPUCompilationInfoRequestStatus T_IV
WGPUCompilationInfoRequestStatus * T_IV
WGPUCompilationInfoRequestStatus const * T_IV
WGPUCompilationMessageType T_IV
WGPUCompilationMessageType * T_IV
WGPUCompilationMessageType const * T_IV
WGPUCompositeAlphaMode T_IV
WGPUCompositeAlphaMode * T_IV
WGPUCompositeAlphaMode const * T_IV
WGPUCreatePipelineAsyncStatus T_IV
WGPUCreatePipelineAsyncStatus * T_IV
WGPUCreatePipelineAsyncStatus const * T_IV
WGPUCullMode T_IV
WGPUCullMode * T_IV
WGPUCullMode const * T_IV
WGPUDeviceLostReason T_IV
WGPUDeviceLostReason * T_IV
WGPUDeviceLostReason const * T_IV
WGPUErrorFilter T_IV
WGPUErrorFilter * T_IV
WGPUErrorFilter const * T_IV
WGPUErrorType T_IV
WGPUErrorType * T_IV
WGPUErrorType const * T_IV
WGPUFeatureLevel T_IV
WGPUFeatureLevel * T_IV
WGPUFeatureLevel const * T_IV
WGPUFeatureName T_IV
WGPUFeatureName * T_IV
WGPUFeatureName const * T_IV
WGPUFilterMode T_IV
WGPUFilterMode * T_IV
WGPUFilterMode const * T_IV
WGPUFlags T_IV
WGPUFlags * T_IV
WGPUFlags const * T_IV
WGPUFrontFace T_IV
WGPUFrontFace * T_IV
WGPUFrontFace const * T_IV
WGPUIndexFormat T_IV
WGPUIndexFormat * T_IV
WGPUIndexFormat const * T_IV
WGPULoadOp T_IV
WGPULoadOp * T_IV
WGPULoadOp const * T_IV
WGPUMapAsyncStatus T_IV
WGPUMapAsyncStatus * T_IV
WGPUMapAsyncStatus const * T_IV
WGPUMapMode T_IV
WGPUMapMode * T_IV
WGPUMapMode const * T_IV
WGPUMipmapFilterMode T_IV
WGPUMipmapFilterMode * T_IV
WGPUMipmapFilterMode const * T_IV
WGPUOptionalBool T_IV
WGPUOptionalBool * T_IV
WGPUOptionalBool const * T_IV
WGPUPopErrorScopeStatus T_IV
WGPUPopErrorScopeStatus * T_IV
WGPUPopErrorScopeStatus const * T_IV
WGPUPowerPreference T_IV
WGPUPowerPreference * T_IV
WGPUPowerPreference const * T_IV
WGPUPresentMode T_IV
WGPUPresentMode * T_IV
WGPUPresentMode const * T_IV
WGPUPrimitiveTopology T_IV
WGPUPrimitiveTopology * T_IV
WGPUPrimitiveTopology const * T_IV
WGPUQueryType T_IV
WGPUQueryType * T_IV
WGPUQueryType const * T_IV
WGPUQueueWorkDoneStatus T_IV
WGPUQueueWorkDoneStatus * T_IV
WGPUQueueWorkDoneStatus const * T_IV
WGPURequestAdapterStatus T_IV
WGPURequestAdapterStatus * T_IV
WGPURequestAdapterStatus const * T_IV
WGPURequestDeviceStatus T_IV
WGPURequestDeviceStatus * T_IV
WGPURequestDeviceStatus const * T_IV
WGPUSType T_IV
WGPUSType * T_IV
WGPUSType const * T_IV
WGPUSamplerBindingType T_IV
WGPUSamplerBindingType * T_IV
WGPUSamplerBindingType const * T_IV
WGPUShaderStage T_IV
WGPUShaderStage * T_IV
WGPUShaderStage const * T_IV
WGPUStatus T_IV
WGPUStatus * T_IV
WGPUStatus const * T_IV
WGPUStencilOperation T_IV
WGPUStencilOperation * T_IV
WGPUStencilOperation const * T_IV
WGPUStorageTextureAccess T_IV
WGPUStorageTextureAccess * T_IV
WGPUStorageTextureAccess const * T_IV
WGPUStoreOp T_IV
WGPUStoreOp * T_IV
WGPUStoreOp const * T_IV
WGPUSurfaceGetCurrentTextureStatus T_IV
WGPUSurfaceGetCurrentTextureStatus * T_IV
WGPUSurfaceGetCurrentTextureStatus const * T_IV
WGPUTextureAspect T_IV
WGPUTextureAspect * T_IV
WGPUTextureAspect const * T_IV
WGPUTextureDimension T_IV
WGPUTextureDimension * T_IV
WGPUTextureDimension const * T_IV
WGPUTextureFormat T_IV
WGPUTextureFormat * T_IV
WGPUTextureFormat const * T_IV
WGPUTextureSampleType T_IV
WGPUTextureSampleType * T_IV
WGPUTextureSampleType const * T_IV
WGPUTextureUsage T_IV
WGPUTextureUsage * T_IV
WGPUTextureUsage const * T_IV
WGPUTextureViewDimension T_IV
WGPUTextureViewDimension * T_IV
WGPUTextureViewDimension const * T_IV
WGPUVertexFormat T_IV
WGPUVertexFormat * T_IV
WGPUVertexFormat const * T_IV
WGPUVertexStepMode T_IV
WGPUVertexStepMode * T_IV
WGPUVertexStepMode const * T_IV
WGPUWGSLLanguageFeatureName T_IV
WGPUWGSLLanguageFeatureName * T_IV
WGPUWGSLLanguageFeatureName const * T_IV
WGPUWaitStatus T_IV
WGPUWaitStatus * T_IV
WGPUWaitStatus const * T_IV
bool T_BOOL
bool * T_BOOL
bool const * T_BOOL
char T_PV
char * T_PV
char const * T_PV
double T_DOUBLE
double * T_DOUBLE
double const * T_DOUBLE
float T_FLOAT
float * T_FLOAT
float const * T_FLOAT
int32_t T_IV
int32_t * T_IV
int32_t const * T_IV
size_t T_IV
size_t * T_IV
size_t const * T_IV
uint16_t T_IV
uint16_t * T_IV
uint16_t const * T_IV
uint32_t T_IV
uint32_t * T_IV
uint32_t const * T_IV
uint64_t T_IV
uint64_t * T_IV
uint64_t const * T_IV
void T_VOID
void * T_VOID
void const * T_VOID
WebGPU::Direct::MappedBuffer T_FETCHPTR
# We do the tr/:/_/ in the output because ParseXS doesn't for outputs
INPUT
T_VOID
$var = ($type) _get_struct_ptr(aTHX_ $arg, NULL)
T_FETCH
$var = *($type *) _get_struct_ptr(aTHX_ $arg, newSVpvs(\"${ my $t=$type; $t=~s/ .*//; $t=~tr/_/:/; $t=~s/^WGPU/WebGPU::Direct::/; \$t}\"))
T_FETCHPTR
$var = ($type) _get_struct_ptr(aTHX_ $arg, newSVpvs(\"${ my $t=$type; $t=~s/ .*//; $t=~tr/_/:/; $t=~s/^WGPU/WebGPU::Direct::/; \$t}\"))
OUTPUT
T_VOID
$arg = _void__wrap($var);
T_FETCH
${$type=~tr/:/_/, \$type}* ptr_$var; Newx(ptr_$var, 1, $type);
Copy(&$var, ptr_$var, 1, $type);
$arg = ${\$type}__wrap(ptr_$var); /* T_FETCH */
T_FETCHPTR
$arg = ${$type=~tr/:/_/, \$type}__wrap($var); /* T_FETCHPTR */