Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/src/struct_info_webgpu.json
4128 views
1
[
2
// ===========================================
3
// WebGPU
4
// NOTE: This file is auto-generated.
5
// See system/include/webgpu/README.md for details.
6
// ===========================================
7
{
8
"file": "webgpu/webgpu.h",
9
"defines": [],
10
"structs": {
11
"WGPUChainedStruct": [
12
"next",
13
"sType"
14
],
15
"WGPUAdapterInfo": [
16
"nextInChain",
17
"vendor",
18
"architecture",
19
"device",
20
"description",
21
"backendType",
22
"adapterType",
23
"vendorID",
24
"deviceID"
25
],
26
"WGPUAdapterProperties": [
27
"nextInChain",
28
"vendorID",
29
"vendorName",
30
"architecture",
31
"deviceID",
32
"name",
33
"driverDescription",
34
"adapterType",
35
"backendType",
36
"compatibilityMode"
37
],
38
"WGPUBindGroupEntry": [
39
"nextInChain",
40
"binding",
41
"buffer",
42
"offset",
43
"size",
44
"sampler",
45
"textureView"
46
],
47
"WGPUBlendComponent": [
48
"operation",
49
"srcFactor",
50
"dstFactor"
51
],
52
"WGPUBufferBindingLayout": [
53
"nextInChain",
54
"type",
55
"hasDynamicOffset",
56
"minBindingSize"
57
],
58
"WGPUBufferDescriptor": [
59
"nextInChain",
60
"label",
61
"usage",
62
"size",
63
"mappedAtCreation"
64
],
65
"WGPUBufferMapCallbackInfo": [
66
"nextInChain",
67
"mode",
68
"callback",
69
"userdata"
70
],
71
"WGPUColor": [
72
"r",
73
"g",
74
"b",
75
"a"
76
],
77
"WGPUCommandBufferDescriptor": [
78
"nextInChain",
79
"label"
80
],
81
"WGPUCommandEncoderDescriptor": [
82
"nextInChain",
83
"label"
84
],
85
"WGPUCompilationMessage": [
86
"nextInChain",
87
"message",
88
"type",
89
"lineNum",
90
"linePos",
91
"offset",
92
"length",
93
"utf16LinePos",
94
"utf16Offset",
95
"utf16Length"
96
],
97
"WGPUComputePassTimestampWrites": [
98
"querySet",
99
"beginningOfPassWriteIndex",
100
"endOfPassWriteIndex"
101
],
102
"WGPUConstantEntry": [
103
"nextInChain",
104
"key",
105
"value"
106
],
107
"WGPUExtent3D": [
108
"width",
109
"height",
110
"depthOrArrayLayers"
111
],
112
"WGPUFuture": [
113
"id"
114
],
115
"WGPUInstanceFeatures": [
116
"nextInChain",
117
"timedWaitAnyEnable",
118
"timedWaitAnyMaxCount"
119
],
120
"WGPULimits": [
121
"maxTextureDimension1D",
122
"maxTextureDimension2D",
123
"maxTextureDimension3D",
124
"maxTextureArrayLayers",
125
"maxBindGroups",
126
"maxBindGroupsPlusVertexBuffers",
127
"maxBindingsPerBindGroup",
128
"maxDynamicUniformBuffersPerPipelineLayout",
129
"maxDynamicStorageBuffersPerPipelineLayout",
130
"maxSampledTexturesPerShaderStage",
131
"maxSamplersPerShaderStage",
132
"maxStorageBuffersPerShaderStage",
133
"maxStorageTexturesPerShaderStage",
134
"maxUniformBuffersPerShaderStage",
135
"maxUniformBufferBindingSize",
136
"maxStorageBufferBindingSize",
137
"minUniformBufferOffsetAlignment",
138
"minStorageBufferOffsetAlignment",
139
"maxVertexBuffers",
140
"maxBufferSize",
141
"maxVertexAttributes",
142
"maxVertexBufferArrayStride",
143
"maxInterStageShaderComponents",
144
"maxInterStageShaderVariables",
145
"maxColorAttachments",
146
"maxColorAttachmentBytesPerSample",
147
"maxComputeWorkgroupStorageSize",
148
"maxComputeInvocationsPerWorkgroup",
149
"maxComputeWorkgroupSizeX",
150
"maxComputeWorkgroupSizeY",
151
"maxComputeWorkgroupSizeZ",
152
"maxComputeWorkgroupsPerDimension"
153
],
154
"WGPUMultisampleState": [
155
"nextInChain",
156
"count",
157
"mask",
158
"alphaToCoverageEnabled"
159
],
160
"WGPUOrigin3D": [
161
"x",
162
"y",
163
"z"
164
],
165
"WGPUPipelineLayoutDescriptor": [
166
"nextInChain",
167
"label",
168
"bindGroupLayoutCount",
169
"bindGroupLayouts"
170
],
171
"WGPUPrimitiveDepthClipControl": [
172
"chain",
173
"unclippedDepth"
174
],
175
"WGPUPrimitiveState": [
176
"nextInChain",
177
"topology",
178
"stripIndexFormat",
179
"frontFace",
180
"cullMode"
181
],
182
"WGPUQuerySetDescriptor": [
183
"nextInChain",
184
"label",
185
"type",
186
"count"
187
],
188
"WGPUQueueDescriptor": [
189
"nextInChain",
190
"label"
191
],
192
"WGPUQueueWorkDoneCallbackInfo": [
193
"nextInChain",
194
"mode",
195
"callback",
196
"userdata"
197
],
198
"WGPURenderBundleDescriptor": [
199
"nextInChain",
200
"label"
201
],
202
"WGPURenderBundleEncoderDescriptor": [
203
"nextInChain",
204
"label",
205
"colorFormatCount",
206
"colorFormats",
207
"depthStencilFormat",
208
"sampleCount",
209
"depthReadOnly",
210
"stencilReadOnly"
211
],
212
"WGPURenderPassDepthStencilAttachment": [
213
"view",
214
"depthLoadOp",
215
"depthStoreOp",
216
"depthClearValue",
217
"depthReadOnly",
218
"stencilLoadOp",
219
"stencilStoreOp",
220
"stencilClearValue",
221
"stencilReadOnly"
222
],
223
"WGPURenderPassDescriptorMaxDrawCount": [
224
"chain",
225
"maxDrawCount"
226
],
227
"WGPURenderPassTimestampWrites": [
228
"querySet",
229
"beginningOfPassWriteIndex",
230
"endOfPassWriteIndex"
231
],
232
"WGPURequestAdapterCallbackInfo": [
233
"nextInChain",
234
"mode",
235
"callback",
236
"userdata"
237
],
238
"WGPURequestAdapterOptions": [
239
"nextInChain",
240
"compatibleSurface",
241
"powerPreference",
242
"backendType",
243
"forceFallbackAdapter",
244
"compatibilityMode"
245
],
246
"WGPUSamplerBindingLayout": [
247
"nextInChain",
248
"type"
249
],
250
"WGPUSamplerDescriptor": [
251
"nextInChain",
252
"label",
253
"addressModeU",
254
"addressModeV",
255
"addressModeW",
256
"magFilter",
257
"minFilter",
258
"mipmapFilter",
259
"lodMinClamp",
260
"lodMaxClamp",
261
"compare",
262
"maxAnisotropy"
263
],
264
"WGPUShaderModuleSPIRVDescriptor": [
265
"chain",
266
"codeSize",
267
"code"
268
],
269
"WGPUShaderModuleWGSLDescriptor": [
270
"chain",
271
"code"
272
],
273
"WGPUShaderModuleDescriptor": [
274
"nextInChain",
275
"label"
276
],
277
"WGPUStencilFaceState": [
278
"compare",
279
"failOp",
280
"depthFailOp",
281
"passOp"
282
],
283
"WGPUStorageTextureBindingLayout": [
284
"nextInChain",
285
"access",
286
"format",
287
"viewDimension"
288
],
289
"WGPUSurfaceCapabilities": [
290
"nextInChain",
291
"formatCount",
292
"formats",
293
"presentModeCount",
294
"presentModes",
295
"alphaModeCount",
296
"alphaModes"
297
],
298
"WGPUSurfaceConfiguration": [
299
"nextInChain",
300
"device",
301
"format",
302
"usage",
303
"viewFormatCount",
304
"viewFormats",
305
"alphaMode",
306
"width",
307
"height",
308
"presentMode"
309
],
310
"WGPUSurfaceDescriptor": [
311
"nextInChain",
312
"label"
313
],
314
"WGPUSurfaceDescriptorFromCanvasHTMLSelector": [
315
"chain",
316
"selector"
317
],
318
"WGPUSurfaceTexture": [
319
"texture",
320
"suboptimal",
321
"status"
322
],
323
"WGPUSwapChainDescriptor": [
324
"nextInChain",
325
"label",
326
"usage",
327
"format",
328
"width",
329
"height",
330
"presentMode"
331
],
332
"WGPUTextureBindingLayout": [
333
"nextInChain",
334
"sampleType",
335
"viewDimension",
336
"multisampled"
337
],
338
"WGPUTextureBindingViewDimensionDescriptor": [
339
"chain",
340
"textureBindingViewDimension"
341
],
342
"WGPUTextureDataLayout": [
343
"nextInChain",
344
"offset",
345
"bytesPerRow",
346
"rowsPerImage"
347
],
348
"WGPUTextureViewDescriptor": [
349
"nextInChain",
350
"label",
351
"format",
352
"dimension",
353
"baseMipLevel",
354
"mipLevelCount",
355
"baseArrayLayer",
356
"arrayLayerCount",
357
"aspect"
358
],
359
"WGPUVertexAttribute": [
360
"format",
361
"offset",
362
"shaderLocation"
363
],
364
"WGPUBindGroupDescriptor": [
365
"nextInChain",
366
"label",
367
"layout",
368
"entryCount",
369
"entries"
370
],
371
"WGPUBindGroupLayoutEntry": [
372
"nextInChain",
373
"binding",
374
"visibility",
375
"buffer",
376
"sampler",
377
"texture",
378
"storageTexture"
379
],
380
"WGPUBlendState": [
381
"color",
382
"alpha"
383
],
384
"WGPUCompilationInfo": [
385
"nextInChain",
386
"messageCount",
387
"messages"
388
],
389
"WGPUComputePassDescriptor": [
390
"nextInChain",
391
"label",
392
"timestampWrites"
393
],
394
"WGPUDepthStencilState": [
395
"nextInChain",
396
"format",
397
"depthWriteEnabled",
398
"depthCompare",
399
"stencilFront",
400
"stencilBack",
401
"stencilReadMask",
402
"stencilWriteMask",
403
"depthBias",
404
"depthBiasSlopeScale",
405
"depthBiasClamp"
406
],
407
"WGPUFutureWaitInfo": [
408
"future",
409
"completed"
410
],
411
"WGPUImageCopyBuffer": [
412
"nextInChain",
413
"layout",
414
"buffer"
415
],
416
"WGPUImageCopyTexture": [
417
"nextInChain",
418
"texture",
419
"mipLevel",
420
"origin",
421
"aspect"
422
],
423
"WGPUInstanceDescriptor": [
424
"nextInChain",
425
"features"
426
],
427
"WGPUProgrammableStageDescriptor": [
428
"nextInChain",
429
"module",
430
"entryPoint",
431
"constantCount",
432
"constants"
433
],
434
"WGPURenderPassColorAttachment": [
435
"nextInChain",
436
"view",
437
"depthSlice",
438
"resolveTarget",
439
"loadOp",
440
"storeOp",
441
"clearValue"
442
],
443
"WGPURequiredLimits": [
444
"nextInChain",
445
"limits"
446
],
447
"WGPUSupportedLimits": [
448
"nextInChain",
449
"limits"
450
],
451
"WGPUTextureDescriptor": [
452
"nextInChain",
453
"label",
454
"usage",
455
"dimension",
456
"size",
457
"format",
458
"mipLevelCount",
459
"sampleCount",
460
"viewFormatCount",
461
"viewFormats"
462
],
463
"WGPUVertexBufferLayout": [
464
"arrayStride",
465
"stepMode",
466
"attributeCount",
467
"attributes"
468
],
469
"WGPUBindGroupLayoutDescriptor": [
470
"nextInChain",
471
"label",
472
"entryCount",
473
"entries"
474
],
475
"WGPUColorTargetState": [
476
"nextInChain",
477
"format",
478
"blend",
479
"writeMask"
480
],
481
"WGPUComputePipelineDescriptor": [
482
"nextInChain",
483
"label",
484
"layout",
485
"compute"
486
],
487
"WGPUDeviceDescriptor": [
488
"nextInChain",
489
"label",
490
"requiredFeatureCount",
491
"requiredFeatures",
492
"requiredLimits",
493
"defaultQueue",
494
"deviceLostCallback",
495
"deviceLostUserdata"
496
],
497
"WGPURenderPassDescriptor": [
498
"nextInChain",
499
"label",
500
"colorAttachmentCount",
501
"colorAttachments",
502
"depthStencilAttachment",
503
"occlusionQuerySet",
504
"timestampWrites"
505
],
506
"WGPUVertexState": [
507
"nextInChain",
508
"module",
509
"entryPoint",
510
"constantCount",
511
"constants",
512
"bufferCount",
513
"buffers"
514
],
515
"WGPUFragmentState": [
516
"nextInChain",
517
"module",
518
"entryPoint",
519
"constantCount",
520
"constants",
521
"targetCount",
522
"targets"
523
],
524
"WGPURenderPipelineDescriptor": [
525
"nextInChain",
526
"label",
527
"layout",
528
"vertex",
529
"primitive",
530
"depthStencil",
531
"multisample",
532
"fragment"
533
]
534
}
535
}
536
]
537
538