Halide 22.0.0 Halide compiler and libraries

mini_webgpu.h
Go to the documentation of this file.
1// BSD 3-Clause License
2//
3// Copyright (c) 2019, "WebGPU native" developers
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are met:
8//
9// 1. Redistributions of source code must retain the above copyright notice, this
10// list of conditions and the following disclaimer.
11//
12// 2. Redistributions in binary form must reproduce the above copyright notice,
13// this list of conditions and the following disclaimer in the documentation
14// and/or other materials provided with the distribution.
15//
16// 3. Neither the name of the copyright holder nor the names of its
17// contributors may be used to endorse or promote products derived from
18// this software without specific prior written permission.
19//
20// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30#ifdef __EMSCRIPTEN__
31#error "Do not include this header. Emscripten already provides headers needed for WebGPU."
32#endif
33#ifndef WEBGPU_H_
34#define WEBGPU_H_
35
36// clang-format off
37
38#if defined(WGPU_SHARED_LIBRARY)
39# if defined(_WIN32)
40# if defined(WGPU_IMPLEMENTATION)
41# define WGPU_EXPORT __declspec(dllexport)
42# else
43# define WGPU_EXPORT __declspec(dllimport)
44# endif
45# else // defined(_WIN32)
46# if defined(WGPU_IMPLEMENTATION)
47# define WGPU_EXPORT __attribute__((visibility("default")))
48# else
49# define WGPU_EXPORT
50# endif
51# endif // defined(_WIN32)
52#else // defined(WGPU_SHARED_LIBRARY)
53# define WGPU_EXPORT
54#endif // defined(WGPU_SHARED_LIBRARY)
55
56#if !defined(WGPU_OBJECT_ATTRIBUTE)
57#define WGPU_OBJECT_ATTRIBUTE
58#endif
59#if !defined(WGPU_ENUM_ATTRIBUTE)
60#define WGPU_ENUM_ATTRIBUTE
61#endif
62#if !defined(WGPU_STRUCTURE_ATTRIBUTE)
63#define WGPU_STRUCTURE_ATTRIBUTE
64#endif
65#if !defined(WGPU_FUNCTION_ATTRIBUTE)
66#define WGPU_FUNCTION_ATTRIBUTE
67#endif
68#if !defined(WGPU_NULLABLE)
69#define WGPU_NULLABLE
70#endif
71
72// Don't include these in Halide runtime
73// #include <stdint.h>
74// #include <stddef.h>
75
76#define WGPU_ARRAY_LAYER_COUNT_UNDEFINED UINT32_MAX
77#define WGPU_COPY_STRIDE_UNDEFINED UINT32_MAX
78#define WGPU_DEPTH_SLICE_UNDEFINED UINT32_MAX
79#define WGPU_LIMIT_U32_UNDEFINED UINT32_MAX
80#define WGPU_LIMIT_U64_UNDEFINED UINT64_MAX
81#define WGPU_MIP_LEVEL_COUNT_UNDEFINED UINT32_MAX
82#define WGPU_QUERY_SET_INDEX_UNDEFINED UINT32_MAX
83#define WGPU_WHOLE_MAP_SIZE SIZE_MAX
84#define WGPU_WHOLE_SIZE UINT64_MAX
85
86 typedef uint32_t WGPUFlags;
87 typedef uint32_t WGPUBool;
88
89 typedef struct WGPUAdapterImpl* WGPUAdapter WGPU_OBJECT_ATTRIBUTE;
90 typedef struct WGPUBindGroupImpl* WGPUBindGroup WGPU_OBJECT_ATTRIBUTE;
91 typedef struct WGPUBindGroupLayoutImpl* WGPUBindGroupLayout WGPU_OBJECT_ATTRIBUTE;
92 typedef struct WGPUBufferImpl* WGPUBuffer WGPU_OBJECT_ATTRIBUTE;
93 typedef struct WGPUCommandBufferImpl* WGPUCommandBuffer WGPU_OBJECT_ATTRIBUTE;
94 typedef struct WGPUCommandEncoderImpl* WGPUCommandEncoder WGPU_OBJECT_ATTRIBUTE;
95 typedef struct WGPUComputePassEncoderImpl* WGPUComputePassEncoder WGPU_OBJECT_ATTRIBUTE;
96 typedef struct WGPUComputePipelineImpl* WGPUComputePipeline WGPU_OBJECT_ATTRIBUTE;
97 typedef struct WGPUDeviceImpl* WGPUDevice WGPU_OBJECT_ATTRIBUTE;
98 typedef struct WGPUExternalTextureImpl* WGPUExternalTexture WGPU_OBJECT_ATTRIBUTE;
99 typedef struct WGPUInstanceImpl* WGPUInstance WGPU_OBJECT_ATTRIBUTE;
100 typedef struct WGPUPipelineLayoutImpl* WGPUPipelineLayout WGPU_OBJECT_ATTRIBUTE;
101 typedef struct WGPUQuerySetImpl* WGPUQuerySet WGPU_OBJECT_ATTRIBUTE;
102 typedef struct WGPUQueueImpl* WGPUQueue WGPU_OBJECT_ATTRIBUTE;
103 typedef struct WGPURenderBundleImpl* WGPURenderBundle WGPU_OBJECT_ATTRIBUTE;
104 typedef struct WGPURenderBundleEncoderImpl* WGPURenderBundleEncoder WGPU_OBJECT_ATTRIBUTE;
105 typedef struct WGPURenderPassEncoderImpl* WGPURenderPassEncoder WGPU_OBJECT_ATTRIBUTE;
106 typedef struct WGPURenderPipelineImpl* WGPURenderPipeline WGPU_OBJECT_ATTRIBUTE;
107 typedef struct WGPUSamplerImpl* WGPUSampler WGPU_OBJECT_ATTRIBUTE;
108 typedef struct WGPUShaderModuleImpl* WGPUShaderModule WGPU_OBJECT_ATTRIBUTE;
109 typedef struct WGPUSharedFenceImpl* WGPUSharedFence WGPU_OBJECT_ATTRIBUTE;
110 typedef struct WGPUSharedTextureMemoryImpl* WGPUSharedTextureMemory WGPU_OBJECT_ATTRIBUTE;
111 typedef struct WGPUSurfaceImpl* WGPUSurface WGPU_OBJECT_ATTRIBUTE;
112 typedef struct WGPUSwapChainImpl* WGPUSwapChain WGPU_OBJECT_ATTRIBUTE;
113 typedef struct WGPUTextureImpl* WGPUTexture WGPU_OBJECT_ATTRIBUTE;
114 typedef struct WGPUTextureViewImpl* WGPUTextureView WGPU_OBJECT_ATTRIBUTE;
115
116// Structure forward declarations
117 struct WGPUAdapterProperties;
118 struct WGPUAdapterPropertiesD3D;
119 struct WGPUBindGroupEntry;
120 struct WGPUBlendComponent;
121 struct WGPUBufferBindingLayout;
122 struct WGPUBufferDescriptor;
123 struct WGPUBufferHostMappedPointer;
124 struct WGPUBufferMapCallbackInfo;
125 struct WGPUColor;
126 struct WGPUCommandBufferDescriptor;
127 struct WGPUCommandEncoderDescriptor;
128 struct WGPUCompilationMessage;
129 struct WGPUComputePassTimestampWrites;
130 struct WGPUConstantEntry;
131 struct WGPUCopyTextureForBrowserOptions;
132 struct WGPUCreateComputePipelineAsyncCallbackInfo;
133 struct WGPUCreateRenderPipelineAsyncCallbackInfo;
134 struct WGPUDawnWGSLBlocklist;
135 struct WGPUDawnAdapterPropertiesPowerPreference;
136 struct WGPUDawnBufferDescriptorErrorInfoFromWireClient;
137 struct WGPUDawnCacheDeviceDescriptor;
138 struct WGPUDawnComputePipelineFullSubgroups;
139 struct WGPUDawnEncoderInternalUsageDescriptor;
140 struct WGPUDawnExperimentalSubgroupLimits;
141 struct WGPUDawnMultisampleStateRenderToSingleSampled;
142 struct WGPUDawnRenderPassColorAttachmentRenderToSingleSampled;
143 struct WGPUDawnShaderModuleSPIRVOptionsDescriptor;
144 struct WGPUDawnTextureInternalUsageDescriptor;
145 struct WGPUDawnTogglesDescriptor;
146 struct WGPUDawnWireWGSLControl;
147 struct WGPUDepthStencilStateDepthWriteDefinedDawn;
148 struct WGPUExtent2D;
149 struct WGPUExtent3D;
150 struct WGPUExternalTextureBindingEntry;
151 struct WGPUExternalTextureBindingLayout;
152 struct WGPUFuture;
153 struct WGPUInstanceFeatures;
154 struct WGPULimits;
155 struct WGPUMemoryHeapInfo;
156 struct WGPUMultisampleState;
157 struct WGPUOrigin2D;
158 struct WGPUOrigin3D;
159 struct WGPUPipelineLayoutDescriptor;
160 struct WGPUPipelineLayoutStorageAttachment;
161 struct WGPUPrimitiveDepthClipControl;
162 struct WGPUPrimitiveState;
163 struct WGPUQuerySetDescriptor;
164 struct WGPUQueueDescriptor;
165 struct WGPUQueueWorkDoneCallbackInfo;
166 struct WGPURenderBundleDescriptor;
167 struct WGPURenderBundleEncoderDescriptor;
168 struct WGPURenderPassDepthStencilAttachment;
169 struct WGPURenderPassDescriptorMaxDrawCount;
170 struct WGPURenderPassTimestampWrites;
171 struct WGPURequestAdapterCallbackInfo;
172 struct WGPURequestAdapterOptions;
173 struct WGPURequestDeviceCallbackInfo;
174 struct WGPUSamplerBindingLayout;
175 struct WGPUSamplerDescriptor;
176 struct WGPUShaderModuleSPIRVDescriptor;
177 struct WGPUShaderModuleWGSLDescriptor;
178 struct WGPUShaderModuleDescriptor;
179 struct WGPUSharedFenceDXGISharedHandleDescriptor;
180 struct WGPUSharedFenceDXGISharedHandleExportInfo;
181 struct WGPUSharedFenceMTLSharedEventDescriptor;
182 struct WGPUSharedFenceMTLSharedEventExportInfo;
183 struct WGPUSharedFenceDescriptor;
184 struct WGPUSharedFenceExportInfo;
185 struct WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor;
186 struct WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo;
187 struct WGPUSharedFenceVkSemaphoreSyncFDDescriptor;
188 struct WGPUSharedFenceVkSemaphoreSyncFDExportInfo;
189 struct WGPUSharedFenceVkSemaphoreZirconHandleDescriptor;
190 struct WGPUSharedFenceVkSemaphoreZirconHandleExportInfo;
191 struct WGPUSharedTextureMemoryDXGISharedHandleDescriptor;
192 struct WGPUSharedTextureMemoryEGLImageDescriptor;
193 struct WGPUSharedTextureMemoryIOSurfaceDescriptor;
194 struct WGPUSharedTextureMemoryAHardwareBufferDescriptor;
195 struct WGPUSharedTextureMemoryBeginAccessDescriptor;
196 struct WGPUSharedTextureMemoryDescriptor;
197 struct WGPUSharedTextureMemoryDmaBufPlane;
198 struct WGPUSharedTextureMemoryEndAccessState;
199 struct WGPUSharedTextureMemoryOpaqueFDDescriptor;
200 struct WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor;
201 struct WGPUSharedTextureMemoryVkImageLayoutBeginState;
202 struct WGPUSharedTextureMemoryVkImageLayoutEndState;
203 struct WGPUSharedTextureMemoryZirconHandleDescriptor;
204 struct WGPUStencilFaceState;
205 struct WGPUStorageTextureBindingLayout;
206 struct WGPUSurfaceDescriptor;
207 struct WGPUSurfaceDescriptorFromAndroidNativeWindow;
208 struct WGPUSurfaceDescriptorFromCanvasHTMLSelector;
209 struct WGPUSurfaceDescriptorFromMetalLayer;
210 struct WGPUSurfaceDescriptorFromWaylandSurface;
211 struct WGPUSurfaceDescriptorFromWindowsHWND;
212 struct WGPUSurfaceDescriptorFromWindowsCoreWindow;
213 struct WGPUSurfaceDescriptorFromWindowsSwapChainPanel;
214 struct WGPUSurfaceDescriptorFromXlibWindow;
215 struct WGPUSwapChainDescriptor;
216 struct WGPUTextureBindingLayout;
217 struct WGPUTextureBindingViewDimensionDescriptor;
218 struct WGPUTextureDataLayout;
219 struct WGPUTextureViewDescriptor;
220 struct WGPUVertexAttribute;
221 struct WGPUAdapterPropertiesMemoryHeaps;
222 struct WGPUBindGroupDescriptor;
223 struct WGPUBindGroupLayoutEntry;
224 struct WGPUBlendState;
225 struct WGPUCompilationInfo;
226 struct WGPUComputePassDescriptor;
227 struct WGPUDepthStencilState;
228 struct WGPUExternalTextureDescriptor;
229 struct WGPUFutureWaitInfo;
230 struct WGPUImageCopyBuffer;
231 struct WGPUImageCopyExternalTexture;
232 struct WGPUImageCopyTexture;
233 struct WGPUInstanceDescriptor;
234 struct WGPUPipelineLayoutPixelLocalStorage;
235 struct WGPUProgrammableStageDescriptor;
236 struct WGPURenderPassColorAttachment;
237 struct WGPURenderPassStorageAttachment;
238 struct WGPURequiredLimits;
239 struct WGPUSharedTextureMemoryDmaBufDescriptor;
240 struct WGPUSharedTextureMemoryProperties;
241 struct WGPUSharedTextureMemoryVkImageDescriptor;
242 struct WGPUSupportedLimits;
243 struct WGPUTextureDescriptor;
244 struct WGPUVertexBufferLayout;
245 struct WGPUBindGroupLayoutDescriptor;
246 struct WGPUColorTargetState;
247 struct WGPUComputePipelineDescriptor;
248 struct WGPUDeviceDescriptor;
249 struct WGPURenderPassDescriptor;
250 struct WGPURenderPassPixelLocalStorage;
251 struct WGPUVertexState;
252 struct WGPUFragmentState;
253 struct WGPURenderPipelineDescriptor;
254
255 typedef enum WGPUWGSLFeatureName {
256 WGPUWGSLFeatureName_Undefined = 0x00000000,
257 WGPUWGSLFeatureName_ReadonlyAndReadwriteStorageTextures = 0x00000001,
258 WGPUWGSLFeatureName_Packed4x8IntegerDotProduct = 0x00000002,
259 WGPUWGSLFeatureName_UnrestrictedPointerParameters = 0x00000003,
260 WGPUWGSLFeatureName_PointerCompositeAccess = 0x00000004,
261 WGPUWGSLFeatureName_ChromiumTestingUnimplemented = 0x000003E8,
262 WGPUWGSLFeatureName_ChromiumTestingUnsafeExperimental = 0x000003E9,
263 WGPUWGSLFeatureName_ChromiumTestingExperimental = 0x000003EA,
264 WGPUWGSLFeatureName_ChromiumTestingShippedWithKillswitch = 0x000003EB,
265 WGPUWGSLFeatureName_ChromiumTestingShipped = 0x000003EC,
266 WGPUWGSLFeatureName_Force32 = 0x7FFFFFFF
267} WGPUWGSLFeatureName WGPU_ENUM_ATTRIBUTE;
268
269 typedef enum WGPUAdapterType {
270 WGPUAdapterType_DiscreteGPU = 0x00000001,
271 WGPUAdapterType_IntegratedGPU = 0x00000002,
272 WGPUAdapterType_CPU = 0x00000003,
273 WGPUAdapterType_Unknown = 0x00000004,
274 WGPUAdapterType_Force32 = 0x7FFFFFFF
275} WGPUAdapterType WGPU_ENUM_ATTRIBUTE;
276
277 typedef enum WGPUAddressMode {
278 WGPUAddressMode_Undefined = 0x00000000,
279 WGPUAddressMode_ClampToEdge = 0x00000001,
280 WGPUAddressMode_Repeat = 0x00000002,
281 WGPUAddressMode_MirrorRepeat = 0x00000003,
282 WGPUAddressMode_Force32 = 0x7FFFFFFF
283} WGPUAddressMode WGPU_ENUM_ATTRIBUTE;
284
285 typedef enum WGPUAlphaMode {
286 WGPUAlphaMode_Opaque = 0x00000001,
287 WGPUAlphaMode_Premultiplied = 0x00000002,
288 WGPUAlphaMode_Unpremultiplied = 0x00000003,
289 WGPUAlphaMode_Force32 = 0x7FFFFFFF
290} WGPUAlphaMode WGPU_ENUM_ATTRIBUTE;
291
292 typedef enum WGPUBackendType {
293 WGPUBackendType_Undefined = 0x00000000,
294 WGPUBackendType_Null = 0x00000001,
295 WGPUBackendType_WebGPU = 0x00000002,
296 WGPUBackendType_D3D11 = 0x00000003,
297 WGPUBackendType_D3D12 = 0x00000004,
298 WGPUBackendType_Metal = 0x00000005,
299 WGPUBackendType_Vulkan = 0x00000006,
300 WGPUBackendType_OpenGL = 0x00000007,
301 WGPUBackendType_OpenGLES = 0x00000008,
302 WGPUBackendType_Force32 = 0x7FFFFFFF
303} WGPUBackendType WGPU_ENUM_ATTRIBUTE;
304
305 typedef enum WGPUBlendFactor {
306 WGPUBlendFactor_Undefined = 0x00000000,
307 WGPUBlendFactor_Zero = 0x00000001,
308 WGPUBlendFactor_One = 0x00000002,
309 WGPUBlendFactor_Src = 0x00000003,
310 WGPUBlendFactor_OneMinusSrc = 0x00000004,
311 WGPUBlendFactor_SrcAlpha = 0x00000005,
312 WGPUBlendFactor_OneMinusSrcAlpha = 0x00000006,
313 WGPUBlendFactor_Dst = 0x00000007,
314 WGPUBlendFactor_OneMinusDst = 0x00000008,
315 WGPUBlendFactor_DstAlpha = 0x00000009,
316 WGPUBlendFactor_OneMinusDstAlpha = 0x0000000A,
317 WGPUBlendFactor_SrcAlphaSaturated = 0x0000000B,
318 WGPUBlendFactor_Constant = 0x0000000C,
319 WGPUBlendFactor_OneMinusConstant = 0x0000000D,
320 WGPUBlendFactor_Src1 = 0x0000000E,
321 WGPUBlendFactor_OneMinusSrc1 = 0x0000000F,
322 WGPUBlendFactor_Src1Alpha = 0x00000010,
323 WGPUBlendFactor_OneMinusSrc1Alpha = 0x00000011,
324 WGPUBlendFactor_Force32 = 0x7FFFFFFF
325} WGPUBlendFactor WGPU_ENUM_ATTRIBUTE;
326
327 typedef enum WGPUBlendOperation {
328 WGPUBlendOperation_Undefined = 0x00000000,
329 WGPUBlendOperation_Add = 0x00000001,
330 WGPUBlendOperation_Subtract = 0x00000002,
331 WGPUBlendOperation_ReverseSubtract = 0x00000003,
332 WGPUBlendOperation_Min = 0x00000004,
333 WGPUBlendOperation_Max = 0x00000005,
334 WGPUBlendOperation_Force32 = 0x7FFFFFFF
335} WGPUBlendOperation WGPU_ENUM_ATTRIBUTE;
336
337 typedef enum WGPUBufferBindingType {
338 WGPUBufferBindingType_Undefined = 0x00000000,
339 WGPUBufferBindingType_Uniform = 0x00000001,
340 WGPUBufferBindingType_Storage = 0x00000002,
341 WGPUBufferBindingType_ReadOnlyStorage = 0x00000003,
342 WGPUBufferBindingType_Force32 = 0x7FFFFFFF
343} WGPUBufferBindingType WGPU_ENUM_ATTRIBUTE;
344
345 typedef enum WGPUBufferMapAsyncStatus {
346 WGPUBufferMapAsyncStatus_Success = 0x00000000,
347 WGPUBufferMapAsyncStatus_InstanceDropped = 0x00000001,
348 WGPUBufferMapAsyncStatus_ValidationError = 0x00000002,
349 WGPUBufferMapAsyncStatus_Unknown = 0x00000003,
350 WGPUBufferMapAsyncStatus_DeviceLost = 0x00000004,
351 WGPUBufferMapAsyncStatus_DestroyedBeforeCallback = 0x00000005,
352 WGPUBufferMapAsyncStatus_UnmappedBeforeCallback = 0x00000006,
353 WGPUBufferMapAsyncStatus_MappingAlreadyPending = 0x00000007,
354 WGPUBufferMapAsyncStatus_OffsetOutOfRange = 0x00000008,
355 WGPUBufferMapAsyncStatus_SizeOutOfRange = 0x00000009,
356 WGPUBufferMapAsyncStatus_Force32 = 0x7FFFFFFF
357} WGPUBufferMapAsyncStatus WGPU_ENUM_ATTRIBUTE;
358
359 typedef enum WGPUBufferMapState {
360 WGPUBufferMapState_Unmapped = 0x00000001,
361 WGPUBufferMapState_Pending = 0x00000002,
362 WGPUBufferMapState_Mapped = 0x00000003,
363 WGPUBufferMapState_Force32 = 0x7FFFFFFF
364} WGPUBufferMapState WGPU_ENUM_ATTRIBUTE;
365
366 typedef enum WGPUCallbackMode {
367 WGPUCallbackMode_WaitAnyOnly = 0x00000000,
368 WGPUCallbackMode_AllowProcessEvents = 0x00000001,
369 WGPUCallbackMode_AllowSpontaneous = 0x00000002,
370 WGPUCallbackMode_Force32 = 0x7FFFFFFF
371} WGPUCallbackMode WGPU_ENUM_ATTRIBUTE;
372
373 typedef enum WGPUCompareFunction {
374 WGPUCompareFunction_Undefined = 0x00000000,
375 WGPUCompareFunction_Never = 0x00000001,
376 WGPUCompareFunction_Less = 0x00000002,
377 WGPUCompareFunction_Equal = 0x00000003,
378 WGPUCompareFunction_LessEqual = 0x00000004,
379 WGPUCompareFunction_Greater = 0x00000005,
380 WGPUCompareFunction_NotEqual = 0x00000006,
381 WGPUCompareFunction_GreaterEqual = 0x00000007,
382 WGPUCompareFunction_Always = 0x00000008,
383 WGPUCompareFunction_Force32 = 0x7FFFFFFF
384} WGPUCompareFunction WGPU_ENUM_ATTRIBUTE;
385
386 typedef enum WGPUCompilationInfoRequestStatus {
387 WGPUCompilationInfoRequestStatus_Success = 0x00000000,
388 WGPUCompilationInfoRequestStatus_InstanceDropped = 0x00000001,
389 WGPUCompilationInfoRequestStatus_Error = 0x00000002,
390 WGPUCompilationInfoRequestStatus_DeviceLost = 0x00000003,
391 WGPUCompilationInfoRequestStatus_Unknown = 0x00000004,
392 WGPUCompilationInfoRequestStatus_Force32 = 0x7FFFFFFF
393} WGPUCompilationInfoRequestStatus WGPU_ENUM_ATTRIBUTE;
394
395 typedef enum WGPUCompilationMessageType {
396 WGPUCompilationMessageType_Error = 0x00000001,
397 WGPUCompilationMessageType_Warning = 0x00000002,
398 WGPUCompilationMessageType_Info = 0x00000003,
399 WGPUCompilationMessageType_Force32 = 0x7FFFFFFF
400} WGPUCompilationMessageType WGPU_ENUM_ATTRIBUTE;
401
402 typedef enum WGPUCreatePipelineAsyncStatus {
403 WGPUCreatePipelineAsyncStatus_Success = 0x00000000,
404 WGPUCreatePipelineAsyncStatus_InstanceDropped = 0x00000001,
405 WGPUCreatePipelineAsyncStatus_ValidationError = 0x00000002,
406 WGPUCreatePipelineAsyncStatus_InternalError = 0x00000003,
407 WGPUCreatePipelineAsyncStatus_DeviceLost = 0x00000004,
408 WGPUCreatePipelineAsyncStatus_DeviceDestroyed = 0x00000005,
409 WGPUCreatePipelineAsyncStatus_Unknown = 0x00000006,
410 WGPUCreatePipelineAsyncStatus_Force32 = 0x7FFFFFFF
411} WGPUCreatePipelineAsyncStatus WGPU_ENUM_ATTRIBUTE;
412
413 typedef enum WGPUCullMode {
414 WGPUCullMode_Undefined = 0x00000000,
415 WGPUCullMode_None = 0x00000001,
416 WGPUCullMode_Front = 0x00000002,
417 WGPUCullMode_Back = 0x00000003,
418 WGPUCullMode_Force32 = 0x7FFFFFFF
419} WGPUCullMode WGPU_ENUM_ATTRIBUTE;
420
421 typedef enum WGPUDeviceLostReason {
422 WGPUDeviceLostReason_Undefined = 0x00000000,
423 WGPUDeviceLostReason_Destroyed = 0x00000001,
424 WGPUDeviceLostReason_Force32 = 0x7FFFFFFF
425} WGPUDeviceLostReason WGPU_ENUM_ATTRIBUTE;
426
427 typedef enum WGPUErrorFilter {
428 WGPUErrorFilter_Validation = 0x00000001,
429 WGPUErrorFilter_OutOfMemory = 0x00000002,
430 WGPUErrorFilter_Internal = 0x00000003,
431 WGPUErrorFilter_Force32 = 0x7FFFFFFF
432} WGPUErrorFilter WGPU_ENUM_ATTRIBUTE;
433
434 typedef enum WGPUErrorType {
435 WGPUErrorType_NoError = 0x00000000,
436 WGPUErrorType_Validation = 0x00000001,
437 WGPUErrorType_OutOfMemory = 0x00000002,
438 WGPUErrorType_Internal = 0x00000003,
439 WGPUErrorType_Unknown = 0x00000004,
440 WGPUErrorType_DeviceLost = 0x00000005,
441 WGPUErrorType_Force32 = 0x7FFFFFFF
442} WGPUErrorType WGPU_ENUM_ATTRIBUTE;
443
444 typedef enum WGPUExternalTextureRotation {
445 WGPUExternalTextureRotation_Rotate0Degrees = 0x00000000,
446 WGPUExternalTextureRotation_Rotate90Degrees = 0x00000001,
447 WGPUExternalTextureRotation_Rotate180Degrees = 0x00000002,
448 WGPUExternalTextureRotation_Rotate270Degrees = 0x00000003,
449 WGPUExternalTextureRotation_Force32 = 0x7FFFFFFF
450} WGPUExternalTextureRotation WGPU_ENUM_ATTRIBUTE;
451
452 typedef enum WGPUFeatureName {
453 WGPUFeatureName_Undefined = 0x00000000,
454 WGPUFeatureName_DepthClipControl = 0x00000001,
455 WGPUFeatureName_Depth32FloatStencil8 = 0x00000002,
456 WGPUFeatureName_TimestampQuery = 0x00000003,
457 WGPUFeatureName_TextureCompressionBC = 0x00000004,
458 WGPUFeatureName_TextureCompressionETC2 = 0x00000005,
459 WGPUFeatureName_TextureCompressionASTC = 0x00000006,
460 WGPUFeatureName_IndirectFirstInstance = 0x00000007,
461 WGPUFeatureName_ShaderF16 = 0x00000008,
462 WGPUFeatureName_RG11B10UfloatRenderable = 0x00000009,
463 WGPUFeatureName_BGRA8UnormStorage = 0x0000000A,
464 WGPUFeatureName_Float32Filterable = 0x0000000B,
465 WGPUFeatureName_DawnInternalUsages = 0x000003EA,
466 WGPUFeatureName_DawnMultiPlanarFormats = 0x000003EB,
467 WGPUFeatureName_DawnNative = 0x000003EC,
468 WGPUFeatureName_ChromiumExperimentalTimestampQueryInsidePasses = 0x000003EE,
469 WGPUFeatureName_ImplicitDeviceSynchronization = 0x000003EF,
470 WGPUFeatureName_SurfaceCapabilities = 0x000003F0,
471 WGPUFeatureName_TransientAttachments = 0x000003F1,
472 WGPUFeatureName_MSAARenderToSingleSampled = 0x000003F2,
473 WGPUFeatureName_DualSourceBlending = 0x000003F3,
474 WGPUFeatureName_D3D11MultithreadProtected = 0x000003F4,
475 WGPUFeatureName_ANGLETextureSharing = 0x000003F5,
476 WGPUFeatureName_ChromiumExperimentalSubgroups = 0x000003F6,
477 WGPUFeatureName_ChromiumExperimentalSubgroupUniformControlFlow = 0x000003F7,
478 WGPUFeatureName_PixelLocalStorageCoherent = 0x000003F9,
479 WGPUFeatureName_PixelLocalStorageNonCoherent = 0x000003FA,
480 WGPUFeatureName_Norm16TextureFormats = 0x000003FB,
481 WGPUFeatureName_MultiPlanarFormatExtendedUsages = 0x000003FC,
482 WGPUFeatureName_MultiPlanarFormatP010 = 0x000003FD,
483 WGPUFeatureName_HostMappedPointer = 0x000003FE,
484 WGPUFeatureName_MultiPlanarRenderTargets = 0x000003FF,
485 WGPUFeatureName_MultiPlanarFormatNv12a = 0x00000400,
486 WGPUFeatureName_FramebufferFetch = 0x00000401,
487 WGPUFeatureName_BufferMapExtendedUsages = 0x00000402,
488 WGPUFeatureName_AdapterPropertiesMemoryHeaps = 0x00000403,
489 WGPUFeatureName_AdapterPropertiesD3D = 0x00000404,
490 WGPUFeatureName_SharedTextureMemoryVkDedicatedAllocation = 0x0000044C,
491 WGPUFeatureName_SharedTextureMemoryAHardwareBuffer = 0x0000044D,
492 WGPUFeatureName_SharedTextureMemoryDmaBuf = 0x0000044E,
493 WGPUFeatureName_SharedTextureMemoryOpaqueFD = 0x0000044F,
494 WGPUFeatureName_SharedTextureMemoryZirconHandle = 0x00000450,
495 WGPUFeatureName_SharedTextureMemoryDXGISharedHandle = 0x00000451,
496 WGPUFeatureName_SharedTextureMemoryD3D11Texture2D = 0x00000452,
497 WGPUFeatureName_SharedTextureMemoryIOSurface = 0x00000453,
498 WGPUFeatureName_SharedTextureMemoryEGLImage = 0x00000454,
499 WGPUFeatureName_SharedFenceVkSemaphoreOpaqueFD = 0x000004B0,
500 WGPUFeatureName_SharedFenceVkSemaphoreSyncFD = 0x000004B1,
501 WGPUFeatureName_SharedFenceVkSemaphoreZirconHandle = 0x000004B2,
502 WGPUFeatureName_SharedFenceDXGISharedHandle = 0x000004B3,
503 WGPUFeatureName_SharedFenceMTLSharedEvent = 0x000004B4,
504 WGPUFeatureName_Force32 = 0x7FFFFFFF
505} WGPUFeatureName WGPU_ENUM_ATTRIBUTE;
506
507 typedef enum WGPUFilterMode {
508 WGPUFilterMode_Undefined = 0x00000000,
509 WGPUFilterMode_Nearest = 0x00000001,
510 WGPUFilterMode_Linear = 0x00000002,
511 WGPUFilterMode_Force32 = 0x7FFFFFFF
512} WGPUFilterMode WGPU_ENUM_ATTRIBUTE;
513
514 typedef enum WGPUFrontFace {
515 WGPUFrontFace_Undefined = 0x00000000,
516 WGPUFrontFace_CCW = 0x00000001,
517 WGPUFrontFace_CW = 0x00000002,
518 WGPUFrontFace_Force32 = 0x7FFFFFFF
519} WGPUFrontFace WGPU_ENUM_ATTRIBUTE;
520
521 typedef enum WGPUIndexFormat {
522 WGPUIndexFormat_Undefined = 0x00000000,
523 WGPUIndexFormat_Uint16 = 0x00000001,
524 WGPUIndexFormat_Uint32 = 0x00000002,
525 WGPUIndexFormat_Force32 = 0x7FFFFFFF
526} WGPUIndexFormat WGPU_ENUM_ATTRIBUTE;
527
528 typedef enum WGPULoadOp {
529 WGPULoadOp_Undefined = 0x00000000,
530 WGPULoadOp_Clear = 0x00000001,
531 WGPULoadOp_Load = 0x00000002,
532 WGPULoadOp_Force32 = 0x7FFFFFFF
533} WGPULoadOp WGPU_ENUM_ATTRIBUTE;
534
535 typedef enum WGPULoggingType {
536 WGPULoggingType_Verbose = 0x00000001,
537 WGPULoggingType_Info = 0x00000002,
538 WGPULoggingType_Warning = 0x00000003,
539 WGPULoggingType_Error = 0x00000004,
540 WGPULoggingType_Force32 = 0x7FFFFFFF
541} WGPULoggingType WGPU_ENUM_ATTRIBUTE;
542
543 typedef enum WGPUMipmapFilterMode {
544 WGPUMipmapFilterMode_Undefined = 0x00000000,
545 WGPUMipmapFilterMode_Nearest = 0x00000001,
546 WGPUMipmapFilterMode_Linear = 0x00000002,
547 WGPUMipmapFilterMode_Force32 = 0x7FFFFFFF
548} WGPUMipmapFilterMode WGPU_ENUM_ATTRIBUTE;
549
550 typedef enum WGPUPowerPreference {
551 WGPUPowerPreference_Undefined = 0x00000000,
552 WGPUPowerPreference_LowPower = 0x00000001,
553 WGPUPowerPreference_HighPerformance = 0x00000002,
554 WGPUPowerPreference_Force32 = 0x7FFFFFFF
555} WGPUPowerPreference WGPU_ENUM_ATTRIBUTE;
556
557 typedef enum WGPUPresentMode {
558 WGPUPresentMode_Fifo = 0x00000001,
559 WGPUPresentMode_Immediate = 0x00000003,
560 WGPUPresentMode_Mailbox = 0x00000004,
561 WGPUPresentMode_Force32 = 0x7FFFFFFF
562} WGPUPresentMode WGPU_ENUM_ATTRIBUTE;
563
564 typedef enum WGPUPrimitiveTopology {
565 WGPUPrimitiveTopology_Undefined = 0x00000000,
566 WGPUPrimitiveTopology_PointList = 0x00000001,
567 WGPUPrimitiveTopology_LineList = 0x00000002,
568 WGPUPrimitiveTopology_LineStrip = 0x00000003,
569 WGPUPrimitiveTopology_TriangleList = 0x00000004,
570 WGPUPrimitiveTopology_TriangleStrip = 0x00000005,
571 WGPUPrimitiveTopology_Force32 = 0x7FFFFFFF
572} WGPUPrimitiveTopology WGPU_ENUM_ATTRIBUTE;
573
574 typedef enum WGPUQueryType {
575 WGPUQueryType_Occlusion = 0x00000001,
576 WGPUQueryType_Timestamp = 0x00000002,
577 WGPUQueryType_Force32 = 0x7FFFFFFF
578} WGPUQueryType WGPU_ENUM_ATTRIBUTE;
579
580 typedef enum WGPUQueueWorkDoneStatus {
581 WGPUQueueWorkDoneStatus_Success = 0x00000000,
582 WGPUQueueWorkDoneStatus_InstanceDropped = 0x00000001,
583 WGPUQueueWorkDoneStatus_Error = 0x00000002,
584 WGPUQueueWorkDoneStatus_Unknown = 0x00000003,
585 WGPUQueueWorkDoneStatus_DeviceLost = 0x00000004,
586 WGPUQueueWorkDoneStatus_Force32 = 0x7FFFFFFF
587} WGPUQueueWorkDoneStatus WGPU_ENUM_ATTRIBUTE;
588
589 typedef enum WGPURequestAdapterStatus {
590 WGPURequestAdapterStatus_Success = 0x00000000,
591 WGPURequestAdapterStatus_InstanceDropped = 0x00000001,
592 WGPURequestAdapterStatus_Unavailable = 0x00000002,
593 WGPURequestAdapterStatus_Error = 0x00000003,
594 WGPURequestAdapterStatus_Unknown = 0x00000004,
595 WGPURequestAdapterStatus_Force32 = 0x7FFFFFFF
596} WGPURequestAdapterStatus WGPU_ENUM_ATTRIBUTE;
597
598 typedef enum WGPURequestDeviceStatus {
599 WGPURequestDeviceStatus_Success = 0x00000000,
600 WGPURequestDeviceStatus_InstanceDropped = 0x00000001,
601 WGPURequestDeviceStatus_Error = 0x00000002,
602 WGPURequestDeviceStatus_Unknown = 0x00000003,
603 WGPURequestDeviceStatus_Force32 = 0x7FFFFFFF
604} WGPURequestDeviceStatus WGPU_ENUM_ATTRIBUTE;
605
606 typedef enum WGPUSType {
607 WGPUSType_Invalid = 0x00000000,
608 WGPUSType_SurfaceDescriptorFromMetalLayer = 0x00000001,
609 WGPUSType_SurfaceDescriptorFromWindowsHWND = 0x00000002,
610 WGPUSType_SurfaceDescriptorFromXlibWindow = 0x00000003,
611 WGPUSType_SurfaceDescriptorFromCanvasHTMLSelector = 0x00000004,
612 WGPUSType_ShaderModuleSPIRVDescriptor = 0x00000005,
613 WGPUSType_ShaderModuleWGSLDescriptor = 0x00000006,
614 WGPUSType_PrimitiveDepthClipControl = 0x00000007,
615 WGPUSType_SurfaceDescriptorFromWaylandSurface = 0x00000008,
616 WGPUSType_SurfaceDescriptorFromAndroidNativeWindow = 0x00000009,
617 WGPUSType_SurfaceDescriptorFromWindowsCoreWindow = 0x0000000B,
618 WGPUSType_ExternalTextureBindingEntry = 0x0000000C,
619 WGPUSType_ExternalTextureBindingLayout = 0x0000000D,
620 WGPUSType_SurfaceDescriptorFromWindowsSwapChainPanel = 0x0000000E,
621 WGPUSType_RenderPassDescriptorMaxDrawCount = 0x0000000F,
622 WGPUSType_DepthStencilStateDepthWriteDefinedDawn = 0x00000010,
623 WGPUSType_TextureBindingViewDimensionDescriptor = 0x00000011,
624 WGPUSType_DawnTextureInternalUsageDescriptor = 0x000003E8,
625 WGPUSType_DawnEncoderInternalUsageDescriptor = 0x000003EB,
626 WGPUSType_DawnInstanceDescriptor = 0x000003EC,
627 WGPUSType_DawnCacheDeviceDescriptor = 0x000003ED,
628 WGPUSType_DawnAdapterPropertiesPowerPreference = 0x000003EE,
629 WGPUSType_DawnBufferDescriptorErrorInfoFromWireClient = 0x000003EF,
630 WGPUSType_DawnTogglesDescriptor = 0x000003F0,
631 WGPUSType_DawnShaderModuleSPIRVOptionsDescriptor = 0x000003F1,
632 WGPUSType_RequestAdapterOptionsLUID = 0x000003F2,
633 WGPUSType_RequestAdapterOptionsGetGLProc = 0x000003F3,
634 WGPUSType_RequestAdapterOptionsD3D11Device = 0x000003F4,
635 WGPUSType_DawnMultisampleStateRenderToSingleSampled = 0x000003F5,
636 WGPUSType_DawnRenderPassColorAttachmentRenderToSingleSampled = 0x000003F6,
637 WGPUSType_RenderPassPixelLocalStorage = 0x000003F7,
638 WGPUSType_PipelineLayoutPixelLocalStorage = 0x000003F8,
639 WGPUSType_BufferHostMappedPointer = 0x000003F9,
640 WGPUSType_DawnExperimentalSubgroupLimits = 0x000003FA,
641 WGPUSType_AdapterPropertiesMemoryHeaps = 0x000003FB,
642 WGPUSType_AdapterPropertiesD3D = 0x000003FC,
643 WGPUSType_DawnComputePipelineFullSubgroups = 0x000003FD,
644 WGPUSType_DawnWireWGSLControl = 0x000003FE,
645 WGPUSType_DawnWGSLBlocklist = 0x000003FF,
646 WGPUSType_SharedTextureMemoryVkImageDescriptor = 0x0000044C,
647 WGPUSType_SharedTextureMemoryVkDedicatedAllocationDescriptor = 0x0000044D,
648 WGPUSType_SharedTextureMemoryAHardwareBufferDescriptor = 0x0000044E,
649 WGPUSType_SharedTextureMemoryDmaBufDescriptor = 0x0000044F,
650 WGPUSType_SharedTextureMemoryOpaqueFDDescriptor = 0x00000450,
651 WGPUSType_SharedTextureMemoryZirconHandleDescriptor = 0x00000451,
652 WGPUSType_SharedTextureMemoryDXGISharedHandleDescriptor = 0x00000452,
653 WGPUSType_SharedTextureMemoryD3D11Texture2DDescriptor = 0x00000453,
654 WGPUSType_SharedTextureMemoryIOSurfaceDescriptor = 0x00000454,
655 WGPUSType_SharedTextureMemoryEGLImageDescriptor = 0x00000455,
656 WGPUSType_SharedTextureMemoryInitializedBeginState = 0x000004B0,
657 WGPUSType_SharedTextureMemoryInitializedEndState = 0x000004B1,
658 WGPUSType_SharedTextureMemoryVkImageLayoutBeginState = 0x000004B2,
659 WGPUSType_SharedTextureMemoryVkImageLayoutEndState = 0x000004B3,
660 WGPUSType_SharedFenceVkSemaphoreOpaqueFDDescriptor = 0x000004B4,
661 WGPUSType_SharedFenceVkSemaphoreOpaqueFDExportInfo = 0x000004B5,
662 WGPUSType_SharedFenceVkSemaphoreSyncFDDescriptor = 0x000004B6,
663 WGPUSType_SharedFenceVkSemaphoreSyncFDExportInfo = 0x000004B7,
664 WGPUSType_SharedFenceVkSemaphoreZirconHandleDescriptor = 0x000004B8,
665 WGPUSType_SharedFenceVkSemaphoreZirconHandleExportInfo = 0x000004B9,
666 WGPUSType_SharedFenceDXGISharedHandleDescriptor = 0x000004BA,
667 WGPUSType_SharedFenceDXGISharedHandleExportInfo = 0x000004BB,
668 WGPUSType_SharedFenceMTLSharedEventDescriptor = 0x000004BC,
669 WGPUSType_SharedFenceMTLSharedEventExportInfo = 0x000004BD,
670 WGPUSType_Force32 = 0x7FFFFFFF
671} WGPUSType WGPU_ENUM_ATTRIBUTE;
672
673 typedef enum WGPUSamplerBindingType {
674 WGPUSamplerBindingType_Undefined = 0x00000000,
675 WGPUSamplerBindingType_Filtering = 0x00000001,
676 WGPUSamplerBindingType_NonFiltering = 0x00000002,
677 WGPUSamplerBindingType_Comparison = 0x00000003,
678 WGPUSamplerBindingType_Force32 = 0x7FFFFFFF
679} WGPUSamplerBindingType WGPU_ENUM_ATTRIBUTE;
680
681 typedef enum WGPUSharedFenceType {
682 WGPUSharedFenceType_Undefined = 0x00000000,
683 WGPUSharedFenceType_VkSemaphoreOpaqueFD = 0x00000001,
684 WGPUSharedFenceType_VkSemaphoreSyncFD = 0x00000002,
685 WGPUSharedFenceType_VkSemaphoreZirconHandle = 0x00000003,
686 WGPUSharedFenceType_DXGISharedHandle = 0x00000004,
687 WGPUSharedFenceType_MTLSharedEvent = 0x00000005,
688 WGPUSharedFenceType_Force32 = 0x7FFFFFFF
689} WGPUSharedFenceType WGPU_ENUM_ATTRIBUTE;
690
691 typedef enum WGPUStencilOperation {
692 WGPUStencilOperation_Undefined = 0x00000000,
693 WGPUStencilOperation_Keep = 0x00000001,
694 WGPUStencilOperation_Zero = 0x00000002,
695 WGPUStencilOperation_Replace = 0x00000003,
696 WGPUStencilOperation_Invert = 0x00000004,
697 WGPUStencilOperation_IncrementClamp = 0x00000005,
698 WGPUStencilOperation_DecrementClamp = 0x00000006,
699 WGPUStencilOperation_IncrementWrap = 0x00000007,
700 WGPUStencilOperation_DecrementWrap = 0x00000008,
701 WGPUStencilOperation_Force32 = 0x7FFFFFFF
702} WGPUStencilOperation WGPU_ENUM_ATTRIBUTE;
703
704 typedef enum WGPUStorageTextureAccess {
705 WGPUStorageTextureAccess_Undefined = 0x00000000,
706 WGPUStorageTextureAccess_WriteOnly = 0x00000001,
707 WGPUStorageTextureAccess_ReadOnly = 0x00000002,
708 WGPUStorageTextureAccess_ReadWrite = 0x00000003,
709 WGPUStorageTextureAccess_Force32 = 0x7FFFFFFF
710} WGPUStorageTextureAccess WGPU_ENUM_ATTRIBUTE;
711
712 typedef enum WGPUStoreOp {
713 WGPUStoreOp_Undefined = 0x00000000,
714 WGPUStoreOp_Store = 0x00000001,
715 WGPUStoreOp_Discard = 0x00000002,
716 WGPUStoreOp_Force32 = 0x7FFFFFFF
717} WGPUStoreOp WGPU_ENUM_ATTRIBUTE;
718
719 typedef enum WGPUTextureAspect {
720 WGPUTextureAspect_Undefined = 0x00000000,
721 WGPUTextureAspect_All = 0x00000001,
722 WGPUTextureAspect_StencilOnly = 0x00000002,
723 WGPUTextureAspect_DepthOnly = 0x00000003,
724 WGPUTextureAspect_Plane0Only = 0x00000004,
725 WGPUTextureAspect_Plane1Only = 0x00000005,
726 WGPUTextureAspect_Plane2Only = 0x00000006,
727 WGPUTextureAspect_Force32 = 0x7FFFFFFF
728} WGPUTextureAspect WGPU_ENUM_ATTRIBUTE;
729
730 typedef enum WGPUTextureDimension {
731 WGPUTextureDimension_Undefined = 0x00000000,
732 WGPUTextureDimension_1D = 0x00000001,
733 WGPUTextureDimension_2D = 0x00000002,
734 WGPUTextureDimension_3D = 0x00000003,
735 WGPUTextureDimension_Force32 = 0x7FFFFFFF
736} WGPUTextureDimension WGPU_ENUM_ATTRIBUTE;
737
738 typedef enum WGPUTextureFormat {
739 WGPUTextureFormat_Undefined = 0x00000000,
740 WGPUTextureFormat_R8Unorm = 0x00000001,
741 WGPUTextureFormat_R8Snorm = 0x00000002,
742 WGPUTextureFormat_R8Uint = 0x00000003,
743 WGPUTextureFormat_R8Sint = 0x00000004,
744 WGPUTextureFormat_R16Uint = 0x00000005,
745 WGPUTextureFormat_R16Sint = 0x00000006,
746 WGPUTextureFormat_R16Float = 0x00000007,
747 WGPUTextureFormat_RG8Unorm = 0x00000008,
748 WGPUTextureFormat_RG8Snorm = 0x00000009,
749 WGPUTextureFormat_RG8Uint = 0x0000000A,
750 WGPUTextureFormat_RG8Sint = 0x0000000B,
751 WGPUTextureFormat_R32Float = 0x0000000C,
752 WGPUTextureFormat_R32Uint = 0x0000000D,
753 WGPUTextureFormat_R32Sint = 0x0000000E,
754 WGPUTextureFormat_RG16Uint = 0x0000000F,
755 WGPUTextureFormat_RG16Sint = 0x00000010,
756 WGPUTextureFormat_RG16Float = 0x00000011,
757 WGPUTextureFormat_RGBA8Unorm = 0x00000012,
758 WGPUTextureFormat_RGBA8UnormSrgb = 0x00000013,
759 WGPUTextureFormat_RGBA8Snorm = 0x00000014,
760 WGPUTextureFormat_RGBA8Uint = 0x00000015,
761 WGPUTextureFormat_RGBA8Sint = 0x00000016,
762 WGPUTextureFormat_BGRA8Unorm = 0x00000017,
763 WGPUTextureFormat_BGRA8UnormSrgb = 0x00000018,
764 WGPUTextureFormat_RGB10A2Uint = 0x00000019,
765 WGPUTextureFormat_RGB10A2Unorm = 0x0000001A,
766 WGPUTextureFormat_RG11B10Ufloat = 0x0000001B,
767 WGPUTextureFormat_RGB9E5Ufloat = 0x0000001C,
768 WGPUTextureFormat_RG32Float = 0x0000001D,
769 WGPUTextureFormat_RG32Uint = 0x0000001E,
770 WGPUTextureFormat_RG32Sint = 0x0000001F,
771 WGPUTextureFormat_RGBA16Uint = 0x00000020,
772 WGPUTextureFormat_RGBA16Sint = 0x00000021,
773 WGPUTextureFormat_RGBA16Float = 0x00000022,
774 WGPUTextureFormat_RGBA32Float = 0x00000023,
775 WGPUTextureFormat_RGBA32Uint = 0x00000024,
776 WGPUTextureFormat_RGBA32Sint = 0x00000025,
777 WGPUTextureFormat_Stencil8 = 0x00000026,
778 WGPUTextureFormat_Depth16Unorm = 0x00000027,
779 WGPUTextureFormat_Depth24Plus = 0x00000028,
780 WGPUTextureFormat_Depth24PlusStencil8 = 0x00000029,
781 WGPUTextureFormat_Depth32Float = 0x0000002A,
782 WGPUTextureFormat_Depth32FloatStencil8 = 0x0000002B,
783 WGPUTextureFormat_BC1RGBAUnorm = 0x0000002C,
784 WGPUTextureFormat_BC1RGBAUnormSrgb = 0x0000002D,
785 WGPUTextureFormat_BC2RGBAUnorm = 0x0000002E,
786 WGPUTextureFormat_BC2RGBAUnormSrgb = 0x0000002F,
787 WGPUTextureFormat_BC3RGBAUnorm = 0x00000030,
788 WGPUTextureFormat_BC3RGBAUnormSrgb = 0x00000031,
789 WGPUTextureFormat_BC4RUnorm = 0x00000032,
790 WGPUTextureFormat_BC4RSnorm = 0x00000033,
791 WGPUTextureFormat_BC5RGUnorm = 0x00000034,
792 WGPUTextureFormat_BC5RGSnorm = 0x00000035,
793 WGPUTextureFormat_BC6HRGBUfloat = 0x00000036,
794 WGPUTextureFormat_BC6HRGBFloat = 0x00000037,
795 WGPUTextureFormat_BC7RGBAUnorm = 0x00000038,
796 WGPUTextureFormat_BC7RGBAUnormSrgb = 0x00000039,
797 WGPUTextureFormat_ETC2RGB8Unorm = 0x0000003A,
798 WGPUTextureFormat_ETC2RGB8UnormSrgb = 0x0000003B,
799 WGPUTextureFormat_ETC2RGB8A1Unorm = 0x0000003C,
800 WGPUTextureFormat_ETC2RGB8A1UnormSrgb = 0x0000003D,
801 WGPUTextureFormat_ETC2RGBA8Unorm = 0x0000003E,
802 WGPUTextureFormat_ETC2RGBA8UnormSrgb = 0x0000003F,
803 WGPUTextureFormat_EACR11Unorm = 0x00000040,
804 WGPUTextureFormat_EACR11Snorm = 0x00000041,
805 WGPUTextureFormat_EACRG11Unorm = 0x00000042,
806 WGPUTextureFormat_EACRG11Snorm = 0x00000043,
807 WGPUTextureFormat_ASTC4x4Unorm = 0x00000044,
808 WGPUTextureFormat_ASTC4x4UnormSrgb = 0x00000045,
809 WGPUTextureFormat_ASTC5x4Unorm = 0x00000046,
810 WGPUTextureFormat_ASTC5x4UnormSrgb = 0x00000047,
811 WGPUTextureFormat_ASTC5x5Unorm = 0x00000048,
812 WGPUTextureFormat_ASTC5x5UnormSrgb = 0x00000049,
813 WGPUTextureFormat_ASTC6x5Unorm = 0x0000004A,
814 WGPUTextureFormat_ASTC6x5UnormSrgb = 0x0000004B,
815 WGPUTextureFormat_ASTC6x6Unorm = 0x0000004C,
816 WGPUTextureFormat_ASTC6x6UnormSrgb = 0x0000004D,
817 WGPUTextureFormat_ASTC8x5Unorm = 0x0000004E,
818 WGPUTextureFormat_ASTC8x5UnormSrgb = 0x0000004F,
819 WGPUTextureFormat_ASTC8x6Unorm = 0x00000050,
820 WGPUTextureFormat_ASTC8x6UnormSrgb = 0x00000051,
821 WGPUTextureFormat_ASTC8x8Unorm = 0x00000052,
822 WGPUTextureFormat_ASTC8x8UnormSrgb = 0x00000053,
823 WGPUTextureFormat_ASTC10x5Unorm = 0x00000054,
824 WGPUTextureFormat_ASTC10x5UnormSrgb = 0x00000055,
825 WGPUTextureFormat_ASTC10x6Unorm = 0x00000056,
826 WGPUTextureFormat_ASTC10x6UnormSrgb = 0x00000057,
827 WGPUTextureFormat_ASTC10x8Unorm = 0x00000058,
828 WGPUTextureFormat_ASTC10x8UnormSrgb = 0x00000059,
829 WGPUTextureFormat_ASTC10x10Unorm = 0x0000005A,
830 WGPUTextureFormat_ASTC10x10UnormSrgb = 0x0000005B,
831 WGPUTextureFormat_ASTC12x10Unorm = 0x0000005C,
832 WGPUTextureFormat_ASTC12x10UnormSrgb = 0x0000005D,
833 WGPUTextureFormat_ASTC12x12Unorm = 0x0000005E,
834 WGPUTextureFormat_ASTC12x12UnormSrgb = 0x0000005F,
835 WGPUTextureFormat_R16Unorm = 0x00000060,
836 WGPUTextureFormat_RG16Unorm = 0x00000061,
837 WGPUTextureFormat_RGBA16Unorm = 0x00000062,
838 WGPUTextureFormat_R16Snorm = 0x00000063,
839 WGPUTextureFormat_RG16Snorm = 0x00000064,
840 WGPUTextureFormat_RGBA16Snorm = 0x00000065,
841 WGPUTextureFormat_R8BG8Biplanar420Unorm = 0x00000066,
842 WGPUTextureFormat_R10X6BG10X6Biplanar420Unorm = 0x00000067,
843 WGPUTextureFormat_R8BG8A8Triplanar420Unorm = 0x00000068,
844 WGPUTextureFormat_Force32 = 0x7FFFFFFF
845} WGPUTextureFormat WGPU_ENUM_ATTRIBUTE;
846
847 typedef enum WGPUTextureSampleType {
848 WGPUTextureSampleType_Undefined = 0x00000000,
849 WGPUTextureSampleType_Float = 0x00000001,
850 WGPUTextureSampleType_UnfilterableFloat = 0x00000002,
851 WGPUTextureSampleType_Depth = 0x00000003,
852 WGPUTextureSampleType_Sint = 0x00000004,
853 WGPUTextureSampleType_Uint = 0x00000005,
854 WGPUTextureSampleType_Force32 = 0x7FFFFFFF
855} WGPUTextureSampleType WGPU_ENUM_ATTRIBUTE;
856
857 typedef enum WGPUTextureViewDimension {
858 WGPUTextureViewDimension_Undefined = 0x00000000,
859 WGPUTextureViewDimension_1D = 0x00000001,
860 WGPUTextureViewDimension_2D = 0x00000002,
861 WGPUTextureViewDimension_2DArray = 0x00000003,
862 WGPUTextureViewDimension_Cube = 0x00000004,
863 WGPUTextureViewDimension_CubeArray = 0x00000005,
864 WGPUTextureViewDimension_3D = 0x00000006,
865 WGPUTextureViewDimension_Force32 = 0x7FFFFFFF
866} WGPUTextureViewDimension WGPU_ENUM_ATTRIBUTE;
867
868 typedef enum WGPUVertexFormat {
869 WGPUVertexFormat_Undefined = 0x00000000,
870 WGPUVertexFormat_Uint8x2 = 0x00000001,
871 WGPUVertexFormat_Uint8x4 = 0x00000002,
872 WGPUVertexFormat_Sint8x2 = 0x00000003,
873 WGPUVertexFormat_Sint8x4 = 0x00000004,
874 WGPUVertexFormat_Unorm8x2 = 0x00000005,
875 WGPUVertexFormat_Unorm8x4 = 0x00000006,
876 WGPUVertexFormat_Snorm8x2 = 0x00000007,
877 WGPUVertexFormat_Snorm8x4 = 0x00000008,
878 WGPUVertexFormat_Uint16x2 = 0x00000009,
879 WGPUVertexFormat_Uint16x4 = 0x0000000A,
880 WGPUVertexFormat_Sint16x2 = 0x0000000B,
881 WGPUVertexFormat_Sint16x4 = 0x0000000C,
882 WGPUVertexFormat_Unorm16x2 = 0x0000000D,
883 WGPUVertexFormat_Unorm16x4 = 0x0000000E,
884 WGPUVertexFormat_Snorm16x2 = 0x0000000F,
885 WGPUVertexFormat_Snorm16x4 = 0x00000010,
886 WGPUVertexFormat_Float16x2 = 0x00000011,
887 WGPUVertexFormat_Float16x4 = 0x00000012,
888 WGPUVertexFormat_Float32 = 0x00000013,
889 WGPUVertexFormat_Float32x2 = 0x00000014,
890 WGPUVertexFormat_Float32x3 = 0x00000015,
891 WGPUVertexFormat_Float32x4 = 0x00000016,
892 WGPUVertexFormat_Uint32 = 0x00000017,
893 WGPUVertexFormat_Uint32x2 = 0x00000018,
894 WGPUVertexFormat_Uint32x3 = 0x00000019,
895 WGPUVertexFormat_Uint32x4 = 0x0000001A,
896 WGPUVertexFormat_Sint32 = 0x0000001B,
897 WGPUVertexFormat_Sint32x2 = 0x0000001C,
898 WGPUVertexFormat_Sint32x3 = 0x0000001D,
899 WGPUVertexFormat_Sint32x4 = 0x0000001E,
900 WGPUVertexFormat_Unorm10_10_10_2 = 0x0000001F,
901 WGPUVertexFormat_Force32 = 0x7FFFFFFF
902} WGPUVertexFormat WGPU_ENUM_ATTRIBUTE;
903
904 typedef enum WGPUVertexStepMode {
905 WGPUVertexStepMode_Undefined = 0x00000000,
906 WGPUVertexStepMode_VertexBufferNotUsed = 0x00000001,
907 WGPUVertexStepMode_Vertex = 0x00000002,
908 WGPUVertexStepMode_Instance = 0x00000003,
909 WGPUVertexStepMode_Force32 = 0x7FFFFFFF
910} WGPUVertexStepMode WGPU_ENUM_ATTRIBUTE;
911
912 typedef enum WGPUWaitStatus {
913 WGPUWaitStatus_Success = 0x00000000,
914 WGPUWaitStatus_TimedOut = 0x00000001,
915 WGPUWaitStatus_UnsupportedTimeout = 0x00000002,
916 WGPUWaitStatus_UnsupportedCount = 0x00000003,
917 WGPUWaitStatus_UnsupportedMixedSources = 0x00000004,
918 WGPUWaitStatus_Unknown = 0x00000005,
919 WGPUWaitStatus_Force32 = 0x7FFFFFFF
920} WGPUWaitStatus WGPU_ENUM_ATTRIBUTE;
921
922 typedef enum WGPUBufferUsage {
923 WGPUBufferUsage_None = 0x00000000,
924 WGPUBufferUsage_MapRead = 0x00000001,
925 WGPUBufferUsage_MapWrite = 0x00000002,
926 WGPUBufferUsage_CopySrc = 0x00000004,
927 WGPUBufferUsage_CopyDst = 0x00000008,
928 WGPUBufferUsage_Index = 0x00000010,
929 WGPUBufferUsage_Vertex = 0x00000020,
930 WGPUBufferUsage_Uniform = 0x00000040,
931 WGPUBufferUsage_Storage = 0x00000080,
932 WGPUBufferUsage_Indirect = 0x00000100,
933 WGPUBufferUsage_QueryResolve = 0x00000200,
934 WGPUBufferUsage_Force32 = 0x7FFFFFFF
935} WGPUBufferUsage WGPU_ENUM_ATTRIBUTE;
936 typedef WGPUFlags WGPUBufferUsageFlags WGPU_ENUM_ATTRIBUTE;
937
938 typedef enum WGPUColorWriteMask {
939 WGPUColorWriteMask_None = 0x00000000,
940 WGPUColorWriteMask_Red = 0x00000001,
941 WGPUColorWriteMask_Green = 0x00000002,
942 WGPUColorWriteMask_Blue = 0x00000004,
943 WGPUColorWriteMask_Alpha = 0x00000008,
944 WGPUColorWriteMask_All = 0x0000000F,
945 WGPUColorWriteMask_Force32 = 0x7FFFFFFF
946} WGPUColorWriteMask WGPU_ENUM_ATTRIBUTE;
947 typedef WGPUFlags WGPUColorWriteMaskFlags WGPU_ENUM_ATTRIBUTE;
948
949 typedef enum WGPUHeapProperty {
950 WGPUHeapProperty_Undefined = 0x00000000,
951 WGPUHeapProperty_DeviceLocal = 0x00000001,
952 WGPUHeapProperty_HostVisible = 0x00000002,
953 WGPUHeapProperty_HostCoherent = 0x00000004,
954 WGPUHeapProperty_HostUncached = 0x00000008,
955 WGPUHeapProperty_HostCached = 0x00000010,
956 WGPUHeapProperty_Force32 = 0x7FFFFFFF
957} WGPUHeapProperty WGPU_ENUM_ATTRIBUTE;
958 typedef WGPUFlags WGPUHeapPropertyFlags WGPU_ENUM_ATTRIBUTE;
959
960 typedef enum WGPUMapMode {
961 WGPUMapMode_None = 0x00000000,
962 WGPUMapMode_Read = 0x00000001,
963 WGPUMapMode_Write = 0x00000002,
964 WGPUMapMode_Force32 = 0x7FFFFFFF
965} WGPUMapMode WGPU_ENUM_ATTRIBUTE;
966 typedef WGPUFlags WGPUMapModeFlags WGPU_ENUM_ATTRIBUTE;
967
968 typedef enum WGPUShaderStage {
969 WGPUShaderStage_None = 0x00000000,
970 WGPUShaderStage_Vertex = 0x00000001,
971 WGPUShaderStage_Fragment = 0x00000002,
972 WGPUShaderStage_Compute = 0x00000004,
973 WGPUShaderStage_Force32 = 0x7FFFFFFF
974} WGPUShaderStage WGPU_ENUM_ATTRIBUTE;
975 typedef WGPUFlags WGPUShaderStageFlags WGPU_ENUM_ATTRIBUTE;
976
977 typedef enum WGPUTextureUsage {
978 WGPUTextureUsage_None = 0x00000000,
979 WGPUTextureUsage_CopySrc = 0x00000001,
980 WGPUTextureUsage_CopyDst = 0x00000002,
981 WGPUTextureUsage_TextureBinding = 0x00000004,
982 WGPUTextureUsage_StorageBinding = 0x00000008,
983 WGPUTextureUsage_RenderAttachment = 0x00000010,
984 WGPUTextureUsage_TransientAttachment = 0x00000020,
985 WGPUTextureUsage_StorageAttachment = 0x00000040,
986 WGPUTextureUsage_Force32 = 0x7FFFFFFF
987} WGPUTextureUsage WGPU_ENUM_ATTRIBUTE;
988 typedef WGPUFlags WGPUTextureUsageFlags WGPU_ENUM_ATTRIBUTE;
989
990 typedef void (*WGPUBufferMapCallback)(WGPUBufferMapAsyncStatus status, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
991 typedef void (*WGPUCallback)(void * userdata) WGPU_FUNCTION_ATTRIBUTE;
992 typedef void (*WGPUCompilationInfoCallback)(WGPUCompilationInfoRequestStatus status, struct WGPUCompilationInfo const * compilationInfo, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
993 typedef void (*WGPUCreateComputePipelineAsyncCallback)(WGPUCreatePipelineAsyncStatus status, WGPUComputePipeline pipeline, char const * message, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
994 typedef void (*WGPUCreateRenderPipelineAsyncCallback)(WGPUCreatePipelineAsyncStatus status, WGPURenderPipeline pipeline, char const * message, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
995 typedef size_t (*WGPUDawnLoadCacheDataFunction)(void const * key, size_t keySize, void * value, size_t valueSize, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
996 typedef void (*WGPUDawnStoreCacheDataFunction)(void const * key, size_t keySize, void const * value, size_t valueSize, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
997 typedef void (*WGPUDeviceLostCallback)(WGPUDeviceLostReason reason, char const * message, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
998 typedef void (*WGPUErrorCallback)(WGPUErrorType type, char const * message, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
999 typedef void (*WGPULoggingCallback)(WGPULoggingType type, char const * message, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
1000 typedef void (*WGPUProc)() WGPU_FUNCTION_ATTRIBUTE;
1001 typedef void (*WGPUQueueWorkDoneCallback)(WGPUQueueWorkDoneStatus status, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
1002 typedef void (*WGPURequestAdapterCallback)(WGPURequestAdapterStatus status, WGPUAdapter adapter, char const * message, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
1003 typedef void (*WGPURequestDeviceCallback)(WGPURequestDeviceStatus status, WGPUDevice device, char const * message, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
1004
1005 typedef struct WGPUChainedStruct {
1006 struct WGPUChainedStruct const * next;
1007 WGPUSType sType;
1008} WGPUChainedStruct WGPU_STRUCTURE_ATTRIBUTE;
1009
1010 typedef struct WGPUChainedStructOut {
1011 struct WGPUChainedStructOut * next;
1012 WGPUSType sType;
1013} WGPUChainedStructOut WGPU_STRUCTURE_ATTRIBUTE;
1014
1015 typedef struct WGPUAdapterProperties {
1016 WGPUChainedStructOut * nextInChain;
1017 uint32_t vendorID;
1018 char const * vendorName;
1019 char const * architecture;
1020 uint32_t deviceID;
1021 char const * name;
1022 char const * driverDescription;
1023 WGPUAdapterType adapterType;
1024 WGPUBackendType backendType;
1025 WGPUBool compatibilityMode;
1026} WGPUAdapterProperties WGPU_STRUCTURE_ATTRIBUTE;
1027
1028// Can be chained in WGPUAdapterProperties
1029 typedef struct WGPUAdapterPropertiesD3D {
1030 WGPUChainedStructOut chain;
1031 uint32_t shaderModel;
1032} WGPUAdapterPropertiesD3D WGPU_STRUCTURE_ATTRIBUTE;
1033
1034 typedef struct WGPUBindGroupEntry {
1035 WGPUChainedStruct const * nextInChain;
1036 uint32_t binding;
1037 WGPU_NULLABLE WGPUBuffer buffer;
1038 uint64_t offset;
1039 uint64_t size;
1040 WGPU_NULLABLE WGPUSampler sampler;
1041 WGPU_NULLABLE WGPUTextureView textureView;
1042} WGPUBindGroupEntry WGPU_STRUCTURE_ATTRIBUTE;
1043
1044 typedef struct WGPUBlendComponent {
1045 WGPUBlendOperation operation;
1046 WGPUBlendFactor srcFactor;
1047 WGPUBlendFactor dstFactor;
1048} WGPUBlendComponent WGPU_STRUCTURE_ATTRIBUTE;
1049
1050 typedef struct WGPUBufferBindingLayout {
1051 WGPUChainedStruct const * nextInChain;
1052 WGPUBufferBindingType type;
1053 WGPUBool hasDynamicOffset;
1054 uint64_t minBindingSize;
1055} WGPUBufferBindingLayout WGPU_STRUCTURE_ATTRIBUTE;
1056
1057 typedef struct WGPUBufferDescriptor {
1058 WGPUChainedStruct const * nextInChain;
1059 WGPU_NULLABLE char const * label;
1060 WGPUBufferUsageFlags usage;
1061 uint64_t size;
1062 WGPUBool mappedAtCreation;
1063} WGPUBufferDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1064
1065// Can be chained in WGPUBufferDescriptor
1066 typedef struct WGPUBufferHostMappedPointer {
1067 WGPUChainedStruct chain;
1068 void * pointer;
1069 WGPUCallback disposeCallback;
1070 void * userdata;
1071} WGPUBufferHostMappedPointer WGPU_STRUCTURE_ATTRIBUTE;
1072
1073 typedef struct WGPUBufferMapCallbackInfo {
1074 WGPUChainedStruct const * nextInChain;
1075 WGPUCallbackMode mode;
1076 WGPUBufferMapCallback callback;
1077 void * userdata;
1078} WGPUBufferMapCallbackInfo WGPU_STRUCTURE_ATTRIBUTE;
1079
1080 typedef struct WGPUColor {
1081 double r;
1082 double g;
1083 double b;
1084 double a;
1085} WGPUColor WGPU_STRUCTURE_ATTRIBUTE;
1086
1087 typedef struct WGPUCommandBufferDescriptor {
1088 WGPUChainedStruct const * nextInChain;
1089 WGPU_NULLABLE char const * label;
1090} WGPUCommandBufferDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1091
1092 typedef struct WGPUCommandEncoderDescriptor {
1093 WGPUChainedStruct const * nextInChain;
1094 WGPU_NULLABLE char const * label;
1095} WGPUCommandEncoderDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1096
1097 typedef struct WGPUCompilationMessage {
1098 WGPUChainedStruct const * nextInChain;
1099 WGPU_NULLABLE char const * message;
1100 WGPUCompilationMessageType type;
1101 uint64_t lineNum;
1102 uint64_t linePos;
1103 uint64_t offset;
1104 uint64_t length;
1105 uint64_t utf16LinePos;
1106 uint64_t utf16Offset;
1107 uint64_t utf16Length;
1108} WGPUCompilationMessage WGPU_STRUCTURE_ATTRIBUTE;
1109
1110 typedef struct WGPUComputePassTimestampWrites {
1111 WGPUQuerySet querySet;
1112 uint32_t beginningOfPassWriteIndex;
1113 uint32_t endOfPassWriteIndex;
1114} WGPUComputePassTimestampWrites WGPU_STRUCTURE_ATTRIBUTE;
1115
1116 typedef struct WGPUConstantEntry {
1117 WGPUChainedStruct const * nextInChain;
1118 char const * key;
1119 double value;
1120} WGPUConstantEntry WGPU_STRUCTURE_ATTRIBUTE;
1121
1122 typedef struct WGPUCopyTextureForBrowserOptions {
1123 WGPUChainedStruct const * nextInChain;
1124 WGPUBool flipY;
1125 WGPUBool needsColorSpaceConversion;
1126 WGPUAlphaMode srcAlphaMode;
1127 WGPU_NULLABLE float const * srcTransferFunctionParameters;
1128 WGPU_NULLABLE float const * conversionMatrix;
1129 WGPU_NULLABLE float const * dstTransferFunctionParameters;
1130 WGPUAlphaMode dstAlphaMode;
1131 WGPUBool internalUsage;
1132} WGPUCopyTextureForBrowserOptions WGPU_STRUCTURE_ATTRIBUTE;
1133
1134 typedef struct WGPUCreateComputePipelineAsyncCallbackInfo {
1135 WGPUChainedStruct const * nextInChain;
1136 WGPUCallbackMode mode;
1137 WGPUCreateComputePipelineAsyncCallback callback;
1138 void * userdata;
1139} WGPUCreateComputePipelineAsyncCallbackInfo WGPU_STRUCTURE_ATTRIBUTE;
1140
1141 typedef struct WGPUCreateRenderPipelineAsyncCallbackInfo {
1142 WGPUChainedStruct const * nextInChain;
1143 WGPUCallbackMode mode;
1144 WGPUCreateRenderPipelineAsyncCallback callback;
1145 void * userdata;
1146} WGPUCreateRenderPipelineAsyncCallbackInfo WGPU_STRUCTURE_ATTRIBUTE;
1147
1148// Can be chained in WGPUInstanceDescriptor
1149 typedef struct WGPUDawnWGSLBlocklist {
1150 WGPUChainedStruct chain;
1151 size_t blocklistedFeatureCount;
1152 const char* const * blocklistedFeatures;
1153} WGPUDawnWGSLBlocklist WGPU_STRUCTURE_ATTRIBUTE;
1154
1155// Can be chained in WGPUAdapterProperties
1156 typedef struct WGPUDawnAdapterPropertiesPowerPreference {
1157 WGPUChainedStructOut chain;
1158 WGPUPowerPreference powerPreference;
1159} WGPUDawnAdapterPropertiesPowerPreference WGPU_STRUCTURE_ATTRIBUTE;
1160
1161// Can be chained in WGPUBufferDescriptor
1162 typedef struct WGPUDawnBufferDescriptorErrorInfoFromWireClient {
1163 WGPUChainedStruct chain;
1164 WGPUBool outOfMemory;
1165} WGPUDawnBufferDescriptorErrorInfoFromWireClient WGPU_STRUCTURE_ATTRIBUTE;
1166
1167// Can be chained in WGPUDeviceDescriptor
1168 typedef struct WGPUDawnCacheDeviceDescriptor {
1169 WGPUChainedStruct chain;
1170 char const * isolationKey;
1171 WGPUDawnLoadCacheDataFunction loadDataFunction;
1172 WGPUDawnStoreCacheDataFunction storeDataFunction;
1173 void * functionUserdata;
1174} WGPUDawnCacheDeviceDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1175
1176// Can be chained in WGPUComputePipelineDescriptor
1177 typedef struct WGPUDawnComputePipelineFullSubgroups {
1178 WGPUChainedStruct chain;
1179 WGPUBool requiresFullSubgroups;
1180} WGPUDawnComputePipelineFullSubgroups WGPU_STRUCTURE_ATTRIBUTE;
1181
1182// Can be chained in WGPUCommandEncoderDescriptor
1183 typedef struct WGPUDawnEncoderInternalUsageDescriptor {
1184 WGPUChainedStruct chain;
1185 WGPUBool useInternalUsages;
1186} WGPUDawnEncoderInternalUsageDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1187
1188// Can be chained in WGPUSupportedLimits
1189 typedef struct WGPUDawnExperimentalSubgroupLimits {
1190 WGPUChainedStructOut chain;
1191 uint32_t minSubgroupSize;
1192 uint32_t maxSubgroupSize;
1193} WGPUDawnExperimentalSubgroupLimits WGPU_STRUCTURE_ATTRIBUTE;
1194
1195// Can be chained in WGPUMultisampleState
1196 typedef struct WGPUDawnMultisampleStateRenderToSingleSampled {
1197 WGPUChainedStruct chain;
1198 WGPUBool enabled;
1199} WGPUDawnMultisampleStateRenderToSingleSampled WGPU_STRUCTURE_ATTRIBUTE;
1200
1201// Can be chained in WGPURenderPassColorAttachment
1202 typedef struct WGPUDawnRenderPassColorAttachmentRenderToSingleSampled {
1203 WGPUChainedStruct chain;
1204 uint32_t implicitSampleCount;
1205} WGPUDawnRenderPassColorAttachmentRenderToSingleSampled WGPU_STRUCTURE_ATTRIBUTE;
1206
1207// Can be chained in WGPUShaderModuleDescriptor
1208 typedef struct WGPUDawnShaderModuleSPIRVOptionsDescriptor {
1209 WGPUChainedStruct chain;
1210 WGPUBool allowNonUniformDerivatives;
1211} WGPUDawnShaderModuleSPIRVOptionsDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1212
1213// Can be chained in WGPUTextureDescriptor
1214 typedef struct WGPUDawnTextureInternalUsageDescriptor {
1215 WGPUChainedStruct chain;
1216 WGPUTextureUsageFlags internalUsage;
1217} WGPUDawnTextureInternalUsageDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1218
1219// Can be chained in WGPUInstanceDescriptor
1220// Can be chained in WGPURequestAdapterOptions
1221// Can be chained in WGPUDeviceDescriptor
1222 typedef struct WGPUDawnTogglesDescriptor {
1223 WGPUChainedStruct chain;
1224 size_t enabledToggleCount;
1225 const char* const * enabledToggles;
1226 size_t disabledToggleCount;
1227 const char* const * disabledToggles;
1228} WGPUDawnTogglesDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1229
1230// Can be chained in WGPUInstanceDescriptor
1231 typedef struct WGPUDawnWireWGSLControl {
1232 WGPUChainedStruct chain;
1233 WGPUBool enableExperimental;
1234 WGPUBool enableUnsafe;
1235 WGPUBool enableTesting;
1236} WGPUDawnWireWGSLControl WGPU_STRUCTURE_ATTRIBUTE;
1237
1238// Can be chained in WGPUDepthStencilState
1239 typedef struct WGPUDepthStencilStateDepthWriteDefinedDawn {
1240 WGPUChainedStruct chain;
1241 WGPUBool depthWriteDefined;
1242} WGPUDepthStencilStateDepthWriteDefinedDawn WGPU_STRUCTURE_ATTRIBUTE;
1243
1244 typedef struct WGPUExtent2D {
1245 uint32_t width;
1246 uint32_t height;
1247} WGPUExtent2D WGPU_STRUCTURE_ATTRIBUTE;
1248
1249 typedef struct WGPUExtent3D {
1250 uint32_t width;
1251 uint32_t height;
1252 uint32_t depthOrArrayLayers;
1253} WGPUExtent3D WGPU_STRUCTURE_ATTRIBUTE;
1254
1255// Can be chained in WGPUBindGroupEntry
1256 typedef struct WGPUExternalTextureBindingEntry {
1257 WGPUChainedStruct chain;
1258 WGPUExternalTexture externalTexture;
1259} WGPUExternalTextureBindingEntry WGPU_STRUCTURE_ATTRIBUTE;
1260
1261// Can be chained in WGPUBindGroupLayoutEntry
1262 typedef struct WGPUExternalTextureBindingLayout {
1263 WGPUChainedStruct chain;
1264} WGPUExternalTextureBindingLayout WGPU_STRUCTURE_ATTRIBUTE;
1265
1266 typedef struct WGPUFuture {
1267 uint64_t id;
1268} WGPUFuture WGPU_STRUCTURE_ATTRIBUTE;
1269
1270 typedef struct WGPUInstanceFeatures {
1271 WGPUChainedStruct const * nextInChain;
1272 WGPUBool timedWaitAnyEnable;
1273 size_t timedWaitAnyMaxCount;
1274} WGPUInstanceFeatures WGPU_STRUCTURE_ATTRIBUTE;
1275
1276 typedef struct WGPULimits {
1277 uint32_t maxTextureDimension1D;
1278 uint32_t maxTextureDimension2D;
1279 uint32_t maxTextureDimension3D;
1280 uint32_t maxTextureArrayLayers;
1281 uint32_t maxBindGroups;
1282 uint32_t maxBindGroupsPlusVertexBuffers;
1283 uint32_t maxBindingsPerBindGroup;
1284 uint32_t maxDynamicUniformBuffersPerPipelineLayout;
1285 uint32_t maxDynamicStorageBuffersPerPipelineLayout;
1286 uint32_t maxSampledTexturesPerShaderStage;
1287 uint32_t maxSamplersPerShaderStage;
1288 uint32_t maxStorageBuffersPerShaderStage;
1289 uint32_t maxStorageTexturesPerShaderStage;
1290 uint32_t maxUniformBuffersPerShaderStage;
1291 uint64_t maxUniformBufferBindingSize;
1292 uint64_t maxStorageBufferBindingSize;
1293 uint32_t minUniformBufferOffsetAlignment;
1294 uint32_t minStorageBufferOffsetAlignment;
1295 uint32_t maxVertexBuffers;
1296 uint64_t maxBufferSize;
1297 uint32_t maxVertexAttributes;
1298 uint32_t maxVertexBufferArrayStride;
1299 uint32_t maxInterStageShaderComponents;
1300 uint32_t maxInterStageShaderVariables;
1301 uint32_t maxColorAttachments;
1302 uint32_t maxColorAttachmentBytesPerSample;
1303 uint32_t maxComputeWorkgroupStorageSize;
1304 uint32_t maxComputeInvocationsPerWorkgroup;
1305 uint32_t maxComputeWorkgroupSizeX;
1306 uint32_t maxComputeWorkgroupSizeY;
1307 uint32_t maxComputeWorkgroupSizeZ;
1308 uint32_t maxComputeWorkgroupsPerDimension;
1309} WGPULimits WGPU_STRUCTURE_ATTRIBUTE;
1310
1311 typedef struct WGPUMemoryHeapInfo {
1312 WGPUHeapPropertyFlags properties;
1313 uint64_t size;
1314} WGPUMemoryHeapInfo WGPU_STRUCTURE_ATTRIBUTE;
1315
1316 typedef struct WGPUMultisampleState {
1317 WGPUChainedStruct const * nextInChain;
1318 uint32_t count;
1319 uint32_t mask;
1320 WGPUBool alphaToCoverageEnabled;
1321} WGPUMultisampleState WGPU_STRUCTURE_ATTRIBUTE;
1322
1323 typedef struct WGPUOrigin2D {
1324 uint32_t x;
1325 uint32_t y;
1326} WGPUOrigin2D WGPU_STRUCTURE_ATTRIBUTE;
1327
1328 typedef struct WGPUOrigin3D {
1329 uint32_t x;
1330 uint32_t y;
1331 uint32_t z;
1332} WGPUOrigin3D WGPU_STRUCTURE_ATTRIBUTE;
1333
1334 typedef struct WGPUPipelineLayoutDescriptor {
1335 WGPUChainedStruct const * nextInChain;
1336 WGPU_NULLABLE char const * label;
1337 size_t bindGroupLayoutCount;
1338 WGPUBindGroupLayout const * bindGroupLayouts;
1339} WGPUPipelineLayoutDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1340
1341 typedef struct WGPUPipelineLayoutStorageAttachment {
1342 WGPUChainedStruct const * nextInChain;
1343 uint64_t offset;
1344 WGPUTextureFormat format;
1345} WGPUPipelineLayoutStorageAttachment WGPU_STRUCTURE_ATTRIBUTE;
1346
1347// Can be chained in WGPUPrimitiveState
1348 typedef struct WGPUPrimitiveDepthClipControl {
1349 WGPUChainedStruct chain;
1350 WGPUBool unclippedDepth;
1351} WGPUPrimitiveDepthClipControl WGPU_STRUCTURE_ATTRIBUTE;
1352
1353 typedef struct WGPUPrimitiveState {
1354 WGPUChainedStruct const * nextInChain;
1355 WGPUPrimitiveTopology topology;
1356 WGPUIndexFormat stripIndexFormat;
1357 WGPUFrontFace frontFace;
1358 WGPUCullMode cullMode;
1359} WGPUPrimitiveState WGPU_STRUCTURE_ATTRIBUTE;
1360
1361 typedef struct WGPUQuerySetDescriptor {
1362 WGPUChainedStruct const * nextInChain;
1363 WGPU_NULLABLE char const * label;
1364 WGPUQueryType type;
1365 uint32_t count;
1366} WGPUQuerySetDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1367
1368 typedef struct WGPUQueueDescriptor {
1369 WGPUChainedStruct const * nextInChain;
1370 WGPU_NULLABLE char const * label;
1371} WGPUQueueDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1372
1373 typedef struct WGPUQueueWorkDoneCallbackInfo {
1374 WGPUChainedStruct const * nextInChain;
1375 WGPUCallbackMode mode;
1376 WGPUQueueWorkDoneCallback callback;
1377 void * userdata;
1378} WGPUQueueWorkDoneCallbackInfo WGPU_STRUCTURE_ATTRIBUTE;
1379
1380 typedef struct WGPURenderBundleDescriptor {
1381 WGPUChainedStruct const * nextInChain;
1382 WGPU_NULLABLE char const * label;
1383} WGPURenderBundleDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1384
1385 typedef struct WGPURenderBundleEncoderDescriptor {
1386 WGPUChainedStruct const * nextInChain;
1387 WGPU_NULLABLE char const * label;
1388 size_t colorFormatCount;
1389 WGPUTextureFormat const * colorFormats;
1390 WGPUTextureFormat depthStencilFormat;
1391 uint32_t sampleCount;
1392 WGPUBool depthReadOnly;
1393 WGPUBool stencilReadOnly;
1394} WGPURenderBundleEncoderDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1395
1396 typedef struct WGPURenderPassDepthStencilAttachment {
1397 WGPUTextureView view;
1398 WGPULoadOp depthLoadOp;
1399 WGPUStoreOp depthStoreOp;
1400 float depthClearValue;
1401 WGPUBool depthReadOnly;
1402 WGPULoadOp stencilLoadOp;
1403 WGPUStoreOp stencilStoreOp;
1404 uint32_t stencilClearValue;
1405 WGPUBool stencilReadOnly;
1406} WGPURenderPassDepthStencilAttachment WGPU_STRUCTURE_ATTRIBUTE;
1407
1408// Can be chained in WGPURenderPassDescriptor
1409 typedef struct WGPURenderPassDescriptorMaxDrawCount {
1410 WGPUChainedStruct chain;
1411 uint64_t maxDrawCount;
1412} WGPURenderPassDescriptorMaxDrawCount WGPU_STRUCTURE_ATTRIBUTE;
1413
1414 typedef struct WGPURenderPassTimestampWrites {
1415 WGPUQuerySet querySet;
1416 uint32_t beginningOfPassWriteIndex;
1417 uint32_t endOfPassWriteIndex;
1418} WGPURenderPassTimestampWrites WGPU_STRUCTURE_ATTRIBUTE;
1419
1420 typedef struct WGPURequestAdapterCallbackInfo {
1421 WGPUChainedStruct const * nextInChain;
1422 WGPUCallbackMode mode;
1423 WGPURequestAdapterCallback callback;
1424 void * userdata;
1425} WGPURequestAdapterCallbackInfo WGPU_STRUCTURE_ATTRIBUTE;
1426
1427 typedef struct WGPURequestAdapterOptions {
1428 WGPUChainedStruct const * nextInChain;
1429 WGPU_NULLABLE WGPUSurface compatibleSurface;
1430 WGPUPowerPreference powerPreference;
1431 WGPUBackendType backendType;
1432 WGPUBool forceFallbackAdapter;
1433 WGPUBool compatibilityMode;
1434} WGPURequestAdapterOptions WGPU_STRUCTURE_ATTRIBUTE;
1435
1436 typedef struct WGPURequestDeviceCallbackInfo {
1437 WGPUChainedStruct const * nextInChain;
1438 WGPUCallbackMode mode;
1439 WGPURequestDeviceCallback callback;
1440 void * userdata;
1441} WGPURequestDeviceCallbackInfo WGPU_STRUCTURE_ATTRIBUTE;
1442
1443 typedef struct WGPUSamplerBindingLayout {
1444 WGPUChainedStruct const * nextInChain;
1445 WGPUSamplerBindingType type;
1446} WGPUSamplerBindingLayout WGPU_STRUCTURE_ATTRIBUTE;
1447
1448 typedef struct WGPUSamplerDescriptor {
1449 WGPUChainedStruct const * nextInChain;
1450 WGPU_NULLABLE char const * label;
1451 WGPUAddressMode addressModeU;
1452 WGPUAddressMode addressModeV;
1453 WGPUAddressMode addressModeW;
1454 WGPUFilterMode magFilter;
1455 WGPUFilterMode minFilter;
1456 WGPUMipmapFilterMode mipmapFilter;
1457 float lodMinClamp;
1458 float lodMaxClamp;
1459 WGPUCompareFunction compare;
1460 uint16_t maxAnisotropy;
1461} WGPUSamplerDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1462
1463// Can be chained in WGPUShaderModuleDescriptor
1464 typedef struct WGPUShaderModuleSPIRVDescriptor {
1465 WGPUChainedStruct chain;
1466 uint32_t codeSize;
1467 uint32_t const * code;
1468} WGPUShaderModuleSPIRVDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1469
1470// Can be chained in WGPUShaderModuleDescriptor
1471 typedef struct WGPUShaderModuleWGSLDescriptor {
1472 WGPUChainedStruct chain;
1473 char const * code;
1474} WGPUShaderModuleWGSLDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1475
1476 typedef struct WGPUShaderModuleDescriptor {
1477 WGPUChainedStruct const * nextInChain;
1478 WGPU_NULLABLE char const * label;
1479} WGPUShaderModuleDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1480
1481// Can be chained in WGPUSharedFenceDescriptor
1482 typedef struct WGPUSharedFenceDXGISharedHandleDescriptor {
1483 WGPUChainedStruct chain;
1484 void * handle;
1485} WGPUSharedFenceDXGISharedHandleDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1486
1487// Can be chained in WGPUSharedFenceExportInfo
1488 typedef struct WGPUSharedFenceDXGISharedHandleExportInfo {
1489 WGPUChainedStructOut chain;
1490 void * handle;
1491} WGPUSharedFenceDXGISharedHandleExportInfo WGPU_STRUCTURE_ATTRIBUTE;
1492
1493// Can be chained in WGPUSharedFenceDescriptor
1494 typedef struct WGPUSharedFenceMTLSharedEventDescriptor {
1495 WGPUChainedStruct chain;
1496 void * sharedEvent;
1497} WGPUSharedFenceMTLSharedEventDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1498
1499// Can be chained in WGPUSharedFenceExportInfo
1500 typedef struct WGPUSharedFenceMTLSharedEventExportInfo {
1501 WGPUChainedStructOut chain;
1502 void * sharedEvent;
1503} WGPUSharedFenceMTLSharedEventExportInfo WGPU_STRUCTURE_ATTRIBUTE;
1504
1505 typedef struct WGPUSharedFenceDescriptor {
1506 WGPUChainedStruct const * nextInChain;
1507 WGPU_NULLABLE char const * label;
1508} WGPUSharedFenceDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1509
1510 typedef struct WGPUSharedFenceExportInfo {
1511 WGPUChainedStructOut * nextInChain;
1512 WGPUSharedFenceType type;
1513} WGPUSharedFenceExportInfo WGPU_STRUCTURE_ATTRIBUTE;
1514
1515// Can be chained in WGPUSharedFenceDescriptor
1516 typedef struct WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor {
1517 WGPUChainedStruct chain;
1518 int handle;
1519} WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1520
1521// Can be chained in WGPUSharedFenceExportInfo
1522 typedef struct WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo {
1523 WGPUChainedStructOut chain;
1524 int handle;
1525} WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo WGPU_STRUCTURE_ATTRIBUTE;
1526
1527// Can be chained in WGPUSharedFenceDescriptor
1528 typedef struct WGPUSharedFenceVkSemaphoreSyncFDDescriptor {
1529 WGPUChainedStruct chain;
1530 int handle;
1531} WGPUSharedFenceVkSemaphoreSyncFDDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1532
1533// Can be chained in WGPUSharedFenceExportInfo
1534 typedef struct WGPUSharedFenceVkSemaphoreSyncFDExportInfo {
1535 WGPUChainedStructOut chain;
1536 int handle;
1537} WGPUSharedFenceVkSemaphoreSyncFDExportInfo WGPU_STRUCTURE_ATTRIBUTE;
1538
1539// Can be chained in WGPUSharedFenceDescriptor
1540 typedef struct WGPUSharedFenceVkSemaphoreZirconHandleDescriptor {
1541 WGPUChainedStruct chain;
1542 uint32_t handle;
1543} WGPUSharedFenceVkSemaphoreZirconHandleDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1544
1545// Can be chained in WGPUSharedFenceExportInfo
1546 typedef struct WGPUSharedFenceVkSemaphoreZirconHandleExportInfo {
1547 WGPUChainedStructOut chain;
1548 uint32_t handle;
1549} WGPUSharedFenceVkSemaphoreZirconHandleExportInfo WGPU_STRUCTURE_ATTRIBUTE;
1550
1551// Can be chained in WGPUSharedTextureMemoryDescriptor
1552 typedef struct WGPUSharedTextureMemoryDXGISharedHandleDescriptor {
1553 WGPUChainedStruct chain;
1554 void * handle;
1555} WGPUSharedTextureMemoryDXGISharedHandleDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1556
1557// Can be chained in WGPUSharedTextureMemoryDescriptor
1558 typedef struct WGPUSharedTextureMemoryEGLImageDescriptor {
1559 WGPUChainedStruct chain;
1560 void * image;
1561} WGPUSharedTextureMemoryEGLImageDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1562
1563// Can be chained in WGPUSharedTextureMemoryDescriptor
1564 typedef struct WGPUSharedTextureMemoryIOSurfaceDescriptor {
1565 WGPUChainedStruct chain;
1566 void * ioSurface;
1567} WGPUSharedTextureMemoryIOSurfaceDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1568
1569// Can be chained in WGPUSharedTextureMemoryDescriptor
1570 typedef struct WGPUSharedTextureMemoryAHardwareBufferDescriptor {
1571 WGPUChainedStruct chain;
1572 void * handle;
1573} WGPUSharedTextureMemoryAHardwareBufferDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1574
1575 typedef struct WGPUSharedTextureMemoryBeginAccessDescriptor {
1576 WGPUChainedStruct const * nextInChain;
1577 WGPUBool concurrentRead;
1578 WGPUBool initialized;
1579 size_t fenceCount;
1580 WGPUSharedFence const * fences;
1581 uint64_t const * signaledValues;
1582} WGPUSharedTextureMemoryBeginAccessDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1583
1584 typedef struct WGPUSharedTextureMemoryDescriptor {
1585 WGPUChainedStruct const * nextInChain;
1586 WGPU_NULLABLE char const * label;
1587} WGPUSharedTextureMemoryDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1588
1589 typedef struct WGPUSharedTextureMemoryDmaBufPlane {
1590 int fd;
1591 uint64_t offset;
1592 uint32_t stride;
1593} WGPUSharedTextureMemoryDmaBufPlane WGPU_STRUCTURE_ATTRIBUTE;
1594
1595 typedef struct WGPUSharedTextureMemoryEndAccessState {
1596 WGPUChainedStructOut * nextInChain;
1597 WGPUBool initialized;
1598 size_t fenceCount;
1599 WGPUSharedFence const * fences;
1600 uint64_t const * signaledValues;
1601} WGPUSharedTextureMemoryEndAccessState WGPU_STRUCTURE_ATTRIBUTE;
1602
1603// Can be chained in WGPUSharedTextureMemoryDescriptor
1604 typedef struct WGPUSharedTextureMemoryOpaqueFDDescriptor {
1605 WGPUChainedStruct chain;
1606 void const * vkImageCreateInfo;
1607 int memoryFD;
1608 uint32_t memoryTypeIndex;
1609 uint64_t allocationSize;
1610 WGPUBool dedicatedAllocation;
1611} WGPUSharedTextureMemoryOpaqueFDDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1612
1613// Can be chained in WGPUSharedTextureMemoryDescriptor
1614 typedef struct WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor {
1615 WGPUChainedStruct chain;
1616 WGPUBool dedicatedAllocation;
1617} WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1618
1619// Can be chained in WGPUSharedTextureMemoryBeginAccessDescriptor
1620 typedef struct WGPUSharedTextureMemoryVkImageLayoutBeginState {
1621 WGPUChainedStruct chain;
1622 int32_t oldLayout;
1623 int32_t newLayout;
1624} WGPUSharedTextureMemoryVkImageLayoutBeginState WGPU_STRUCTURE_ATTRIBUTE;
1625
1626// Can be chained in WGPUSharedTextureMemoryEndAccessState
1627 typedef struct WGPUSharedTextureMemoryVkImageLayoutEndState {
1628 WGPUChainedStructOut chain;
1629 int32_t oldLayout;
1630 int32_t newLayout;
1631} WGPUSharedTextureMemoryVkImageLayoutEndState WGPU_STRUCTURE_ATTRIBUTE;
1632
1633// Can be chained in WGPUSharedTextureMemoryDescriptor
1634 typedef struct WGPUSharedTextureMemoryZirconHandleDescriptor {
1635 WGPUChainedStruct chain;
1636 uint32_t memoryFD;
1637 uint64_t allocationSize;
1638} WGPUSharedTextureMemoryZirconHandleDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1639
1640 typedef struct WGPUStencilFaceState {
1641 WGPUCompareFunction compare;
1642 WGPUStencilOperation failOp;
1643 WGPUStencilOperation depthFailOp;
1644 WGPUStencilOperation passOp;
1645} WGPUStencilFaceState WGPU_STRUCTURE_ATTRIBUTE;
1646
1647 typedef struct WGPUStorageTextureBindingLayout {
1648 WGPUChainedStruct const * nextInChain;
1649 WGPUStorageTextureAccess access;
1650 WGPUTextureFormat format;
1651 WGPUTextureViewDimension viewDimension;
1652} WGPUStorageTextureBindingLayout WGPU_STRUCTURE_ATTRIBUTE;
1653
1654 typedef struct WGPUSurfaceDescriptor {
1655 WGPUChainedStruct const * nextInChain;
1656 WGPU_NULLABLE char const * label;
1657} WGPUSurfaceDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1658
1659// Can be chained in WGPUSurfaceDescriptor
1660 typedef struct WGPUSurfaceDescriptorFromAndroidNativeWindow {
1661 WGPUChainedStruct chain;
1662 void * window;
1663} WGPUSurfaceDescriptorFromAndroidNativeWindow WGPU_STRUCTURE_ATTRIBUTE;
1664
1665// Can be chained in WGPUSurfaceDescriptor
1666 typedef struct WGPUSurfaceDescriptorFromCanvasHTMLSelector {
1667 WGPUChainedStruct chain;
1668 char const * selector;
1669} WGPUSurfaceDescriptorFromCanvasHTMLSelector WGPU_STRUCTURE_ATTRIBUTE;
1670
1671// Can be chained in WGPUSurfaceDescriptor
1672 typedef struct WGPUSurfaceDescriptorFromMetalLayer {
1673 WGPUChainedStruct chain;
1674 void * layer;
1675} WGPUSurfaceDescriptorFromMetalLayer WGPU_STRUCTURE_ATTRIBUTE;
1676
1677// Can be chained in WGPUSurfaceDescriptor
1678 typedef struct WGPUSurfaceDescriptorFromWaylandSurface {
1679 WGPUChainedStruct chain;
1680 void * display;
1681 void * surface;
1682} WGPUSurfaceDescriptorFromWaylandSurface WGPU_STRUCTURE_ATTRIBUTE;
1683
1684// Can be chained in WGPUSurfaceDescriptor
1685 typedef struct WGPUSurfaceDescriptorFromWindowsHWND {
1686 WGPUChainedStruct chain;
1687 void * hinstance;
1688 void * hwnd;
1689} WGPUSurfaceDescriptorFromWindowsHWND WGPU_STRUCTURE_ATTRIBUTE;
1690
1691// Can be chained in WGPUSurfaceDescriptor
1692 typedef struct WGPUSurfaceDescriptorFromWindowsCoreWindow {
1693 WGPUChainedStruct chain;
1694 void * coreWindow;
1695} WGPUSurfaceDescriptorFromWindowsCoreWindow WGPU_STRUCTURE_ATTRIBUTE;
1696
1697// Can be chained in WGPUSurfaceDescriptor
1698 typedef struct WGPUSurfaceDescriptorFromWindowsSwapChainPanel {
1699 WGPUChainedStruct chain;
1700 void * swapChainPanel;
1701} WGPUSurfaceDescriptorFromWindowsSwapChainPanel WGPU_STRUCTURE_ATTRIBUTE;
1702
1703// Can be chained in WGPUSurfaceDescriptor
1704 typedef struct WGPUSurfaceDescriptorFromXlibWindow {
1705 WGPUChainedStruct chain;
1706 void * display;
1707 uint64_t window;
1708} WGPUSurfaceDescriptorFromXlibWindow WGPU_STRUCTURE_ATTRIBUTE;
1709
1710 typedef struct WGPUSwapChainDescriptor {
1711 WGPUChainedStruct const * nextInChain;
1712 WGPU_NULLABLE char const * label;
1713 WGPUTextureUsageFlags usage;
1714 WGPUTextureFormat format;
1715 uint32_t width;
1716 uint32_t height;
1717 WGPUPresentMode presentMode;
1718} WGPUSwapChainDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1719
1720 typedef struct WGPUTextureBindingLayout {
1721 WGPUChainedStruct const * nextInChain;
1722 WGPUTextureSampleType sampleType;
1723 WGPUTextureViewDimension viewDimension;
1724 WGPUBool multisampled;
1725} WGPUTextureBindingLayout WGPU_STRUCTURE_ATTRIBUTE;
1726
1727// Can be chained in WGPUTextureDescriptor
1728 typedef struct WGPUTextureBindingViewDimensionDescriptor {
1729 WGPUChainedStruct chain;
1730 WGPUTextureViewDimension textureBindingViewDimension;
1731} WGPUTextureBindingViewDimensionDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1732
1733 typedef struct WGPUTextureDataLayout {
1734 WGPUChainedStruct const * nextInChain;
1735 uint64_t offset;
1736 uint32_t bytesPerRow;
1737 uint32_t rowsPerImage;
1738} WGPUTextureDataLayout WGPU_STRUCTURE_ATTRIBUTE;
1739
1740 typedef struct WGPUTextureViewDescriptor {
1741 WGPUChainedStruct const * nextInChain;
1742 WGPU_NULLABLE char const * label;
1743 WGPUTextureFormat format;
1744 WGPUTextureViewDimension dimension;
1745 uint32_t baseMipLevel;
1746 uint32_t mipLevelCount;
1747 uint32_t baseArrayLayer;
1748 uint32_t arrayLayerCount;
1749 WGPUTextureAspect aspect;
1750} WGPUTextureViewDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1751
1752 typedef struct WGPUVertexAttribute {
1753 WGPUVertexFormat format;
1754 uint64_t offset;
1755 uint32_t shaderLocation;
1756} WGPUVertexAttribute WGPU_STRUCTURE_ATTRIBUTE;
1757
1758// Can be chained in WGPUAdapterProperties
1759 typedef struct WGPUAdapterPropertiesMemoryHeaps {
1760 WGPUChainedStructOut chain;
1761 size_t heapCount;
1762 WGPUMemoryHeapInfo const * heapInfo;
1763} WGPUAdapterPropertiesMemoryHeaps WGPU_STRUCTURE_ATTRIBUTE;
1764
1765 typedef struct WGPUBindGroupDescriptor {
1766 WGPUChainedStruct const * nextInChain;
1767 WGPU_NULLABLE char const * label;
1768 WGPUBindGroupLayout layout;
1769 size_t entryCount;
1770 WGPUBindGroupEntry const * entries;
1771} WGPUBindGroupDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1772
1773 typedef struct WGPUBindGroupLayoutEntry {
1774 WGPUChainedStruct const * nextInChain;
1775 uint32_t binding;
1776 WGPUShaderStageFlags visibility;
1777 WGPUBufferBindingLayout buffer;
1778 WGPUSamplerBindingLayout sampler;
1779 WGPUTextureBindingLayout texture;
1780 WGPUStorageTextureBindingLayout storageTexture;
1781} WGPUBindGroupLayoutEntry WGPU_STRUCTURE_ATTRIBUTE;
1782
1783 typedef struct WGPUBlendState {
1784 WGPUBlendComponent color;
1785 WGPUBlendComponent alpha;
1786} WGPUBlendState WGPU_STRUCTURE_ATTRIBUTE;
1787
1788 typedef struct WGPUCompilationInfo {
1789 WGPUChainedStruct const * nextInChain;
1790 size_t messageCount;
1791 WGPUCompilationMessage const * messages;
1792} WGPUCompilationInfo WGPU_STRUCTURE_ATTRIBUTE;
1793
1794 typedef struct WGPUComputePassDescriptor {
1795 WGPUChainedStruct const * nextInChain;
1796 WGPU_NULLABLE char const * label;
1797 WGPU_NULLABLE WGPUComputePassTimestampWrites const * timestampWrites;
1798} WGPUComputePassDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1799
1800 typedef struct WGPUDepthStencilState {
1801 WGPUChainedStruct const * nextInChain;
1802 WGPUTextureFormat format;
1803 WGPUBool depthWriteEnabled;
1804 WGPUCompareFunction depthCompare;
1805 WGPUStencilFaceState stencilFront;
1806 WGPUStencilFaceState stencilBack;
1807 uint32_t stencilReadMask;
1808 uint32_t stencilWriteMask;
1809 int32_t depthBias;
1810 float depthBiasSlopeScale;
1811 float depthBiasClamp;
1812} WGPUDepthStencilState WGPU_STRUCTURE_ATTRIBUTE;
1813
1814 typedef struct WGPUExternalTextureDescriptor {
1815 WGPUChainedStruct const * nextInChain;
1816 WGPU_NULLABLE char const * label;
1817 WGPUTextureView plane0;
1818 WGPU_NULLABLE WGPUTextureView plane1;
1819 WGPUOrigin2D visibleOrigin;
1820 WGPUExtent2D visibleSize;
1821 WGPUBool doYuvToRgbConversionOnly;
1822 WGPU_NULLABLE float const * yuvToRgbConversionMatrix;
1823 float const * srcTransferFunctionParameters;
1824 float const * dstTransferFunctionParameters;
1825 float const * gamutConversionMatrix;
1826 WGPUBool flipY;
1827 WGPUBool mirrored;
1828 WGPUExternalTextureRotation rotation;
1829} WGPUExternalTextureDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1830
1831 typedef struct WGPUFutureWaitInfo {
1832 WGPUFuture future;
1833 WGPUBool completed;
1834} WGPUFutureWaitInfo WGPU_STRUCTURE_ATTRIBUTE;
1835
1836 typedef struct WGPUImageCopyBuffer {
1837 WGPUChainedStruct const * nextInChain;
1838 WGPUTextureDataLayout layout;
1839 WGPUBuffer buffer;
1840} WGPUImageCopyBuffer WGPU_STRUCTURE_ATTRIBUTE;
1841
1842 typedef struct WGPUImageCopyExternalTexture {
1843 WGPUChainedStruct const * nextInChain;
1844 WGPUExternalTexture externalTexture;
1845 WGPUOrigin3D origin;
1846 WGPUExtent2D naturalSize;
1847} WGPUImageCopyExternalTexture WGPU_STRUCTURE_ATTRIBUTE;
1848
1849 typedef struct WGPUImageCopyTexture {
1850 WGPUChainedStruct const * nextInChain;
1851 WGPUTexture texture;
1852 uint32_t mipLevel;
1853 WGPUOrigin3D origin;
1854 WGPUTextureAspect aspect;
1855} WGPUImageCopyTexture WGPU_STRUCTURE_ATTRIBUTE;
1856
1857 typedef struct WGPUInstanceDescriptor {
1858 WGPUChainedStruct const * nextInChain;
1859 WGPUInstanceFeatures features;
1860} WGPUInstanceDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1861
1862// Can be chained in WGPUPipelineLayoutDescriptor
1863 typedef struct WGPUPipelineLayoutPixelLocalStorage {
1864 WGPUChainedStruct chain;
1865 uint64_t totalPixelLocalStorageSize;
1866 size_t storageAttachmentCount;
1867 WGPUPipelineLayoutStorageAttachment const * storageAttachments;
1868} WGPUPipelineLayoutPixelLocalStorage WGPU_STRUCTURE_ATTRIBUTE;
1869
1870 typedef struct WGPUProgrammableStageDescriptor {
1871 WGPUChainedStruct const * nextInChain;
1872 WGPUShaderModule module;
1873 WGPU_NULLABLE char const * entryPoint;
1874 size_t constantCount;
1875 WGPUConstantEntry const * constants;
1876} WGPUProgrammableStageDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1877
1878 typedef struct WGPURenderPassColorAttachment {
1879 WGPUChainedStruct const * nextInChain;
1880 WGPU_NULLABLE WGPUTextureView view;
1881 uint32_t depthSlice;
1882 WGPU_NULLABLE WGPUTextureView resolveTarget;
1883 WGPULoadOp loadOp;
1884 WGPUStoreOp storeOp;
1885 WGPUColor clearValue;
1886} WGPURenderPassColorAttachment WGPU_STRUCTURE_ATTRIBUTE;
1887
1888 typedef struct WGPURenderPassStorageAttachment {
1889 WGPUChainedStruct const * nextInChain;
1890 uint64_t offset;
1891 WGPUTextureView storage;
1892 WGPULoadOp loadOp;
1893 WGPUStoreOp storeOp;
1894 WGPUColor clearValue;
1895} WGPURenderPassStorageAttachment WGPU_STRUCTURE_ATTRIBUTE;
1896
1897 typedef struct WGPURequiredLimits {
1898 WGPUChainedStruct const * nextInChain;
1899 WGPULimits limits;
1900} WGPURequiredLimits WGPU_STRUCTURE_ATTRIBUTE;
1901
1902// Can be chained in WGPUSharedTextureMemoryDescriptor
1903 typedef struct WGPUSharedTextureMemoryDmaBufDescriptor {
1904 WGPUChainedStruct chain;
1905 WGPUExtent3D size;
1906 uint32_t drmFormat;
1907 uint64_t drmModifier;
1908 size_t planeCount;
1909 WGPUSharedTextureMemoryDmaBufPlane const * planes;
1910} WGPUSharedTextureMemoryDmaBufDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1911
1912 typedef struct WGPUSharedTextureMemoryProperties {
1913 WGPUChainedStructOut * nextInChain;
1914 WGPUTextureUsageFlags usage;
1915 WGPUExtent3D size;
1916 WGPUTextureFormat format;
1917} WGPUSharedTextureMemoryProperties WGPU_STRUCTURE_ATTRIBUTE;
1918
1919// Can be chained in WGPUSharedTextureMemoryDescriptor
1920 typedef struct WGPUSharedTextureMemoryVkImageDescriptor {
1921 WGPUChainedStruct chain;
1922 int32_t vkFormat;
1923 int32_t vkUsageFlags;
1924 WGPUExtent3D vkExtent3D;
1925} WGPUSharedTextureMemoryVkImageDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1926
1927 typedef struct WGPUSupportedLimits {
1928 WGPUChainedStructOut * nextInChain;
1929 WGPULimits limits;
1930} WGPUSupportedLimits WGPU_STRUCTURE_ATTRIBUTE;
1931
1932 typedef struct WGPUTextureDescriptor {
1933 WGPUChainedStruct const * nextInChain;
1934 WGPU_NULLABLE char const * label;
1935 WGPUTextureUsageFlags usage;
1936 WGPUTextureDimension dimension;
1937 WGPUExtent3D size;
1938 WGPUTextureFormat format;
1939 uint32_t mipLevelCount;
1940 uint32_t sampleCount;
1941 size_t viewFormatCount;
1942 WGPUTextureFormat const * viewFormats;
1943} WGPUTextureDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1944
1945 typedef struct WGPUVertexBufferLayout {
1946 uint64_t arrayStride;
1947 WGPUVertexStepMode stepMode;
1948 size_t attributeCount;
1949 WGPUVertexAttribute const * attributes;
1950} WGPUVertexBufferLayout WGPU_STRUCTURE_ATTRIBUTE;
1951
1952 typedef struct WGPUBindGroupLayoutDescriptor {
1953 WGPUChainedStruct const * nextInChain;
1954 WGPU_NULLABLE char const * label;
1955 size_t entryCount;
1956 WGPUBindGroupLayoutEntry const * entries;
1957} WGPUBindGroupLayoutDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1958
1959 typedef struct WGPUColorTargetState {
1960 WGPUChainedStruct const * nextInChain;
1961 WGPUTextureFormat format;
1962 WGPU_NULLABLE WGPUBlendState const * blend;
1963 WGPUColorWriteMaskFlags writeMask;
1964} WGPUColorTargetState WGPU_STRUCTURE_ATTRIBUTE;
1965
1966 typedef struct WGPUComputePipelineDescriptor {
1967 WGPUChainedStruct const * nextInChain;
1968 WGPU_NULLABLE char const * label;
1969 WGPU_NULLABLE WGPUPipelineLayout layout;
1970 WGPUProgrammableStageDescriptor compute;
1971} WGPUComputePipelineDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1972
1973 typedef struct WGPUDeviceDescriptor {
1974 WGPUChainedStruct const * nextInChain;
1975 WGPU_NULLABLE char const * label;
1976 size_t requiredFeatureCount;
1977 WGPUFeatureName const * requiredFeatures;
1978 WGPU_NULLABLE WGPURequiredLimits const * requiredLimits;
1979 WGPUQueueDescriptor defaultQueue;
1980 WGPUDeviceLostCallback deviceLostCallback;
1981 void * deviceLostUserdata;
1982} WGPUDeviceDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1983
1984 typedef struct WGPURenderPassDescriptor {
1985 WGPUChainedStruct const * nextInChain;
1986 WGPU_NULLABLE char const * label;
1987 size_t colorAttachmentCount;
1988 WGPURenderPassColorAttachment const * colorAttachments;
1989 WGPU_NULLABLE WGPURenderPassDepthStencilAttachment const * depthStencilAttachment;
1990 WGPU_NULLABLE WGPUQuerySet occlusionQuerySet;
1991 WGPU_NULLABLE WGPURenderPassTimestampWrites const * timestampWrites;
1992} WGPURenderPassDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1993
1994// Can be chained in WGPURenderPassDescriptor
1995 typedef struct WGPURenderPassPixelLocalStorage {
1996 WGPUChainedStruct chain;
1997 uint64_t totalPixelLocalStorageSize;
1998 size_t storageAttachmentCount;
1999 WGPURenderPassStorageAttachment const * storageAttachments;
2000} WGPURenderPassPixelLocalStorage WGPU_STRUCTURE_ATTRIBUTE;
2001
2002 typedef struct WGPUVertexState {
2003 WGPUChainedStruct const * nextInChain;
2004 WGPUShaderModule module;
2005 WGPU_NULLABLE char const * entryPoint;
2006 size_t constantCount;
2007 WGPUConstantEntry const * constants;
2008 size_t bufferCount;
2009 WGPUVertexBufferLayout const * buffers;
2010} WGPUVertexState WGPU_STRUCTURE_ATTRIBUTE;
2011
2012 typedef struct WGPUFragmentState {
2013 WGPUChainedStruct const * nextInChain;
2014 WGPUShaderModule module;
2015 WGPU_NULLABLE char const * entryPoint;
2016 size_t constantCount;
2017 WGPUConstantEntry const * constants;
2018 size_t targetCount;
2019 WGPUColorTargetState const * targets;
2020} WGPUFragmentState WGPU_STRUCTURE_ATTRIBUTE;
2021
2022 typedef struct WGPURenderPipelineDescriptor {
2023 WGPUChainedStruct const * nextInChain;
2024 WGPU_NULLABLE char const * label;
2025 WGPU_NULLABLE WGPUPipelineLayout layout;
2026 WGPUVertexState vertex;
2027 WGPUPrimitiveState primitive;
2028 WGPU_NULLABLE WGPUDepthStencilState const * depthStencil;
2029 WGPUMultisampleState multisample;
2030 WGPU_NULLABLE WGPUFragmentState const * fragment;
2031} WGPURenderPipelineDescriptor WGPU_STRUCTURE_ATTRIBUTE;
2032
2033#ifdef __cplusplus
2034 extern "C" {
2035#endif
2036
2037#if !defined(WGPU_SKIP_PROCS)
2038
2039 typedef void (*WGPUProcAdapterPropertiesFreeMembers)(WGPUAdapterProperties value) WGPU_FUNCTION_ATTRIBUTE;
2040 typedef void (*WGPUProcAdapterPropertiesMemoryHeapsFreeMembers)(WGPUAdapterPropertiesMemoryHeaps value) WGPU_FUNCTION_ATTRIBUTE;
2041 typedef WGPUInstance (*WGPUProcCreateInstance)(WGPUInstanceDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2042 typedef WGPUBool (*WGPUProcGetInstanceFeatures)(WGPUInstanceFeatures * features) WGPU_FUNCTION_ATTRIBUTE;
2043 typedef WGPUProc (*WGPUProcGetProcAddress)(WGPUDevice device, char const * procName) WGPU_FUNCTION_ATTRIBUTE;
2044 typedef void (*WGPUProcSharedTextureMemoryEndAccessStateFreeMembers)(WGPUSharedTextureMemoryEndAccessState value) WGPU_FUNCTION_ATTRIBUTE;
2045
2046// Procs of Adapter
2047 typedef WGPUDevice (*WGPUProcAdapterCreateDevice)(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2048 typedef size_t (*WGPUProcAdapterEnumerateFeatures)(WGPUAdapter adapter, WGPUFeatureName * features) WGPU_FUNCTION_ATTRIBUTE;
2049 typedef WGPUInstance (*WGPUProcAdapterGetInstance)(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;
2050 typedef WGPUBool (*WGPUProcAdapterGetLimits)(WGPUAdapter adapter, WGPUSupportedLimits * limits) WGPU_FUNCTION_ATTRIBUTE;
2051 typedef void (*WGPUProcAdapterGetProperties)(WGPUAdapter adapter, WGPUAdapterProperties * properties) WGPU_FUNCTION_ATTRIBUTE;
2052 typedef WGPUBool (*WGPUProcAdapterHasFeature)(WGPUAdapter adapter, WGPUFeatureName feature) WGPU_FUNCTION_ATTRIBUTE;
2053 typedef void (*WGPUProcAdapterRequestDevice)(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const * descriptor, WGPURequestDeviceCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2054 typedef WGPUFuture (*WGPUProcAdapterRequestDeviceF)(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const * options, WGPURequestDeviceCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2055 typedef void (*WGPUProcAdapterReference)(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;
2056 typedef void (*WGPUProcAdapterRelease)(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;
2057
2058// Procs of BindGroup
2059 typedef void (*WGPUProcBindGroupSetLabel)(WGPUBindGroup bindGroup, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2060 typedef void (*WGPUProcBindGroupReference)(WGPUBindGroup bindGroup) WGPU_FUNCTION_ATTRIBUTE;
2061 typedef void (*WGPUProcBindGroupRelease)(WGPUBindGroup bindGroup) WGPU_FUNCTION_ATTRIBUTE;
2062
2063// Procs of BindGroupLayout
2064 typedef void (*WGPUProcBindGroupLayoutSetLabel)(WGPUBindGroupLayout bindGroupLayout, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2065 typedef void (*WGPUProcBindGroupLayoutReference)(WGPUBindGroupLayout bindGroupLayout) WGPU_FUNCTION_ATTRIBUTE;
2066 typedef void (*WGPUProcBindGroupLayoutRelease)(WGPUBindGroupLayout bindGroupLayout) WGPU_FUNCTION_ATTRIBUTE;
2067
2068// Procs of Buffer
2069 typedef void (*WGPUProcBufferDestroy)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2070 typedef void const * (*WGPUProcBufferGetConstMappedRange)(WGPUBuffer buffer, size_t offset, size_t size) WGPU_FUNCTION_ATTRIBUTE;
2071 typedef WGPUBufferMapState (*WGPUProcBufferGetMapState)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2072 typedef void * (*WGPUProcBufferGetMappedRange)(WGPUBuffer buffer, size_t offset, size_t size) WGPU_FUNCTION_ATTRIBUTE;
2073 typedef uint64_t (*WGPUProcBufferGetSize)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2074 typedef WGPUBufferUsageFlags (*WGPUProcBufferGetUsage)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2075 typedef void (*WGPUProcBufferMapAsync)(WGPUBuffer buffer, WGPUMapModeFlags mode, size_t offset, size_t size, WGPUBufferMapCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2076 typedef WGPUFuture (*WGPUProcBufferMapAsyncF)(WGPUBuffer buffer, WGPUMapModeFlags mode, size_t offset, size_t size, WGPUBufferMapCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2077 typedef void (*WGPUProcBufferSetLabel)(WGPUBuffer buffer, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2078 typedef void (*WGPUProcBufferUnmap)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2079 typedef void (*WGPUProcBufferReference)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2080 typedef void (*WGPUProcBufferRelease)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2081
2082// Procs of CommandBuffer
2083 typedef void (*WGPUProcCommandBufferSetLabel)(WGPUCommandBuffer commandBuffer, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2084 typedef void (*WGPUProcCommandBufferReference)(WGPUCommandBuffer commandBuffer) WGPU_FUNCTION_ATTRIBUTE;
2085 typedef void (*WGPUProcCommandBufferRelease)(WGPUCommandBuffer commandBuffer) WGPU_FUNCTION_ATTRIBUTE;
2086
2087// Procs of CommandEncoder
2088 typedef WGPUComputePassEncoder (*WGPUProcCommandEncoderBeginComputePass)(WGPUCommandEncoder commandEncoder, WGPU_NULLABLE WGPUComputePassDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2089 typedef WGPURenderPassEncoder (*WGPUProcCommandEncoderBeginRenderPass)(WGPUCommandEncoder commandEncoder, WGPURenderPassDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2090 typedef void (*WGPUProcCommandEncoderClearBuffer)(WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2091 typedef void (*WGPUProcCommandEncoderCopyBufferToBuffer)(WGPUCommandEncoder commandEncoder, WGPUBuffer source, uint64_t sourceOffset, WGPUBuffer destination, uint64_t destinationOffset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2092 typedef void (*WGPUProcCommandEncoderCopyBufferToTexture)(WGPUCommandEncoder commandEncoder, WGPUImageCopyBuffer const * source, WGPUImageCopyTexture const * destination, WGPUExtent3D const * copySize) WGPU_FUNCTION_ATTRIBUTE;
2093 typedef void (*WGPUProcCommandEncoderCopyTextureToBuffer)(WGPUCommandEncoder commandEncoder, WGPUImageCopyTexture const * source, WGPUImageCopyBuffer const * destination, WGPUExtent3D const * copySize) WGPU_FUNCTION_ATTRIBUTE;
2094 typedef void (*WGPUProcCommandEncoderCopyTextureToTexture)(WGPUCommandEncoder commandEncoder, WGPUImageCopyTexture const * source, WGPUImageCopyTexture const * destination, WGPUExtent3D const * copySize) WGPU_FUNCTION_ATTRIBUTE;
2095 typedef WGPUCommandBuffer (*WGPUProcCommandEncoderFinish)(WGPUCommandEncoder commandEncoder, WGPU_NULLABLE WGPUCommandBufferDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2096 typedef void (*WGPUProcCommandEncoderInjectValidationError)(WGPUCommandEncoder commandEncoder, char const * message) WGPU_FUNCTION_ATTRIBUTE;
2097 typedef void (*WGPUProcCommandEncoderInsertDebugMarker)(WGPUCommandEncoder commandEncoder, char const * markerLabel) WGPU_FUNCTION_ATTRIBUTE;
2098 typedef void (*WGPUProcCommandEncoderPopDebugGroup)(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE;
2099 typedef void (*WGPUProcCommandEncoderPushDebugGroup)(WGPUCommandEncoder commandEncoder, char const * groupLabel) WGPU_FUNCTION_ATTRIBUTE;
2100 typedef void (*WGPUProcCommandEncoderResolveQuerySet)(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t firstQuery, uint32_t queryCount, WGPUBuffer destination, uint64_t destinationOffset) WGPU_FUNCTION_ATTRIBUTE;
2101 typedef void (*WGPUProcCommandEncoderSetLabel)(WGPUCommandEncoder commandEncoder, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2102 typedef void (*WGPUProcCommandEncoderWriteBuffer)(WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t bufferOffset, uint8_t const * data, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2103 typedef void (*WGPUProcCommandEncoderWriteTimestamp)(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE;
2104 typedef void (*WGPUProcCommandEncoderReference)(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE;
2105 typedef void (*WGPUProcCommandEncoderRelease)(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE;
2106
2107// Procs of ComputePassEncoder
2108 typedef void (*WGPUProcComputePassEncoderDispatchWorkgroups)(WGPUComputePassEncoder computePassEncoder, uint32_t workgroupCountX, uint32_t workgroupCountY, uint32_t workgroupCountZ) WGPU_FUNCTION_ATTRIBUTE;
2109 typedef void (*WGPUProcComputePassEncoderDispatchWorkgroupsIndirect)(WGPUComputePassEncoder computePassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;
2110 typedef void (*WGPUProcComputePassEncoderEnd)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2111 typedef void (*WGPUProcComputePassEncoderInsertDebugMarker)(WGPUComputePassEncoder computePassEncoder, char const * markerLabel) WGPU_FUNCTION_ATTRIBUTE;
2112 typedef void (*WGPUProcComputePassEncoderPopDebugGroup)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2113 typedef void (*WGPUProcComputePassEncoderPushDebugGroup)(WGPUComputePassEncoder computePassEncoder, char const * groupLabel) WGPU_FUNCTION_ATTRIBUTE;
2114 typedef void (*WGPUProcComputePassEncoderSetBindGroup)(WGPUComputePassEncoder computePassEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE;
2115 typedef void (*WGPUProcComputePassEncoderSetLabel)(WGPUComputePassEncoder computePassEncoder, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2116 typedef void (*WGPUProcComputePassEncoderSetPipeline)(WGPUComputePassEncoder computePassEncoder, WGPUComputePipeline pipeline) WGPU_FUNCTION_ATTRIBUTE;
2117 typedef void (*WGPUProcComputePassEncoderWriteTimestamp)(WGPUComputePassEncoder computePassEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE;
2118 typedef void (*WGPUProcComputePassEncoderReference)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2119 typedef void (*WGPUProcComputePassEncoderRelease)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2120
2121// Procs of ComputePipeline
2122 typedef WGPUBindGroupLayout (*WGPUProcComputePipelineGetBindGroupLayout)(WGPUComputePipeline computePipeline, uint32_t groupIndex) WGPU_FUNCTION_ATTRIBUTE;
2123 typedef void (*WGPUProcComputePipelineSetLabel)(WGPUComputePipeline computePipeline, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2124 typedef void (*WGPUProcComputePipelineReference)(WGPUComputePipeline computePipeline) WGPU_FUNCTION_ATTRIBUTE;
2125 typedef void (*WGPUProcComputePipelineRelease)(WGPUComputePipeline computePipeline) WGPU_FUNCTION_ATTRIBUTE;
2126
2127// Procs of Device
2128 typedef WGPUBindGroup (*WGPUProcDeviceCreateBindGroup)(WGPUDevice device, WGPUBindGroupDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2129 typedef WGPUBindGroupLayout (*WGPUProcDeviceCreateBindGroupLayout)(WGPUDevice device, WGPUBindGroupLayoutDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2130 typedef WGPUBuffer (*WGPUProcDeviceCreateBuffer)(WGPUDevice device, WGPUBufferDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2131 typedef WGPUCommandEncoder (*WGPUProcDeviceCreateCommandEncoder)(WGPUDevice device, WGPU_NULLABLE WGPUCommandEncoderDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2132 typedef WGPUComputePipeline (*WGPUProcDeviceCreateComputePipeline)(WGPUDevice device, WGPUComputePipelineDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2133 typedef void (*WGPUProcDeviceCreateComputePipelineAsync)(WGPUDevice device, WGPUComputePipelineDescriptor const * descriptor, WGPUCreateComputePipelineAsyncCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2134 typedef WGPUFuture (*WGPUProcDeviceCreateComputePipelineAsyncF)(WGPUDevice device, WGPUComputePipelineDescriptor const * descriptor, WGPUCreateComputePipelineAsyncCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2135 typedef WGPUBuffer (*WGPUProcDeviceCreateErrorBuffer)(WGPUDevice device, WGPUBufferDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2136 typedef WGPUExternalTexture (*WGPUProcDeviceCreateErrorExternalTexture)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2137 typedef WGPUShaderModule (*WGPUProcDeviceCreateErrorShaderModule)(WGPUDevice device, WGPUShaderModuleDescriptor const * descriptor, char const * errorMessage) WGPU_FUNCTION_ATTRIBUTE;
2138 typedef WGPUTexture (*WGPUProcDeviceCreateErrorTexture)(WGPUDevice device, WGPUTextureDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2139 typedef WGPUExternalTexture (*WGPUProcDeviceCreateExternalTexture)(WGPUDevice device, WGPUExternalTextureDescriptor const * externalTextureDescriptor) WGPU_FUNCTION_ATTRIBUTE;
2140 typedef WGPUPipelineLayout (*WGPUProcDeviceCreatePipelineLayout)(WGPUDevice device, WGPUPipelineLayoutDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2141 typedef WGPUQuerySet (*WGPUProcDeviceCreateQuerySet)(WGPUDevice device, WGPUQuerySetDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2142 typedef WGPURenderBundleEncoder (*WGPUProcDeviceCreateRenderBundleEncoder)(WGPUDevice device, WGPURenderBundleEncoderDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2143 typedef WGPURenderPipeline (*WGPUProcDeviceCreateRenderPipeline)(WGPUDevice device, WGPURenderPipelineDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2144 typedef void (*WGPUProcDeviceCreateRenderPipelineAsync)(WGPUDevice device, WGPURenderPipelineDescriptor const * descriptor, WGPUCreateRenderPipelineAsyncCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2145 typedef WGPUFuture (*WGPUProcDeviceCreateRenderPipelineAsyncF)(WGPUDevice device, WGPURenderPipelineDescriptor const * descriptor, WGPUCreateRenderPipelineAsyncCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2146 typedef WGPUSampler (*WGPUProcDeviceCreateSampler)(WGPUDevice device, WGPU_NULLABLE WGPUSamplerDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2147 typedef WGPUShaderModule (*WGPUProcDeviceCreateShaderModule)(WGPUDevice device, WGPUShaderModuleDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2148 typedef WGPUSwapChain (*WGPUProcDeviceCreateSwapChain)(WGPUDevice device, WGPUSurface surface, WGPUSwapChainDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2149 typedef WGPUTexture (*WGPUProcDeviceCreateTexture)(WGPUDevice device, WGPUTextureDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2150 typedef void (*WGPUProcDeviceDestroy)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2151 typedef size_t (*WGPUProcDeviceEnumerateFeatures)(WGPUDevice device, WGPUFeatureName * features) WGPU_FUNCTION_ATTRIBUTE;
2152 typedef void (*WGPUProcDeviceForceLoss)(WGPUDevice device, WGPUDeviceLostReason type, char const * message) WGPU_FUNCTION_ATTRIBUTE;
2153 typedef WGPUAdapter (*WGPUProcDeviceGetAdapter)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2154 typedef WGPUBool (*WGPUProcDeviceGetLimits)(WGPUDevice device, WGPUSupportedLimits * limits) WGPU_FUNCTION_ATTRIBUTE;
2155 typedef WGPUQueue (*WGPUProcDeviceGetQueue)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2156 typedef WGPUTextureUsageFlags (*WGPUProcDeviceGetSupportedSurfaceUsage)(WGPUDevice device, WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE;
2157 typedef WGPUBool (*WGPUProcDeviceHasFeature)(WGPUDevice device, WGPUFeatureName feature) WGPU_FUNCTION_ATTRIBUTE;
2158 typedef WGPUSharedFence (*WGPUProcDeviceImportSharedFence)(WGPUDevice device, WGPUSharedFenceDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2159 typedef WGPUSharedTextureMemory (*WGPUProcDeviceImportSharedTextureMemory)(WGPUDevice device, WGPUSharedTextureMemoryDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2160 typedef void (*WGPUProcDeviceInjectError)(WGPUDevice device, WGPUErrorType type, char const * message) WGPU_FUNCTION_ATTRIBUTE;
2161 typedef void (*WGPUProcDevicePopErrorScope)(WGPUDevice device, WGPUErrorCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2162 typedef void (*WGPUProcDevicePushErrorScope)(WGPUDevice device, WGPUErrorFilter filter) WGPU_FUNCTION_ATTRIBUTE;
2163 typedef void (*WGPUProcDeviceSetDeviceLostCallback)(WGPUDevice device, WGPUDeviceLostCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2164 typedef void (*WGPUProcDeviceSetLabel)(WGPUDevice device, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2165 typedef void (*WGPUProcDeviceSetLoggingCallback)(WGPUDevice device, WGPULoggingCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2166 typedef void (*WGPUProcDeviceSetUncapturedErrorCallback)(WGPUDevice device, WGPUErrorCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2167 typedef void (*WGPUProcDeviceTick)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2168 typedef void (*WGPUProcDeviceValidateTextureDescriptor)(WGPUDevice device, WGPUTextureDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2169 typedef void (*WGPUProcDeviceReference)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2170 typedef void (*WGPUProcDeviceRelease)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2171
2172// Procs of ExternalTexture
2173 typedef void (*WGPUProcExternalTextureDestroy)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;
2174 typedef void (*WGPUProcExternalTextureExpire)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;
2175 typedef void (*WGPUProcExternalTextureRefresh)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;
2176 typedef void (*WGPUProcExternalTextureSetLabel)(WGPUExternalTexture externalTexture, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2177 typedef void (*WGPUProcExternalTextureReference)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;
2178 typedef void (*WGPUProcExternalTextureRelease)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;
2179
2180// Procs of Instance
2181 typedef WGPUSurface (*WGPUProcInstanceCreateSurface)(WGPUInstance instance, WGPUSurfaceDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2182 typedef size_t (*WGPUProcInstanceEnumerateWGSLLanguageFeatures)(WGPUInstance instance, WGPUWGSLFeatureName * features) WGPU_FUNCTION_ATTRIBUTE;
2183 typedef WGPUBool (*WGPUProcInstanceHasWGSLLanguageFeature)(WGPUInstance instance, WGPUWGSLFeatureName feature) WGPU_FUNCTION_ATTRIBUTE;
2184 typedef void (*WGPUProcInstanceProcessEvents)(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE;
2185 typedef void (*WGPUProcInstanceRequestAdapter)(WGPUInstance instance, WGPU_NULLABLE WGPURequestAdapterOptions const * options, WGPURequestAdapterCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2186 typedef WGPUFuture (*WGPUProcInstanceRequestAdapterF)(WGPUInstance instance, WGPU_NULLABLE WGPURequestAdapterOptions const * options, WGPURequestAdapterCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2187 typedef WGPUWaitStatus (*WGPUProcInstanceWaitAny)(WGPUInstance instance, size_t futureCount, WGPUFutureWaitInfo * futures, uint64_t timeoutNS) WGPU_FUNCTION_ATTRIBUTE;
2188 typedef void (*WGPUProcInstanceReference)(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE;
2189 typedef void (*WGPUProcInstanceRelease)(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE;
2190
2191// Procs of PipelineLayout
2192 typedef void (*WGPUProcPipelineLayoutSetLabel)(WGPUPipelineLayout pipelineLayout, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2193 typedef void (*WGPUProcPipelineLayoutReference)(WGPUPipelineLayout pipelineLayout) WGPU_FUNCTION_ATTRIBUTE;
2194 typedef void (*WGPUProcPipelineLayoutRelease)(WGPUPipelineLayout pipelineLayout) WGPU_FUNCTION_ATTRIBUTE;
2195
2196// Procs of QuerySet
2197 typedef void (*WGPUProcQuerySetDestroy)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;
2198 typedef uint32_t (*WGPUProcQuerySetGetCount)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;
2199 typedef WGPUQueryType (*WGPUProcQuerySetGetType)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;
2200 typedef void (*WGPUProcQuerySetSetLabel)(WGPUQuerySet querySet, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2201 typedef void (*WGPUProcQuerySetReference)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;
2202 typedef void (*WGPUProcQuerySetRelease)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;
2203
2204// Procs of Queue
2205 typedef void (*WGPUProcQueueCopyExternalTextureForBrowser)(WGPUQueue queue, WGPUImageCopyExternalTexture const * source, WGPUImageCopyTexture const * destination, WGPUExtent3D const * copySize, WGPUCopyTextureForBrowserOptions const * options) WGPU_FUNCTION_ATTRIBUTE;
2206 typedef void (*WGPUProcQueueCopyTextureForBrowser)(WGPUQueue queue, WGPUImageCopyTexture const * source, WGPUImageCopyTexture const * destination, WGPUExtent3D const * copySize, WGPUCopyTextureForBrowserOptions const * options) WGPU_FUNCTION_ATTRIBUTE;
2207 typedef void (*WGPUProcQueueOnSubmittedWorkDone)(WGPUQueue queue, WGPUQueueWorkDoneCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2208 typedef WGPUFuture (*WGPUProcQueueOnSubmittedWorkDoneF)(WGPUQueue queue, WGPUQueueWorkDoneCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2209 typedef void (*WGPUProcQueueSetLabel)(WGPUQueue queue, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2210 typedef void (*WGPUProcQueueSubmit)(WGPUQueue queue, size_t commandCount, WGPUCommandBuffer const * commands) WGPU_FUNCTION_ATTRIBUTE;
2211 typedef void (*WGPUProcQueueWriteBuffer)(WGPUQueue queue, WGPUBuffer buffer, uint64_t bufferOffset, void const * data, size_t size) WGPU_FUNCTION_ATTRIBUTE;
2212 typedef void (*WGPUProcQueueWriteTexture)(WGPUQueue queue, WGPUImageCopyTexture const * destination, void const * data, size_t dataSize, WGPUTextureDataLayout const * dataLayout, WGPUExtent3D const * writeSize) WGPU_FUNCTION_ATTRIBUTE;
2213 typedef void (*WGPUProcQueueReference)(WGPUQueue queue) WGPU_FUNCTION_ATTRIBUTE;
2214 typedef void (*WGPUProcQueueRelease)(WGPUQueue queue) WGPU_FUNCTION_ATTRIBUTE;
2215
2216// Procs of RenderBundle
2217 typedef void (*WGPUProcRenderBundleSetLabel)(WGPURenderBundle renderBundle, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2218 typedef void (*WGPUProcRenderBundleReference)(WGPURenderBundle renderBundle) WGPU_FUNCTION_ATTRIBUTE;
2219 typedef void (*WGPUProcRenderBundleRelease)(WGPURenderBundle renderBundle) WGPU_FUNCTION_ATTRIBUTE;
2220
2221// Procs of RenderBundleEncoder
2222 typedef void (*WGPUProcRenderBundleEncoderDraw)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;
2223 typedef void (*WGPUProcRenderBundleEncoderDrawIndexed)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;
2224 typedef void (*WGPUProcRenderBundleEncoderDrawIndexedIndirect)(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;
2225 typedef void (*WGPUProcRenderBundleEncoderDrawIndirect)(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;
2226 typedef WGPURenderBundle (*WGPUProcRenderBundleEncoderFinish)(WGPURenderBundleEncoder renderBundleEncoder, WGPU_NULLABLE WGPURenderBundleDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2227 typedef void (*WGPUProcRenderBundleEncoderInsertDebugMarker)(WGPURenderBundleEncoder renderBundleEncoder, char const * markerLabel) WGPU_FUNCTION_ATTRIBUTE;
2228 typedef void (*WGPUProcRenderBundleEncoderPopDebugGroup)(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE;
2229 typedef void (*WGPUProcRenderBundleEncoderPushDebugGroup)(WGPURenderBundleEncoder renderBundleEncoder, char const * groupLabel) WGPU_FUNCTION_ATTRIBUTE;
2230 typedef void (*WGPUProcRenderBundleEncoderSetBindGroup)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE;
2231 typedef void (*WGPUProcRenderBundleEncoderSetIndexBuffer)(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2232 typedef void (*WGPUProcRenderBundleEncoderSetLabel)(WGPURenderBundleEncoder renderBundleEncoder, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2233 typedef void (*WGPUProcRenderBundleEncoderSetPipeline)(WGPURenderBundleEncoder renderBundleEncoder, WGPURenderPipeline pipeline) WGPU_FUNCTION_ATTRIBUTE;
2234 typedef void (*WGPUProcRenderBundleEncoderSetVertexBuffer)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t slot, WGPU_NULLABLE WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2235 typedef void (*WGPUProcRenderBundleEncoderReference)(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE;
2236 typedef void (*WGPUProcRenderBundleEncoderRelease)(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE;
2237
2238// Procs of RenderPassEncoder
2239 typedef void (*WGPUProcRenderPassEncoderBeginOcclusionQuery)(WGPURenderPassEncoder renderPassEncoder, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE;
2240 typedef void (*WGPUProcRenderPassEncoderDraw)(WGPURenderPassEncoder renderPassEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;
2241 typedef void (*WGPUProcRenderPassEncoderDrawIndexed)(WGPURenderPassEncoder renderPassEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;
2242 typedef void (*WGPUProcRenderPassEncoderDrawIndexedIndirect)(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;
2243 typedef void (*WGPUProcRenderPassEncoderDrawIndirect)(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;
2244 typedef void (*WGPUProcRenderPassEncoderEnd)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2245 typedef void (*WGPUProcRenderPassEncoderEndOcclusionQuery)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2246 typedef void (*WGPUProcRenderPassEncoderExecuteBundles)(WGPURenderPassEncoder renderPassEncoder, size_t bundleCount, WGPURenderBundle const * bundles) WGPU_FUNCTION_ATTRIBUTE;
2247 typedef void (*WGPUProcRenderPassEncoderInsertDebugMarker)(WGPURenderPassEncoder renderPassEncoder, char const * markerLabel) WGPU_FUNCTION_ATTRIBUTE;
2248 typedef void (*WGPUProcRenderPassEncoderPixelLocalStorageBarrier)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2249 typedef void (*WGPUProcRenderPassEncoderPopDebugGroup)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2250 typedef void (*WGPUProcRenderPassEncoderPushDebugGroup)(WGPURenderPassEncoder renderPassEncoder, char const * groupLabel) WGPU_FUNCTION_ATTRIBUTE;
2251 typedef void (*WGPUProcRenderPassEncoderSetBindGroup)(WGPURenderPassEncoder renderPassEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE;
2252 typedef void (*WGPUProcRenderPassEncoderSetBlendConstant)(WGPURenderPassEncoder renderPassEncoder, WGPUColor const * color) WGPU_FUNCTION_ATTRIBUTE;
2253 typedef void (*WGPUProcRenderPassEncoderSetIndexBuffer)(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2254 typedef void (*WGPUProcRenderPassEncoderSetLabel)(WGPURenderPassEncoder renderPassEncoder, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2255 typedef void (*WGPUProcRenderPassEncoderSetPipeline)(WGPURenderPassEncoder renderPassEncoder, WGPURenderPipeline pipeline) WGPU_FUNCTION_ATTRIBUTE;
2256 typedef void (*WGPUProcRenderPassEncoderSetScissorRect)(WGPURenderPassEncoder renderPassEncoder, uint32_t x, uint32_t y, uint32_t width, uint32_t height) WGPU_FUNCTION_ATTRIBUTE;
2257 typedef void (*WGPUProcRenderPassEncoderSetStencilReference)(WGPURenderPassEncoder renderPassEncoder, uint32_t reference) WGPU_FUNCTION_ATTRIBUTE;
2258 typedef void (*WGPUProcRenderPassEncoderSetVertexBuffer)(WGPURenderPassEncoder renderPassEncoder, uint32_t slot, WGPU_NULLABLE WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2259 typedef void (*WGPUProcRenderPassEncoderSetViewport)(WGPURenderPassEncoder renderPassEncoder, float x, float y, float width, float height, float minDepth, float maxDepth) WGPU_FUNCTION_ATTRIBUTE;
2260 typedef void (*WGPUProcRenderPassEncoderWriteTimestamp)(WGPURenderPassEncoder renderPassEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE;
2261 typedef void (*WGPUProcRenderPassEncoderReference)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2262 typedef void (*WGPUProcRenderPassEncoderRelease)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2263
2264// Procs of RenderPipeline
2265 typedef WGPUBindGroupLayout (*WGPUProcRenderPipelineGetBindGroupLayout)(WGPURenderPipeline renderPipeline, uint32_t groupIndex) WGPU_FUNCTION_ATTRIBUTE;
2266 typedef void (*WGPUProcRenderPipelineSetLabel)(WGPURenderPipeline renderPipeline, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2267 typedef void (*WGPUProcRenderPipelineReference)(WGPURenderPipeline renderPipeline) WGPU_FUNCTION_ATTRIBUTE;
2268 typedef void (*WGPUProcRenderPipelineRelease)(WGPURenderPipeline renderPipeline) WGPU_FUNCTION_ATTRIBUTE;
2269
2270// Procs of Sampler
2271 typedef void (*WGPUProcSamplerSetLabel)(WGPUSampler sampler, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2272 typedef void (*WGPUProcSamplerReference)(WGPUSampler sampler) WGPU_FUNCTION_ATTRIBUTE;
2273 typedef void (*WGPUProcSamplerRelease)(WGPUSampler sampler) WGPU_FUNCTION_ATTRIBUTE;
2274
2275// Procs of ShaderModule
2276 typedef void (*WGPUProcShaderModuleGetCompilationInfo)(WGPUShaderModule shaderModule, WGPUCompilationInfoCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2277 typedef void (*WGPUProcShaderModuleSetLabel)(WGPUShaderModule shaderModule, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2278 typedef void (*WGPUProcShaderModuleReference)(WGPUShaderModule shaderModule) WGPU_FUNCTION_ATTRIBUTE;
2279 typedef void (*WGPUProcShaderModuleRelease)(WGPUShaderModule shaderModule) WGPU_FUNCTION_ATTRIBUTE;
2280
2281// Procs of SharedFence
2282 typedef void (*WGPUProcSharedFenceExportInfo)(WGPUSharedFence sharedFence, WGPUSharedFenceExportInfo * info) WGPU_FUNCTION_ATTRIBUTE;
2283 typedef void (*WGPUProcSharedFenceReference)(WGPUSharedFence sharedFence) WGPU_FUNCTION_ATTRIBUTE;
2284 typedef void (*WGPUProcSharedFenceRelease)(WGPUSharedFence sharedFence) WGPU_FUNCTION_ATTRIBUTE;
2285
2286// Procs of SharedTextureMemory
2287 typedef WGPUBool (*WGPUProcSharedTextureMemoryBeginAccess)(WGPUSharedTextureMemory sharedTextureMemory, WGPUTexture texture, WGPUSharedTextureMemoryBeginAccessDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2288 typedef WGPUTexture (*WGPUProcSharedTextureMemoryCreateTexture)(WGPUSharedTextureMemory sharedTextureMemory, WGPU_NULLABLE WGPUTextureDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2289 typedef WGPUBool (*WGPUProcSharedTextureMemoryEndAccess)(WGPUSharedTextureMemory sharedTextureMemory, WGPUTexture texture, WGPUSharedTextureMemoryEndAccessState * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2290 typedef void (*WGPUProcSharedTextureMemoryGetProperties)(WGPUSharedTextureMemory sharedTextureMemory, WGPUSharedTextureMemoryProperties * properties) WGPU_FUNCTION_ATTRIBUTE;
2291 typedef WGPUBool (*WGPUProcSharedTextureMemoryIsDeviceLost)(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE;
2292 typedef void (*WGPUProcSharedTextureMemorySetLabel)(WGPUSharedTextureMemory sharedTextureMemory, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2293 typedef void (*WGPUProcSharedTextureMemoryReference)(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE;
2294 typedef void (*WGPUProcSharedTextureMemoryRelease)(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE;
2295
2296// Procs of Surface
2297 typedef WGPUTextureFormat (*WGPUProcSurfaceGetPreferredFormat)(WGPUSurface surface, WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;
2298 typedef void (*WGPUProcSurfaceReference)(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE;
2299 typedef void (*WGPUProcSurfaceRelease)(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE;
2300
2301// Procs of SwapChain
2302 typedef WGPUTexture (*WGPUProcSwapChainGetCurrentTexture)(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE;
2303 typedef WGPUTextureView (*WGPUProcSwapChainGetCurrentTextureView)(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE;
2304 typedef void (*WGPUProcSwapChainPresent)(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE;
2305 typedef void (*WGPUProcSwapChainReference)(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE;
2306 typedef void (*WGPUProcSwapChainRelease)(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE;
2307
2308// Procs of Texture
2309 typedef WGPUTextureView (*WGPUProcTextureCreateErrorView)(WGPUTexture texture, WGPU_NULLABLE WGPUTextureViewDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2310 typedef WGPUTextureView (*WGPUProcTextureCreateView)(WGPUTexture texture, WGPU_NULLABLE WGPUTextureViewDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2311 typedef void (*WGPUProcTextureDestroy)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2312 typedef uint32_t (*WGPUProcTextureGetDepthOrArrayLayers)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2313 typedef WGPUTextureDimension (*WGPUProcTextureGetDimension)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2314 typedef WGPUTextureFormat (*WGPUProcTextureGetFormat)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2315 typedef uint32_t (*WGPUProcTextureGetHeight)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2316 typedef uint32_t (*WGPUProcTextureGetMipLevelCount)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2317 typedef uint32_t (*WGPUProcTextureGetSampleCount)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2318 typedef WGPUTextureUsageFlags (*WGPUProcTextureGetUsage)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2319 typedef uint32_t (*WGPUProcTextureGetWidth)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2320 typedef void (*WGPUProcTextureSetLabel)(WGPUTexture texture, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2321 typedef void (*WGPUProcTextureReference)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2322 typedef void (*WGPUProcTextureRelease)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2323
2324// Procs of TextureView
2325 typedef void (*WGPUProcTextureViewSetLabel)(WGPUTextureView textureView, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2326 typedef void (*WGPUProcTextureViewReference)(WGPUTextureView textureView) WGPU_FUNCTION_ATTRIBUTE;
2327 typedef void (*WGPUProcTextureViewRelease)(WGPUTextureView textureView) WGPU_FUNCTION_ATTRIBUTE;
2328
2329
2330#endif // !defined(WGPU_SKIP_PROCS)
2331
2332#if !defined(WGPU_SKIP_DECLARATIONS)
2333
2334 WGPU_EXPORT void wgpuAdapterPropertiesFreeMembers(WGPUAdapterProperties value) WGPU_FUNCTION_ATTRIBUTE;
2335 WGPU_EXPORT void wgpuAdapterPropertiesMemoryHeapsFreeMembers(WGPUAdapterPropertiesMemoryHeaps value) WGPU_FUNCTION_ATTRIBUTE;
2336 WGPU_EXPORT WGPUInstance wgpuCreateInstance(WGPU_NULLABLE WGPUInstanceDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2337 WGPU_EXPORT WGPUBool wgpuGetInstanceFeatures(WGPUInstanceFeatures * features) WGPU_FUNCTION_ATTRIBUTE;
2338 WGPU_EXPORT WGPUProc wgpuGetProcAddress(WGPU_NULLABLE WGPUDevice device, char const * procName) WGPU_FUNCTION_ATTRIBUTE;
2339 WGPU_EXPORT void wgpuSharedTextureMemoryEndAccessStateFreeMembers(WGPUSharedTextureMemoryEndAccessState value) WGPU_FUNCTION_ATTRIBUTE;
2340
2341// Methods of Adapter
2342 WGPU_EXPORT WGPUDevice wgpuAdapterCreateDevice(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2343 WGPU_EXPORT size_t wgpuAdapterEnumerateFeatures(WGPUAdapter adapter, WGPUFeatureName * features) WGPU_FUNCTION_ATTRIBUTE;
2344 WGPU_EXPORT WGPUInstance wgpuAdapterGetInstance(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;
2345 WGPU_EXPORT WGPUBool wgpuAdapterGetLimits(WGPUAdapter adapter, WGPUSupportedLimits * limits) WGPU_FUNCTION_ATTRIBUTE;
2346 WGPU_EXPORT void wgpuAdapterGetProperties(WGPUAdapter adapter, WGPUAdapterProperties * properties) WGPU_FUNCTION_ATTRIBUTE;
2347 WGPU_EXPORT WGPUBool wgpuAdapterHasFeature(WGPUAdapter adapter, WGPUFeatureName feature) WGPU_FUNCTION_ATTRIBUTE;
2348 WGPU_EXPORT void wgpuAdapterRequestDevice(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const * descriptor, WGPURequestDeviceCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2349 WGPU_EXPORT WGPUFuture wgpuAdapterRequestDeviceF(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const * options, WGPURequestDeviceCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2350 WGPU_EXPORT void wgpuAdapterReference(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;
2351 WGPU_EXPORT void wgpuAdapterRelease(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;
2352
2353// Methods of BindGroup
2354 WGPU_EXPORT void wgpuBindGroupSetLabel(WGPUBindGroup bindGroup, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2355 WGPU_EXPORT void wgpuBindGroupReference(WGPUBindGroup bindGroup) WGPU_FUNCTION_ATTRIBUTE;
2356 WGPU_EXPORT void wgpuBindGroupRelease(WGPUBindGroup bindGroup) WGPU_FUNCTION_ATTRIBUTE;
2357
2358// Methods of BindGroupLayout
2359 WGPU_EXPORT void wgpuBindGroupLayoutSetLabel(WGPUBindGroupLayout bindGroupLayout, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2360 WGPU_EXPORT void wgpuBindGroupLayoutReference(WGPUBindGroupLayout bindGroupLayout) WGPU_FUNCTION_ATTRIBUTE;
2361 WGPU_EXPORT void wgpuBindGroupLayoutRelease(WGPUBindGroupLayout bindGroupLayout) WGPU_FUNCTION_ATTRIBUTE;
2362
2363// Methods of Buffer
2364 WGPU_EXPORT void wgpuBufferDestroy(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2365 WGPU_EXPORT void const * wgpuBufferGetConstMappedRange(WGPUBuffer buffer, size_t offset, size_t size) WGPU_FUNCTION_ATTRIBUTE;
2366 WGPU_EXPORT WGPUBufferMapState wgpuBufferGetMapState(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2367 WGPU_EXPORT void * wgpuBufferGetMappedRange(WGPUBuffer buffer, size_t offset, size_t size) WGPU_FUNCTION_ATTRIBUTE;
2368 WGPU_EXPORT uint64_t wgpuBufferGetSize(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2369 WGPU_EXPORT WGPUBufferUsageFlags wgpuBufferGetUsage(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2370 WGPU_EXPORT void wgpuBufferMapAsync(WGPUBuffer buffer, WGPUMapModeFlags mode, size_t offset, size_t size, WGPUBufferMapCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2371 WGPU_EXPORT WGPUFuture wgpuBufferMapAsyncF(WGPUBuffer buffer, WGPUMapModeFlags mode, size_t offset, size_t size, WGPUBufferMapCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2372 WGPU_EXPORT void wgpuBufferSetLabel(WGPUBuffer buffer, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2373 WGPU_EXPORT void wgpuBufferUnmap(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2374 WGPU_EXPORT void wgpuBufferReference(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2375 WGPU_EXPORT void wgpuBufferRelease(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;
2376
2377// Methods of CommandBuffer
2378 WGPU_EXPORT void wgpuCommandBufferSetLabel(WGPUCommandBuffer commandBuffer, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2379 WGPU_EXPORT void wgpuCommandBufferReference(WGPUCommandBuffer commandBuffer) WGPU_FUNCTION_ATTRIBUTE;
2380 WGPU_EXPORT void wgpuCommandBufferRelease(WGPUCommandBuffer commandBuffer) WGPU_FUNCTION_ATTRIBUTE;
2381
2382// Methods of CommandEncoder
2383 WGPU_EXPORT WGPUComputePassEncoder wgpuCommandEncoderBeginComputePass(WGPUCommandEncoder commandEncoder, WGPU_NULLABLE WGPUComputePassDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2384 WGPU_EXPORT WGPURenderPassEncoder wgpuCommandEncoderBeginRenderPass(WGPUCommandEncoder commandEncoder, WGPURenderPassDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2385 WGPU_EXPORT void wgpuCommandEncoderClearBuffer(WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2386 WGPU_EXPORT void wgpuCommandEncoderCopyBufferToBuffer(WGPUCommandEncoder commandEncoder, WGPUBuffer source, uint64_t sourceOffset, WGPUBuffer destination, uint64_t destinationOffset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2387 WGPU_EXPORT void wgpuCommandEncoderCopyBufferToTexture(WGPUCommandEncoder commandEncoder, WGPUImageCopyBuffer const * source, WGPUImageCopyTexture const * destination, WGPUExtent3D const * copySize) WGPU_FUNCTION_ATTRIBUTE;
2388 WGPU_EXPORT void wgpuCommandEncoderCopyTextureToBuffer(WGPUCommandEncoder commandEncoder, WGPUImageCopyTexture const * source, WGPUImageCopyBuffer const * destination, WGPUExtent3D const * copySize) WGPU_FUNCTION_ATTRIBUTE;
2389 WGPU_EXPORT void wgpuCommandEncoderCopyTextureToTexture(WGPUCommandEncoder commandEncoder, WGPUImageCopyTexture const * source, WGPUImageCopyTexture const * destination, WGPUExtent3D const * copySize) WGPU_FUNCTION_ATTRIBUTE;
2390 WGPU_EXPORT WGPUCommandBuffer wgpuCommandEncoderFinish(WGPUCommandEncoder commandEncoder, WGPU_NULLABLE WGPUCommandBufferDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2391 WGPU_EXPORT void wgpuCommandEncoderInjectValidationError(WGPUCommandEncoder commandEncoder, char const * message) WGPU_FUNCTION_ATTRIBUTE;
2392 WGPU_EXPORT void wgpuCommandEncoderInsertDebugMarker(WGPUCommandEncoder commandEncoder, char const * markerLabel) WGPU_FUNCTION_ATTRIBUTE;
2393 WGPU_EXPORT void wgpuCommandEncoderPopDebugGroup(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE;
2394 WGPU_EXPORT void wgpuCommandEncoderPushDebugGroup(WGPUCommandEncoder commandEncoder, char const * groupLabel) WGPU_FUNCTION_ATTRIBUTE;
2395 WGPU_EXPORT void wgpuCommandEncoderResolveQuerySet(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t firstQuery, uint32_t queryCount, WGPUBuffer destination, uint64_t destinationOffset) WGPU_FUNCTION_ATTRIBUTE;
2396 WGPU_EXPORT void wgpuCommandEncoderSetLabel(WGPUCommandEncoder commandEncoder, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2397 WGPU_EXPORT void wgpuCommandEncoderWriteBuffer(WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t bufferOffset, uint8_t const * data, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2398 WGPU_EXPORT void wgpuCommandEncoderWriteTimestamp(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE;
2399 WGPU_EXPORT void wgpuCommandEncoderReference(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE;
2400 WGPU_EXPORT void wgpuCommandEncoderRelease(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE;
2401
2402// Methods of ComputePassEncoder
2403 WGPU_EXPORT void wgpuComputePassEncoderDispatchWorkgroups(WGPUComputePassEncoder computePassEncoder, uint32_t workgroupCountX, uint32_t workgroupCountY, uint32_t workgroupCountZ) WGPU_FUNCTION_ATTRIBUTE;
2404 WGPU_EXPORT void wgpuComputePassEncoderDispatchWorkgroupsIndirect(WGPUComputePassEncoder computePassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;
2405 WGPU_EXPORT void wgpuComputePassEncoderEnd(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2406 WGPU_EXPORT void wgpuComputePassEncoderInsertDebugMarker(WGPUComputePassEncoder computePassEncoder, char const * markerLabel) WGPU_FUNCTION_ATTRIBUTE;
2407 WGPU_EXPORT void wgpuComputePassEncoderPopDebugGroup(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2408 WGPU_EXPORT void wgpuComputePassEncoderPushDebugGroup(WGPUComputePassEncoder computePassEncoder, char const * groupLabel) WGPU_FUNCTION_ATTRIBUTE;
2409 WGPU_EXPORT void wgpuComputePassEncoderSetBindGroup(WGPUComputePassEncoder computePassEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE;
2410 WGPU_EXPORT void wgpuComputePassEncoderSetLabel(WGPUComputePassEncoder computePassEncoder, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2411 WGPU_EXPORT void wgpuComputePassEncoderSetPipeline(WGPUComputePassEncoder computePassEncoder, WGPUComputePipeline pipeline) WGPU_FUNCTION_ATTRIBUTE;
2412 WGPU_EXPORT void wgpuComputePassEncoderWriteTimestamp(WGPUComputePassEncoder computePassEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE;
2413 WGPU_EXPORT void wgpuComputePassEncoderReference(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2414 WGPU_EXPORT void wgpuComputePassEncoderRelease(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2415
2416// Methods of ComputePipeline
2417 WGPU_EXPORT WGPUBindGroupLayout wgpuComputePipelineGetBindGroupLayout(WGPUComputePipeline computePipeline, uint32_t groupIndex) WGPU_FUNCTION_ATTRIBUTE;
2418 WGPU_EXPORT void wgpuComputePipelineSetLabel(WGPUComputePipeline computePipeline, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2419 WGPU_EXPORT void wgpuComputePipelineReference(WGPUComputePipeline computePipeline) WGPU_FUNCTION_ATTRIBUTE;
2420 WGPU_EXPORT void wgpuComputePipelineRelease(WGPUComputePipeline computePipeline) WGPU_FUNCTION_ATTRIBUTE;
2421
2422// Methods of Device
2423 WGPU_EXPORT WGPUBindGroup wgpuDeviceCreateBindGroup(WGPUDevice device, WGPUBindGroupDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2424 WGPU_EXPORT WGPUBindGroupLayout wgpuDeviceCreateBindGroupLayout(WGPUDevice device, WGPUBindGroupLayoutDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2425 WGPU_EXPORT WGPUBuffer wgpuDeviceCreateBuffer(WGPUDevice device, WGPUBufferDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2426 WGPU_EXPORT WGPUCommandEncoder wgpuDeviceCreateCommandEncoder(WGPUDevice device, WGPU_NULLABLE WGPUCommandEncoderDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2427 WGPU_EXPORT WGPUComputePipeline wgpuDeviceCreateComputePipeline(WGPUDevice device, WGPUComputePipelineDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2428 WGPU_EXPORT void wgpuDeviceCreateComputePipelineAsync(WGPUDevice device, WGPUComputePipelineDescriptor const * descriptor, WGPUCreateComputePipelineAsyncCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2429 WGPU_EXPORT WGPUFuture wgpuDeviceCreateComputePipelineAsyncF(WGPUDevice device, WGPUComputePipelineDescriptor const * descriptor, WGPUCreateComputePipelineAsyncCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2430 WGPU_EXPORT WGPUBuffer wgpuDeviceCreateErrorBuffer(WGPUDevice device, WGPUBufferDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2431 WGPU_EXPORT WGPUExternalTexture wgpuDeviceCreateErrorExternalTexture(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2432 WGPU_EXPORT WGPUShaderModule wgpuDeviceCreateErrorShaderModule(WGPUDevice device, WGPUShaderModuleDescriptor const * descriptor, char const * errorMessage) WGPU_FUNCTION_ATTRIBUTE;
2433 WGPU_EXPORT WGPUTexture wgpuDeviceCreateErrorTexture(WGPUDevice device, WGPUTextureDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2434 WGPU_EXPORT WGPUExternalTexture wgpuDeviceCreateExternalTexture(WGPUDevice device, WGPUExternalTextureDescriptor const * externalTextureDescriptor) WGPU_FUNCTION_ATTRIBUTE;
2435 WGPU_EXPORT WGPUPipelineLayout wgpuDeviceCreatePipelineLayout(WGPUDevice device, WGPUPipelineLayoutDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2436 WGPU_EXPORT WGPUQuerySet wgpuDeviceCreateQuerySet(WGPUDevice device, WGPUQuerySetDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2437 WGPU_EXPORT WGPURenderBundleEncoder wgpuDeviceCreateRenderBundleEncoder(WGPUDevice device, WGPURenderBundleEncoderDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2438 WGPU_EXPORT WGPURenderPipeline wgpuDeviceCreateRenderPipeline(WGPUDevice device, WGPURenderPipelineDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2439 WGPU_EXPORT void wgpuDeviceCreateRenderPipelineAsync(WGPUDevice device, WGPURenderPipelineDescriptor const * descriptor, WGPUCreateRenderPipelineAsyncCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2440 WGPU_EXPORT WGPUFuture wgpuDeviceCreateRenderPipelineAsyncF(WGPUDevice device, WGPURenderPipelineDescriptor const * descriptor, WGPUCreateRenderPipelineAsyncCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2441 WGPU_EXPORT WGPUSampler wgpuDeviceCreateSampler(WGPUDevice device, WGPU_NULLABLE WGPUSamplerDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2442 WGPU_EXPORT WGPUShaderModule wgpuDeviceCreateShaderModule(WGPUDevice device, WGPUShaderModuleDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2443 WGPU_EXPORT WGPUSwapChain wgpuDeviceCreateSwapChain(WGPUDevice device, WGPUSurface surface, WGPUSwapChainDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2444 WGPU_EXPORT WGPUTexture wgpuDeviceCreateTexture(WGPUDevice device, WGPUTextureDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2445 WGPU_EXPORT void wgpuDeviceDestroy(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2446 WGPU_EXPORT size_t wgpuDeviceEnumerateFeatures(WGPUDevice device, WGPUFeatureName * features) WGPU_FUNCTION_ATTRIBUTE;
2447 WGPU_EXPORT void wgpuDeviceForceLoss(WGPUDevice device, WGPUDeviceLostReason type, char const * message) WGPU_FUNCTION_ATTRIBUTE;
2448 WGPU_EXPORT WGPUAdapter wgpuDeviceGetAdapter(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2449 WGPU_EXPORT WGPUBool wgpuDeviceGetLimits(WGPUDevice device, WGPUSupportedLimits * limits) WGPU_FUNCTION_ATTRIBUTE;
2450 WGPU_EXPORT WGPUQueue wgpuDeviceGetQueue(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2451 WGPU_EXPORT WGPUTextureUsageFlags wgpuDeviceGetSupportedSurfaceUsage(WGPUDevice device, WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE;
2452 WGPU_EXPORT WGPUBool wgpuDeviceHasFeature(WGPUDevice device, WGPUFeatureName feature) WGPU_FUNCTION_ATTRIBUTE;
2453 WGPU_EXPORT WGPUSharedFence wgpuDeviceImportSharedFence(WGPUDevice device, WGPUSharedFenceDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2454 WGPU_EXPORT WGPUSharedTextureMemory wgpuDeviceImportSharedTextureMemory(WGPUDevice device, WGPUSharedTextureMemoryDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2455 WGPU_EXPORT void wgpuDeviceInjectError(WGPUDevice device, WGPUErrorType type, char const * message) WGPU_FUNCTION_ATTRIBUTE;
2456 WGPU_EXPORT void wgpuDevicePopErrorScope(WGPUDevice device, WGPUErrorCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2457 WGPU_EXPORT void wgpuDevicePushErrorScope(WGPUDevice device, WGPUErrorFilter filter) WGPU_FUNCTION_ATTRIBUTE;
2458 WGPU_EXPORT void wgpuDeviceSetDeviceLostCallback(WGPUDevice device, WGPUDeviceLostCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2459 WGPU_EXPORT void wgpuDeviceSetLabel(WGPUDevice device, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2460 WGPU_EXPORT void wgpuDeviceSetLoggingCallback(WGPUDevice device, WGPULoggingCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2461 WGPU_EXPORT void wgpuDeviceSetUncapturedErrorCallback(WGPUDevice device, WGPUErrorCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2462 WGPU_EXPORT void wgpuDeviceTick(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2463 WGPU_EXPORT void wgpuDeviceValidateTextureDescriptor(WGPUDevice device, WGPUTextureDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2464 WGPU_EXPORT void wgpuDeviceReference(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2465 WGPU_EXPORT void wgpuDeviceRelease(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
2466
2467// Methods of ExternalTexture
2468 WGPU_EXPORT void wgpuExternalTextureDestroy(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;
2469 WGPU_EXPORT void wgpuExternalTextureExpire(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;
2470 WGPU_EXPORT void wgpuExternalTextureRefresh(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;
2471 WGPU_EXPORT void wgpuExternalTextureSetLabel(WGPUExternalTexture externalTexture, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2472 WGPU_EXPORT void wgpuExternalTextureReference(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;
2473 WGPU_EXPORT void wgpuExternalTextureRelease(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;
2474
2475// Methods of Instance
2476 WGPU_EXPORT WGPUSurface wgpuInstanceCreateSurface(WGPUInstance instance, WGPUSurfaceDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2477 WGPU_EXPORT size_t wgpuInstanceEnumerateWGSLLanguageFeatures(WGPUInstance instance, WGPUWGSLFeatureName * features) WGPU_FUNCTION_ATTRIBUTE;
2478 WGPU_EXPORT WGPUBool wgpuInstanceHasWGSLLanguageFeature(WGPUInstance instance, WGPUWGSLFeatureName feature) WGPU_FUNCTION_ATTRIBUTE;
2479 WGPU_EXPORT void wgpuInstanceProcessEvents(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE;
2480 WGPU_EXPORT void wgpuInstanceRequestAdapter(WGPUInstance instance, WGPU_NULLABLE WGPURequestAdapterOptions const * options, WGPURequestAdapterCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2481 WGPU_EXPORT WGPUFuture wgpuInstanceRequestAdapterF(WGPUInstance instance, WGPU_NULLABLE WGPURequestAdapterOptions const * options, WGPURequestAdapterCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2482 WGPU_EXPORT WGPUWaitStatus wgpuInstanceWaitAny(WGPUInstance instance, size_t futureCount, WGPUFutureWaitInfo * futures, uint64_t timeoutNS) WGPU_FUNCTION_ATTRIBUTE;
2483 WGPU_EXPORT void wgpuInstanceReference(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE;
2484 WGPU_EXPORT void wgpuInstanceRelease(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE;
2485
2486// Methods of PipelineLayout
2487 WGPU_EXPORT void wgpuPipelineLayoutSetLabel(WGPUPipelineLayout pipelineLayout, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2488 WGPU_EXPORT void wgpuPipelineLayoutReference(WGPUPipelineLayout pipelineLayout) WGPU_FUNCTION_ATTRIBUTE;
2489 WGPU_EXPORT void wgpuPipelineLayoutRelease(WGPUPipelineLayout pipelineLayout) WGPU_FUNCTION_ATTRIBUTE;
2490
2491// Methods of QuerySet
2492 WGPU_EXPORT void wgpuQuerySetDestroy(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;
2493 WGPU_EXPORT uint32_t wgpuQuerySetGetCount(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;
2494 WGPU_EXPORT WGPUQueryType wgpuQuerySetGetType(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;
2495 WGPU_EXPORT void wgpuQuerySetSetLabel(WGPUQuerySet querySet, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2496 WGPU_EXPORT void wgpuQuerySetReference(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;
2497 WGPU_EXPORT void wgpuQuerySetRelease(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;
2498
2499// Methods of Queue
2500 WGPU_EXPORT void wgpuQueueCopyExternalTextureForBrowser(WGPUQueue queue, WGPUImageCopyExternalTexture const * source, WGPUImageCopyTexture const * destination, WGPUExtent3D const * copySize, WGPUCopyTextureForBrowserOptions const * options) WGPU_FUNCTION_ATTRIBUTE;
2501 WGPU_EXPORT void wgpuQueueCopyTextureForBrowser(WGPUQueue queue, WGPUImageCopyTexture const * source, WGPUImageCopyTexture const * destination, WGPUExtent3D const * copySize, WGPUCopyTextureForBrowserOptions const * options) WGPU_FUNCTION_ATTRIBUTE;
2502 WGPU_EXPORT void wgpuQueueOnSubmittedWorkDone(WGPUQueue queue, WGPUQueueWorkDoneCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2503 WGPU_EXPORT WGPUFuture wgpuQueueOnSubmittedWorkDoneF(WGPUQueue queue, WGPUQueueWorkDoneCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
2504 WGPU_EXPORT void wgpuQueueSetLabel(WGPUQueue queue, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2505 WGPU_EXPORT void wgpuQueueSubmit(WGPUQueue queue, size_t commandCount, WGPUCommandBuffer const * commands) WGPU_FUNCTION_ATTRIBUTE;
2506 WGPU_EXPORT void wgpuQueueWriteBuffer(WGPUQueue queue, WGPUBuffer buffer, uint64_t bufferOffset, void const * data, size_t size) WGPU_FUNCTION_ATTRIBUTE;
2507 WGPU_EXPORT void wgpuQueueWriteTexture(WGPUQueue queue, WGPUImageCopyTexture const * destination, void const * data, size_t dataSize, WGPUTextureDataLayout const * dataLayout, WGPUExtent3D const * writeSize) WGPU_FUNCTION_ATTRIBUTE;
2508 WGPU_EXPORT void wgpuQueueReference(WGPUQueue queue) WGPU_FUNCTION_ATTRIBUTE;
2509 WGPU_EXPORT void wgpuQueueRelease(WGPUQueue queue) WGPU_FUNCTION_ATTRIBUTE;
2510
2511// Methods of RenderBundle
2512 WGPU_EXPORT void wgpuRenderBundleSetLabel(WGPURenderBundle renderBundle, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2513 WGPU_EXPORT void wgpuRenderBundleReference(WGPURenderBundle renderBundle) WGPU_FUNCTION_ATTRIBUTE;
2514 WGPU_EXPORT void wgpuRenderBundleRelease(WGPURenderBundle renderBundle) WGPU_FUNCTION_ATTRIBUTE;
2515
2516// Methods of RenderBundleEncoder
2517 WGPU_EXPORT void wgpuRenderBundleEncoderDraw(WGPURenderBundleEncoder renderBundleEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;
2518 WGPU_EXPORT void wgpuRenderBundleEncoderDrawIndexed(WGPURenderBundleEncoder renderBundleEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;
2519 WGPU_EXPORT void wgpuRenderBundleEncoderDrawIndexedIndirect(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;
2520 WGPU_EXPORT void wgpuRenderBundleEncoderDrawIndirect(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;
2521 WGPU_EXPORT WGPURenderBundle wgpuRenderBundleEncoderFinish(WGPURenderBundleEncoder renderBundleEncoder, WGPU_NULLABLE WGPURenderBundleDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2522 WGPU_EXPORT void wgpuRenderBundleEncoderInsertDebugMarker(WGPURenderBundleEncoder renderBundleEncoder, char const * markerLabel) WGPU_FUNCTION_ATTRIBUTE;
2523 WGPU_EXPORT void wgpuRenderBundleEncoderPopDebugGroup(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE;
2524 WGPU_EXPORT void wgpuRenderBundleEncoderPushDebugGroup(WGPURenderBundleEncoder renderBundleEncoder, char const * groupLabel) WGPU_FUNCTION_ATTRIBUTE;
2525 WGPU_EXPORT void wgpuRenderBundleEncoderSetBindGroup(WGPURenderBundleEncoder renderBundleEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE;
2526 WGPU_EXPORT void wgpuRenderBundleEncoderSetIndexBuffer(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2527 WGPU_EXPORT void wgpuRenderBundleEncoderSetLabel(WGPURenderBundleEncoder renderBundleEncoder, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2528 WGPU_EXPORT void wgpuRenderBundleEncoderSetPipeline(WGPURenderBundleEncoder renderBundleEncoder, WGPURenderPipeline pipeline) WGPU_FUNCTION_ATTRIBUTE;
2529 WGPU_EXPORT void wgpuRenderBundleEncoderSetVertexBuffer(WGPURenderBundleEncoder renderBundleEncoder, uint32_t slot, WGPU_NULLABLE WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2530 WGPU_EXPORT void wgpuRenderBundleEncoderReference(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE;
2531 WGPU_EXPORT void wgpuRenderBundleEncoderRelease(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE;
2532
2533// Methods of RenderPassEncoder
2534 WGPU_EXPORT void wgpuRenderPassEncoderBeginOcclusionQuery(WGPURenderPassEncoder renderPassEncoder, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE;
2535 WGPU_EXPORT void wgpuRenderPassEncoderDraw(WGPURenderPassEncoder renderPassEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;
2536 WGPU_EXPORT void wgpuRenderPassEncoderDrawIndexed(WGPURenderPassEncoder renderPassEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;
2537 WGPU_EXPORT void wgpuRenderPassEncoderDrawIndexedIndirect(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;
2538 WGPU_EXPORT void wgpuRenderPassEncoderDrawIndirect(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;
2539 WGPU_EXPORT void wgpuRenderPassEncoderEnd(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2540 WGPU_EXPORT void wgpuRenderPassEncoderEndOcclusionQuery(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2541 WGPU_EXPORT void wgpuRenderPassEncoderExecuteBundles(WGPURenderPassEncoder renderPassEncoder, size_t bundleCount, WGPURenderBundle const * bundles) WGPU_FUNCTION_ATTRIBUTE;
2542 WGPU_EXPORT void wgpuRenderPassEncoderInsertDebugMarker(WGPURenderPassEncoder renderPassEncoder, char const * markerLabel) WGPU_FUNCTION_ATTRIBUTE;
2543 WGPU_EXPORT void wgpuRenderPassEncoderPixelLocalStorageBarrier(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2544 WGPU_EXPORT void wgpuRenderPassEncoderPopDebugGroup(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2545 WGPU_EXPORT void wgpuRenderPassEncoderPushDebugGroup(WGPURenderPassEncoder renderPassEncoder, char const * groupLabel) WGPU_FUNCTION_ATTRIBUTE;
2546 WGPU_EXPORT void wgpuRenderPassEncoderSetBindGroup(WGPURenderPassEncoder renderPassEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE;
2547 WGPU_EXPORT void wgpuRenderPassEncoderSetBlendConstant(WGPURenderPassEncoder renderPassEncoder, WGPUColor const * color) WGPU_FUNCTION_ATTRIBUTE;
2548 WGPU_EXPORT void wgpuRenderPassEncoderSetIndexBuffer(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2549 WGPU_EXPORT void wgpuRenderPassEncoderSetLabel(WGPURenderPassEncoder renderPassEncoder, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2550 WGPU_EXPORT void wgpuRenderPassEncoderSetPipeline(WGPURenderPassEncoder renderPassEncoder, WGPURenderPipeline pipeline) WGPU_FUNCTION_ATTRIBUTE;
2551 WGPU_EXPORT void wgpuRenderPassEncoderSetScissorRect(WGPURenderPassEncoder renderPassEncoder, uint32_t x, uint32_t y, uint32_t width, uint32_t height) WGPU_FUNCTION_ATTRIBUTE;
2552 WGPU_EXPORT void wgpuRenderPassEncoderSetStencilReference(WGPURenderPassEncoder renderPassEncoder, uint32_t reference) WGPU_FUNCTION_ATTRIBUTE;
2553 WGPU_EXPORT void wgpuRenderPassEncoderSetVertexBuffer(WGPURenderPassEncoder renderPassEncoder, uint32_t slot, WGPU_NULLABLE WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;
2554 WGPU_EXPORT void wgpuRenderPassEncoderSetViewport(WGPURenderPassEncoder renderPassEncoder, float x, float y, float width, float height, float minDepth, float maxDepth) WGPU_FUNCTION_ATTRIBUTE;
2555 WGPU_EXPORT void wgpuRenderPassEncoderWriteTimestamp(WGPURenderPassEncoder renderPassEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE;
2556 WGPU_EXPORT void wgpuRenderPassEncoderReference(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2557 WGPU_EXPORT void wgpuRenderPassEncoderRelease(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;
2558
2559// Methods of RenderPipeline
2560 WGPU_EXPORT WGPUBindGroupLayout wgpuRenderPipelineGetBindGroupLayout(WGPURenderPipeline renderPipeline, uint32_t groupIndex) WGPU_FUNCTION_ATTRIBUTE;
2561 WGPU_EXPORT void wgpuRenderPipelineSetLabel(WGPURenderPipeline renderPipeline, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2562 WGPU_EXPORT void wgpuRenderPipelineReference(WGPURenderPipeline renderPipeline) WGPU_FUNCTION_ATTRIBUTE;
2563 WGPU_EXPORT void wgpuRenderPipelineRelease(WGPURenderPipeline renderPipeline) WGPU_FUNCTION_ATTRIBUTE;
2564
2565// Methods of Sampler
2566 WGPU_EXPORT void wgpuSamplerSetLabel(WGPUSampler sampler, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2567 WGPU_EXPORT void wgpuSamplerReference(WGPUSampler sampler) WGPU_FUNCTION_ATTRIBUTE;
2568 WGPU_EXPORT void wgpuSamplerRelease(WGPUSampler sampler) WGPU_FUNCTION_ATTRIBUTE;
2569
2570// Methods of ShaderModule
2571 WGPU_EXPORT void wgpuShaderModuleGetCompilationInfo(WGPUShaderModule shaderModule, WGPUCompilationInfoCallback callback, void * userdata) WGPU_FUNCTION_ATTRIBUTE;
2572 WGPU_EXPORT void wgpuShaderModuleSetLabel(WGPUShaderModule shaderModule, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2573 WGPU_EXPORT void wgpuShaderModuleReference(WGPUShaderModule shaderModule) WGPU_FUNCTION_ATTRIBUTE;
2574 WGPU_EXPORT void wgpuShaderModuleRelease(WGPUShaderModule shaderModule) WGPU_FUNCTION_ATTRIBUTE;
2575
2576// Methods of SharedFence
2577 WGPU_EXPORT void wgpuSharedFenceExportInfo(WGPUSharedFence sharedFence, WGPUSharedFenceExportInfo * info) WGPU_FUNCTION_ATTRIBUTE;
2578 WGPU_EXPORT void wgpuSharedFenceReference(WGPUSharedFence sharedFence) WGPU_FUNCTION_ATTRIBUTE;
2579 WGPU_EXPORT void wgpuSharedFenceRelease(WGPUSharedFence sharedFence) WGPU_FUNCTION_ATTRIBUTE;
2580
2581// Methods of SharedTextureMemory
2582 WGPU_EXPORT WGPUBool wgpuSharedTextureMemoryBeginAccess(WGPUSharedTextureMemory sharedTextureMemory, WGPUTexture texture, WGPUSharedTextureMemoryBeginAccessDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2583 WGPU_EXPORT WGPUTexture wgpuSharedTextureMemoryCreateTexture(WGPUSharedTextureMemory sharedTextureMemory, WGPU_NULLABLE WGPUTextureDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2584 WGPU_EXPORT WGPUBool wgpuSharedTextureMemoryEndAccess(WGPUSharedTextureMemory sharedTextureMemory, WGPUTexture texture, WGPUSharedTextureMemoryEndAccessState * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2585 WGPU_EXPORT void wgpuSharedTextureMemoryGetProperties(WGPUSharedTextureMemory sharedTextureMemory, WGPUSharedTextureMemoryProperties * properties) WGPU_FUNCTION_ATTRIBUTE;
2586 WGPU_EXPORT WGPUBool wgpuSharedTextureMemoryIsDeviceLost(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE;
2587 WGPU_EXPORT void wgpuSharedTextureMemorySetLabel(WGPUSharedTextureMemory sharedTextureMemory, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2588 WGPU_EXPORT void wgpuSharedTextureMemoryReference(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE;
2589 WGPU_EXPORT void wgpuSharedTextureMemoryRelease(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE;
2590
2591// Methods of Surface
2592 WGPU_EXPORT WGPUTextureFormat wgpuSurfaceGetPreferredFormat(WGPUSurface surface, WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;
2593 WGPU_EXPORT void wgpuSurfaceReference(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE;
2594 WGPU_EXPORT void wgpuSurfaceRelease(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE;
2595
2596// Methods of SwapChain
2597 WGPU_EXPORT WGPUTexture wgpuSwapChainGetCurrentTexture(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE;
2598 WGPU_EXPORT WGPUTextureView wgpuSwapChainGetCurrentTextureView(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE;
2599 WGPU_EXPORT void wgpuSwapChainPresent(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE;
2600 WGPU_EXPORT void wgpuSwapChainReference(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE;
2601 WGPU_EXPORT void wgpuSwapChainRelease(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE;
2602
2603// Methods of Texture
2604 WGPU_EXPORT WGPUTextureView wgpuTextureCreateErrorView(WGPUTexture texture, WGPU_NULLABLE WGPUTextureViewDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2605 WGPU_EXPORT WGPUTextureView wgpuTextureCreateView(WGPUTexture texture, WGPU_NULLABLE WGPUTextureViewDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
2606 WGPU_EXPORT void wgpuTextureDestroy(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2607 WGPU_EXPORT uint32_t wgpuTextureGetDepthOrArrayLayers(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2608 WGPU_EXPORT WGPUTextureDimension wgpuTextureGetDimension(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2609 WGPU_EXPORT WGPUTextureFormat wgpuTextureGetFormat(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2610 WGPU_EXPORT uint32_t wgpuTextureGetHeight(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2611 WGPU_EXPORT uint32_t wgpuTextureGetMipLevelCount(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2612 WGPU_EXPORT uint32_t wgpuTextureGetSampleCount(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2613 WGPU_EXPORT WGPUTextureUsageFlags wgpuTextureGetUsage(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2614 WGPU_EXPORT uint32_t wgpuTextureGetWidth(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2615 WGPU_EXPORT void wgpuTextureSetLabel(WGPUTexture texture, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2616 WGPU_EXPORT void wgpuTextureReference(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2617 WGPU_EXPORT void wgpuTextureRelease(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
2618
2619// Methods of TextureView
2620 WGPU_EXPORT void wgpuTextureViewSetLabel(WGPUTextureView textureView, char const * label) WGPU_FUNCTION_ATTRIBUTE;
2621 WGPU_EXPORT void wgpuTextureViewReference(WGPUTextureView textureView) WGPU_FUNCTION_ATTRIBUTE;
2622 WGPU_EXPORT void wgpuTextureViewRelease(WGPUTextureView textureView) WGPU_FUNCTION_ATTRIBUTE;
2623
2624
2625#endif // !defined(WGPU_SKIP_DECLARATIONS)
2626
2627#ifdef __cplusplus
2628} // extern "C"
2629#endif
2630
2631// clang-format on
2632
2633#endif // WEBGPU_H_
WGPUProcDeviceCreateErrorTexture
WGPUTexture(* WGPUProcDeviceCreateErrorTexture)(WGPUDevice device, WGPUTextureDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2138
wgpuBindGroupRelease
WGPU_EXPORT void wgpuBindGroupRelease(WGPUBindGroup bindGroup) WGPU_FUNCTION_ATTRIBUTE
wgpuComputePassEncoderReference
WGPU_EXPORT void wgpuComputePassEncoderReference(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderBundleReference
void(* WGPUProcRenderBundleReference)(WGPURenderBundle renderBundle) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2218
wgpuRenderBundleEncoderDrawIndexedIndirect
WGPU_EXPORT void wgpuRenderBundleEncoderDrawIndexedIndirect(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE
WGPUIndexFormat
WGPUIndexFormat
Definition: mini_webgpu.h:521
WGPUIndexFormat_Force32
@ WGPUIndexFormat_Force32
Definition: mini_webgpu.h:525
WGPUIndexFormat_Uint16
@ WGPUIndexFormat_Uint16
Definition: mini_webgpu.h:523
WGPUIndexFormat_Undefined
@ WGPUIndexFormat_Undefined
Definition: mini_webgpu.h:522
WGPUIndexFormat_Uint32
@ WGPUIndexFormat_Uint32
Definition: mini_webgpu.h:524
WGPUProcRenderBundleEncoderReference
void(* WGPUProcRenderBundleEncoderReference)(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2235
wgpuComputePassEncoderEnd
WGPU_EXPORT void wgpuComputePassEncoderEnd(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPURequestAdapterStatus
WGPURequestAdapterStatus
Definition: mini_webgpu.h:589
WGPURequestAdapterStatus_InstanceDropped
@ WGPURequestAdapterStatus_InstanceDropped
Definition: mini_webgpu.h:591
WGPURequestAdapterStatus_Unavailable
@ WGPURequestAdapterStatus_Unavailable
Definition: mini_webgpu.h:592
WGPURequestAdapterStatus_Success
@ WGPURequestAdapterStatus_Success
Definition: mini_webgpu.h:590
WGPURequestAdapterStatus_Error
@ WGPURequestAdapterStatus_Error
Definition: mini_webgpu.h:593
WGPURequestAdapterStatus_Unknown
@ WGPURequestAdapterStatus_Unknown
Definition: mini_webgpu.h:594
WGPURequestAdapterStatus_Force32
@ WGPURequestAdapterStatus_Force32
Definition: mini_webgpu.h:595
WGPUProcQueueReference
void(* WGPUProcQueueReference)(WGPUQueue queue) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2213
wgpuAdapterCreateDevice
WGPU_EXPORT WGPUDevice wgpuAdapterCreateDevice(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSamplerRelease
void(* WGPUProcSamplerRelease)(WGPUSampler sampler) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2273
WGPUProc
void(* WGPUProc)() WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:1000
WGPUProcDeviceSetUncapturedErrorCallback
void(* WGPUProcDeviceSetUncapturedErrorCallback)(WGPUDevice device, WGPUErrorCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2166
WGPU_OBJECT_ATTRIBUTE
#define WGPU_OBJECT_ATTRIBUTE
Definition: mini_webgpu.h:57
wgpuCommandEncoderSetLabel
WGPU_EXPORT void wgpuCommandEncoderSetLabel(WGPUCommandEncoder commandEncoder, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUFeatureName
WGPUFeatureName
Definition: mini_webgpu.h:452
WGPUFeatureName_ImplicitDeviceSynchronization
@ WGPUFeatureName_ImplicitDeviceSynchronization
Definition: mini_webgpu.h:469
WGPUFeatureName_TextureCompressionASTC
@ WGPUFeatureName_TextureCompressionASTC
Definition: mini_webgpu.h:459
WGPUFeatureName_SharedFenceDXGISharedHandle
@ WGPUFeatureName_SharedFenceDXGISharedHandle
Definition: mini_webgpu.h:502
WGPUFeatureName_Force32
@ WGPUFeatureName_Force32
Definition: mini_webgpu.h:504
WGPUFeatureName_DawnInternalUsages
@ WGPUFeatureName_DawnInternalUsages
Definition: mini_webgpu.h:465
WGPUFeatureName_SharedTextureMemoryAHardwareBuffer
@ WGPUFeatureName_SharedTextureMemoryAHardwareBuffer
Definition: mini_webgpu.h:491
WGPUFeatureName_Depth32FloatStencil8
@ WGPUFeatureName_Depth32FloatStencil8
Definition: mini_webgpu.h:455
WGPUFeatureName_RG11B10UfloatRenderable
@ WGPUFeatureName_RG11B10UfloatRenderable
Definition: mini_webgpu.h:462
WGPUFeatureName_MultiPlanarFormatP010
@ WGPUFeatureName_MultiPlanarFormatP010
Definition: mini_webgpu.h:482
WGPUFeatureName_MultiPlanarFormatNv12a
@ WGPUFeatureName_MultiPlanarFormatNv12a
Definition: mini_webgpu.h:485
WGPUFeatureName_ChromiumExperimentalTimestampQueryInsidePasses
@ WGPUFeatureName_ChromiumExperimentalTimestampQueryInsidePasses
Definition: mini_webgpu.h:468
WGPUFeatureName_SharedTextureMemoryDmaBuf
@ WGPUFeatureName_SharedTextureMemoryDmaBuf
Definition: mini_webgpu.h:492
WGPUFeatureName_BGRA8UnormStorage
@ WGPUFeatureName_BGRA8UnormStorage
Definition: mini_webgpu.h:463
WGPUFeatureName_DawnMultiPlanarFormats
@ WGPUFeatureName_DawnMultiPlanarFormats
Definition: mini_webgpu.h:466
WGPUFeatureName_SharedTextureMemoryIOSurface
@ WGPUFeatureName_SharedTextureMemoryIOSurface
Definition: mini_webgpu.h:497
WGPUFeatureName_Norm16TextureFormats
@ WGPUFeatureName_Norm16TextureFormats
Definition: mini_webgpu.h:480
WGPUFeatureName_AdapterPropertiesMemoryHeaps
@ WGPUFeatureName_AdapterPropertiesMemoryHeaps
Definition: mini_webgpu.h:488
WGPUFeatureName_DualSourceBlending
@ WGPUFeatureName_DualSourceBlending
Definition: mini_webgpu.h:473
WGPUFeatureName_ChromiumExperimentalSubgroups
@ WGPUFeatureName_ChromiumExperimentalSubgroups
Definition: mini_webgpu.h:476
WGPUFeatureName_PixelLocalStorageCoherent
@ WGPUFeatureName_PixelLocalStorageCoherent
Definition: mini_webgpu.h:478
WGPUFeatureName_D3D11MultithreadProtected
@ WGPUFeatureName_D3D11MultithreadProtected
Definition: mini_webgpu.h:474
WGPUFeatureName_SharedTextureMemoryZirconHandle
@ WGPUFeatureName_SharedTextureMemoryZirconHandle
Definition: mini_webgpu.h:494
WGPUFeatureName_SharedTextureMemoryEGLImage
@ WGPUFeatureName_SharedTextureMemoryEGLImage
Definition: mini_webgpu.h:498
WGPUFeatureName_SharedFenceMTLSharedEvent
@ WGPUFeatureName_SharedFenceMTLSharedEvent
Definition: mini_webgpu.h:503
WGPUFeatureName_BufferMapExtendedUsages
@ WGPUFeatureName_BufferMapExtendedUsages
Definition: mini_webgpu.h:487
WGPUFeatureName_TransientAttachments
@ WGPUFeatureName_TransientAttachments
Definition: mini_webgpu.h:471
WGPUFeatureName_MultiPlanarRenderTargets
@ WGPUFeatureName_MultiPlanarRenderTargets
Definition: mini_webgpu.h:484
WGPUFeatureName_SurfaceCapabilities
@ WGPUFeatureName_SurfaceCapabilities
Definition: mini_webgpu.h:470
WGPUFeatureName_FramebufferFetch
@ WGPUFeatureName_FramebufferFetch
Definition: mini_webgpu.h:486
WGPUFeatureName_SharedTextureMemoryOpaqueFD
@ WGPUFeatureName_SharedTextureMemoryOpaqueFD
Definition: mini_webgpu.h:493
WGPUFeatureName_PixelLocalStorageNonCoherent
@ WGPUFeatureName_PixelLocalStorageNonCoherent
Definition: mini_webgpu.h:479
WGPUFeatureName_AdapterPropertiesD3D
@ WGPUFeatureName_AdapterPropertiesD3D
Definition: mini_webgpu.h:489
WGPUFeatureName_SharedTextureMemoryDXGISharedHandle
@ WGPUFeatureName_SharedTextureMemoryDXGISharedHandle
Definition: mini_webgpu.h:495
WGPUFeatureName_ShaderF16
@ WGPUFeatureName_ShaderF16
Definition: mini_webgpu.h:461
WGPUFeatureName_MultiPlanarFormatExtendedUsages
@ WGPUFeatureName_MultiPlanarFormatExtendedUsages
Definition: mini_webgpu.h:481
WGPUFeatureName_Float32Filterable
@ WGPUFeatureName_Float32Filterable
Definition: mini_webgpu.h:464
WGPUFeatureName_SharedTextureMemoryD3D11Texture2D
@ WGPUFeatureName_SharedTextureMemoryD3D11Texture2D
Definition: mini_webgpu.h:496
WGPUFeatureName_ANGLETextureSharing
@ WGPUFeatureName_ANGLETextureSharing
Definition: mini_webgpu.h:475
WGPUFeatureName_TimestampQuery
@ WGPUFeatureName_TimestampQuery
Definition: mini_webgpu.h:456
WGPUFeatureName_SharedTextureMemoryVkDedicatedAllocation
@ WGPUFeatureName_SharedTextureMemoryVkDedicatedAllocation
Definition: mini_webgpu.h:490
WGPUFeatureName_SharedFenceVkSemaphoreSyncFD
@ WGPUFeatureName_SharedFenceVkSemaphoreSyncFD
Definition: mini_webgpu.h:500
WGPUFeatureName_TextureCompressionBC
@ WGPUFeatureName_TextureCompressionBC
Definition: mini_webgpu.h:457
WGPUFeatureName_SharedFenceVkSemaphoreZirconHandle
@ WGPUFeatureName_SharedFenceVkSemaphoreZirconHandle
Definition: mini_webgpu.h:501
WGPUFeatureName_HostMappedPointer
@ WGPUFeatureName_HostMappedPointer
Definition: mini_webgpu.h:483
WGPUFeatureName_TextureCompressionETC2
@ WGPUFeatureName_TextureCompressionETC2
Definition: mini_webgpu.h:458
WGPUFeatureName_IndirectFirstInstance
@ WGPUFeatureName_IndirectFirstInstance
Definition: mini_webgpu.h:460
WGPUFeatureName_MSAARenderToSingleSampled
@ WGPUFeatureName_MSAARenderToSingleSampled
Definition: mini_webgpu.h:472
WGPUFeatureName_SharedFenceVkSemaphoreOpaqueFD
@ WGPUFeatureName_SharedFenceVkSemaphoreOpaqueFD
Definition: mini_webgpu.h:499
WGPUFeatureName_DepthClipControl
@ WGPUFeatureName_DepthClipControl
Definition: mini_webgpu.h:454
WGPUFeatureName_ChromiumExperimentalSubgroupUniformControlFlow
@ WGPUFeatureName_ChromiumExperimentalSubgroupUniformControlFlow
Definition: mini_webgpu.h:477
WGPUFeatureName_DawnNative
@ WGPUFeatureName_DawnNative
Definition: mini_webgpu.h:467
WGPUFeatureName_Undefined
@ WGPUFeatureName_Undefined
Definition: mini_webgpu.h:453
WGPUVertexFormat
WGPUVertexFormat
Definition: mini_webgpu.h:868
WGPUVertexFormat_Sint32x4
@ WGPUVertexFormat_Sint32x4
Definition: mini_webgpu.h:899
WGPUVertexFormat_Float32x2
@ WGPUVertexFormat_Float32x2
Definition: mini_webgpu.h:889
WGPUVertexFormat_Sint32x2
@ WGPUVertexFormat_Sint32x2
Definition: mini_webgpu.h:897
WGPUVertexFormat_Float32
@ WGPUVertexFormat_Float32
Definition: mini_webgpu.h:888
WGPUVertexFormat_Float16x4
@ WGPUVertexFormat_Float16x4
Definition: mini_webgpu.h:887
WGPUVertexFormat_Uint16x4
@ WGPUVertexFormat_Uint16x4
Definition: mini_webgpu.h:879
WGPUVertexFormat_Snorm8x2
@ WGPUVertexFormat_Snorm8x2
Definition: mini_webgpu.h:876
WGPUVertexFormat_Uint8x4
@ WGPUVertexFormat_Uint8x4
Definition: mini_webgpu.h:871
WGPUVertexFormat_Undefined
@ WGPUVertexFormat_Undefined
Definition: mini_webgpu.h:869
WGPUVertexFormat_Sint8x2
@ WGPUVertexFormat_Sint8x2
Definition: mini_webgpu.h:872
WGPUVertexFormat_Unorm8x4
@ WGPUVertexFormat_Unorm8x4
Definition: mini_webgpu.h:875
WGPUVertexFormat_Force32
@ WGPUVertexFormat_Force32
Definition: mini_webgpu.h:901
WGPUVertexFormat_Uint8x2
@ WGPUVertexFormat_Uint8x2
Definition: mini_webgpu.h:870
WGPUVertexFormat_Float32x4
@ WGPUVertexFormat_Float32x4
Definition: mini_webgpu.h:891
WGPUVertexFormat_Float16x2
@ WGPUVertexFormat_Float16x2
Definition: mini_webgpu.h:886
WGPUVertexFormat_Uint32
@ WGPUVertexFormat_Uint32
Definition: mini_webgpu.h:892
WGPUVertexFormat_Uint32x4
@ WGPUVertexFormat_Uint32x4
Definition: mini_webgpu.h:895
WGPUVertexFormat_Sint32
@ WGPUVertexFormat_Sint32
Definition: mini_webgpu.h:896
WGPUVertexFormat_Uint32x2
@ WGPUVertexFormat_Uint32x2
Definition: mini_webgpu.h:893
WGPUVertexFormat_Uint32x3
@ WGPUVertexFormat_Uint32x3
Definition: mini_webgpu.h:894
WGPUVertexFormat_Sint16x4
@ WGPUVertexFormat_Sint16x4
Definition: mini_webgpu.h:881
WGPUVertexFormat_Unorm10_10_10_2
@ WGPUVertexFormat_Unorm10_10_10_2
Definition: mini_webgpu.h:900
WGPUVertexFormat_Unorm16x2
@ WGPUVertexFormat_Unorm16x2
Definition: mini_webgpu.h:882
WGPUVertexFormat_Unorm8x2
@ WGPUVertexFormat_Unorm8x2
Definition: mini_webgpu.h:874
WGPUVertexFormat_Sint32x3
@ WGPUVertexFormat_Sint32x3
Definition: mini_webgpu.h:898
WGPUVertexFormat_Sint16x2
@ WGPUVertexFormat_Sint16x2
Definition: mini_webgpu.h:880
WGPUVertexFormat_Snorm8x4
@ WGPUVertexFormat_Snorm8x4
Definition: mini_webgpu.h:877
WGPUVertexFormat_Sint8x4
@ WGPUVertexFormat_Sint8x4
Definition: mini_webgpu.h:873
WGPUVertexFormat_Uint16x2
@ WGPUVertexFormat_Uint16x2
Definition: mini_webgpu.h:878
WGPUVertexFormat_Snorm16x2
@ WGPUVertexFormat_Snorm16x2
Definition: mini_webgpu.h:884
WGPUVertexFormat_Unorm16x4
@ WGPUVertexFormat_Unorm16x4
Definition: mini_webgpu.h:883
WGPUVertexFormat_Float32x3
@ WGPUVertexFormat_Float32x3
Definition: mini_webgpu.h:890
WGPUVertexFormat_Snorm16x4
@ WGPUVertexFormat_Snorm16x4
Definition: mini_webgpu.h:885
WGPUProcBindGroupLayoutRelease
void(* WGPUProcBindGroupLayoutRelease)(WGPUBindGroupLayout bindGroupLayout) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2066
WGPUProcDeviceCreateCommandEncoder
WGPUCommandEncoder(* WGPUProcDeviceCreateCommandEncoder)(WGPUDevice device, WGPU_NULLABLE WGPUCommandEncoderDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2131
wgpuComputePassEncoderWriteTimestamp
WGPU_EXPORT void wgpuComputePassEncoderWriteTimestamp(WGPUComputePassEncoder computePassEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE
WGPUSType
WGPUSType
Definition: mini_webgpu.h:606
WGPUSType_DawnRenderPassColorAttachmentRenderToSingleSampled
@ WGPUSType_DawnRenderPassColorAttachmentRenderToSingleSampled
Definition: mini_webgpu.h:636
WGPUSType_DawnComputePipelineFullSubgroups
@ WGPUSType_DawnComputePipelineFullSubgroups
Definition: mini_webgpu.h:643
WGPUSType_Force32
@ WGPUSType_Force32
Definition: mini_webgpu.h:670
WGPUSType_DawnWireWGSLControl
@ WGPUSType_DawnWireWGSLControl
Definition: mini_webgpu.h:644
WGPUSType_SharedTextureMemoryVkImageLayoutEndState
@ WGPUSType_SharedTextureMemoryVkImageLayoutEndState
Definition: mini_webgpu.h:659
WGPUSType_DawnBufferDescriptorErrorInfoFromWireClient
@ WGPUSType_DawnBufferDescriptorErrorInfoFromWireClient
Definition: mini_webgpu.h:629
WGPUSType_SurfaceDescriptorFromMetalLayer
@ WGPUSType_SurfaceDescriptorFromMetalLayer
Definition: mini_webgpu.h:608
WGPUSType_SharedTextureMemoryVkImageDescriptor
@ WGPUSType_SharedTextureMemoryVkImageDescriptor
Definition: mini_webgpu.h:646
WGPUSType_SharedTextureMemoryOpaqueFDDescriptor
@ WGPUSType_SharedTextureMemoryOpaqueFDDescriptor
Definition: mini_webgpu.h:650
WGPUSType_RequestAdapterOptionsGetGLProc
@ WGPUSType_RequestAdapterOptionsGetGLProc
Definition: mini_webgpu.h:633
WGPUSType_SharedFenceVkSemaphoreSyncFDDescriptor
@ WGPUSType_SharedFenceVkSemaphoreSyncFDDescriptor
Definition: mini_webgpu.h:662
WGPUSType_SurfaceDescriptorFromWindowsHWND
@ WGPUSType_SurfaceDescriptorFromWindowsHWND
Definition: mini_webgpu.h:609
WGPUSType_ShaderModuleSPIRVDescriptor
@ WGPUSType_ShaderModuleSPIRVDescriptor
Definition: mini_webgpu.h:612
WGPUSType_PipelineLayoutPixelLocalStorage
@ WGPUSType_PipelineLayoutPixelLocalStorage
Definition: mini_webgpu.h:638
WGPUSType_RenderPassDescriptorMaxDrawCount
@ WGPUSType_RenderPassDescriptorMaxDrawCount
Definition: mini_webgpu.h:621
WGPUSType_SharedFenceMTLSharedEventDescriptor
@ WGPUSType_SharedFenceMTLSharedEventDescriptor
Definition: mini_webgpu.h:668
WGPUSType_SharedFenceDXGISharedHandleDescriptor
@ WGPUSType_SharedFenceDXGISharedHandleDescriptor
Definition: mini_webgpu.h:666
WGPUSType_SurfaceDescriptorFromWindowsCoreWindow
@ WGPUSType_SurfaceDescriptorFromWindowsCoreWindow
Definition: mini_webgpu.h:617
WGPUSType_SharedTextureMemoryDXGISharedHandleDescriptor
@ WGPUSType_SharedTextureMemoryDXGISharedHandleDescriptor
Definition: mini_webgpu.h:652
WGPUSType_SurfaceDescriptorFromWaylandSurface
@ WGPUSType_SurfaceDescriptorFromWaylandSurface
Definition: mini_webgpu.h:615
WGPUSType_SharedFenceMTLSharedEventExportInfo
@ WGPUSType_SharedFenceMTLSharedEventExportInfo
Definition: mini_webgpu.h:669
WGPUSType_SurfaceDescriptorFromCanvasHTMLSelector
@ WGPUSType_SurfaceDescriptorFromCanvasHTMLSelector
Definition: mini_webgpu.h:611
WGPUSType_RenderPassPixelLocalStorage
@ WGPUSType_RenderPassPixelLocalStorage
Definition: mini_webgpu.h:637
WGPUSType_AdapterPropertiesMemoryHeaps
@ WGPUSType_AdapterPropertiesMemoryHeaps
Definition: mini_webgpu.h:641
WGPUSType_SharedFenceVkSemaphoreZirconHandleDescriptor
@ WGPUSType_SharedFenceVkSemaphoreZirconHandleDescriptor
Definition: mini_webgpu.h:664
WGPUSType_DawnInstanceDescriptor
@ WGPUSType_DawnInstanceDescriptor
Definition: mini_webgpu.h:626
WGPUSType_ExternalTextureBindingEntry
@ WGPUSType_ExternalTextureBindingEntry
Definition: mini_webgpu.h:618
WGPUSType_SharedFenceDXGISharedHandleExportInfo
@ WGPUSType_SharedFenceDXGISharedHandleExportInfo
Definition: mini_webgpu.h:667
WGPUSType_SurfaceDescriptorFromAndroidNativeWindow
@ WGPUSType_SurfaceDescriptorFromAndroidNativeWindow
Definition: mini_webgpu.h:616
WGPUSType_SharedFenceVkSemaphoreOpaqueFDDescriptor
@ WGPUSType_SharedFenceVkSemaphoreOpaqueFDDescriptor
Definition: mini_webgpu.h:660
WGPUSType_PrimitiveDepthClipControl
@ WGPUSType_PrimitiveDepthClipControl
Definition: mini_webgpu.h:614
WGPUSType_DawnShaderModuleSPIRVOptionsDescriptor
@ WGPUSType_DawnShaderModuleSPIRVOptionsDescriptor
Definition: mini_webgpu.h:631
WGPUSType_SharedFenceVkSemaphoreSyncFDExportInfo
@ WGPUSType_SharedFenceVkSemaphoreSyncFDExportInfo
Definition: mini_webgpu.h:663
WGPUSType_SurfaceDescriptorFromWindowsSwapChainPanel
@ WGPUSType_SurfaceDescriptorFromWindowsSwapChainPanel
Definition: mini_webgpu.h:620
WGPUSType_SharedTextureMemoryVkDedicatedAllocationDescriptor
@ WGPUSType_SharedTextureMemoryVkDedicatedAllocationDescriptor
Definition: mini_webgpu.h:647
WGPUSType_DepthStencilStateDepthWriteDefinedDawn
@ WGPUSType_DepthStencilStateDepthWriteDefinedDawn
Definition: mini_webgpu.h:622
WGPUSType_SharedTextureMemoryIOSurfaceDescriptor
@ WGPUSType_SharedTextureMemoryIOSurfaceDescriptor
Definition: mini_webgpu.h:654
WGPUSType_SharedFenceVkSemaphoreZirconHandleExportInfo
@ WGPUSType_SharedFenceVkSemaphoreZirconHandleExportInfo
Definition: mini_webgpu.h:665
WGPUSType_SurfaceDescriptorFromXlibWindow
@ WGPUSType_SurfaceDescriptorFromXlibWindow
Definition: mini_webgpu.h:610
WGPUSType_DawnExperimentalSubgroupLimits
@ WGPUSType_DawnExperimentalSubgroupLimits
Definition: mini_webgpu.h:640
WGPUSType_DawnEncoderInternalUsageDescriptor
@ WGPUSType_DawnEncoderInternalUsageDescriptor
Definition: mini_webgpu.h:625
WGPUSType_SharedTextureMemoryZirconHandleDescriptor
@ WGPUSType_SharedTextureMemoryZirconHandleDescriptor
Definition: mini_webgpu.h:651
WGPUSType_BufferHostMappedPointer
@ WGPUSType_BufferHostMappedPointer
Definition: mini_webgpu.h:639
WGPUSType_SharedFenceVkSemaphoreOpaqueFDExportInfo
@ WGPUSType_SharedFenceVkSemaphoreOpaqueFDExportInfo
Definition: mini_webgpu.h:661
WGPUSType_DawnCacheDeviceDescriptor
@ WGPUSType_DawnCacheDeviceDescriptor
Definition: mini_webgpu.h:627
WGPUSType_SharedTextureMemoryAHardwareBufferDescriptor
@ WGPUSType_SharedTextureMemoryAHardwareBufferDescriptor
Definition: mini_webgpu.h:648
WGPUSType_SharedTextureMemoryD3D11Texture2DDescriptor
@ WGPUSType_SharedTextureMemoryD3D11Texture2DDescriptor
Definition: mini_webgpu.h:653
WGPUSType_SharedTextureMemoryInitializedBeginState
@ WGPUSType_SharedTextureMemoryInitializedBeginState
Definition: mini_webgpu.h:656
WGPUSType_TextureBindingViewDimensionDescriptor
@ WGPUSType_TextureBindingViewDimensionDescriptor
Definition: mini_webgpu.h:623
WGPUSType_SharedTextureMemoryInitializedEndState
@ WGPUSType_SharedTextureMemoryInitializedEndState
Definition: mini_webgpu.h:657
WGPUSType_DawnMultisampleStateRenderToSingleSampled
@ WGPUSType_DawnMultisampleStateRenderToSingleSampled
Definition: mini_webgpu.h:635
WGPUSType_RequestAdapterOptionsD3D11Device
@ WGPUSType_RequestAdapterOptionsD3D11Device
Definition: mini_webgpu.h:634
WGPUSType_DawnTogglesDescriptor
@ WGPUSType_DawnTogglesDescriptor
Definition: mini_webgpu.h:630
WGPUSType_RequestAdapterOptionsLUID
@ WGPUSType_RequestAdapterOptionsLUID
Definition: mini_webgpu.h:632
WGPUSType_DawnAdapterPropertiesPowerPreference
@ WGPUSType_DawnAdapterPropertiesPowerPreference
Definition: mini_webgpu.h:628
WGPUSType_DawnWGSLBlocklist
@ WGPUSType_DawnWGSLBlocklist
Definition: mini_webgpu.h:645
WGPUSType_ShaderModuleWGSLDescriptor
@ WGPUSType_ShaderModuleWGSLDescriptor
Definition: mini_webgpu.h:613
WGPUSType_SharedTextureMemoryVkImageLayoutBeginState
@ WGPUSType_SharedTextureMemoryVkImageLayoutBeginState
Definition: mini_webgpu.h:658
WGPUSType_Invalid
@ WGPUSType_Invalid
Definition: mini_webgpu.h:607
WGPUSType_SharedTextureMemoryDmaBufDescriptor
@ WGPUSType_SharedTextureMemoryDmaBufDescriptor
Definition: mini_webgpu.h:649
WGPUSType_SharedTextureMemoryEGLImageDescriptor
@ WGPUSType_SharedTextureMemoryEGLImageDescriptor
Definition: mini_webgpu.h:655
WGPUSType_ExternalTextureBindingLayout
@ WGPUSType_ExternalTextureBindingLayout
Definition: mini_webgpu.h:619
WGPUSType_DawnTextureInternalUsageDescriptor
@ WGPUSType_DawnTextureInternalUsageDescriptor
Definition: mini_webgpu.h:624
WGPUSType_AdapterPropertiesD3D
@ WGPUSType_AdapterPropertiesD3D
Definition: mini_webgpu.h:642
WGPUProcCommandEncoderPopDebugGroup
void(* WGPUProcCommandEncoderPopDebugGroup)(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2098
wgpuAdapterReference
WGPU_EXPORT void wgpuAdapterReference(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE
WGPU_FUNCTION_ATTRIBUTE
#define WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:66
wgpuTextureReference
WGPU_EXPORT void wgpuTextureReference(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
WGPUBufferBindingType
WGPUBufferBindingType
Definition: mini_webgpu.h:337
WGPUBufferBindingType_Storage
@ WGPUBufferBindingType_Storage
Definition: mini_webgpu.h:340
WGPUBufferBindingType_Undefined
@ WGPUBufferBindingType_Undefined
Definition: mini_webgpu.h:338
WGPUBufferBindingType_Force32
@ WGPUBufferBindingType_Force32
Definition: mini_webgpu.h:342
WGPUBufferBindingType_ReadOnlyStorage
@ WGPUBufferBindingType_ReadOnlyStorage
Definition: mini_webgpu.h:341
WGPUBufferBindingType_Uniform
@ WGPUBufferBindingType_Uniform
Definition: mini_webgpu.h:339
WGPUProcSharedTextureMemorySetLabel
void(* WGPUProcSharedTextureMemorySetLabel)(WGPUSharedTextureMemory sharedTextureMemory, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2292
wgpuShaderModuleGetCompilationInfo
WGPU_EXPORT void wgpuShaderModuleGetCompilationInfo(WGPUShaderModule shaderModule, WGPUCompilationInfoCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
WGPUProcQueueWriteBuffer
void(* WGPUProcQueueWriteBuffer)(WGPUQueue queue, WGPUBuffer buffer, uint64_t bufferOffset, void const *data, size_t size) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2211
wgpuRenderPassEncoderWriteTimestamp
WGPU_EXPORT void wgpuRenderPassEncoderWriteTimestamp(WGPURenderPassEncoder renderPassEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreateErrorExternalTexture
WGPU_EXPORT WGPUExternalTexture wgpuDeviceCreateErrorExternalTexture(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
WGPUProcBufferGetSize
uint64_t(* WGPUProcBufferGetSize)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2073
WGPUBool
uint32_t WGPUBool
Definition: mini_webgpu.h:87
wgpuDeviceCreateRenderBundleEncoder
WGPU_EXPORT WGPURenderBundleEncoder wgpuDeviceCreateRenderBundleEncoder(WGPUDevice device, WGPURenderBundleEncoderDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderDraw
void(* WGPUProcRenderPassEncoderDraw)(WGPURenderPassEncoder renderPassEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2240
WGPUAlphaMode
WGPUAlphaMode
Definition: mini_webgpu.h:285
WGPUAlphaMode_Unpremultiplied
@ WGPUAlphaMode_Unpremultiplied
Definition: mini_webgpu.h:288
WGPUAlphaMode_Opaque
@ WGPUAlphaMode_Opaque
Definition: mini_webgpu.h:286
WGPUAlphaMode_Premultiplied
@ WGPUAlphaMode_Premultiplied
Definition: mini_webgpu.h:287
WGPUAlphaMode_Force32
@ WGPUAlphaMode_Force32
Definition: mini_webgpu.h:289
WGPUProcTextureDestroy
void(* WGPUProcTextureDestroy)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2311
WGPUProcAdapterEnumerateFeatures
size_t(* WGPUProcAdapterEnumerateFeatures)(WGPUAdapter adapter, WGPUFeatureName *features) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2048
wgpuQueueWriteTexture
WGPU_EXPORT void wgpuQueueWriteTexture(WGPUQueue queue, WGPUImageCopyTexture const *destination, void const *data, size_t dataSize, WGPUTextureDataLayout const *dataLayout, WGPUExtent3D const *writeSize) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPipelineRelease
void(* WGPUProcRenderPipelineRelease)(WGPURenderPipeline renderPipeline) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2268
WGPUProcDeviceGetAdapter
WGPUAdapter(* WGPUProcDeviceGetAdapter)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2153
WGPUProcDeviceGetQueue
WGPUQueue(* WGPUProcDeviceGetQueue)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2155
WGPUProcRenderPassEncoderSetStencilReference
void(* WGPUProcRenderPassEncoderSetStencilReference)(WGPURenderPassEncoder renderPassEncoder, uint32_t reference) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2257
wgpuBufferReference
WGPU_EXPORT void wgpuBufferReference(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderEndOcclusionQuery
WGPU_EXPORT void wgpuRenderPassEncoderEndOcclusionQuery(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
wgpuSharedTextureMemoryEndAccessStateFreeMembers
WGPU_EXPORT void wgpuSharedTextureMemoryEndAccessStateFreeMembers(WGPUSharedTextureMemoryEndAccessState value) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceCreateRenderPipelineAsyncF
WGPUFuture(* WGPUProcDeviceCreateRenderPipelineAsyncF)(WGPUDevice device, WGPURenderPipelineDescriptor const *descriptor, WGPUCreateRenderPipelineAsyncCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2145
wgpuDeviceSetUncapturedErrorCallback
WGPU_EXPORT void wgpuDeviceSetUncapturedErrorCallback(WGPUDevice device, WGPUErrorCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
WGPUProcBufferGetMapState
WGPUBufferMapState(* WGPUProcBufferGetMapState)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2071
WGPUProcBindGroupSetLabel
void(* WGPUProcBindGroupSetLabel)(WGPUBindGroup bindGroup, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2059
wgpuCommandBufferSetLabel
WGPU_EXPORT void wgpuCommandBufferSetLabel(WGPUCommandBuffer commandBuffer, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSharedTextureMemoryReference
void(* WGPUProcSharedTextureMemoryReference)(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2293
WGPUProcCommandEncoderInjectValidationError
void(* WGPUProcCommandEncoderInjectValidationError)(WGPUCommandEncoder commandEncoder, char const *message) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2096
wgpuExternalTextureDestroy
WGPU_EXPORT void wgpuExternalTextureDestroy(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE
wgpuDevicePushErrorScope
WGPU_EXPORT void wgpuDevicePushErrorScope(WGPUDevice device, WGPUErrorFilter filter) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandBufferReference
void(* WGPUProcCommandBufferReference)(WGPUCommandBuffer commandBuffer) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2084
WGPUMapMode
WGPUMapMode
Definition: mini_webgpu.h:960
WGPUMapMode_None
@ WGPUMapMode_None
Definition: mini_webgpu.h:961
WGPUMapMode_Read
@ WGPUMapMode_Read
Definition: mini_webgpu.h:962
WGPUMapMode_Write
@ WGPUMapMode_Write
Definition: mini_webgpu.h:963
WGPUMapMode_Force32
@ WGPUMapMode_Force32
Definition: mini_webgpu.h:964
WGPUProcComputePassEncoderSetBindGroup
void(* WGPUProcComputePassEncoderSetBindGroup)(WGPUComputePassEncoder computePassEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const *dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2114
WGPUProcRenderBundleEncoderDrawIndexedIndirect
void(* WGPUProcRenderBundleEncoderDrawIndexedIndirect)(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2224
WGPUProcInstanceRelease
void(* WGPUProcInstanceRelease)(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2189
WGPUProcBufferGetUsage
WGPUBufferUsageFlags(* WGPUProcBufferGetUsage)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2074
WGPUProcRenderPassEncoderEndOcclusionQuery
void(* WGPUProcRenderPassEncoderEndOcclusionQuery)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2245
WGPUProcDeviceRelease
void(* WGPUProcDeviceRelease)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2170
WGPUProcQueueSubmit
void(* WGPUProcQueueSubmit)(WGPUQueue queue, size_t commandCount, WGPUCommandBuffer const *commands) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2210
WGPUDeviceLostReason
WGPUDeviceLostReason
Definition: mini_webgpu.h:421
WGPUDeviceLostReason_Destroyed
@ WGPUDeviceLostReason_Destroyed
Definition: mini_webgpu.h:423
WGPUDeviceLostReason_Undefined
@ WGPUDeviceLostReason_Undefined
Definition: mini_webgpu.h:422
WGPUDeviceLostReason_Force32
@ WGPUDeviceLostReason_Force32
Definition: mini_webgpu.h:424
WGPUWGSLFeatureName
WGPUWGSLFeatureName
Definition: mini_webgpu.h:255
WGPUWGSLFeatureName_ChromiumTestingExperimental
@ WGPUWGSLFeatureName_ChromiumTestingExperimental
Definition: mini_webgpu.h:263
WGPUWGSLFeatureName_Undefined
@ WGPUWGSLFeatureName_Undefined
Definition: mini_webgpu.h:256
WGPUWGSLFeatureName_UnrestrictedPointerParameters
@ WGPUWGSLFeatureName_UnrestrictedPointerParameters
Definition: mini_webgpu.h:259
WGPUWGSLFeatureName_ChromiumTestingShipped
@ WGPUWGSLFeatureName_ChromiumTestingShipped
Definition: mini_webgpu.h:265
WGPUWGSLFeatureName_ChromiumTestingShippedWithKillswitch
@ WGPUWGSLFeatureName_ChromiumTestingShippedWithKillswitch
Definition: mini_webgpu.h:264
WGPUWGSLFeatureName_ChromiumTestingUnimplemented
@ WGPUWGSLFeatureName_ChromiumTestingUnimplemented
Definition: mini_webgpu.h:261
WGPUWGSLFeatureName_ReadonlyAndReadwriteStorageTextures
@ WGPUWGSLFeatureName_ReadonlyAndReadwriteStorageTextures
Definition: mini_webgpu.h:257
WGPUWGSLFeatureName_Packed4x8IntegerDotProduct
@ WGPUWGSLFeatureName_Packed4x8IntegerDotProduct
Definition: mini_webgpu.h:258
WGPUWGSLFeatureName_PointerCompositeAccess
@ WGPUWGSLFeatureName_PointerCompositeAccess
Definition: mini_webgpu.h:260
WGPUWGSLFeatureName_Force32
@ WGPUWGSLFeatureName_Force32
Definition: mini_webgpu.h:266
WGPUWGSLFeatureName_ChromiumTestingUnsafeExperimental
@ WGPUWGSLFeatureName_ChromiumTestingUnsafeExperimental
Definition: mini_webgpu.h:262
WGPUProcComputePassEncoderSetPipeline
void(* WGPUProcComputePassEncoderSetPipeline)(WGPUComputePassEncoder computePassEncoder, WGPUComputePipeline pipeline) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2116
wgpuRenderBundleEncoderDrawIndirect
WGPU_EXPORT void wgpuRenderBundleEncoderDrawIndirect(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderBundleEncoderSetLabel
WGPU_EXPORT void wgpuRenderBundleEncoderSetLabel(WGPURenderBundleEncoder renderBundleEncoder, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUBufferUsage
WGPUBufferUsage
Definition: mini_webgpu.h:922
WGPUBufferUsage_Force32
@ WGPUBufferUsage_Force32
Definition: mini_webgpu.h:934
WGPUBufferUsage_Storage
@ WGPUBufferUsage_Storage
Definition: mini_webgpu.h:931
WGPUBufferUsage_Uniform
@ WGPUBufferUsage_Uniform
Definition: mini_webgpu.h:930
WGPUBufferUsage_MapWrite
@ WGPUBufferUsage_MapWrite
Definition: mini_webgpu.h:925
WGPUBufferUsage_Vertex
@ WGPUBufferUsage_Vertex
Definition: mini_webgpu.h:929
WGPUBufferUsage_MapRead
@ WGPUBufferUsage_MapRead
Definition: mini_webgpu.h:924
WGPUBufferUsage_QueryResolve
@ WGPUBufferUsage_QueryResolve
Definition: mini_webgpu.h:933
WGPUBufferUsage_None
@ WGPUBufferUsage_None
Definition: mini_webgpu.h:923
WGPUBufferUsage_CopyDst
@ WGPUBufferUsage_CopyDst
Definition: mini_webgpu.h:927
WGPUBufferUsage_CopySrc
@ WGPUBufferUsage_CopySrc
Definition: mini_webgpu.h:926
WGPUBufferUsage_Index
@ WGPUBufferUsage_Index
Definition: mini_webgpu.h:928
WGPUBufferUsage_Indirect
@ WGPUBufferUsage_Indirect
Definition: mini_webgpu.h:932
wgpuSharedTextureMemoryReference
WGPU_EXPORT void wgpuSharedTextureMemoryReference(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE
WGPU_EXPORT
#define WGPU_EXPORT
Definition: mini_webgpu.h:53
WGPU_ENUM_ATTRIBUTE
#define WGPU_ENUM_ATTRIBUTE
Definition: mini_webgpu.h:60
wgpuDeviceCreateComputePipeline
WGPU_EXPORT WGPUComputePipeline wgpuDeviceCreateComputePipeline(WGPUDevice device, WGPUComputePipelineDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceRelease
WGPU_EXPORT void wgpuDeviceRelease(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderSetViewport
WGPU_EXPORT void wgpuRenderPassEncoderSetViewport(WGPURenderPassEncoder renderPassEncoder, float x, float y, float width, float height, float minDepth, float maxDepth) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderDrawIndirect
void(* WGPUProcRenderPassEncoderDrawIndirect)(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2243
WGPUProcTextureGetHeight
uint32_t(* WGPUProcTextureGetHeight)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2315
wgpuExternalTextureRelease
WGPU_EXPORT void wgpuExternalTextureRelease(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDevicePopErrorScope
void(* WGPUProcDevicePopErrorScope)(WGPUDevice device, WGPUErrorCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2161
WGPUCompareFunction
WGPUCompareFunction
Definition: mini_webgpu.h:373
WGPUCompareFunction_Force32
@ WGPUCompareFunction_Force32
Definition: mini_webgpu.h:383
WGPUCompareFunction_Always
@ WGPUCompareFunction_Always
Definition: mini_webgpu.h:382
WGPUCompareFunction_Never
@ WGPUCompareFunction_Never
Definition: mini_webgpu.h:375
WGPUCompareFunction_NotEqual
@ WGPUCompareFunction_NotEqual
Definition: mini_webgpu.h:380
WGPUCompareFunction_Less
@ WGPUCompareFunction_Less
Definition: mini_webgpu.h:376
WGPUCompareFunction_Undefined
@ WGPUCompareFunction_Undefined
Definition: mini_webgpu.h:374
WGPUCompareFunction_GreaterEqual
@ WGPUCompareFunction_GreaterEqual
Definition: mini_webgpu.h:381
WGPUCompareFunction_Equal
@ WGPUCompareFunction_Equal
Definition: mini_webgpu.h:377
WGPUCompareFunction_LessEqual
@ WGPUCompareFunction_LessEqual
Definition: mini_webgpu.h:378
WGPUCompareFunction_Greater
@ WGPUCompareFunction_Greater
Definition: mini_webgpu.h:379
wgpuSurfaceReference
WGPU_EXPORT void wgpuSurfaceReference(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE
WGPUErrorCallback
void(* WGPUErrorCallback)(WGPUErrorType type, char const *message, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:998
wgpuRenderBundleEncoderDraw
WGPU_EXPORT void wgpuRenderBundleEncoderDraw(WGPURenderBundleEncoder renderBundleEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE
WGPUCullMode
WGPUCullMode
Definition: mini_webgpu.h:413
WGPUCullMode_Force32
@ WGPUCullMode_Force32
Definition: mini_webgpu.h:418
WGPUCullMode_Undefined
@ WGPUCullMode_Undefined
Definition: mini_webgpu.h:414
WGPUCullMode_Back
@ WGPUCullMode_Back
Definition: mini_webgpu.h:417
WGPUCullMode_Front
@ WGPUCullMode_Front
Definition: mini_webgpu.h:416
WGPUCullMode_None
@ WGPUCullMode_None
Definition: mini_webgpu.h:415
wgpuExternalTextureExpire
WGPU_EXPORT void wgpuExternalTextureExpire(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE
WGPUProcAdapterGetProperties
void(* WGPUProcAdapterGetProperties)(WGPUAdapter adapter, WGPUAdapterProperties *properties) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2051
WGPUProcSharedTextureMemoryRelease
void(* WGPUProcSharedTextureMemoryRelease)(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2294
WGPUCompilationInfoCallback
void(* WGPUCompilationInfoCallback)(WGPUCompilationInfoRequestStatus status, struct WGPUCompilationInfo const *compilationInfo, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:992
wgpuInstanceCreateSurface
WGPU_EXPORT WGPUSurface wgpuInstanceCreateSurface(WGPUInstance instance, WGPUSurfaceDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuSharedTextureMemoryIsDeviceLost
WGPU_EXPORT WGPUBool wgpuSharedTextureMemoryIsDeviceLost(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderBundleEncoderSetVertexBuffer
WGPU_EXPORT void wgpuRenderBundleEncoderSetVertexBuffer(WGPURenderBundleEncoder renderBundleEncoder, uint32_t slot, WGPU_NULLABLE WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
WGPUProcComputePassEncoderDispatchWorkgroupsIndirect
void(* WGPUProcComputePassEncoderDispatchWorkgroupsIndirect)(WGPUComputePassEncoder computePassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2109
wgpuDeviceGetSupportedSurfaceUsage
WGPU_EXPORT WGPUTextureUsageFlags wgpuDeviceGetSupportedSurfaceUsage(WGPUDevice device, WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE
WGPUProcInstanceReference
void(* WGPUProcInstanceReference)(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2188
wgpuDeviceCreateErrorBuffer
WGPU_EXPORT WGPUBuffer wgpuDeviceCreateErrorBuffer(WGPUDevice device, WGPUBufferDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuSamplerSetLabel
WGPU_EXPORT void wgpuSamplerSetLabel(WGPUSampler sampler, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderBundleEncoderRelease
void(* WGPUProcRenderBundleEncoderRelease)(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2236
WGPUProcDeviceCreateErrorShaderModule
WGPUShaderModule(* WGPUProcDeviceCreateErrorShaderModule)(WGPUDevice device, WGPUShaderModuleDescriptor const *descriptor, char const *errorMessage) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2137
WGPUProcAdapterRequestDeviceF
WGPUFuture(* WGPUProcAdapterRequestDeviceF)(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const *options, WGPURequestDeviceCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2054
wgpuDeviceGetLimits
WGPU_EXPORT WGPUBool wgpuDeviceGetLimits(WGPUDevice device, WGPUSupportedLimits *limits) WGPU_FUNCTION_ATTRIBUTE
WGPUTextureDimension
WGPUTextureDimension
Definition: mini_webgpu.h:730
WGPUTextureDimension_Undefined
@ WGPUTextureDimension_Undefined
Definition: mini_webgpu.h:731
WGPUTextureDimension_2D
@ WGPUTextureDimension_2D
Definition: mini_webgpu.h:733
WGPUTextureDimension_Force32
@ WGPUTextureDimension_Force32
Definition: mini_webgpu.h:735
WGPUTextureDimension_3D
@ WGPUTextureDimension_3D
Definition: mini_webgpu.h:734
WGPUTextureDimension_1D
@ WGPUTextureDimension_1D
Definition: mini_webgpu.h:732
wgpuDeviceTick
WGPU_EXPORT void wgpuDeviceTick(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderSetLabel
WGPU_EXPORT void wgpuRenderPassEncoderSetLabel(WGPURenderPassEncoder renderPassEncoder, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSwapChainRelease
void(* WGPUProcSwapChainRelease)(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2306
wgpuPipelineLayoutSetLabel
WGPU_EXPORT void wgpuPipelineLayoutSetLabel(WGPUPipelineLayout pipelineLayout, char const *label) WGPU_FUNCTION_ATTRIBUTE
wgpuBindGroupLayoutRelease
WGPU_EXPORT void wgpuBindGroupLayoutRelease(WGPUBindGroupLayout bindGroupLayout) WGPU_FUNCTION_ATTRIBUTE
wgpuCommandEncoderCopyTextureToBuffer
WGPU_EXPORT void wgpuCommandEncoderCopyTextureToBuffer(WGPUCommandEncoder commandEncoder, WGPUImageCopyTexture const *source, WGPUImageCopyBuffer const *destination, WGPUExtent3D const *copySize) WGPU_FUNCTION_ATTRIBUTE
wgpuQuerySetGetCount
WGPU_EXPORT uint32_t wgpuQuerySetGetCount(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderBundleEncoderDrawIndexed
WGPU_EXPORT void wgpuRenderBundleEncoderDrawIndexed(WGPURenderBundleEncoder renderBundleEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE
wgpuInstanceRelease
WGPU_EXPORT void wgpuInstanceRelease(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE
WGPUProcComputePassEncoderEnd
void(* WGPUProcComputePassEncoderEnd)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2110
WGPUProcDeviceForceLoss
void(* WGPUProcDeviceForceLoss)(WGPUDevice device, WGPUDeviceLostReason type, char const *message) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2152
WGPUTextureUsage
WGPUTextureUsage
Definition: mini_webgpu.h:977
WGPUTextureUsage_RenderAttachment
@ WGPUTextureUsage_RenderAttachment
Definition: mini_webgpu.h:983
WGPUTextureUsage_Force32
@ WGPUTextureUsage_Force32
Definition: mini_webgpu.h:986
WGPUTextureUsage_TransientAttachment
@ WGPUTextureUsage_TransientAttachment
Definition: mini_webgpu.h:984
WGPUTextureUsage_TextureBinding
@ WGPUTextureUsage_TextureBinding
Definition: mini_webgpu.h:981
WGPUTextureUsage_CopySrc
@ WGPUTextureUsage_CopySrc
Definition: mini_webgpu.h:979
WGPUTextureUsage_CopyDst
@ WGPUTextureUsage_CopyDst
Definition: mini_webgpu.h:980
WGPUTextureUsage_StorageAttachment
@ WGPUTextureUsage_StorageAttachment
Definition: mini_webgpu.h:985
WGPUTextureUsage_None
@ WGPUTextureUsage_None
Definition: mini_webgpu.h:978
WGPUTextureUsage_StorageBinding
@ WGPUTextureUsage_StorageBinding
Definition: mini_webgpu.h:982
WGPUProcDeviceGetSupportedSurfaceUsage
WGPUTextureUsageFlags(* WGPUProcDeviceGetSupportedSurfaceUsage)(WGPUDevice device, WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2156
WGPUProcComputePipelineSetLabel
void(* WGPUProcComputePipelineSetLabel)(WGPUComputePipeline computePipeline, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2123
WGPURequestDeviceCallback
void(* WGPURequestDeviceCallback)(WGPURequestDeviceStatus status, WGPUDevice device, char const *message, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:1003
wgpuQueueWriteBuffer
WGPU_EXPORT void wgpuQueueWriteBuffer(WGPUQueue queue, WGPUBuffer buffer, uint64_t bufferOffset, void const *data, size_t size) WGPU_FUNCTION_ATTRIBUTE
WGPURequestDeviceStatus
WGPURequestDeviceStatus
Definition: mini_webgpu.h:598
WGPURequestDeviceStatus_Success
@ WGPURequestDeviceStatus_Success
Definition: mini_webgpu.h:599
WGPURequestDeviceStatus_InstanceDropped
@ WGPURequestDeviceStatus_InstanceDropped
Definition: mini_webgpu.h:600
WGPURequestDeviceStatus_Unknown
@ WGPURequestDeviceStatus_Unknown
Definition: mini_webgpu.h:602
WGPURequestDeviceStatus_Error
@ WGPURequestDeviceStatus_Error
Definition: mini_webgpu.h:601
WGPURequestDeviceStatus_Force32
@ WGPURequestDeviceStatus_Force32
Definition: mini_webgpu.h:603
WGPUProcRenderBundleEncoderSetBindGroup
void(* WGPUProcRenderBundleEncoderSetBindGroup)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const *dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2230
wgpuBufferMapAsyncF
WGPU_EXPORT WGPUFuture wgpuBufferMapAsyncF(WGPUBuffer buffer, WGPUMapModeFlags mode, size_t offset, size_t size, WGPUBufferMapCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDevicePushErrorScope
void(* WGPUProcDevicePushErrorScope)(WGPUDevice device, WGPUErrorFilter filter) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2162
wgpuCommandBufferReference
WGPU_EXPORT void wgpuCommandBufferReference(WGPUCommandBuffer commandBuffer) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSurfaceRelease
void(* WGPUProcSurfaceRelease)(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2299
WGPUCompilationMessageType
WGPUCompilationMessageType
Definition: mini_webgpu.h:395
WGPUCompilationMessageType_Force32
@ WGPUCompilationMessageType_Force32
Definition: mini_webgpu.h:399
WGPUCompilationMessageType_Info
@ WGPUCompilationMessageType_Info
Definition: mini_webgpu.h:398
WGPUCompilationMessageType_Warning
@ WGPUCompilationMessageType_Warning
Definition: mini_webgpu.h:397
WGPUCompilationMessageType_Error
@ WGPUCompilationMessageType_Error
Definition: mini_webgpu.h:396
WGPUCreatePipelineAsyncStatus
WGPUCreatePipelineAsyncStatus
Definition: mini_webgpu.h:402
WGPUCreatePipelineAsyncStatus_Force32
@ WGPUCreatePipelineAsyncStatus_Force32
Definition: mini_webgpu.h:410
WGPUCreatePipelineAsyncStatus_ValidationError
@ WGPUCreatePipelineAsyncStatus_ValidationError
Definition: mini_webgpu.h:405
WGPUCreatePipelineAsyncStatus_InstanceDropped
@ WGPUCreatePipelineAsyncStatus_InstanceDropped
Definition: mini_webgpu.h:404
WGPUCreatePipelineAsyncStatus_Success
@ WGPUCreatePipelineAsyncStatus_Success
Definition: mini_webgpu.h:403
WGPUCreatePipelineAsyncStatus_Unknown
@ WGPUCreatePipelineAsyncStatus_Unknown
Definition: mini_webgpu.h:409
WGPUCreatePipelineAsyncStatus_DeviceDestroyed
@ WGPUCreatePipelineAsyncStatus_DeviceDestroyed
Definition: mini_webgpu.h:408
WGPUCreatePipelineAsyncStatus_DeviceLost
@ WGPUCreatePipelineAsyncStatus_DeviceLost
Definition: mini_webgpu.h:407
WGPUCreatePipelineAsyncStatus_InternalError
@ WGPUCreatePipelineAsyncStatus_InternalError
Definition: mini_webgpu.h:406
wgpuRenderBundleEncoderReference
WGPU_EXPORT void wgpuRenderBundleEncoderReference(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcAdapterGetLimits
WGPUBool(* WGPUProcAdapterGetLimits)(WGPUAdapter adapter, WGPUSupportedLimits *limits) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2050
wgpuCommandEncoderPushDebugGroup
WGPU_EXPORT void wgpuCommandEncoderPushDebugGroup(WGPUCommandEncoder commandEncoder, char const *groupLabel) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSharedFenceRelease
void(* WGPUProcSharedFenceRelease)(WGPUSharedFence sharedFence) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2284
wgpuTextureCreateView
WGPU_EXPORT WGPUTextureView wgpuTextureCreateView(WGPUTexture texture, WGPU_NULLABLE WGPUTextureViewDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuCommandEncoderClearBuffer
WGPU_EXPORT void wgpuCommandEncoderClearBuffer(WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
WGPUDawnStoreCacheDataFunction
void(* WGPUDawnStoreCacheDataFunction)(void const *key, size_t keySize, void const *value, size_t valueSize, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:996
wgpuTextureGetDimension
WGPU_EXPORT WGPUTextureDimension wgpuTextureGetDimension(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
wgpuSurfaceGetPreferredFormat
WGPU_EXPORT WGPUTextureFormat wgpuSurfaceGetPreferredFormat(WGPUSurface surface, WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE
WGPUProcTextureCreateErrorView
WGPUTextureView(* WGPUProcTextureCreateErrorView)(WGPUTexture texture, WGPU_NULLABLE WGPUTextureViewDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2309
WGPUProcComputePassEncoderDispatchWorkgroups
void(* WGPUProcComputePassEncoderDispatchWorkgroups)(WGPUComputePassEncoder computePassEncoder, uint32_t workgroupCountX, uint32_t workgroupCountY, uint32_t workgroupCountZ) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2108
WGPUProcDeviceCreateRenderPipelineAsync
void(* WGPUProcDeviceCreateRenderPipelineAsync)(WGPUDevice device, WGPURenderPipelineDescriptor const *descriptor, WGPUCreateRenderPipelineAsyncCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2144
WGPUProcDeviceCreateShaderModule
WGPUShaderModule(* WGPUProcDeviceCreateShaderModule)(WGPUDevice device, WGPUShaderModuleDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2147
wgpuSamplerReference
WGPU_EXPORT void wgpuSamplerReference(WGPUSampler sampler) WGPU_FUNCTION_ATTRIBUTE
wgpuCommandEncoderBeginRenderPass
WGPU_EXPORT WGPURenderPassEncoder wgpuCommandEncoderBeginRenderPass(WGPUCommandEncoder commandEncoder, WGPURenderPassDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcExternalTextureRelease
void(* WGPUProcExternalTextureRelease)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2178
wgpuRenderPassEncoderDrawIndirect
WGPU_EXPORT void wgpuRenderPassEncoderDrawIndirect(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE
wgpuInstanceReference
WGPU_EXPORT void wgpuInstanceReference(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE
wgpuCommandEncoderRelease
WGPU_EXPORT void wgpuCommandEncoderRelease(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcPipelineLayoutReference
void(* WGPUProcPipelineLayoutReference)(WGPUPipelineLayout pipelineLayout) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2193
wgpuQueueSetLabel
WGPU_EXPORT void wgpuQueueSetLabel(WGPUQueue queue, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandEncoderRelease
void(* WGPUProcCommandEncoderRelease)(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2105
wgpuRenderPipelineReference
WGPU_EXPORT void wgpuRenderPipelineReference(WGPURenderPipeline renderPipeline) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceHasFeature
WGPU_EXPORT WGPUBool wgpuDeviceHasFeature(WGPUDevice device, WGPUFeatureName feature) WGPU_FUNCTION_ATTRIBUTE
WGPUProcTextureGetUsage
WGPUTextureUsageFlags(* WGPUProcTextureGetUsage)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2318
WGPUProcInstanceRequestAdapterF
WGPUFuture(* WGPUProcInstanceRequestAdapterF)(WGPUInstance instance, WGPU_NULLABLE WGPURequestAdapterOptions const *options, WGPURequestAdapterCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2186
WGPUProcRenderPassEncoderWriteTimestamp
void(* WGPUProcRenderPassEncoderWriteTimestamp)(WGPURenderPassEncoder renderPassEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2260
wgpuDeviceImportSharedFence
WGPU_EXPORT WGPUSharedFence wgpuDeviceImportSharedFence(WGPUDevice device, WGPUSharedFenceDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuCreateInstance
WGPU_EXPORT WGPUInstance wgpuCreateInstance(WGPU_NULLABLE WGPUInstanceDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceDestroy
void(* WGPUProcDeviceDestroy)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2150
WGPUProcComputePassEncoderSetLabel
void(* WGPUProcComputePassEncoderSetLabel)(WGPUComputePassEncoder computePassEncoder, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2115
WGPUTextureViewDimension
WGPUTextureViewDimension
Definition: mini_webgpu.h:857
WGPUTextureViewDimension_Cube
@ WGPUTextureViewDimension_Cube
Definition: mini_webgpu.h:862
WGPUTextureViewDimension_2DArray
@ WGPUTextureViewDimension_2DArray
Definition: mini_webgpu.h:861
WGPUTextureViewDimension_2D
@ WGPUTextureViewDimension_2D
Definition: mini_webgpu.h:860
WGPUTextureViewDimension_3D
@ WGPUTextureViewDimension_3D
Definition: mini_webgpu.h:864
WGPUTextureViewDimension_1D
@ WGPUTextureViewDimension_1D
Definition: mini_webgpu.h:859
WGPUTextureViewDimension_CubeArray
@ WGPUTextureViewDimension_CubeArray
Definition: mini_webgpu.h:863
WGPUTextureViewDimension_Undefined
@ WGPUTextureViewDimension_Undefined
Definition: mini_webgpu.h:858
WGPUTextureViewDimension_Force32
@ WGPUTextureViewDimension_Force32
Definition: mini_webgpu.h:865
wgpuGetInstanceFeatures
WGPU_EXPORT WGPUBool wgpuGetInstanceFeatures(WGPUInstanceFeatures *features) WGPU_FUNCTION_ATTRIBUTE
WGPUDawnLoadCacheDataFunction
size_t(* WGPUDawnLoadCacheDataFunction)(void const *key, size_t keySize, void *value, size_t valueSize, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:995
wgpuBufferGetSize
WGPU_EXPORT uint64_t wgpuBufferGetSize(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandEncoderSetLabel
void(* WGPUProcCommandEncoderSetLabel)(WGPUCommandEncoder commandEncoder, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2101
wgpuRenderBundleRelease
WGPU_EXPORT void wgpuRenderBundleRelease(WGPURenderBundle renderBundle) WGPU_FUNCTION_ATTRIBUTE
WGPUProcExternalTextureReference
void(* WGPUProcExternalTextureReference)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2177
wgpuBindGroupLayoutReference
WGPU_EXPORT void wgpuBindGroupLayoutReference(WGPUBindGroupLayout bindGroupLayout) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderBundleEncoderRelease
WGPU_EXPORT void wgpuRenderBundleEncoderRelease(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcQuerySetDestroy
void(* WGPUProcQuerySetDestroy)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2197
wgpuComputePipelineReference
WGPU_EXPORT void wgpuComputePipelineReference(WGPUComputePipeline computePipeline) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandBufferRelease
void(* WGPUProcCommandBufferRelease)(WGPUCommandBuffer commandBuffer) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2085
WGPUProcDeviceCreateBindGroupLayout
WGPUBindGroupLayout(* WGPUProcDeviceCreateBindGroupLayout)(WGPUDevice device, WGPUBindGroupLayoutDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2129
WGPUDeviceLostCallback
void(* WGPUDeviceLostCallback)(WGPUDeviceLostReason reason, char const *message, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:997
WGPUPrimitiveTopology
WGPUPrimitiveTopology
Definition: mini_webgpu.h:564
WGPUPrimitiveTopology_LineList
@ WGPUPrimitiveTopology_LineList
Definition: mini_webgpu.h:567
WGPUPrimitiveTopology_LineStrip
@ WGPUPrimitiveTopology_LineStrip
Definition: mini_webgpu.h:568
WGPUPrimitiveTopology_Undefined
@ WGPUPrimitiveTopology_Undefined
Definition: mini_webgpu.h:565
WGPUPrimitiveTopology_TriangleList
@ WGPUPrimitiveTopology_TriangleList
Definition: mini_webgpu.h:569
WGPUPrimitiveTopology_PointList
@ WGPUPrimitiveTopology_PointList
Definition: mini_webgpu.h:566
WGPUPrimitiveTopology_TriangleStrip
@ WGPUPrimitiveTopology_TriangleStrip
Definition: mini_webgpu.h:570
WGPUPrimitiveTopology_Force32
@ WGPUPrimitiveTopology_Force32
Definition: mini_webgpu.h:571
wgpuRenderPassEncoderDrawIndexed
WGPU_EXPORT void wgpuRenderPassEncoderDrawIndexed(WGPURenderPassEncoder renderPassEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE
WGPUProcInstanceProcessEvents
void(* WGPUProcInstanceProcessEvents)(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2184
wgpuSwapChainPresent
WGPU_EXPORT void wgpuSwapChainPresent(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE
WGPUProcComputePassEncoderWriteTimestamp
void(* WGPUProcComputePassEncoderWriteTimestamp)(WGPUComputePassEncoder computePassEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2117
WGPUProcComputePassEncoderRelease
void(* WGPUProcComputePassEncoderRelease)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2119
WGPUProcRenderPassEncoderRelease
void(* WGPUProcRenderPassEncoderRelease)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2262
wgpuComputePassEncoderSetPipeline
WGPU_EXPORT void wgpuComputePassEncoderSetPipeline(WGPUComputePassEncoder computePassEncoder, WGPUComputePipeline pipeline) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandEncoderWriteBuffer
void(* WGPUProcCommandEncoderWriteBuffer)(WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t bufferOffset, uint8_t const *data, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2102
WGPUProcShaderModuleSetLabel
void(* WGPUProcShaderModuleSetLabel)(WGPUShaderModule shaderModule, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2277
wgpuRenderPipelineRelease
WGPU_EXPORT void wgpuRenderPipelineRelease(WGPURenderPipeline renderPipeline) WGPU_FUNCTION_ATTRIBUTE
wgpuAdapterRequestDevice
WGPU_EXPORT void wgpuAdapterRequestDevice(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const *descriptor, WGPURequestDeviceCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
wgpuSwapChainRelease
WGPU_EXPORT void wgpuSwapChainRelease(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE
wgpuShaderModuleRelease
WGPU_EXPORT void wgpuShaderModuleRelease(WGPUShaderModule shaderModule) WGPU_FUNCTION_ATTRIBUTE
WGPUProcTextureGetDepthOrArrayLayers
uint32_t(* WGPUProcTextureGetDepthOrArrayLayers)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2312
wgpuTextureGetHeight
WGPU_EXPORT uint32_t wgpuTextureGetHeight(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
WGPUTextureFormat
WGPUTextureFormat
Definition: mini_webgpu.h:738
WGPUTextureFormat_ASTC12x10Unorm
@ WGPUTextureFormat_ASTC12x10Unorm
Definition: mini_webgpu.h:831
WGPUTextureFormat_BC5RGSnorm
@ WGPUTextureFormat_BC5RGSnorm
Definition: mini_webgpu.h:792
WGPUTextureFormat_BC7RGBAUnorm
@ WGPUTextureFormat_BC7RGBAUnorm
Definition: mini_webgpu.h:795
WGPUTextureFormat_RGBA8Unorm
@ WGPUTextureFormat_RGBA8Unorm
Definition: mini_webgpu.h:757
WGPUTextureFormat_RG8Unorm
@ WGPUTextureFormat_RG8Unorm
Definition: mini_webgpu.h:747
WGPUTextureFormat_ETC2RGB8Unorm
@ WGPUTextureFormat_ETC2RGB8Unorm
Definition: mini_webgpu.h:797
WGPUTextureFormat_ASTC4x4Unorm
@ WGPUTextureFormat_ASTC4x4Unorm
Definition: mini_webgpu.h:807
WGPUTextureFormat_ETC2RGB8A1UnormSrgb
@ WGPUTextureFormat_ETC2RGB8A1UnormSrgb
Definition: mini_webgpu.h:800
WGPUTextureFormat_EACR11Snorm
@ WGPUTextureFormat_EACR11Snorm
Definition: mini_webgpu.h:804
WGPUTextureFormat_BC4RSnorm
@ WGPUTextureFormat_BC4RSnorm
Definition: mini_webgpu.h:790
WGPUTextureFormat_RGBA8Snorm
@ WGPUTextureFormat_RGBA8Snorm
Definition: mini_webgpu.h:759
WGPUTextureFormat_ASTC10x6Unorm
@ WGPUTextureFormat_ASTC10x6Unorm
Definition: mini_webgpu.h:825
WGPUTextureFormat_BGRA8UnormSrgb
@ WGPUTextureFormat_BGRA8UnormSrgb
Definition: mini_webgpu.h:763
WGPUTextureFormat_ASTC6x6Unorm
@ WGPUTextureFormat_ASTC6x6Unorm
Definition: mini_webgpu.h:815
WGPUTextureFormat_ETC2RGB8A1Unorm
@ WGPUTextureFormat_ETC2RGB8A1Unorm
Definition: mini_webgpu.h:799
WGPUTextureFormat_ASTC10x8Unorm
@ WGPUTextureFormat_ASTC10x8Unorm
Definition: mini_webgpu.h:827
WGPUTextureFormat_RG16Unorm
@ WGPUTextureFormat_RG16Unorm
Definition: mini_webgpu.h:836
WGPUTextureFormat_ASTC8x8Unorm
@ WGPUTextureFormat_ASTC8x8Unorm
Definition: mini_webgpu.h:821
WGPUTextureFormat_RGBA32Float
@ WGPUTextureFormat_RGBA32Float
Definition: mini_webgpu.h:774
WGPUTextureFormat_BC6HRGBUfloat
@ WGPUTextureFormat_BC6HRGBUfloat
Definition: mini_webgpu.h:793
WGPUTextureFormat_RG32Sint
@ WGPUTextureFormat_RG32Sint
Definition: mini_webgpu.h:770
WGPUTextureFormat_RGBA16Float
@ WGPUTextureFormat_RGBA16Float
Definition: mini_webgpu.h:773
WGPUTextureFormat_ASTC10x10Unorm
@ WGPUTextureFormat_ASTC10x10Unorm
Definition: mini_webgpu.h:829
WGPUTextureFormat_Depth32FloatStencil8
@ WGPUTextureFormat_Depth32FloatStencil8
Definition: mini_webgpu.h:782
WGPUTextureFormat_RG8Snorm
@ WGPUTextureFormat_RG8Snorm
Definition: mini_webgpu.h:748
WGPUTextureFormat_ASTC12x10UnormSrgb
@ WGPUTextureFormat_ASTC12x10UnormSrgb
Definition: mini_webgpu.h:832
WGPUTextureFormat_Depth24Plus
@ WGPUTextureFormat_Depth24Plus
Definition: mini_webgpu.h:779
WGPUTextureFormat_RG16Sint
@ WGPUTextureFormat_RG16Sint
Definition: mini_webgpu.h:755
WGPUTextureFormat_EACRG11Unorm
@ WGPUTextureFormat_EACRG11Unorm
Definition: mini_webgpu.h:805
WGPUTextureFormat_ETC2RGB8UnormSrgb
@ WGPUTextureFormat_ETC2RGB8UnormSrgb
Definition: mini_webgpu.h:798
WGPUTextureFormat_BC6HRGBFloat
@ WGPUTextureFormat_BC6HRGBFloat
Definition: mini_webgpu.h:794
WGPUTextureFormat_R10X6BG10X6Biplanar420Unorm
@ WGPUTextureFormat_R10X6BG10X6Biplanar420Unorm
Definition: mini_webgpu.h:842
WGPUTextureFormat_R32Float
@ WGPUTextureFormat_R32Float
Definition: mini_webgpu.h:751
WGPUTextureFormat_BC7RGBAUnormSrgb
@ WGPUTextureFormat_BC7RGBAUnormSrgb
Definition: mini_webgpu.h:796
WGPUTextureFormat_R16Sint
@ WGPUTextureFormat_R16Sint
Definition: mini_webgpu.h:745
WGPUTextureFormat_R8Sint
@ WGPUTextureFormat_R8Sint
Definition: mini_webgpu.h:743
WGPUTextureFormat_RGBA8UnormSrgb
@ WGPUTextureFormat_RGBA8UnormSrgb
Definition: mini_webgpu.h:758
WGPUTextureFormat_BC3RGBAUnormSrgb
@ WGPUTextureFormat_BC3RGBAUnormSrgb
Definition: mini_webgpu.h:788
WGPUTextureFormat_RGBA16Unorm
@ WGPUTextureFormat_RGBA16Unorm
Definition: mini_webgpu.h:837
WGPUTextureFormat_RGBA8Uint
@ WGPUTextureFormat_RGBA8Uint
Definition: mini_webgpu.h:760
WGPUTextureFormat_EACRG11Snorm
@ WGPUTextureFormat_EACRG11Snorm
Definition: mini_webgpu.h:806
WGPUTextureFormat_RGBA16Uint
@ WGPUTextureFormat_RGBA16Uint
Definition: mini_webgpu.h:771
WGPUTextureFormat_ASTC10x10UnormSrgb
@ WGPUTextureFormat_ASTC10x10UnormSrgb
Definition: mini_webgpu.h:830
WGPUTextureFormat_RGB10A2Unorm
@ WGPUTextureFormat_RGB10A2Unorm
Definition: mini_webgpu.h:765
WGPUTextureFormat_ASTC10x5UnormSrgb
@ WGPUTextureFormat_ASTC10x5UnormSrgb
Definition: mini_webgpu.h:824
WGPUTextureFormat_ASTC5x5Unorm
@ WGPUTextureFormat_ASTC5x5Unorm
Definition: mini_webgpu.h:811
WGPUTextureFormat_R32Uint
@ WGPUTextureFormat_R32Uint
Definition: mini_webgpu.h:752
WGPUTextureFormat_ETC2RGBA8UnormSrgb
@ WGPUTextureFormat_ETC2RGBA8UnormSrgb
Definition: mini_webgpu.h:802
WGPUTextureFormat_R8BG8A8Triplanar420Unorm
@ WGPUTextureFormat_R8BG8A8Triplanar420Unorm
Definition: mini_webgpu.h:843
WGPUTextureFormat_RG16Snorm
@ WGPUTextureFormat_RG16Snorm
Definition: mini_webgpu.h:839
WGPUTextureFormat_ASTC5x4Unorm
@ WGPUTextureFormat_ASTC5x4Unorm
Definition: mini_webgpu.h:809
WGPUTextureFormat_BC3RGBAUnorm
@ WGPUTextureFormat_BC3RGBAUnorm
Definition: mini_webgpu.h:787
WGPUTextureFormat_R16Unorm
@ WGPUTextureFormat_R16Unorm
Definition: mini_webgpu.h:835
WGPUTextureFormat_R8BG8Biplanar420Unorm
@ WGPUTextureFormat_R8BG8Biplanar420Unorm
Definition: mini_webgpu.h:841
WGPUTextureFormat_BGRA8Unorm
@ WGPUTextureFormat_BGRA8Unorm
Definition: mini_webgpu.h:762
WGPUTextureFormat_BC4RUnorm
@ WGPUTextureFormat_BC4RUnorm
Definition: mini_webgpu.h:789
WGPUTextureFormat_BC5RGUnorm
@ WGPUTextureFormat_BC5RGUnorm
Definition: mini_webgpu.h:791
WGPUTextureFormat_Force32
@ WGPUTextureFormat_Force32
Definition: mini_webgpu.h:844
WGPUTextureFormat_BC1RGBAUnorm
@ WGPUTextureFormat_BC1RGBAUnorm
Definition: mini_webgpu.h:783
WGPUTextureFormat_ASTC5x5UnormSrgb
@ WGPUTextureFormat_ASTC5x5UnormSrgb
Definition: mini_webgpu.h:812
WGPUTextureFormat_ASTC8x6UnormSrgb
@ WGPUTextureFormat_ASTC8x6UnormSrgb
Definition: mini_webgpu.h:820
WGPUTextureFormat_R32Sint
@ WGPUTextureFormat_R32Sint
Definition: mini_webgpu.h:753
WGPUTextureFormat_BC2RGBAUnormSrgb
@ WGPUTextureFormat_BC2RGBAUnormSrgb
Definition: mini_webgpu.h:786
WGPUTextureFormat_RGBA32Uint
@ WGPUTextureFormat_RGBA32Uint
Definition: mini_webgpu.h:775
WGPUTextureFormat_Stencil8
@ WGPUTextureFormat_Stencil8
Definition: mini_webgpu.h:777
WGPUTextureFormat_EACR11Unorm
@ WGPUTextureFormat_EACR11Unorm
Definition: mini_webgpu.h:803
WGPUTextureFormat_ASTC6x6UnormSrgb
@ WGPUTextureFormat_ASTC6x6UnormSrgb
Definition: mini_webgpu.h:816
WGPUTextureFormat_RG16Uint
@ WGPUTextureFormat_RG16Uint
Definition: mini_webgpu.h:754
WGPUTextureFormat_ASTC10x8UnormSrgb
@ WGPUTextureFormat_ASTC10x8UnormSrgb
Definition: mini_webgpu.h:828
WGPUTextureFormat_RGB9E5Ufloat
@ WGPUTextureFormat_RGB9E5Ufloat
Definition: mini_webgpu.h:767
WGPUTextureFormat_Depth16Unorm
@ WGPUTextureFormat_Depth16Unorm
Definition: mini_webgpu.h:778
WGPUTextureFormat_RG8Sint
@ WGPUTextureFormat_RG8Sint
Definition: mini_webgpu.h:750
WGPUTextureFormat_ASTC8x8UnormSrgb
@ WGPUTextureFormat_ASTC8x8UnormSrgb
Definition: mini_webgpu.h:822
WGPUTextureFormat_R16Uint
@ WGPUTextureFormat_R16Uint
Definition: mini_webgpu.h:744
WGPUTextureFormat_Undefined
@ WGPUTextureFormat_Undefined
Definition: mini_webgpu.h:739
WGPUTextureFormat_ASTC10x6UnormSrgb
@ WGPUTextureFormat_ASTC10x6UnormSrgb
Definition: mini_webgpu.h:826
WGPUTextureFormat_R16Float
@ WGPUTextureFormat_R16Float
Definition: mini_webgpu.h:746
WGPUTextureFormat_ASTC5x4UnormSrgb
@ WGPUTextureFormat_ASTC5x4UnormSrgb
Definition: mini_webgpu.h:810
WGPUTextureFormat_RG32Float
@ WGPUTextureFormat_RG32Float
Definition: mini_webgpu.h:768
WGPUTextureFormat_RGBA16Snorm
@ WGPUTextureFormat_RGBA16Snorm
Definition: mini_webgpu.h:840
WGPUTextureFormat_RG11B10Ufloat
@ WGPUTextureFormat_RG11B10Ufloat
Definition: mini_webgpu.h:766
WGPUTextureFormat_ASTC12x12UnormSrgb
@ WGPUTextureFormat_ASTC12x12UnormSrgb
Definition: mini_webgpu.h:834
WGPUTextureFormat_RGBA32Sint
@ WGPUTextureFormat_RGBA32Sint
Definition: mini_webgpu.h:776
WGPUTextureFormat_BC1RGBAUnormSrgb
@ WGPUTextureFormat_BC1RGBAUnormSrgb
Definition: mini_webgpu.h:784
WGPUTextureFormat_RG16Float
@ WGPUTextureFormat_RG16Float
Definition: mini_webgpu.h:756
WGPUTextureFormat_ASTC6x5Unorm
@ WGPUTextureFormat_ASTC6x5Unorm
Definition: mini_webgpu.h:813
WGPUTextureFormat_Depth24PlusStencil8
@ WGPUTextureFormat_Depth24PlusStencil8
Definition: mini_webgpu.h:780
WGPUTextureFormat_ASTC10x5Unorm
@ WGPUTextureFormat_ASTC10x5Unorm
Definition: mini_webgpu.h:823
WGPUTextureFormat_RGBA16Sint
@ WGPUTextureFormat_RGBA16Sint
Definition: mini_webgpu.h:772
WGPUTextureFormat_R8Unorm
@ WGPUTextureFormat_R8Unorm
Definition: mini_webgpu.h:740
WGPUTextureFormat_Depth32Float
@ WGPUTextureFormat_Depth32Float
Definition: mini_webgpu.h:781
WGPUTextureFormat_BC2RGBAUnorm
@ WGPUTextureFormat_BC2RGBAUnorm
Definition: mini_webgpu.h:785
WGPUTextureFormat_R16Snorm
@ WGPUTextureFormat_R16Snorm
Definition: mini_webgpu.h:838
WGPUTextureFormat_ASTC8x6Unorm
@ WGPUTextureFormat_ASTC8x6Unorm
Definition: mini_webgpu.h:819
WGPUTextureFormat_RG8Uint
@ WGPUTextureFormat_RG8Uint
Definition: mini_webgpu.h:749
WGPUTextureFormat_R8Uint
@ WGPUTextureFormat_R8Uint
Definition: mini_webgpu.h:742
WGPUTextureFormat_ASTC8x5Unorm
@ WGPUTextureFormat_ASTC8x5Unorm
Definition: mini_webgpu.h:817
WGPUTextureFormat_ASTC12x12Unorm
@ WGPUTextureFormat_ASTC12x12Unorm
Definition: mini_webgpu.h:833
WGPUTextureFormat_RGB10A2Uint
@ WGPUTextureFormat_RGB10A2Uint
Definition: mini_webgpu.h:764
WGPUTextureFormat_ASTC4x4UnormSrgb
@ WGPUTextureFormat_ASTC4x4UnormSrgb
Definition: mini_webgpu.h:808
WGPUTextureFormat_ETC2RGBA8Unorm
@ WGPUTextureFormat_ETC2RGBA8Unorm
Definition: mini_webgpu.h:801
WGPUTextureFormat_RG32Uint
@ WGPUTextureFormat_RG32Uint
Definition: mini_webgpu.h:769
WGPUTextureFormat_ASTC8x5UnormSrgb
@ WGPUTextureFormat_ASTC8x5UnormSrgb
Definition: mini_webgpu.h:818
WGPUTextureFormat_RGBA8Sint
@ WGPUTextureFormat_RGBA8Sint
Definition: mini_webgpu.h:761
WGPUTextureFormat_R8Snorm
@ WGPUTextureFormat_R8Snorm
Definition: mini_webgpu.h:741
WGPUTextureFormat_ASTC6x5UnormSrgb
@ WGPUTextureFormat_ASTC6x5UnormSrgb
Definition: mini_webgpu.h:814
WGPUProcRenderBundleEncoderDrawIndirect
void(* WGPUProcRenderBundleEncoderDrawIndirect)(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2225
WGPUProcSamplerReference
void(* WGPUProcSamplerReference)(WGPUSampler sampler) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2272
wgpuCommandEncoderFinish
WGPU_EXPORT WGPUCommandBuffer wgpuCommandEncoderFinish(WGPUCommandEncoder commandEncoder, WGPU_NULLABLE WGPUCommandBufferDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceValidateTextureDescriptor
void(* WGPUProcDeviceValidateTextureDescriptor)(WGPUDevice device, WGPUTextureDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2168
WGPUProcAdapterRequestDevice
void(* WGPUProcAdapterRequestDevice)(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const *descriptor, WGPURequestDeviceCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2053
WGPUProcAdapterPropertiesFreeMembers
void(* WGPUProcAdapterPropertiesFreeMembers)(WGPUAdapterProperties value) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2039
wgpuDeviceCreateRenderPipelineAsyncF
WGPU_EXPORT WGPUFuture wgpuDeviceCreateRenderPipelineAsyncF(WGPUDevice device, WGPURenderPipelineDescriptor const *descriptor, WGPUCreateRenderPipelineAsyncCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderExecuteBundles
WGPU_EXPORT void wgpuRenderPassEncoderExecuteBundles(WGPURenderPassEncoder renderPassEncoder, size_t bundleCount, WGPURenderBundle const *bundles) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderBundleEncoderSetPipeline
WGPU_EXPORT void wgpuRenderBundleEncoderSetPipeline(WGPURenderBundleEncoder renderBundleEncoder, WGPURenderPipeline pipeline) WGPU_FUNCTION_ATTRIBUTE
WGPUProcQuerySetRelease
void(* WGPUProcQuerySetRelease)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2202
wgpuQueueCopyTextureForBrowser
WGPU_EXPORT void wgpuQueueCopyTextureForBrowser(WGPUQueue queue, WGPUImageCopyTexture const *source, WGPUImageCopyTexture const *destination, WGPUExtent3D const *copySize, WGPUCopyTextureForBrowserOptions const *options) WGPU_FUNCTION_ATTRIBUTE
WGPUProcTextureGetSampleCount
uint32_t(* WGPUProcTextureGetSampleCount)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2317
WGPUProcSharedFenceReference
void(* WGPUProcSharedFenceReference)(WGPUSharedFence sharedFence) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2283
wgpuRenderPassEncoderReference
WGPU_EXPORT void wgpuRenderPassEncoderReference(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceEnumerateFeatures
size_t(* WGPUProcDeviceEnumerateFeatures)(WGPUDevice device, WGPUFeatureName *features) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2151
WGPUProcDeviceReference
void(* WGPUProcDeviceReference)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2169
WGPUProcRenderBundleEncoderDraw
void(* WGPUProcRenderBundleEncoderDraw)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2222
wgpuDeviceCreateErrorTexture
WGPU_EXPORT WGPUTexture wgpuDeviceCreateErrorTexture(WGPUDevice device, WGPUTextureDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuTextureGetWidth
WGPU_EXPORT uint32_t wgpuTextureGetWidth(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
wgpuTextureCreateErrorView
WGPU_EXPORT WGPUTextureView wgpuTextureCreateErrorView(WGPUTexture texture, WGPU_NULLABLE WGPUTextureViewDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuPipelineLayoutRelease
WGPU_EXPORT void wgpuPipelineLayoutRelease(WGPUPipelineLayout pipelineLayout) WGPU_FUNCTION_ATTRIBUTE
WGPUProcComputePipelineRelease
void(* WGPUProcComputePipelineRelease)(WGPUComputePipeline computePipeline) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2125
WGPUProcRenderBundleEncoderDrawIndexed
void(* WGPUProcRenderBundleEncoderDrawIndexed)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2223
wgpuComputePassEncoderPushDebugGroup
WGPU_EXPORT void wgpuComputePassEncoderPushDebugGroup(WGPUComputePassEncoder computePassEncoder, char const *groupLabel) WGPU_FUNCTION_ATTRIBUTE
WGPUStencilOperation
WGPUStencilOperation
Definition: mini_webgpu.h:691
WGPUStencilOperation_DecrementClamp
@ WGPUStencilOperation_DecrementClamp
Definition: mini_webgpu.h:698
WGPUStencilOperation_Undefined
@ WGPUStencilOperation_Undefined
Definition: mini_webgpu.h:692
WGPUStencilOperation_Replace
@ WGPUStencilOperation_Replace
Definition: mini_webgpu.h:695
WGPUStencilOperation_Keep
@ WGPUStencilOperation_Keep
Definition: mini_webgpu.h:693
WGPUStencilOperation_DecrementWrap
@ WGPUStencilOperation_DecrementWrap
Definition: mini_webgpu.h:700
WGPUStencilOperation_IncrementWrap
@ WGPUStencilOperation_IncrementWrap
Definition: mini_webgpu.h:699
WGPUStencilOperation_IncrementClamp
@ WGPUStencilOperation_IncrementClamp
Definition: mini_webgpu.h:697
WGPUStencilOperation_Invert
@ WGPUStencilOperation_Invert
Definition: mini_webgpu.h:696
WGPUStencilOperation_Force32
@ WGPUStencilOperation_Force32
Definition: mini_webgpu.h:701
WGPUStencilOperation_Zero
@ WGPUStencilOperation_Zero
Definition: mini_webgpu.h:694
wgpuComputePipelineSetLabel
WGPU_EXPORT void wgpuComputePipelineSetLabel(WGPUComputePipeline computePipeline, char const *label) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderSetBlendConstant
WGPU_EXPORT void wgpuRenderPassEncoderSetBlendConstant(WGPURenderPassEncoder renderPassEncoder, WGPUColor const *color) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderBundleEncoderSetPipeline
void(* WGPUProcRenderBundleEncoderSetPipeline)(WGPURenderBundleEncoder renderBundleEncoder, WGPURenderPipeline pipeline) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2233
WGPUProcDeviceCreateSampler
WGPUSampler(* WGPUProcDeviceCreateSampler)(WGPUDevice device, WGPU_NULLABLE WGPUSamplerDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2146
wgpuInstanceEnumerateWGSLLanguageFeatures
WGPU_EXPORT size_t wgpuInstanceEnumerateWGSLLanguageFeatures(WGPUInstance instance, WGPUWGSLFeatureName *features) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandBufferSetLabel
void(* WGPUProcCommandBufferSetLabel)(WGPUCommandBuffer commandBuffer, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2083
WGPUAddressMode
WGPUAddressMode
Definition: mini_webgpu.h:277
WGPUAddressMode_Repeat
@ WGPUAddressMode_Repeat
Definition: mini_webgpu.h:280
WGPUAddressMode_MirrorRepeat
@ WGPUAddressMode_MirrorRepeat
Definition: mini_webgpu.h:281
WGPUAddressMode_Undefined
@ WGPUAddressMode_Undefined
Definition: mini_webgpu.h:278
WGPUAddressMode_ClampToEdge
@ WGPUAddressMode_ClampToEdge
Definition: mini_webgpu.h:279
WGPUAddressMode_Force32
@ WGPUAddressMode_Force32
Definition: mini_webgpu.h:282
wgpuBindGroupLayoutSetLabel
WGPU_EXPORT void wgpuBindGroupLayoutSetLabel(WGPUBindGroupLayout bindGroupLayout, char const *label) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderSetPipeline
WGPU_EXPORT void wgpuRenderPassEncoderSetPipeline(WGPURenderPassEncoder renderPassEncoder, WGPURenderPipeline pipeline) WGPU_FUNCTION_ATTRIBUTE
wgpuCommandEncoderWriteTimestamp
WGPU_EXPORT void wgpuCommandEncoderWriteTimestamp(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE
WGPUProcTextureCreateView
WGPUTextureView(* WGPUProcTextureCreateView)(WGPUTexture texture, WGPU_NULLABLE WGPUTextureViewDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2310
wgpuRenderPassEncoderRelease
WGPU_EXPORT void wgpuRenderPassEncoderRelease(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceValidateTextureDescriptor
WGPU_EXPORT void wgpuDeviceValidateTextureDescriptor(WGPUDevice device, WGPUTextureDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuCommandEncoderCopyBufferToBuffer
WGPU_EXPORT void wgpuCommandEncoderCopyBufferToBuffer(WGPUCommandEncoder commandEncoder, WGPUBuffer source, uint64_t sourceOffset, WGPUBuffer destination, uint64_t destinationOffset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreateErrorShaderModule
WGPU_EXPORT WGPUShaderModule wgpuDeviceCreateErrorShaderModule(WGPUDevice device, WGPUShaderModuleDescriptor const *descriptor, char const *errorMessage) WGPU_FUNCTION_ATTRIBUTE
WGPUShaderStage
WGPUShaderStage
Definition: mini_webgpu.h:968
WGPUShaderStage_Fragment
@ WGPUShaderStage_Fragment
Definition: mini_webgpu.h:971
WGPUShaderStage_Compute
@ WGPUShaderStage_Compute
Definition: mini_webgpu.h:972
WGPUShaderStage_Force32
@ WGPUShaderStage_Force32
Definition: mini_webgpu.h:973
WGPUShaderStage_Vertex
@ WGPUShaderStage_Vertex
Definition: mini_webgpu.h:970
WGPUShaderStage_None
@ WGPUShaderStage_None
Definition: mini_webgpu.h:969
WGPUProcRenderBundleSetLabel
void(* WGPUProcRenderBundleSetLabel)(WGPURenderBundle renderBundle, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2217
wgpuDevicePopErrorScope
WGPU_EXPORT void wgpuDevicePopErrorScope(WGPUDevice device, WGPUErrorCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderSetBindGroup
void(* WGPUProcRenderPassEncoderSetBindGroup)(WGPURenderPassEncoder renderPassEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const *dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2251
WGPUProcBufferUnmap
void(* WGPUProcBufferUnmap)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2078
WGPUProcCommandEncoderClearBuffer
void(* WGPUProcCommandEncoderClearBuffer)(WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2090
WGPUProcTextureSetLabel
void(* WGPUProcTextureSetLabel)(WGPUTexture texture, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2320
WGPUProcRenderBundleEncoderPopDebugGroup
void(* WGPUProcRenderBundleEncoderPopDebugGroup)(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2228
WGPUProcDeviceCreateQuerySet
WGPUQuerySet(* WGPUProcDeviceCreateQuerySet)(WGPUDevice device, WGPUQuerySetDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2141
wgpuCommandEncoderCopyBufferToTexture
WGPU_EXPORT void wgpuCommandEncoderCopyBufferToTexture(WGPUCommandEncoder commandEncoder, WGPUImageCopyBuffer const *source, WGPUImageCopyTexture const *destination, WGPUExtent3D const *copySize) WGPU_FUNCTION_ATTRIBUTE
WGPUProcQueueWriteTexture
void(* WGPUProcQueueWriteTexture)(WGPUQueue queue, WGPUImageCopyTexture const *destination, void const *data, size_t dataSize, WGPUTextureDataLayout const *dataLayout, WGPUExtent3D const *writeSize) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2212
WGPUProcBufferDestroy
void(* WGPUProcBufferDestroy)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2069
wgpuQueueOnSubmittedWorkDone
WGPU_EXPORT void wgpuQueueOnSubmittedWorkDone(WGPUQueue queue, WGPUQueueWorkDoneCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSharedTextureMemoryEndAccess
WGPUBool(* WGPUProcSharedTextureMemoryEndAccess)(WGPUSharedTextureMemory sharedTextureMemory, WGPUTexture texture, WGPUSharedTextureMemoryEndAccessState *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2289
WGPUProcSharedTextureMemoryIsDeviceLost
WGPUBool(* WGPUProcSharedTextureMemoryIsDeviceLost)(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2291
wgpuComputePassEncoderSetBindGroup
WGPU_EXPORT void wgpuComputePassEncoderSetBindGroup(WGPUComputePassEncoder computePassEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const *dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE
WGPUProcQueueSetLabel
void(* WGPUProcQueueSetLabel)(WGPUQueue queue, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2209
WGPUTextureAspect
WGPUTextureAspect
Definition: mini_webgpu.h:719
WGPUTextureAspect_Plane2Only
@ WGPUTextureAspect_Plane2Only
Definition: mini_webgpu.h:726
WGPUTextureAspect_DepthOnly
@ WGPUTextureAspect_DepthOnly
Definition: mini_webgpu.h:723
WGPUTextureAspect_Plane1Only
@ WGPUTextureAspect_Plane1Only
Definition: mini_webgpu.h:725
WGPUTextureAspect_Force32
@ WGPUTextureAspect_Force32
Definition: mini_webgpu.h:727
WGPUTextureAspect_Undefined
@ WGPUTextureAspect_Undefined
Definition: mini_webgpu.h:720
WGPUTextureAspect_All
@ WGPUTextureAspect_All
Definition: mini_webgpu.h:721
WGPUTextureAspect_Plane0Only
@ WGPUTextureAspect_Plane0Only
Definition: mini_webgpu.h:724
WGPUTextureAspect_StencilOnly
@ WGPUTextureAspect_StencilOnly
Definition: mini_webgpu.h:722
WGPUBufferMapState
WGPUBufferMapState
Definition: mini_webgpu.h:359
WGPUBufferMapState_Pending
@ WGPUBufferMapState_Pending
Definition: mini_webgpu.h:361
WGPUBufferMapState_Mapped
@ WGPUBufferMapState_Mapped
Definition: mini_webgpu.h:362
WGPUBufferMapState_Unmapped
@ WGPUBufferMapState_Unmapped
Definition: mini_webgpu.h:360
WGPUBufferMapState_Force32
@ WGPUBufferMapState_Force32
Definition: mini_webgpu.h:363
WGPUFilterMode
WGPUFilterMode
Definition: mini_webgpu.h:507
WGPUFilterMode_Undefined
@ WGPUFilterMode_Undefined
Definition: mini_webgpu.h:508
WGPUFilterMode_Force32
@ WGPUFilterMode_Force32
Definition: mini_webgpu.h:511
WGPUFilterMode_Nearest
@ WGPUFilterMode_Nearest
Definition: mini_webgpu.h:509
WGPUFilterMode_Linear
@ WGPUFilterMode_Linear
Definition: mini_webgpu.h:510
wgpuInstanceHasWGSLLanguageFeature
WGPU_EXPORT WGPUBool wgpuInstanceHasWGSLLanguageFeature(WGPUInstance instance, WGPUWGSLFeatureName feature) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceCreateErrorExternalTexture
WGPUExternalTexture(* WGPUProcDeviceCreateErrorExternalTexture)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2136
WGPUProcPipelineLayoutSetLabel
void(* WGPUProcPipelineLayoutSetLabel)(WGPUPipelineLayout pipelineLayout, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2192
WGPUProcQueueOnSubmittedWorkDoneF
WGPUFuture(* WGPUProcQueueOnSubmittedWorkDoneF)(WGPUQueue queue, WGPUQueueWorkDoneCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2208
WGPUProcCommandEncoderFinish
WGPUCommandBuffer(* WGPUProcCommandEncoderFinish)(WGPUCommandEncoder commandEncoder, WGPU_NULLABLE WGPUCommandBufferDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2095
WGPUBackendType
WGPUBackendType
Definition: mini_webgpu.h:292
WGPUBackendType_Vulkan
@ WGPUBackendType_Vulkan
Definition: mini_webgpu.h:299
WGPUBackendType_OpenGL
@ WGPUBackendType_OpenGL
Definition: mini_webgpu.h:300
WGPUBackendType_Force32
@ WGPUBackendType_Force32
Definition: mini_webgpu.h:302
WGPUBackendType_OpenGLES
@ WGPUBackendType_OpenGLES
Definition: mini_webgpu.h:301
WGPUBackendType_WebGPU
@ WGPUBackendType_WebGPU
Definition: mini_webgpu.h:295
WGPUBackendType_D3D11
@ WGPUBackendType_D3D11
Definition: mini_webgpu.h:296
WGPUBackendType_D3D12
@ WGPUBackendType_D3D12
Definition: mini_webgpu.h:297
WGPUBackendType_Undefined
@ WGPUBackendType_Undefined
Definition: mini_webgpu.h:293
WGPUBackendType_Null
@ WGPUBackendType_Null
Definition: mini_webgpu.h:294
WGPUBackendType_Metal
@ WGPUBackendType_Metal
Definition: mini_webgpu.h:298
wgpuTextureViewRelease
WGPU_EXPORT void wgpuTextureViewRelease(WGPUTextureView textureView) WGPU_FUNCTION_ATTRIBUTE
wgpuAdapterEnumerateFeatures
WGPU_EXPORT size_t wgpuAdapterEnumerateFeatures(WGPUAdapter adapter, WGPUFeatureName *features) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreateBuffer
WGPU_EXPORT WGPUBuffer wgpuDeviceCreateBuffer(WGPUDevice device, WGPUBufferDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderBundleRelease
void(* WGPUProcRenderBundleRelease)(WGPURenderBundle renderBundle) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2219
wgpuRenderBundleEncoderFinish
WGPU_EXPORT WGPURenderBundle wgpuRenderBundleEncoderFinish(WGPURenderBundleEncoder renderBundleEncoder, WGPU_NULLABLE WGPURenderBundleDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuBufferGetMapState
WGPU_EXPORT WGPUBufferMapState wgpuBufferGetMapState(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
wgpuExternalTextureReference
WGPU_EXPORT void wgpuExternalTextureReference(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSamplerSetLabel
void(* WGPUProcSamplerSetLabel)(WGPUSampler sampler, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2271
WGPUProcSwapChainReference
void(* WGPUProcSwapChainReference)(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2305
WGPUBlendFactor
WGPUBlendFactor
Definition: mini_webgpu.h:305
WGPUBlendFactor_DstAlpha
@ WGPUBlendFactor_DstAlpha
Definition: mini_webgpu.h:315
WGPUBlendFactor_One
@ WGPUBlendFactor_One
Definition: mini_webgpu.h:308
WGPUBlendFactor_Zero
@ WGPUBlendFactor_Zero
Definition: mini_webgpu.h:307
WGPUBlendFactor_Src1Alpha
@ WGPUBlendFactor_Src1Alpha
Definition: mini_webgpu.h:322
WGPUBlendFactor_Undefined
@ WGPUBlendFactor_Undefined
Definition: mini_webgpu.h:306
WGPUBlendFactor_OneMinusDst
@ WGPUBlendFactor_OneMinusDst
Definition: mini_webgpu.h:314
WGPUBlendFactor_Force32
@ WGPUBlendFactor_Force32
Definition: mini_webgpu.h:324
WGPUBlendFactor_OneMinusSrc1
@ WGPUBlendFactor_OneMinusSrc1
Definition: mini_webgpu.h:321
WGPUBlendFactor_Constant
@ WGPUBlendFactor_Constant
Definition: mini_webgpu.h:318
WGPUBlendFactor_OneMinusSrc
@ WGPUBlendFactor_OneMinusSrc
Definition: mini_webgpu.h:310
WGPUBlendFactor_SrcAlphaSaturated
@ WGPUBlendFactor_SrcAlphaSaturated
Definition: mini_webgpu.h:317
WGPUBlendFactor_Src
@ WGPUBlendFactor_Src
Definition: mini_webgpu.h:309
WGPUBlendFactor_OneMinusSrcAlpha
@ WGPUBlendFactor_OneMinusSrcAlpha
Definition: mini_webgpu.h:312
WGPUBlendFactor_SrcAlpha
@ WGPUBlendFactor_SrcAlpha
Definition: mini_webgpu.h:311
WGPUBlendFactor_OneMinusConstant
@ WGPUBlendFactor_OneMinusConstant
Definition: mini_webgpu.h:319
WGPUBlendFactor_Src1
@ WGPUBlendFactor_Src1
Definition: mini_webgpu.h:320
WGPUBlendFactor_OneMinusDstAlpha
@ WGPUBlendFactor_OneMinusDstAlpha
Definition: mini_webgpu.h:316
WGPUBlendFactor_OneMinusSrc1Alpha
@ WGPUBlendFactor_OneMinusSrc1Alpha
Definition: mini_webgpu.h:323
WGPUBlendFactor_Dst
@ WGPUBlendFactor_Dst
Definition: mini_webgpu.h:313
WGPUProcCreateInstance
WGPUInstance(* WGPUProcCreateInstance)(WGPUInstanceDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2041
wgpuRenderBundleEncoderSetBindGroup
WGPU_EXPORT void wgpuRenderBundleEncoderSetBindGroup(WGPURenderBundleEncoder renderBundleEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const *dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE
WGPUProcBindGroupLayoutReference
void(* WGPUProcBindGroupLayoutReference)(WGPUBindGroupLayout bindGroupLayout) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2065
WGPUProcBufferMapAsyncF
WGPUFuture(* WGPUProcBufferMapAsyncF)(WGPUBuffer buffer, WGPUMapModeFlags mode, size_t offset, size_t size, WGPUBufferMapCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2076
WGPUProcQuerySetGetType
WGPUQueryType(* WGPUProcQuerySetGetType)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2199
wgpuSamplerRelease
WGPU_EXPORT void wgpuSamplerRelease(WGPUSampler sampler) WGPU_FUNCTION_ATTRIBUTE
WGPUSamplerBindingType
WGPUSamplerBindingType
Definition: mini_webgpu.h:673
WGPUSamplerBindingType_NonFiltering
@ WGPUSamplerBindingType_NonFiltering
Definition: mini_webgpu.h:676
WGPUSamplerBindingType_Force32
@ WGPUSamplerBindingType_Force32
Definition: mini_webgpu.h:678
WGPUSamplerBindingType_Filtering
@ WGPUSamplerBindingType_Filtering
Definition: mini_webgpu.h:675
WGPUSamplerBindingType_Undefined
@ WGPUSamplerBindingType_Undefined
Definition: mini_webgpu.h:674
WGPUSamplerBindingType_Comparison
@ WGPUSamplerBindingType_Comparison
Definition: mini_webgpu.h:677
WGPUCallback
void(* WGPUCallback)(void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:991
WGPUProcCommandEncoderReference
void(* WGPUProcCommandEncoderReference)(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2104
wgpuShaderModuleReference
WGPU_EXPORT void wgpuShaderModuleReference(WGPUShaderModule shaderModule) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPipelineReference
void(* WGPUProcRenderPipelineReference)(WGPURenderPipeline renderPipeline) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2267
wgpuComputePassEncoderRelease
WGPU_EXPORT void wgpuComputePassEncoderRelease(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderPixelLocalStorageBarrier
void(* WGPUProcRenderPassEncoderPixelLocalStorageBarrier)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2248
wgpuQuerySetGetType
WGPU_EXPORT WGPUQueryType wgpuQuerySetGetType(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE
WGPULoadOp
WGPULoadOp
Definition: mini_webgpu.h:528
WGPULoadOp_Load
@ WGPULoadOp_Load
Definition: mini_webgpu.h:531
WGPULoadOp_Force32
@ WGPULoadOp_Force32
Definition: mini_webgpu.h:532
WGPULoadOp_Undefined
@ WGPULoadOp_Undefined
Definition: mini_webgpu.h:529
WGPULoadOp_Clear
@ WGPULoadOp_Clear
Definition: mini_webgpu.h:530
WGPUProcSharedTextureMemoryEndAccessStateFreeMembers
void(* WGPUProcSharedTextureMemoryEndAccessStateFreeMembers)(WGPUSharedTextureMemoryEndAccessState value) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2044
wgpuSharedTextureMemoryRelease
WGPU_EXPORT void wgpuSharedTextureMemoryRelease(WGPUSharedTextureMemory sharedTextureMemory) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderInsertDebugMarker
void(* WGPUProcRenderPassEncoderInsertDebugMarker)(WGPURenderPassEncoder renderPassEncoder, char const *markerLabel) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2247
WGPUProcDeviceHasFeature
WGPUBool(* WGPUProcDeviceHasFeature)(WGPUDevice device, WGPUFeatureName feature) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2157
wgpuBufferMapAsync
WGPU_EXPORT void wgpuBufferMapAsync(WGPUBuffer buffer, WGPUMapModeFlags mode, size_t offset, size_t size, WGPUBufferMapCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
WGPUProcTextureGetWidth
uint32_t(* WGPUProcTextureGetWidth)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2319
WGPUProcQuerySetSetLabel
void(* WGPUProcQuerySetSetLabel)(WGPUQuerySet querySet, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2200
WGPUProcRenderPassEncoderBeginOcclusionQuery
void(* WGPUProcRenderPassEncoderBeginOcclusionQuery)(WGPURenderPassEncoder renderPassEncoder, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2239
wgpuRenderPassEncoderPushDebugGroup
WGPU_EXPORT void wgpuRenderPassEncoderPushDebugGroup(WGPURenderPassEncoder renderPassEncoder, char const *groupLabel) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreateCommandEncoder
WGPU_EXPORT WGPUCommandEncoder wgpuDeviceCreateCommandEncoder(WGPUDevice device, WGPU_NULLABLE WGPUCommandEncoderDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuTextureGetSampleCount
WGPU_EXPORT uint32_t wgpuTextureGetSampleCount(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
WGPU_STRUCTURE_ATTRIBUTE
#define WGPU_STRUCTURE_ATTRIBUTE
Definition: mini_webgpu.h:63
WGPUQueueWorkDoneCallback
void(* WGPUQueueWorkDoneCallback)(WGPUQueueWorkDoneStatus status, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:1001
WGPUProcShaderModuleRelease
void(* WGPUProcShaderModuleRelease)(WGPUShaderModule shaderModule) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2279
WGPUProcSharedTextureMemoryCreateTexture
WGPUTexture(* WGPUProcSharedTextureMemoryCreateTexture)(WGPUSharedTextureMemory sharedTextureMemory, WGPU_NULLABLE WGPUTextureDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2288
WGPUProcRenderBundleEncoderPushDebugGroup
void(* WGPUProcRenderBundleEncoderPushDebugGroup)(WGPURenderBundleEncoder renderBundleEncoder, char const *groupLabel) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2229
WGPUProcRenderPassEncoderExecuteBundles
void(* WGPUProcRenderPassEncoderExecuteBundles)(WGPURenderPassEncoder renderPassEncoder, size_t bundleCount, WGPURenderBundle const *bundles) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2246
wgpuRenderBundleSetLabel
WGPU_EXPORT void wgpuRenderBundleSetLabel(WGPURenderBundle renderBundle, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUProcShaderModuleGetCompilationInfo
void(* WGPUProcShaderModuleGetCompilationInfo)(WGPUShaderModule shaderModule, WGPUCompilationInfoCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2276
wgpuDeviceForceLoss
WGPU_EXPORT void wgpuDeviceForceLoss(WGPUDevice device, WGPUDeviceLostReason type, char const *message) WGPU_FUNCTION_ATTRIBUTE
wgpuTextureGetFormat
WGPU_EXPORT WGPUTextureFormat wgpuTextureGetFormat(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceImportSharedTextureMemory
WGPU_EXPORT WGPUSharedTextureMemory wgpuDeviceImportSharedTextureMemory(WGPUDevice device, WGPUSharedTextureMemoryDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcQuerySetReference
void(* WGPUProcQuerySetReference)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2201
wgpuRenderPassEncoderSetVertexBuffer
WGPU_EXPORT void wgpuRenderPassEncoderSetVertexBuffer(WGPURenderPassEncoder renderPassEncoder, uint32_t slot, WGPU_NULLABLE WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
wgpuExternalTextureRefresh
WGPU_EXPORT void wgpuExternalTextureRefresh(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE
wgpuBufferDestroy
WGPU_EXPORT void wgpuBufferDestroy(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
wgpuCommandEncoderPopDebugGroup
WGPU_EXPORT void wgpuCommandEncoderPopDebugGroup(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE
wgpuAdapterRequestDeviceF
WGPU_EXPORT WGPUFuture wgpuAdapterRequestDeviceF(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const *options, WGPURequestDeviceCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
wgpuSwapChainGetCurrentTexture
WGPU_EXPORT WGPUTexture wgpuSwapChainGetCurrentTexture(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE
WGPUWaitStatus
WGPUWaitStatus
Definition: mini_webgpu.h:912
WGPUWaitStatus_Force32
@ WGPUWaitStatus_Force32
Definition: mini_webgpu.h:919
WGPUWaitStatus_UnsupportedCount
@ WGPUWaitStatus_UnsupportedCount
Definition: mini_webgpu.h:916
WGPUWaitStatus_Unknown
@ WGPUWaitStatus_Unknown
Definition: mini_webgpu.h:918
WGPUWaitStatus_Success
@ WGPUWaitStatus_Success
Definition: mini_webgpu.h:913
WGPUWaitStatus_UnsupportedTimeout
@ WGPUWaitStatus_UnsupportedTimeout
Definition: mini_webgpu.h:915
WGPUWaitStatus_TimedOut
@ WGPUWaitStatus_TimedOut
Definition: mini_webgpu.h:914
WGPUWaitStatus_UnsupportedMixedSources
@ WGPUWaitStatus_UnsupportedMixedSources
Definition: mini_webgpu.h:917
wgpuDeviceSetLoggingCallback
WGPU_EXPORT void wgpuDeviceSetLoggingCallback(WGPUDevice device, WGPULoggingCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
WGPUStorageTextureAccess
WGPUStorageTextureAccess
Definition: mini_webgpu.h:704
WGPUStorageTextureAccess_Undefined
@ WGPUStorageTextureAccess_Undefined
Definition: mini_webgpu.h:705
WGPUStorageTextureAccess_ReadOnly
@ WGPUStorageTextureAccess_ReadOnly
Definition: mini_webgpu.h:707
WGPUStorageTextureAccess_WriteOnly
@ WGPUStorageTextureAccess_WriteOnly
Definition: mini_webgpu.h:706
WGPUStorageTextureAccess_Force32
@ WGPUStorageTextureAccess_Force32
Definition: mini_webgpu.h:709
WGPUStorageTextureAccess_ReadWrite
@ WGPUStorageTextureAccess_ReadWrite
Definition: mini_webgpu.h:708
WGPUProcInstanceWaitAny
WGPUWaitStatus(* WGPUProcInstanceWaitAny)(WGPUInstance instance, size_t futureCount, WGPUFutureWaitInfo *futures, uint64_t timeoutNS) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2187
WGPUPowerPreference
WGPUPowerPreference
Definition: mini_webgpu.h:550
WGPUPowerPreference_Force32
@ WGPUPowerPreference_Force32
Definition: mini_webgpu.h:554
WGPUPowerPreference_HighPerformance
@ WGPUPowerPreference_HighPerformance
Definition: mini_webgpu.h:553
WGPUPowerPreference_LowPower
@ WGPUPowerPreference_LowPower
Definition: mini_webgpu.h:552
WGPUPowerPreference_Undefined
@ WGPUPowerPreference_Undefined
Definition: mini_webgpu.h:551
WGPUProcExternalTextureDestroy
void(* WGPUProcExternalTextureDestroy)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2173
wgpuComputePassEncoderDispatchWorkgroups
WGPU_EXPORT void wgpuComputePassEncoderDispatchWorkgroups(WGPUComputePassEncoder computePassEncoder, uint32_t workgroupCountX, uint32_t workgroupCountY, uint32_t workgroupCountZ) WGPU_FUNCTION_ATTRIBUTE
WGPU_NULLABLE
#define WGPU_NULLABLE
Definition: mini_webgpu.h:69
wgpuTextureDestroy
WGPU_EXPORT void wgpuTextureDestroy(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreatePipelineLayout
WGPU_EXPORT WGPUPipelineLayout wgpuDeviceCreatePipelineLayout(WGPUDevice device, WGPUPipelineLayoutDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuCommandEncoderInjectValidationError
WGPU_EXPORT void wgpuCommandEncoderInjectValidationError(WGPUCommandEncoder commandEncoder, char const *message) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandEncoderCopyTextureToTexture
void(* WGPUProcCommandEncoderCopyTextureToTexture)(WGPUCommandEncoder commandEncoder, WGPUImageCopyTexture const *source, WGPUImageCopyTexture const *destination, WGPUExtent3D const *copySize) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2094
WGPUProcSwapChainGetCurrentTextureView
WGPUTextureView(* WGPUProcSwapChainGetCurrentTextureView)(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2303
wgpuSharedTextureMemoryCreateTexture
WGPU_EXPORT WGPUTexture wgpuSharedTextureMemoryCreateTexture(WGPUSharedTextureMemory sharedTextureMemory, WGPU_NULLABLE WGPUTextureDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreateShaderModule
WGPU_EXPORT WGPUShaderModule wgpuDeviceCreateShaderModule(WGPUDevice device, WGPUShaderModuleDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandEncoderBeginRenderPass
WGPURenderPassEncoder(* WGPUProcCommandEncoderBeginRenderPass)(WGPUCommandEncoder commandEncoder, WGPURenderPassDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2089
wgpuCommandEncoderCopyTextureToTexture
WGPU_EXPORT void wgpuCommandEncoderCopyTextureToTexture(WGPUCommandEncoder commandEncoder, WGPUImageCopyTexture const *source, WGPUImageCopyTexture const *destination, WGPUExtent3D const *copySize) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandEncoderWriteTimestamp
void(* WGPUProcCommandEncoderWriteTimestamp)(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2103
wgpuSharedTextureMemoryBeginAccess
WGPU_EXPORT WGPUBool wgpuSharedTextureMemoryBeginAccess(WGPUSharedTextureMemory sharedTextureMemory, WGPUTexture texture, WGPUSharedTextureMemoryBeginAccessDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUPresentMode
WGPUPresentMode
Definition: mini_webgpu.h:557
WGPUPresentMode_Fifo
@ WGPUPresentMode_Fifo
Definition: mini_webgpu.h:558
WGPUPresentMode_Force32
@ WGPUPresentMode_Force32
Definition: mini_webgpu.h:561
WGPUPresentMode_Immediate
@ WGPUPresentMode_Immediate
Definition: mini_webgpu.h:559
WGPUPresentMode_Mailbox
@ WGPUPresentMode_Mailbox
Definition: mini_webgpu.h:560
WGPUProcCommandEncoderCopyTextureToBuffer
void(* WGPUProcCommandEncoderCopyTextureToBuffer)(WGPUCommandEncoder commandEncoder, WGPUImageCopyTexture const *source, WGPUImageCopyBuffer const *destination, WGPUExtent3D const *copySize) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2093
WGPUCreateComputePipelineAsyncCallback
void(* WGPUCreateComputePipelineAsyncCallback)(WGPUCreatePipelineAsyncStatus status, WGPUComputePipeline pipeline, char const *message, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:993
wgpuQueueRelease
WGPU_EXPORT void wgpuQueueRelease(WGPUQueue queue) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceImportSharedTextureMemory
WGPUSharedTextureMemory(* WGPUProcDeviceImportSharedTextureMemory)(WGPUDevice device, WGPUSharedTextureMemoryDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2159
WGPUProcRenderBundleEncoderInsertDebugMarker
void(* WGPUProcRenderBundleEncoderInsertDebugMarker)(WGPURenderBundleEncoder renderBundleEncoder, char const *markerLabel) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2227
WGPUProcRenderPassEncoderSetScissorRect
void(* WGPUProcRenderPassEncoderSetScissorRect)(WGPURenderPassEncoder renderPassEncoder, uint32_t x, uint32_t y, uint32_t width, uint32_t height) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2256
WGPUProcDeviceCreateComputePipelineAsync
void(* WGPUProcDeviceCreateComputePipelineAsync)(WGPUDevice device, WGPUComputePipelineDescriptor const *descriptor, WGPUCreateComputePipelineAsyncCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2133
WGPUProcSharedFenceExportInfo
void(* WGPUProcSharedFenceExportInfo)(WGPUSharedFence sharedFence, WGPUSharedFenceExportInfo *info) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2282
WGPULoggingType
WGPULoggingType
Definition: mini_webgpu.h:535
WGPULoggingType_Verbose
@ WGPULoggingType_Verbose
Definition: mini_webgpu.h:536
WGPULoggingType_Info
@ WGPULoggingType_Info
Definition: mini_webgpu.h:537
WGPULoggingType_Error
@ WGPULoggingType_Error
Definition: mini_webgpu.h:539
WGPULoggingType_Force32
@ WGPULoggingType_Force32
Definition: mini_webgpu.h:540
WGPULoggingType_Warning
@ WGPULoggingType_Warning
Definition: mini_webgpu.h:538
wgpuQuerySetReference
WGPU_EXPORT void wgpuQuerySetReference(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderSetBindGroup
WGPU_EXPORT void wgpuRenderPassEncoderSetBindGroup(WGPURenderPassEncoder renderPassEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const *dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceInjectError
WGPU_EXPORT void wgpuDeviceInjectError(WGPUDevice device, WGPUErrorType type, char const *message) WGPU_FUNCTION_ATTRIBUTE
WGPUProcQueueRelease
void(* WGPUProcQueueRelease)(WGPUQueue queue) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2214
WGPUProcDeviceCreateBuffer
WGPUBuffer(* WGPUProcDeviceCreateBuffer)(WGPUDevice device, WGPUBufferDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2130
WGPUProcRenderPassEncoderSetPipeline
void(* WGPUProcRenderPassEncoderSetPipeline)(WGPURenderPassEncoder renderPassEncoder, WGPURenderPipeline pipeline) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2255
wgpuTextureGetUsage
WGPU_EXPORT WGPUTextureUsageFlags wgpuTextureGetUsage(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
WGPUBlendOperation
WGPUBlendOperation
Definition: mini_webgpu.h:327
WGPUBlendOperation_Undefined
@ WGPUBlendOperation_Undefined
Definition: mini_webgpu.h:328
WGPUBlendOperation_Max
@ WGPUBlendOperation_Max
Definition: mini_webgpu.h:333
WGPUBlendOperation_Subtract
@ WGPUBlendOperation_Subtract
Definition: mini_webgpu.h:330
WGPUBlendOperation_Min
@ WGPUBlendOperation_Min
Definition: mini_webgpu.h:332
WGPUBlendOperation_Add
@ WGPUBlendOperation_Add
Definition: mini_webgpu.h:329
WGPUBlendOperation_Force32
@ WGPUBlendOperation_Force32
Definition: mini_webgpu.h:334
WGPUBlendOperation_ReverseSubtract
@ WGPUBlendOperation_ReverseSubtract
Definition: mini_webgpu.h:331
WGPUProcRenderPassEncoderSetBlendConstant
void(* WGPUProcRenderPassEncoderSetBlendConstant)(WGPURenderPassEncoder renderPassEncoder, WGPUColor const *color) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2252
WGPUProcDeviceGetLimits
WGPUBool(* WGPUProcDeviceGetLimits)(WGPUDevice device, WGPUSupportedLimits *limits) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2154
WGPUProcBindGroupReference
void(* WGPUProcBindGroupReference)(WGPUBindGroup bindGroup) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2060
wgpuRenderPassEncoderDrawIndexedIndirect
WGPU_EXPORT void wgpuRenderPassEncoderDrawIndexedIndirect(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE
WGPUProcTextureReference
void(* WGPUProcTextureReference)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2321
wgpuQuerySetRelease
WGPU_EXPORT void wgpuQuerySetRelease(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE
WGPUProcBindGroupLayoutSetLabel
void(* WGPUProcBindGroupLayoutSetLabel)(WGPUBindGroupLayout bindGroupLayout, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2064
WGPULoggingCallback
void(* WGPULoggingCallback)(WGPULoggingType type, char const *message, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:999
WGPUProcSharedTextureMemoryGetProperties
void(* WGPUProcSharedTextureMemoryGetProperties)(WGPUSharedTextureMemory sharedTextureMemory, WGPUSharedTextureMemoryProperties *properties) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2290
wgpuDeviceCreateRenderPipelineAsync
WGPU_EXPORT void wgpuDeviceCreateRenderPipelineAsync(WGPUDevice device, WGPURenderPipelineDescriptor const *descriptor, WGPUCreateRenderPipelineAsyncCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
wgpuTextureSetLabel
WGPU_EXPORT void wgpuTextureSetLabel(WGPUTexture texture, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandEncoderInsertDebugMarker
void(* WGPUProcCommandEncoderInsertDebugMarker)(WGPUCommandEncoder commandEncoder, char const *markerLabel) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2097
wgpuTextureGetDepthOrArrayLayers
WGPU_EXPORT uint32_t wgpuTextureGetDepthOrArrayLayers(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreateTexture
WGPU_EXPORT WGPUTexture wgpuDeviceCreateTexture(WGPUDevice device, WGPUTextureDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandEncoderBeginComputePass
WGPUComputePassEncoder(* WGPUProcCommandEncoderBeginComputePass)(WGPUCommandEncoder commandEncoder, WGPU_NULLABLE WGPUComputePassDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2088
wgpuAdapterGetProperties
WGPU_EXPORT void wgpuAdapterGetProperties(WGPUAdapter adapter, WGPUAdapterProperties *properties) WGPU_FUNCTION_ATTRIBUTE
wgpuComputePipelineGetBindGroupLayout
WGPU_EXPORT WGPUBindGroupLayout wgpuComputePipelineGetBindGroupLayout(WGPUComputePipeline computePipeline, uint32_t groupIndex) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderEnd
WGPU_EXPORT void wgpuRenderPassEncoderEnd(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcBindGroupRelease
void(* WGPUProcBindGroupRelease)(WGPUBindGroup bindGroup) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2061
wgpuBindGroupReference
WGPU_EXPORT void wgpuBindGroupReference(WGPUBindGroup bindGroup) WGPU_FUNCTION_ATTRIBUTE
wgpuQueueSubmit
WGPU_EXPORT void wgpuQueueSubmit(WGPUQueue queue, size_t commandCount, WGPUCommandBuffer const *commands) WGPU_FUNCTION_ATTRIBUTE
wgpuQuerySetSetLabel
WGPU_EXPORT void wgpuQuerySetSetLabel(WGPUQuerySet querySet, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUQueueWorkDoneStatus
WGPUQueueWorkDoneStatus
Definition: mini_webgpu.h:580
WGPUQueueWorkDoneStatus_Unknown
@ WGPUQueueWorkDoneStatus_Unknown
Definition: mini_webgpu.h:584
WGPUQueueWorkDoneStatus_Error
@ WGPUQueueWorkDoneStatus_Error
Definition: mini_webgpu.h:583
WGPUQueueWorkDoneStatus_DeviceLost
@ WGPUQueueWorkDoneStatus_DeviceLost
Definition: mini_webgpu.h:585
WGPUQueueWorkDoneStatus_Success
@ WGPUQueueWorkDoneStatus_Success
Definition: mini_webgpu.h:581
WGPUQueueWorkDoneStatus_Force32
@ WGPUQueueWorkDoneStatus_Force32
Definition: mini_webgpu.h:586
WGPUQueueWorkDoneStatus_InstanceDropped
@ WGPUQueueWorkDoneStatus_InstanceDropped
Definition: mini_webgpu.h:582
WGPUProcTextureGetDimension
WGPUTextureDimension(* WGPUProcTextureGetDimension)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2313
wgpuRenderPassEncoderPixelLocalStorageBarrier
WGPU_EXPORT void wgpuRenderPassEncoderPixelLocalStorageBarrier(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcShaderModuleReference
void(* WGPUProcShaderModuleReference)(WGPUShaderModule shaderModule) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2278
WGPUProcQueueCopyTextureForBrowser
void(* WGPUProcQueueCopyTextureForBrowser)(WGPUQueue queue, WGPUImageCopyTexture const *source, WGPUImageCopyTexture const *destination, WGPUExtent3D const *copySize, WGPUCopyTextureForBrowserOptions const *options) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2206
WGPUProcRenderPassEncoderSetViewport
void(* WGPUProcRenderPassEncoderSetViewport)(WGPURenderPassEncoder renderPassEncoder, float x, float y, float width, float height, float minDepth, float maxDepth) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2259
wgpuRenderBundleReference
WGPU_EXPORT void wgpuRenderBundleReference(WGPURenderBundle renderBundle) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPipelineSetLabel
WGPU_EXPORT void wgpuRenderPipelineSetLabel(WGPURenderPipeline renderPipeline, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceSetLabel
void(* WGPUProcDeviceSetLabel)(WGPUDevice device, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2164
wgpuRenderPassEncoderSetStencilReference
WGPU_EXPORT void wgpuRenderPassEncoderSetStencilReference(WGPURenderPassEncoder renderPassEncoder, uint32_t reference) WGPU_FUNCTION_ATTRIBUTE
wgpuCommandBufferRelease
WGPU_EXPORT void wgpuCommandBufferRelease(WGPUCommandBuffer commandBuffer) WGPU_FUNCTION_ATTRIBUTE
WGPUProcAdapterRelease
void(* WGPUProcAdapterRelease)(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2056
wgpuTextureViewReference
WGPU_EXPORT void wgpuTextureViewReference(WGPUTextureView textureView) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreateSwapChain
WGPU_EXPORT WGPUSwapChain wgpuDeviceCreateSwapChain(WGPUDevice device, WGPUSurface surface, WGPUSwapChainDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSurfaceGetPreferredFormat
WGPUTextureFormat(* WGPUProcSurfaceGetPreferredFormat)(WGPUSurface surface, WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2297
wgpuComputePipelineRelease
WGPU_EXPORT void wgpuComputePipelineRelease(WGPUComputePipeline computePipeline) WGPU_FUNCTION_ATTRIBUTE
wgpuBufferGetMappedRange
WGPU_EXPORT void * wgpuBufferGetMappedRange(WGPUBuffer buffer, size_t offset, size_t size) WGPU_FUNCTION_ATTRIBUTE
wgpuComputePassEncoderInsertDebugMarker
WGPU_EXPORT void wgpuComputePassEncoderInsertDebugMarker(WGPUComputePassEncoder computePassEncoder, char const *markerLabel) WGPU_FUNCTION_ATTRIBUTE
WGPUProcAdapterReference
void(* WGPUProcAdapterReference)(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2055
WGPUProcTextureViewReference
void(* WGPUProcTextureViewReference)(WGPUTextureView textureView) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2326
wgpuBufferSetLabel
WGPU_EXPORT void wgpuBufferSetLabel(WGPUBuffer buffer, char const *label) WGPU_FUNCTION_ATTRIBUTE
wgpuQueueReference
WGPU_EXPORT void wgpuQueueReference(WGPUQueue queue) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceSetDeviceLostCallback
void(* WGPUProcDeviceSetDeviceLostCallback)(WGPUDevice device, WGPUDeviceLostCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2163
WGPUProcInstanceHasWGSLLanguageFeature
WGPUBool(* WGPUProcInstanceHasWGSLLanguageFeature)(WGPUInstance instance, WGPUWGSLFeatureName feature) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2183
WGPUProcQueueCopyExternalTextureForBrowser
void(* WGPUProcQueueCopyExternalTextureForBrowser)(WGPUQueue queue, WGPUImageCopyExternalTexture const *source, WGPUImageCopyTexture const *destination, WGPUExtent3D const *copySize, WGPUCopyTextureForBrowserOptions const *options) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2205
WGPUProcTextureRelease
void(* WGPUProcTextureRelease)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2322
wgpuRenderPassEncoderBeginOcclusionQuery
WGPU_EXPORT void wgpuRenderPassEncoderBeginOcclusionQuery(WGPURenderPassEncoder renderPassEncoder, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE
WGPUProcBufferMapAsync
void(* WGPUProcBufferMapAsync)(WGPUBuffer buffer, WGPUMapModeFlags mode, size_t offset, size_t size, WGPUBufferMapCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2075
WGPURequestAdapterCallback
void(* WGPURequestAdapterCallback)(WGPURequestAdapterStatus status, WGPUAdapter adapter, char const *message, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:1002
WGPUProcDeviceCreatePipelineLayout
WGPUPipelineLayout(* WGPUProcDeviceCreatePipelineLayout)(WGPUDevice device, WGPUPipelineLayoutDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2140
wgpuSwapChainReference
WGPU_EXPORT void wgpuSwapChainReference(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSharedTextureMemoryBeginAccess
WGPUBool(* WGPUProcSharedTextureMemoryBeginAccess)(WGPUSharedTextureMemory sharedTextureMemory, WGPUTexture texture, WGPUSharedTextureMemoryBeginAccessDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2287
WGPUProcExternalTextureExpire
void(* WGPUProcExternalTextureExpire)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2174
WGPUProcInstanceCreateSurface
WGPUSurface(* WGPUProcInstanceCreateSurface)(WGPUInstance instance, WGPUSurfaceDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2181
wgpuRenderBundleEncoderSetIndexBuffer
WGPU_EXPORT void wgpuRenderBundleEncoderSetIndexBuffer(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
WGPUProcQueueOnSubmittedWorkDone
void(* WGPUProcQueueOnSubmittedWorkDone)(WGPUQueue queue, WGPUQueueWorkDoneCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2207
wgpuTextureViewSetLabel
WGPU_EXPORT void wgpuTextureViewSetLabel(WGPUTextureView textureView, char const *label) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderSetScissorRect
WGPU_EXPORT void wgpuRenderPassEncoderSetScissorRect(WGPURenderPassEncoder renderPassEncoder, uint32_t x, uint32_t y, uint32_t width, uint32_t height) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderBundleEncoderSetIndexBuffer
void(* WGPUProcRenderBundleEncoderSetIndexBuffer)(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2231
WGPUProcTextureGetMipLevelCount
uint32_t(* WGPUProcTextureGetMipLevelCount)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2316
WGPUProcExternalTextureSetLabel
void(* WGPUProcExternalTextureSetLabel)(WGPUExternalTexture externalTexture, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2176
wgpuComputePassEncoderPopDebugGroup
WGPU_EXPORT void wgpuComputePassEncoderPopDebugGroup(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcComputePipelineReference
void(* WGPUProcComputePipelineReference)(WGPUComputePipeline computePipeline) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2124
WGPUProcAdapterCreateDevice
WGPUDevice(* WGPUProcAdapterCreateDevice)(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2047
WGPUProcComputePipelineGetBindGroupLayout
WGPUBindGroupLayout(* WGPUProcComputePipelineGetBindGroupLayout)(WGPUComputePipeline computePipeline, uint32_t groupIndex) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2122
wgpuBufferGetUsage
WGPU_EXPORT WGPUBufferUsageFlags wgpuBufferGetUsage(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
WGPUVertexStepMode
WGPUVertexStepMode
Definition: mini_webgpu.h:904
WGPUVertexStepMode_Undefined
@ WGPUVertexStepMode_Undefined
Definition: mini_webgpu.h:905
WGPUVertexStepMode_VertexBufferNotUsed
@ WGPUVertexStepMode_VertexBufferNotUsed
Definition: mini_webgpu.h:906
WGPUVertexStepMode_Instance
@ WGPUVertexStepMode_Instance
Definition: mini_webgpu.h:908
WGPUVertexStepMode_Vertex
@ WGPUVertexStepMode_Vertex
Definition: mini_webgpu.h:907
WGPUVertexStepMode_Force32
@ WGPUVertexStepMode_Force32
Definition: mini_webgpu.h:909
wgpuDeviceSetLabel
WGPU_EXPORT void wgpuDeviceSetLabel(WGPUDevice device, char const *label) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceEnumerateFeatures
WGPU_EXPORT size_t wgpuDeviceEnumerateFeatures(WGPUDevice device, WGPUFeatureName *features) WGPU_FUNCTION_ATTRIBUTE
wgpuSharedTextureMemorySetLabel
WGPU_EXPORT void wgpuSharedTextureMemorySetLabel(WGPUSharedTextureMemory sharedTextureMemory, char const *label) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceDestroy
WGPU_EXPORT void wgpuDeviceDestroy(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
WGPUQueryType
WGPUQueryType
Definition: mini_webgpu.h:574
WGPUQueryType_Occlusion
@ WGPUQueryType_Occlusion
Definition: mini_webgpu.h:575
WGPUQueryType_Timestamp
@ WGPUQueryType_Timestamp
Definition: mini_webgpu.h:576
WGPUQueryType_Force32
@ WGPUQueryType_Force32
Definition: mini_webgpu.h:577
wgpuBufferUnmap
WGPU_EXPORT void wgpuBufferUnmap(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceInjectError
void(* WGPUProcDeviceInjectError)(WGPUDevice device, WGPUErrorType type, char const *message) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2160
wgpuDeviceCreateSampler
WGPU_EXPORT WGPUSampler wgpuDeviceCreateSampler(WGPUDevice device, WGPU_NULLABLE WGPUSamplerDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderDrawIndexed
void(* WGPUProcRenderPassEncoderDrawIndexed)(WGPURenderPassEncoder renderPassEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2241
wgpuTextureRelease
WGPU_EXPORT void wgpuTextureRelease(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreateExternalTexture
WGPU_EXPORT WGPUExternalTexture wgpuDeviceCreateExternalTexture(WGPUDevice device, WGPUExternalTextureDescriptor const *externalTextureDescriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuCommandEncoderResolveQuerySet
WGPU_EXPORT void wgpuCommandEncoderResolveQuerySet(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t firstQuery, uint32_t queryCount, WGPUBuffer destination, uint64_t destinationOffset) WGPU_FUNCTION_ATTRIBUTE
WGPUHeapProperty
WGPUHeapProperty
Definition: mini_webgpu.h:949
WGPUHeapProperty_DeviceLocal
@ WGPUHeapProperty_DeviceLocal
Definition: mini_webgpu.h:951
WGPUHeapProperty_HostCoherent
@ WGPUHeapProperty_HostCoherent
Definition: mini_webgpu.h:953
WGPUHeapProperty_Undefined
@ WGPUHeapProperty_Undefined
Definition: mini_webgpu.h:950
WGPUHeapProperty_HostCached
@ WGPUHeapProperty_HostCached
Definition: mini_webgpu.h:955
WGPUHeapProperty_HostVisible
@ WGPUHeapProperty_HostVisible
Definition: mini_webgpu.h:952
WGPUHeapProperty_Force32
@ WGPUHeapProperty_Force32
Definition: mini_webgpu.h:956
WGPUHeapProperty_HostUncached
@ WGPUHeapProperty_HostUncached
Definition: mini_webgpu.h:954
wgpuAdapterPropertiesMemoryHeapsFreeMembers
WGPU_EXPORT void wgpuAdapterPropertiesMemoryHeapsFreeMembers(WGPUAdapterPropertiesMemoryHeaps value) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSwapChainPresent
void(* WGPUProcSwapChainPresent)(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2304
wgpuDeviceCreateRenderPipeline
WGPU_EXPORT WGPURenderPipeline wgpuDeviceCreateRenderPipeline(WGPUDevice device, WGPURenderPipelineDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
wgpuExternalTextureSetLabel
WGPU_EXPORT void wgpuExternalTextureSetLabel(WGPUExternalTexture externalTexture, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUProcGetInstanceFeatures
WGPUBool(* WGPUProcGetInstanceFeatures)(WGPUInstanceFeatures *features) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2042
wgpuDeviceCreateBindGroup
WGPU_EXPORT WGPUBindGroup wgpuDeviceCreateBindGroup(WGPUDevice device, WGPUBindGroupDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUAdapterType
WGPUAdapterType
Definition: mini_webgpu.h:269
WGPUAdapterType_CPU
@ WGPUAdapterType_CPU
Definition: mini_webgpu.h:272
WGPUAdapterType_DiscreteGPU
@ WGPUAdapterType_DiscreteGPU
Definition: mini_webgpu.h:270
WGPUAdapterType_IntegratedGPU
@ WGPUAdapterType_IntegratedGPU
Definition: mini_webgpu.h:271
WGPUAdapterType_Unknown
@ WGPUAdapterType_Unknown
Definition: mini_webgpu.h:273
WGPUAdapterType_Force32
@ WGPUAdapterType_Force32
Definition: mini_webgpu.h:274
wgpuQueueOnSubmittedWorkDoneF
WGPU_EXPORT WGPUFuture wgpuQueueOnSubmittedWorkDoneF(WGPUQueue queue, WGPUQueueWorkDoneCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceImportSharedFence
WGPUSharedFence(* WGPUProcDeviceImportSharedFence)(WGPUDevice device, WGPUSharedFenceDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2158
WGPUProcInstanceRequestAdapter
void(* WGPUProcInstanceRequestAdapter)(WGPUInstance instance, WGPU_NULLABLE WGPURequestAdapterOptions const *options, WGPURequestAdapterCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2185
wgpuCommandEncoderReference
WGPU_EXPORT void wgpuCommandEncoderReference(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceCreateComputePipeline
WGPUComputePipeline(* WGPUProcDeviceCreateComputePipeline)(WGPUDevice device, WGPUComputePipelineDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2132
WGPUProcDeviceSetLoggingCallback
void(* WGPUProcDeviceSetLoggingCallback)(WGPUDevice device, WGPULoggingCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2165
wgpuSharedFenceExportInfo
WGPU_EXPORT void wgpuSharedFenceExportInfo(WGPUSharedFence sharedFence, WGPUSharedFenceExportInfo *info) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderEnd
void(* WGPUProcRenderPassEncoderEnd)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2244
WGPUProcDeviceCreateComputePipelineAsyncF
WGPUFuture(* WGPUProcDeviceCreateComputePipelineAsyncF)(WGPUDevice device, WGPUComputePipelineDescriptor const *descriptor, WGPUCreateComputePipelineAsyncCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2134
wgpuDeviceReference
WGPU_EXPORT void wgpuDeviceReference(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
WGPUCompilationInfoRequestStatus
WGPUCompilationInfoRequestStatus
Definition: mini_webgpu.h:386
WGPUCompilationInfoRequestStatus_Force32
@ WGPUCompilationInfoRequestStatus_Force32
Definition: mini_webgpu.h:392
WGPUCompilationInfoRequestStatus_Success
@ WGPUCompilationInfoRequestStatus_Success
Definition: mini_webgpu.h:387
WGPUCompilationInfoRequestStatus_Error
@ WGPUCompilationInfoRequestStatus_Error
Definition: mini_webgpu.h:389
WGPUCompilationInfoRequestStatus_DeviceLost
@ WGPUCompilationInfoRequestStatus_DeviceLost
Definition: mini_webgpu.h:390
WGPUCompilationInfoRequestStatus_InstanceDropped
@ WGPUCompilationInfoRequestStatus_InstanceDropped
Definition: mini_webgpu.h:388
WGPUCompilationInfoRequestStatus_Unknown
@ WGPUCompilationInfoRequestStatus_Unknown
Definition: mini_webgpu.h:391
WGPUProcBufferSetLabel
void(* WGPUProcBufferSetLabel)(WGPUBuffer buffer, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2077
wgpuInstanceRequestAdapter
WGPU_EXPORT void wgpuInstanceRequestAdapter(WGPUInstance instance, WGPU_NULLABLE WGPURequestAdapterOptions const *options, WGPURequestAdapterCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
wgpuGetProcAddress
WGPU_EXPORT WGPUProc wgpuGetProcAddress(WGPU_NULLABLE WGPUDevice device, char const *procName) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSurfaceReference
void(* WGPUProcSurfaceReference)(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2298
wgpuAdapterHasFeature
WGPU_EXPORT WGPUBool wgpuAdapterHasFeature(WGPUAdapter adapter, WGPUFeatureName feature) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderInsertDebugMarker
WGPU_EXPORT void wgpuRenderPassEncoderInsertDebugMarker(WGPURenderPassEncoder renderPassEncoder, char const *markerLabel) WGPU_FUNCTION_ATTRIBUTE
WGPUMipmapFilterMode
WGPUMipmapFilterMode
Definition: mini_webgpu.h:543
WGPUMipmapFilterMode_Undefined
@ WGPUMipmapFilterMode_Undefined
Definition: mini_webgpu.h:544
WGPUMipmapFilterMode_Linear
@ WGPUMipmapFilterMode_Linear
Definition: mini_webgpu.h:546
WGPUMipmapFilterMode_Force32
@ WGPUMipmapFilterMode_Force32
Definition: mini_webgpu.h:547
WGPUMipmapFilterMode_Nearest
@ WGPUMipmapFilterMode_Nearest
Definition: mini_webgpu.h:545
wgpuAdapterPropertiesFreeMembers
WGPU_EXPORT void wgpuAdapterPropertiesFreeMembers(WGPUAdapterProperties value) WGPU_FUNCTION_ATTRIBUTE
WGPUProcTextureViewRelease
void(* WGPUProcTextureViewRelease)(WGPUTextureView textureView) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2327
WGPUProcDeviceCreateSwapChain
WGPUSwapChain(* WGPUProcDeviceCreateSwapChain)(WGPUDevice device, WGPUSurface surface, WGPUSwapChainDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2148
wgpuDeviceCreateQuerySet
WGPU_EXPORT WGPUQuerySet wgpuDeviceCreateQuerySet(WGPUDevice device, WGPUQuerySetDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderDrawIndexedIndirect
void(* WGPUProcRenderPassEncoderDrawIndexedIndirect)(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2242
WGPUProcCommandEncoderCopyBufferToTexture
void(* WGPUProcCommandEncoderCopyBufferToTexture)(WGPUCommandEncoder commandEncoder, WGPUImageCopyBuffer const *source, WGPUImageCopyTexture const *destination, WGPUExtent3D const *copySize) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2092
wgpuComputePassEncoderDispatchWorkgroupsIndirect
WGPU_EXPORT void wgpuComputePassEncoderDispatchWorkgroupsIndirect(WGPUComputePassEncoder computePassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE
wgpuBindGroupSetLabel
WGPU_EXPORT void wgpuBindGroupSetLabel(WGPUBindGroup bindGroup, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUExternalTextureRotation
WGPUExternalTextureRotation
Definition: mini_webgpu.h:444
WGPUExternalTextureRotation_Rotate180Degrees
@ WGPUExternalTextureRotation_Rotate180Degrees
Definition: mini_webgpu.h:447
WGPUExternalTextureRotation_Force32
@ WGPUExternalTextureRotation_Force32
Definition: mini_webgpu.h:449
WGPUExternalTextureRotation_Rotate270Degrees
@ WGPUExternalTextureRotation_Rotate270Degrees
Definition: mini_webgpu.h:448
WGPUExternalTextureRotation_Rotate0Degrees
@ WGPUExternalTextureRotation_Rotate0Degrees
Definition: mini_webgpu.h:445
WGPUExternalTextureRotation_Rotate90Degrees
@ WGPUExternalTextureRotation_Rotate90Degrees
Definition: mini_webgpu.h:446
wgpuRenderPassEncoderPopDebugGroup
WGPU_EXPORT void wgpuRenderPassEncoderPopDebugGroup(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcQuerySetGetCount
uint32_t(* WGPUProcQuerySetGetCount)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2198
wgpuQueueCopyExternalTextureForBrowser
WGPU_EXPORT void wgpuQueueCopyExternalTextureForBrowser(WGPUQueue queue, WGPUImageCopyExternalTexture const *source, WGPUImageCopyTexture const *destination, WGPUExtent3D const *copySize, WGPUCopyTextureForBrowserOptions const *options) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceGetAdapter
WGPU_EXPORT WGPUAdapter wgpuDeviceGetAdapter(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderReference
void(* WGPUProcRenderPassEncoderReference)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2261
WGPUProcRenderPassEncoderSetLabel
void(* WGPUProcRenderPassEncoderSetLabel)(WGPURenderPassEncoder renderPassEncoder, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2254
wgpuPipelineLayoutReference
WGPU_EXPORT void wgpuPipelineLayoutReference(WGPUPipelineLayout pipelineLayout) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderPopDebugGroup
void(* WGPUProcRenderPassEncoderPopDebugGroup)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2249
WGPUProcRenderPassEncoderPushDebugGroup
void(* WGPUProcRenderPassEncoderPushDebugGroup)(WGPURenderPassEncoder renderPassEncoder, char const *groupLabel) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2250
wgpuInstanceProcessEvents
WGPU_EXPORT void wgpuInstanceProcessEvents(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE
wgpuInstanceWaitAny
WGPU_EXPORT WGPUWaitStatus wgpuInstanceWaitAny(WGPUInstance instance, size_t futureCount, WGPUFutureWaitInfo *futures, uint64_t timeoutNS) WGPU_FUNCTION_ATTRIBUTE
wgpuSwapChainGetCurrentTextureView
WGPU_EXPORT WGPUTextureView wgpuSwapChainGetCurrentTextureView(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderBundleEncoderPopDebugGroup
WGPU_EXPORT void wgpuRenderBundleEncoderPopDebugGroup(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE
WGPUProcPipelineLayoutRelease
void(* WGPUProcPipelineLayoutRelease)(WGPUPipelineLayout pipelineLayout) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2194
wgpuRenderPipelineGetBindGroupLayout
WGPU_EXPORT WGPUBindGroupLayout wgpuRenderPipelineGetBindGroupLayout(WGPURenderPipeline renderPipeline, uint32_t groupIndex) WGPU_FUNCTION_ATTRIBUTE
wgpuSharedFenceReference
WGPU_EXPORT void wgpuSharedFenceReference(WGPUSharedFence sharedFence) WGPU_FUNCTION_ATTRIBUTE
WGPUBufferMapCallback
void(* WGPUBufferMapCallback)(WGPUBufferMapAsyncStatus status, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:990
WGPUProcTextureGetFormat
WGPUTextureFormat(* WGPUProcTextureGetFormat)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2314
WGPUProcAdapterHasFeature
WGPUBool(* WGPUProcAdapterHasFeature)(WGPUAdapter adapter, WGPUFeatureName feature) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2052
wgpuBufferRelease
WGPU_EXPORT void wgpuBufferRelease(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
wgpuRenderPassEncoderSetIndexBuffer
WGPU_EXPORT void wgpuRenderPassEncoderSetIndexBuffer(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
wgpuInstanceRequestAdapterF
WGPU_EXPORT WGPUFuture wgpuInstanceRequestAdapterF(WGPUInstance instance, WGPU_NULLABLE WGPURequestAdapterOptions const *options, WGPURequestAdapterCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
WGPUBufferMapAsyncStatus
WGPUBufferMapAsyncStatus
Definition: mini_webgpu.h:345
WGPUBufferMapAsyncStatus_OffsetOutOfRange
@ WGPUBufferMapAsyncStatus_OffsetOutOfRange
Definition: mini_webgpu.h:354
WGPUBufferMapAsyncStatus_DestroyedBeforeCallback
@ WGPUBufferMapAsyncStatus_DestroyedBeforeCallback
Definition: mini_webgpu.h:351
WGPUBufferMapAsyncStatus_SizeOutOfRange
@ WGPUBufferMapAsyncStatus_SizeOutOfRange
Definition: mini_webgpu.h:355
WGPUBufferMapAsyncStatus_ValidationError
@ WGPUBufferMapAsyncStatus_ValidationError
Definition: mini_webgpu.h:348
WGPUBufferMapAsyncStatus_Success
@ WGPUBufferMapAsyncStatus_Success
Definition: mini_webgpu.h:346
WGPUBufferMapAsyncStatus_UnmappedBeforeCallback
@ WGPUBufferMapAsyncStatus_UnmappedBeforeCallback
Definition: mini_webgpu.h:352
WGPUBufferMapAsyncStatus_MappingAlreadyPending
@ WGPUBufferMapAsyncStatus_MappingAlreadyPending
Definition: mini_webgpu.h:353
WGPUBufferMapAsyncStatus_Force32
@ WGPUBufferMapAsyncStatus_Force32
Definition: mini_webgpu.h:356
WGPUBufferMapAsyncStatus_DeviceLost
@ WGPUBufferMapAsyncStatus_DeviceLost
Definition: mini_webgpu.h:350
WGPUBufferMapAsyncStatus_InstanceDropped
@ WGPUBufferMapAsyncStatus_InstanceDropped
Definition: mini_webgpu.h:347
WGPUBufferMapAsyncStatus_Unknown
@ WGPUBufferMapAsyncStatus_Unknown
Definition: mini_webgpu.h:349
wgpuAdapterGetLimits
WGPU_EXPORT WGPUBool wgpuAdapterGetLimits(WGPUAdapter adapter, WGPUSupportedLimits *limits) WGPU_FUNCTION_ATTRIBUTE
wgpuTextureGetMipLevelCount
WGPU_EXPORT uint32_t wgpuTextureGetMipLevelCount(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE
WGPUCreateRenderPipelineAsyncCallback
void(* WGPUCreateRenderPipelineAsyncCallback)(WGPUCreatePipelineAsyncStatus status, WGPURenderPipeline pipeline, char const *message, void *userdata) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:994
wgpuRenderBundleEncoderInsertDebugMarker
WGPU_EXPORT void wgpuRenderBundleEncoderInsertDebugMarker(WGPURenderBundleEncoder renderBundleEncoder, char const *markerLabel) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreateBindGroupLayout
WGPU_EXPORT WGPUBindGroupLayout wgpuDeviceCreateBindGroupLayout(WGPUDevice device, WGPUBindGroupLayoutDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUSharedFenceType
WGPUSharedFenceType
Definition: mini_webgpu.h:681
WGPUSharedFenceType_MTLSharedEvent
@ WGPUSharedFenceType_MTLSharedEvent
Definition: mini_webgpu.h:687
WGPUSharedFenceType_Force32
@ WGPUSharedFenceType_Force32
Definition: mini_webgpu.h:688
WGPUSharedFenceType_Undefined
@ WGPUSharedFenceType_Undefined
Definition: mini_webgpu.h:682
WGPUSharedFenceType_VkSemaphoreOpaqueFD
@ WGPUSharedFenceType_VkSemaphoreOpaqueFD
Definition: mini_webgpu.h:683
WGPUSharedFenceType_VkSemaphoreZirconHandle
@ WGPUSharedFenceType_VkSemaphoreZirconHandle
Definition: mini_webgpu.h:685
WGPUSharedFenceType_VkSemaphoreSyncFD
@ WGPUSharedFenceType_VkSemaphoreSyncFD
Definition: mini_webgpu.h:684
WGPUSharedFenceType_DXGISharedHandle
@ WGPUSharedFenceType_DXGISharedHandle
Definition: mini_webgpu.h:686
wgpuComputePassEncoderSetLabel
WGPU_EXPORT void wgpuComputePassEncoderSetLabel(WGPUComputePassEncoder computePassEncoder, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUProcAdapterPropertiesMemoryHeapsFreeMembers
void(* WGPUProcAdapterPropertiesMemoryHeapsFreeMembers)(WGPUAdapterPropertiesMemoryHeaps value) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2040
WGPUProcComputePassEncoderReference
void(* WGPUProcComputePassEncoderReference)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2118
wgpuBufferGetConstMappedRange
WGPU_EXPORT void const * wgpuBufferGetConstMappedRange(WGPUBuffer buffer, size_t offset, size_t size) WGPU_FUNCTION_ATTRIBUTE
WGPUProcSwapChainGetCurrentTexture
WGPUTexture(* WGPUProcSwapChainGetCurrentTexture)(WGPUSwapChain swapChain) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2302
WGPUFrontFace
WGPUFrontFace
Definition: mini_webgpu.h:514
WGPUFrontFace_CW
@ WGPUFrontFace_CW
Definition: mini_webgpu.h:517
WGPUFrontFace_Undefined
@ WGPUFrontFace_Undefined
Definition: mini_webgpu.h:515
WGPUFrontFace_CCW
@ WGPUFrontFace_CCW
Definition: mini_webgpu.h:516
WGPUFrontFace_Force32
@ WGPUFrontFace_Force32
Definition: mini_webgpu.h:518
WGPUProcComputePassEncoderPopDebugGroup
void(* WGPUProcComputePassEncoderPopDebugGroup)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2112
WGPUProcRenderBundleEncoderSetLabel
void(* WGPUProcRenderBundleEncoderSetLabel)(WGPURenderBundleEncoder renderBundleEncoder, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2232
WGPUProcBufferRelease
void(* WGPUProcBufferRelease)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2080
WGPUProcComputePassEncoderInsertDebugMarker
void(* WGPUProcComputePassEncoderInsertDebugMarker)(WGPUComputePassEncoder computePassEncoder, char const *markerLabel) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2111
WGPUProcDeviceCreateTexture
WGPUTexture(* WGPUProcDeviceCreateTexture)(WGPUDevice device, WGPUTextureDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2149
WGPUStoreOp
WGPUStoreOp
Definition: mini_webgpu.h:712
WGPUStoreOp_Discard
@ WGPUStoreOp_Discard
Definition: mini_webgpu.h:715
WGPUStoreOp_Force32
@ WGPUStoreOp_Force32
Definition: mini_webgpu.h:716
WGPUStoreOp_Store
@ WGPUStoreOp_Store
Definition: mini_webgpu.h:714
WGPUStoreOp_Undefined
@ WGPUStoreOp_Undefined
Definition: mini_webgpu.h:713
WGPUErrorFilter
WGPUErrorFilter
Definition: mini_webgpu.h:427
WGPUErrorFilter_Internal
@ WGPUErrorFilter_Internal
Definition: mini_webgpu.h:430
WGPUErrorFilter_Force32
@ WGPUErrorFilter_Force32
Definition: mini_webgpu.h:431
WGPUErrorFilter_OutOfMemory
@ WGPUErrorFilter_OutOfMemory
Definition: mini_webgpu.h:429
WGPUErrorFilter_Validation
@ WGPUErrorFilter_Validation
Definition: mini_webgpu.h:428
WGPUProcComputePassEncoderPushDebugGroup
void(* WGPUProcComputePassEncoderPushDebugGroup)(WGPUComputePassEncoder computePassEncoder, char const *groupLabel) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2113
WGPUProcDeviceTick
void(* WGPUProcDeviceTick)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2167
WGPUProcRenderPipelineSetLabel
void(* WGPUProcRenderPipelineSetLabel)(WGPURenderPipeline renderPipeline, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2266
wgpuSharedFenceRelease
WGPU_EXPORT void wgpuSharedFenceRelease(WGPUSharedFence sharedFence) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceGetQueue
WGPU_EXPORT WGPUQueue wgpuDeviceGetQueue(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE
WGPUProcExternalTextureRefresh
void(* WGPUProcExternalTextureRefresh)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2175
wgpuDeviceSetDeviceLostCallback
WGPU_EXPORT void wgpuDeviceSetDeviceLostCallback(WGPUDevice device, WGPUDeviceLostCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
wgpuQuerySetDestroy
WGPU_EXPORT void wgpuQuerySetDestroy(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE
WGPUFlags
uint32_t WGPUFlags
Definition: mini_webgpu.h:86
wgpuSharedTextureMemoryGetProperties
WGPU_EXPORT void wgpuSharedTextureMemoryGetProperties(WGPUSharedTextureMemory sharedTextureMemory, WGPUSharedTextureMemoryProperties *properties) WGPU_FUNCTION_ATTRIBUTE
wgpuSurfaceRelease
WGPU_EXPORT void wgpuSurfaceRelease(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceCreateRenderPipeline
WGPURenderPipeline(* WGPUProcDeviceCreateRenderPipeline)(WGPUDevice device, WGPURenderPipelineDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2143
WGPUProcInstanceEnumerateWGSLLanguageFeatures
size_t(* WGPUProcInstanceEnumerateWGSLLanguageFeatures)(WGPUInstance instance, WGPUWGSLFeatureName *features) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2182
wgpuRenderBundleEncoderPushDebugGroup
WGPU_EXPORT void wgpuRenderBundleEncoderPushDebugGroup(WGPURenderBundleEncoder renderBundleEncoder, char const *groupLabel) WGPU_FUNCTION_ATTRIBUTE
WGPUProcBufferReference
void(* WGPUProcBufferReference)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2079
WGPUProcTextureViewSetLabel
void(* WGPUProcTextureViewSetLabel)(WGPUTextureView textureView, char const *label) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2325
wgpuShaderModuleSetLabel
WGPU_EXPORT void wgpuShaderModuleSetLabel(WGPUShaderModule shaderModule, char const *label) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderBundleEncoderFinish
WGPURenderBundle(* WGPUProcRenderBundleEncoderFinish)(WGPURenderBundleEncoder renderBundleEncoder, WGPU_NULLABLE WGPURenderBundleDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2226
wgpuCommandEncoderWriteBuffer
WGPU_EXPORT void wgpuCommandEncoderWriteBuffer(WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t bufferOffset, uint8_t const *data, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
wgpuDeviceCreateComputePipelineAsyncF
WGPU_EXPORT WGPUFuture wgpuDeviceCreateComputePipelineAsyncF(WGPUDevice device, WGPUComputePipelineDescriptor const *descriptor, WGPUCreateComputePipelineAsyncCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE
WGPUProcCommandEncoderPushDebugGroup
void(* WGPUProcCommandEncoderPushDebugGroup)(WGPUCommandEncoder commandEncoder, char const *groupLabel) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2099
wgpuAdapterGetInstance
WGPU_EXPORT WGPUInstance wgpuAdapterGetInstance(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderSetIndexBuffer
void(* WGPUProcRenderPassEncoderSetIndexBuffer)(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2253
WGPUProcDeviceCreateBindGroup
WGPUBindGroup(* WGPUProcDeviceCreateBindGroup)(WGPUDevice device, WGPUBindGroupDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2128
WGPUCallbackMode
WGPUCallbackMode
Definition: mini_webgpu.h:366
WGPUCallbackMode_AllowProcessEvents
@ WGPUCallbackMode_AllowProcessEvents
Definition: mini_webgpu.h:368
WGPUCallbackMode_AllowSpontaneous
@ WGPUCallbackMode_AllowSpontaneous
Definition: mini_webgpu.h:369
WGPUCallbackMode_WaitAnyOnly
@ WGPUCallbackMode_WaitAnyOnly
Definition: mini_webgpu.h:367
WGPUCallbackMode_Force32
@ WGPUCallbackMode_Force32
Definition: mini_webgpu.h:370
wgpuRenderPassEncoderDraw
WGPU_EXPORT void wgpuRenderPassEncoderDraw(WGPURenderPassEncoder renderPassEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE
WGPUProcGetProcAddress
WGPUProc(* WGPUProcGetProcAddress)(WGPUDevice device, char const *procName) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2043
WGPUTextureSampleType
WGPUTextureSampleType
Definition: mini_webgpu.h:847
WGPUTextureSampleType_Float
@ WGPUTextureSampleType_Float
Definition: mini_webgpu.h:849
WGPUTextureSampleType_Sint
@ WGPUTextureSampleType_Sint
Definition: mini_webgpu.h:852
WGPUTextureSampleType_Undefined
@ WGPUTextureSampleType_Undefined
Definition: mini_webgpu.h:848
WGPUTextureSampleType_Force32
@ WGPUTextureSampleType_Force32
Definition: mini_webgpu.h:854
WGPUTextureSampleType_Uint
@ WGPUTextureSampleType_Uint
Definition: mini_webgpu.h:853
WGPUTextureSampleType_Depth
@ WGPUTextureSampleType_Depth
Definition: mini_webgpu.h:851
WGPUTextureSampleType_UnfilterableFloat
@ WGPUTextureSampleType_UnfilterableFloat
Definition: mini_webgpu.h:850
wgpuDeviceCreateComputePipelineAsync
WGPU_EXPORT void wgpuDeviceCreateComputePipelineAsync(WGPUDevice device, WGPUComputePipelineDescriptor const *descriptor, WGPUCreateComputePipelineAsyncCallback callback, void *userdata) WGPU_FUNCTION_ATTRIBUTE
wgpuSharedTextureMemoryEndAccess
WGPU_EXPORT WGPUBool wgpuSharedTextureMemoryEndAccess(WGPUSharedTextureMemory sharedTextureMemory, WGPUTexture texture, WGPUSharedTextureMemoryEndAccessState *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcRenderPassEncoderSetVertexBuffer
void(* WGPUProcRenderPassEncoderSetVertexBuffer)(WGPURenderPassEncoder renderPassEncoder, uint32_t slot, WGPU_NULLABLE WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2258
WGPUProcAdapterGetInstance
WGPUInstance(* WGPUProcAdapterGetInstance)(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2049
WGPUColorWriteMask
WGPUColorWriteMask
Definition: mini_webgpu.h:938
WGPUColorWriteMask_Red
@ WGPUColorWriteMask_Red
Definition: mini_webgpu.h:940
WGPUColorWriteMask_Green
@ WGPUColorWriteMask_Green
Definition: mini_webgpu.h:941
WGPUColorWriteMask_None
@ WGPUColorWriteMask_None
Definition: mini_webgpu.h:939
WGPUColorWriteMask_Force32
@ WGPUColorWriteMask_Force32
Definition: mini_webgpu.h:945
WGPUColorWriteMask_All
@ WGPUColorWriteMask_All
Definition: mini_webgpu.h:944
WGPUColorWriteMask_Blue
@ WGPUColorWriteMask_Blue
Definition: mini_webgpu.h:942
WGPUColorWriteMask_Alpha
@ WGPUColorWriteMask_Alpha
Definition: mini_webgpu.h:943
WGPUProcRenderBundleEncoderSetVertexBuffer
void(* WGPUProcRenderBundleEncoderSetVertexBuffer)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t slot, WGPU_NULLABLE WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2234
WGPUProcDeviceCreateRenderBundleEncoder
WGPURenderBundleEncoder(* WGPUProcDeviceCreateRenderBundleEncoder)(WGPUDevice device, WGPURenderBundleEncoderDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2142
wgpuCommandEncoderBeginComputePass
WGPU_EXPORT WGPUComputePassEncoder wgpuCommandEncoderBeginComputePass(WGPUCommandEncoder commandEncoder, WGPU_NULLABLE WGPUComputePassDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceCreateExternalTexture
WGPUExternalTexture(* WGPUProcDeviceCreateExternalTexture)(WGPUDevice device, WGPUExternalTextureDescriptor const *externalTextureDescriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2139
WGPUProcCommandEncoderCopyBufferToBuffer
void(* WGPUProcCommandEncoderCopyBufferToBuffer)(WGPUCommandEncoder commandEncoder, WGPUBuffer source, uint64_t sourceOffset, WGPUBuffer destination, uint64_t destinationOffset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2091
WGPUProcCommandEncoderResolveQuerySet
void(* WGPUProcCommandEncoderResolveQuerySet)(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t firstQuery, uint32_t queryCount, WGPUBuffer destination, uint64_t destinationOffset) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2100
WGPUProcRenderPipelineGetBindGroupLayout
WGPUBindGroupLayout(* WGPUProcRenderPipelineGetBindGroupLayout)(WGPURenderPipeline renderPipeline, uint32_t groupIndex) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2265
wgpuCommandEncoderInsertDebugMarker
WGPU_EXPORT void wgpuCommandEncoderInsertDebugMarker(WGPUCommandEncoder commandEncoder, char const *markerLabel) WGPU_FUNCTION_ATTRIBUTE
WGPUErrorType
WGPUErrorType
Definition: mini_webgpu.h:434
WGPUErrorType_NoError
@ WGPUErrorType_NoError
Definition: mini_webgpu.h:435
WGPUErrorType_DeviceLost
@ WGPUErrorType_DeviceLost
Definition: mini_webgpu.h:440
WGPUErrorType_OutOfMemory
@ WGPUErrorType_OutOfMemory
Definition: mini_webgpu.h:437
WGPUErrorType_Unknown
@ WGPUErrorType_Unknown
Definition: mini_webgpu.h:439
WGPUErrorType_Validation
@ WGPUErrorType_Validation
Definition: mini_webgpu.h:436
WGPUErrorType_Force32
@ WGPUErrorType_Force32
Definition: mini_webgpu.h:441
WGPUErrorType_Internal
@ WGPUErrorType_Internal
Definition: mini_webgpu.h:438
wgpuAdapterRelease
WGPU_EXPORT void wgpuAdapterRelease(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE
WGPUProcDeviceCreateErrorBuffer
WGPUBuffer(* WGPUProcDeviceCreateErrorBuffer)(WGPUDevice device, WGPUBufferDescriptor const *descriptor) WGPU_FUNCTION_ATTRIBUTE
Definition: mini_webgpu.h:2135
uint64_t
unsigned __INT64_TYPE__ uint64_t
Definition: runtime_internal.h:23
int32_t
signed __INT32_TYPE__ int32_t
Definition: runtime_internal.h:24
uint8_t
unsigned __INT8_TYPE__ uint8_t
Definition: runtime_internal.h:29
uint16_t
unsigned __INT16_TYPE__ uint16_t
Definition: runtime_internal.h:27
size_t
__SIZE_TYPE__ size_t
Definition: runtime_internal.h:31
uint32_t
unsigned __INT32_TYPE__ uint32_t
Definition: runtime_internal.h:25
WGPUAdapterPropertiesD3D
Definition: mini_webgpu.h:1029
WGPUAdapterPropertiesD3D::chain
WGPUChainedStructOut chain
Definition: mini_webgpu.h:1030
WGPUAdapterPropertiesD3D::shaderModel
uint32_t shaderModel
Definition: mini_webgpu.h:1031
WGPUAdapterProperties
Definition: mini_webgpu.h:1015
WGPUAdapterProperties::deviceID
uint32_t deviceID
Definition: mini_webgpu.h:1020
WGPUAdapterProperties::backendType
WGPUBackendType backendType
Definition: mini_webgpu.h:1024
WGPUAdapterProperties::nextInChain
WGPUChainedStructOut * nextInChain
Definition: mini_webgpu.h:1016
WGPUAdapterProperties::vendorID
uint32_t vendorID
Definition: mini_webgpu.h:1017
WGPUAdapterProperties::driverDescription
char const * driverDescription
Definition: mini_webgpu.h:1022
WGPUAdapterProperties::architecture
char const * architecture
Definition: mini_webgpu.h:1019
WGPUAdapterProperties::vendorName
char const * vendorName
Definition: mini_webgpu.h:1018
WGPUAdapterProperties::compatibilityMode
WGPUBool compatibilityMode
Definition: mini_webgpu.h:1025
WGPUAdapterProperties::adapterType
WGPUAdapterType adapterType
Definition: mini_webgpu.h:1023
WGPUAdapterProperties::name
char const * name
Definition: mini_webgpu.h:1021
WGPUAdapterPropertiesMemoryHeaps
Definition: mini_webgpu.h:1759
WGPUAdapterPropertiesMemoryHeaps::chain
WGPUChainedStructOut chain
Definition: mini_webgpu.h:1760
WGPUAdapterPropertiesMemoryHeaps::heapCount
size_t heapCount
Definition: mini_webgpu.h:1761
WGPUAdapterPropertiesMemoryHeaps::heapInfo
WGPUMemoryHeapInfo const * heapInfo
Definition: mini_webgpu.h:1762
WGPUBindGroupDescriptor
Definition: mini_webgpu.h:1765
WGPUBindGroupDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1766
WGPUBindGroupDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1767
WGPUBindGroupDescriptor::entryCount
size_t entryCount
Definition: mini_webgpu.h:1769
WGPUBindGroupDescriptor::layout
WGPUBindGroupLayout layout
Definition: mini_webgpu.h:1768
WGPUBindGroupDescriptor::entries
WGPUBindGroupEntry const * entries
Definition: mini_webgpu.h:1770
WGPUBindGroupEntry
Definition: mini_webgpu.h:1034
WGPUBindGroupEntry::buffer
WGPU_NULLABLE WGPUBuffer buffer
Definition: mini_webgpu.h:1037
WGPUBindGroupEntry::offset
uint64_t offset
Definition: mini_webgpu.h:1038
WGPUBindGroupEntry::size
uint64_t size
Definition: mini_webgpu.h:1039
WGPUBindGroupEntry::sampler
WGPU_NULLABLE WGPUSampler sampler
Definition: mini_webgpu.h:1040
WGPUBindGroupEntry::textureView
WGPU_NULLABLE WGPUTextureView textureView
Definition: mini_webgpu.h:1041
WGPUBindGroupEntry::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1035
WGPUBindGroupEntry::binding
uint32_t binding
Definition: mini_webgpu.h:1036
WGPUBindGroupLayoutDescriptor
Definition: mini_webgpu.h:1952
WGPUBindGroupLayoutDescriptor::entries
WGPUBindGroupLayoutEntry const * entries
Definition: mini_webgpu.h:1956
WGPUBindGroupLayoutDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1954
WGPUBindGroupLayoutDescriptor::entryCount
size_t entryCount
Definition: mini_webgpu.h:1955
WGPUBindGroupLayoutDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1953
WGPUBindGroupLayoutEntry
Definition: mini_webgpu.h:1773
WGPUBindGroupLayoutEntry::texture
WGPUTextureBindingLayout texture
Definition: mini_webgpu.h:1779
WGPUBindGroupLayoutEntry::buffer
WGPUBufferBindingLayout buffer
Definition: mini_webgpu.h:1777
WGPUBindGroupLayoutEntry::binding
uint32_t binding
Definition: mini_webgpu.h:1775
WGPUBindGroupLayoutEntry::visibility
WGPUShaderStageFlags visibility
Definition: mini_webgpu.h:1776
WGPUBindGroupLayoutEntry::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1774
WGPUBindGroupLayoutEntry::storageTexture
WGPUStorageTextureBindingLayout storageTexture
Definition: mini_webgpu.h:1780
WGPUBindGroupLayoutEntry::sampler
WGPUSamplerBindingLayout sampler
Definition: mini_webgpu.h:1778
WGPUBlendComponent
Definition: mini_webgpu.h:1044
WGPUBlendComponent::dstFactor
WGPUBlendFactor dstFactor
Definition: mini_webgpu.h:1047
WGPUBlendComponent::srcFactor
WGPUBlendFactor srcFactor
Definition: mini_webgpu.h:1046
WGPUBlendComponent::operation
WGPUBlendOperation operation
Definition: mini_webgpu.h:1045
WGPUBlendState
Definition: mini_webgpu.h:1783
WGPUBlendState::alpha
WGPUBlendComponent alpha
Definition: mini_webgpu.h:1785
WGPUBlendState::color
WGPUBlendComponent color
Definition: mini_webgpu.h:1784
WGPUBufferBindingLayout
Definition: mini_webgpu.h:1050
WGPUBufferBindingLayout::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1051
WGPUBufferBindingLayout::minBindingSize
uint64_t minBindingSize
Definition: mini_webgpu.h:1054
WGPUBufferBindingLayout::type
WGPUBufferBindingType type
Definition: mini_webgpu.h:1052
WGPUBufferBindingLayout::hasDynamicOffset
WGPUBool hasDynamicOffset
Definition: mini_webgpu.h:1053
WGPUBufferDescriptor
Definition: mini_webgpu.h:1057
WGPUBufferDescriptor::mappedAtCreation
WGPUBool mappedAtCreation
Definition: mini_webgpu.h:1062
WGPUBufferDescriptor::size
uint64_t size
Definition: mini_webgpu.h:1061
WGPUBufferDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1058
WGPUBufferDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1059
WGPUBufferDescriptor::usage
WGPUBufferUsageFlags usage
Definition: mini_webgpu.h:1060
WGPUBufferHostMappedPointer
Definition: mini_webgpu.h:1066
WGPUBufferHostMappedPointer::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1067
WGPUBufferHostMappedPointer::disposeCallback
WGPUCallback disposeCallback
Definition: mini_webgpu.h:1069
WGPUBufferHostMappedPointer::pointer
void * pointer
Definition: mini_webgpu.h:1068
WGPUBufferHostMappedPointer::userdata
void * userdata
Definition: mini_webgpu.h:1070
WGPUBufferMapCallbackInfo
Definition: mini_webgpu.h:1073
WGPUBufferMapCallbackInfo::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1074
WGPUBufferMapCallbackInfo::callback
WGPUBufferMapCallback callback
Definition: mini_webgpu.h:1076
WGPUBufferMapCallbackInfo::mode
WGPUCallbackMode mode
Definition: mini_webgpu.h:1075
WGPUBufferMapCallbackInfo::userdata
void * userdata
Definition: mini_webgpu.h:1077
WGPUChainedStruct
Definition: mini_webgpu.h:1005
WGPUChainedStruct::sType
WGPUSType sType
Definition: mini_webgpu.h:1007
WGPUChainedStruct::next
struct WGPUChainedStruct const * next
Definition: mini_webgpu.h:1006
WGPUChainedStructOut
Definition: mini_webgpu.h:1010
WGPUChainedStructOut::sType
WGPUSType sType
Definition: mini_webgpu.h:1012
WGPUChainedStructOut::next
struct WGPUChainedStructOut * next
Definition: mini_webgpu.h:1011
WGPUColor
Definition: mini_webgpu.h:1080
WGPUColor::a
double a
Definition: mini_webgpu.h:1084
WGPUColor::b
double b
Definition: mini_webgpu.h:1083
WGPUColor::r
double r
Definition: mini_webgpu.h:1081
WGPUColor::g
double g
Definition: mini_webgpu.h:1082
WGPUColorTargetState
Definition: mini_webgpu.h:1959
WGPUColorTargetState::writeMask
WGPUColorWriteMaskFlags writeMask
Definition: mini_webgpu.h:1963
WGPUColorTargetState::format
WGPUTextureFormat format
Definition: mini_webgpu.h:1961
WGPUColorTargetState::blend
WGPU_NULLABLE WGPUBlendState const * blend
Definition: mini_webgpu.h:1962
WGPUColorTargetState::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1960
WGPUCommandBufferDescriptor
Definition: mini_webgpu.h:1087
WGPUCommandBufferDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1088
WGPUCommandBufferDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1089
WGPUCommandEncoderDescriptor
Definition: mini_webgpu.h:1092
WGPUCommandEncoderDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1093
WGPUCommandEncoderDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1094
WGPUCompilationInfo
Definition: mini_webgpu.h:1788
WGPUCompilationInfo::messageCount
size_t messageCount
Definition: mini_webgpu.h:1790
WGPUCompilationInfo::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1789
WGPUCompilationInfo::messages
WGPUCompilationMessage const * messages
Definition: mini_webgpu.h:1791
WGPUCompilationMessage
Definition: mini_webgpu.h:1097
WGPUCompilationMessage::utf16Length
uint64_t utf16Length
Definition: mini_webgpu.h:1107
WGPUCompilationMessage::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1098
WGPUCompilationMessage::message
WGPU_NULLABLE char const * message
Definition: mini_webgpu.h:1099
WGPUCompilationMessage::lineNum
uint64_t lineNum
Definition: mini_webgpu.h:1101
WGPUCompilationMessage::linePos
uint64_t linePos
Definition: mini_webgpu.h:1102
WGPUCompilationMessage::utf16LinePos
uint64_t utf16LinePos
Definition: mini_webgpu.h:1105
WGPUCompilationMessage::offset
uint64_t offset
Definition: mini_webgpu.h:1103
WGPUCompilationMessage::type
WGPUCompilationMessageType type
Definition: mini_webgpu.h:1100
WGPUCompilationMessage::utf16Offset
uint64_t utf16Offset
Definition: mini_webgpu.h:1106
WGPUCompilationMessage::length
uint64_t length
Definition: mini_webgpu.h:1104
WGPUComputePassDescriptor
Definition: mini_webgpu.h:1794
WGPUComputePassDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1796
WGPUComputePassDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1795
WGPUComputePassDescriptor::timestampWrites
WGPU_NULLABLE WGPUComputePassTimestampWrites const * timestampWrites
Definition: mini_webgpu.h:1797
WGPUComputePassTimestampWrites
Definition: mini_webgpu.h:1110
WGPUComputePassTimestampWrites::endOfPassWriteIndex
uint32_t endOfPassWriteIndex
Definition: mini_webgpu.h:1113
WGPUComputePassTimestampWrites::querySet
WGPUQuerySet querySet
Definition: mini_webgpu.h:1111
WGPUComputePassTimestampWrites::beginningOfPassWriteIndex
uint32_t beginningOfPassWriteIndex
Definition: mini_webgpu.h:1112
WGPUComputePipelineDescriptor
Definition: mini_webgpu.h:1966
WGPUComputePipelineDescriptor::compute
WGPUProgrammableStageDescriptor compute
Definition: mini_webgpu.h:1970
WGPUComputePipelineDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1967
WGPUComputePipelineDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1968
WGPUComputePipelineDescriptor::layout
WGPU_NULLABLE WGPUPipelineLayout layout
Definition: mini_webgpu.h:1969
WGPUConstantEntry
Definition: mini_webgpu.h:1116
WGPUConstantEntry::value
double value
Definition: mini_webgpu.h:1119
WGPUConstantEntry::key
char const * key
Definition: mini_webgpu.h:1118
WGPUConstantEntry::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1117
WGPUCopyTextureForBrowserOptions
Definition: mini_webgpu.h:1122
WGPUCopyTextureForBrowserOptions::needsColorSpaceConversion
WGPUBool needsColorSpaceConversion
Definition: mini_webgpu.h:1125
WGPUCopyTextureForBrowserOptions::srcTransferFunctionParameters
WGPU_NULLABLE float const * srcTransferFunctionParameters
Definition: mini_webgpu.h:1127
WGPUCopyTextureForBrowserOptions::dstAlphaMode
WGPUAlphaMode dstAlphaMode
Definition: mini_webgpu.h:1130
WGPUCopyTextureForBrowserOptions::internalUsage
WGPUBool internalUsage
Definition: mini_webgpu.h:1131
WGPUCopyTextureForBrowserOptions::flipY
WGPUBool flipY
Definition: mini_webgpu.h:1124
WGPUCopyTextureForBrowserOptions::dstTransferFunctionParameters
WGPU_NULLABLE float const * dstTransferFunctionParameters
Definition: mini_webgpu.h:1129
WGPUCopyTextureForBrowserOptions::srcAlphaMode
WGPUAlphaMode srcAlphaMode
Definition: mini_webgpu.h:1126
WGPUCopyTextureForBrowserOptions::conversionMatrix
WGPU_NULLABLE float const * conversionMatrix
Definition: mini_webgpu.h:1128
WGPUCopyTextureForBrowserOptions::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1123
WGPUCreateComputePipelineAsyncCallbackInfo
Definition: mini_webgpu.h:1134
WGPUCreateComputePipelineAsyncCallbackInfo::userdata
void * userdata
Definition: mini_webgpu.h:1138
WGPUCreateComputePipelineAsyncCallbackInfo::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1135
WGPUCreateComputePipelineAsyncCallbackInfo::callback
WGPUCreateComputePipelineAsyncCallback callback
Definition: mini_webgpu.h:1137
WGPUCreateComputePipelineAsyncCallbackInfo::mode
WGPUCallbackMode mode
Definition: mini_webgpu.h:1136
WGPUCreateRenderPipelineAsyncCallbackInfo
Definition: mini_webgpu.h:1141
WGPUCreateRenderPipelineAsyncCallbackInfo::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1142
WGPUCreateRenderPipelineAsyncCallbackInfo::userdata
void * userdata
Definition: mini_webgpu.h:1145
WGPUCreateRenderPipelineAsyncCallbackInfo::callback
WGPUCreateRenderPipelineAsyncCallback callback
Definition: mini_webgpu.h:1144
WGPUCreateRenderPipelineAsyncCallbackInfo::mode
WGPUCallbackMode mode
Definition: mini_webgpu.h:1143
WGPUDawnAdapterPropertiesPowerPreference
Definition: mini_webgpu.h:1156
WGPUDawnAdapterPropertiesPowerPreference::powerPreference
WGPUPowerPreference powerPreference
Definition: mini_webgpu.h:1158
WGPUDawnAdapterPropertiesPowerPreference::chain
WGPUChainedStructOut chain
Definition: mini_webgpu.h:1157
WGPUDawnBufferDescriptorErrorInfoFromWireClient
Definition: mini_webgpu.h:1162
WGPUDawnBufferDescriptorErrorInfoFromWireClient::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1163
WGPUDawnBufferDescriptorErrorInfoFromWireClient::outOfMemory
WGPUBool outOfMemory
Definition: mini_webgpu.h:1164
WGPUDawnCacheDeviceDescriptor
Definition: mini_webgpu.h:1168
WGPUDawnCacheDeviceDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1169
WGPUDawnCacheDeviceDescriptor::isolationKey
char const * isolationKey
Definition: mini_webgpu.h:1170
WGPUDawnCacheDeviceDescriptor::functionUserdata
void * functionUserdata
Definition: mini_webgpu.h:1173
WGPUDawnCacheDeviceDescriptor::loadDataFunction
WGPUDawnLoadCacheDataFunction loadDataFunction
Definition: mini_webgpu.h:1171
WGPUDawnCacheDeviceDescriptor::storeDataFunction
WGPUDawnStoreCacheDataFunction storeDataFunction
Definition: mini_webgpu.h:1172
WGPUDawnComputePipelineFullSubgroups
Definition: mini_webgpu.h:1177
WGPUDawnComputePipelineFullSubgroups::requiresFullSubgroups
WGPUBool requiresFullSubgroups
Definition: mini_webgpu.h:1179
WGPUDawnComputePipelineFullSubgroups::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1178
WGPUDawnEncoderInternalUsageDescriptor
Definition: mini_webgpu.h:1183
WGPUDawnEncoderInternalUsageDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1184
WGPUDawnEncoderInternalUsageDescriptor::useInternalUsages
WGPUBool useInternalUsages
Definition: mini_webgpu.h:1185
WGPUDawnExperimentalSubgroupLimits
Definition: mini_webgpu.h:1189
WGPUDawnExperimentalSubgroupLimits::minSubgroupSize
uint32_t minSubgroupSize
Definition: mini_webgpu.h:1191
WGPUDawnExperimentalSubgroupLimits::maxSubgroupSize
uint32_t maxSubgroupSize
Definition: mini_webgpu.h:1192
WGPUDawnExperimentalSubgroupLimits::chain
WGPUChainedStructOut chain
Definition: mini_webgpu.h:1190
WGPUDawnMultisampleStateRenderToSingleSampled
Definition: mini_webgpu.h:1196
WGPUDawnMultisampleStateRenderToSingleSampled::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1197
WGPUDawnMultisampleStateRenderToSingleSampled::enabled
WGPUBool enabled
Definition: mini_webgpu.h:1198
WGPUDawnRenderPassColorAttachmentRenderToSingleSampled
Definition: mini_webgpu.h:1202
WGPUDawnRenderPassColorAttachmentRenderToSingleSampled::implicitSampleCount
uint32_t implicitSampleCount
Definition: mini_webgpu.h:1204
WGPUDawnRenderPassColorAttachmentRenderToSingleSampled::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1203
WGPUDawnShaderModuleSPIRVOptionsDescriptor
Definition: mini_webgpu.h:1208
WGPUDawnShaderModuleSPIRVOptionsDescriptor::allowNonUniformDerivatives
WGPUBool allowNonUniformDerivatives
Definition: mini_webgpu.h:1210
WGPUDawnShaderModuleSPIRVOptionsDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1209
WGPUDawnTextureInternalUsageDescriptor
Definition: mini_webgpu.h:1214
WGPUDawnTextureInternalUsageDescriptor::internalUsage
WGPUTextureUsageFlags internalUsage
Definition: mini_webgpu.h:1216
WGPUDawnTextureInternalUsageDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1215
WGPUDawnTogglesDescriptor
Definition: mini_webgpu.h:1222
WGPUDawnTogglesDescriptor::enabledToggleCount
size_t enabledToggleCount
Definition: mini_webgpu.h:1224
WGPUDawnTogglesDescriptor::enabledToggles
const char *const * enabledToggles
Definition: mini_webgpu.h:1225
WGPUDawnTogglesDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1223
WGPUDawnTogglesDescriptor::disabledToggleCount
size_t disabledToggleCount
Definition: mini_webgpu.h:1226
WGPUDawnTogglesDescriptor::disabledToggles
const char *const * disabledToggles
Definition: mini_webgpu.h:1227
WGPUDawnWGSLBlocklist
Definition: mini_webgpu.h:1149
WGPUDawnWGSLBlocklist::blocklistedFeatureCount
size_t blocklistedFeatureCount
Definition: mini_webgpu.h:1151
WGPUDawnWGSLBlocklist::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1150
WGPUDawnWGSLBlocklist::blocklistedFeatures
const char *const * blocklistedFeatures
Definition: mini_webgpu.h:1152
WGPUDawnWireWGSLControl
Definition: mini_webgpu.h:1231
WGPUDawnWireWGSLControl::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1232
WGPUDawnWireWGSLControl::enableUnsafe
WGPUBool enableUnsafe
Definition: mini_webgpu.h:1234
WGPUDawnWireWGSLControl::enableExperimental
WGPUBool enableExperimental
Definition: mini_webgpu.h:1233
WGPUDawnWireWGSLControl::enableTesting
WGPUBool enableTesting
Definition: mini_webgpu.h:1235
WGPUDepthStencilStateDepthWriteDefinedDawn
Definition: mini_webgpu.h:1239
WGPUDepthStencilStateDepthWriteDefinedDawn::depthWriteDefined
WGPUBool depthWriteDefined
Definition: mini_webgpu.h:1241
WGPUDepthStencilStateDepthWriteDefinedDawn::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1240
WGPUDepthStencilState
Definition: mini_webgpu.h:1800
WGPUDepthStencilState::stencilFront
WGPUStencilFaceState stencilFront
Definition: mini_webgpu.h:1805
WGPUDepthStencilState::depthBiasClamp
float depthBiasClamp
Definition: mini_webgpu.h:1811
WGPUDepthStencilState::stencilWriteMask
uint32_t stencilWriteMask
Definition: mini_webgpu.h:1808
WGPUDepthStencilState::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1801
WGPUDepthStencilState::stencilBack
WGPUStencilFaceState stencilBack
Definition: mini_webgpu.h:1806
WGPUDepthStencilState::depthWriteEnabled
WGPUBool depthWriteEnabled
Definition: mini_webgpu.h:1803
WGPUDepthStencilState::depthCompare
WGPUCompareFunction depthCompare
Definition: mini_webgpu.h:1804
WGPUDepthStencilState::depthBias
int32_t depthBias
Definition: mini_webgpu.h:1809
WGPUDepthStencilState::stencilReadMask
uint32_t stencilReadMask
Definition: mini_webgpu.h:1807
WGPUDepthStencilState::format
WGPUTextureFormat format
Definition: mini_webgpu.h:1802
WGPUDepthStencilState::depthBiasSlopeScale
float depthBiasSlopeScale
Definition: mini_webgpu.h:1810
WGPUDeviceDescriptor
Definition: mini_webgpu.h:1973
WGPUDeviceDescriptor::deviceLostUserdata
void * deviceLostUserdata
Definition: mini_webgpu.h:1981
WGPUDeviceDescriptor::requiredFeatureCount
size_t requiredFeatureCount
Definition: mini_webgpu.h:1976
WGPUDeviceDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1974
WGPUDeviceDescriptor::requiredFeatures
WGPUFeatureName const * requiredFeatures
Definition: mini_webgpu.h:1977
WGPUDeviceDescriptor::defaultQueue
WGPUQueueDescriptor defaultQueue
Definition: mini_webgpu.h:1979
WGPUDeviceDescriptor::requiredLimits
WGPU_NULLABLE WGPURequiredLimits const * requiredLimits
Definition: mini_webgpu.h:1978
WGPUDeviceDescriptor::deviceLostCallback
WGPUDeviceLostCallback deviceLostCallback
Definition: mini_webgpu.h:1980
WGPUDeviceDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1975
WGPUExtent2D
Definition: mini_webgpu.h:1244
WGPUExtent2D::width
uint32_t width
Definition: mini_webgpu.h:1245
WGPUExtent2D::height
uint32_t height
Definition: mini_webgpu.h:1246
WGPUExtent3D
Definition: mini_webgpu.h:1249
WGPUExtent3D::width
uint32_t width
Definition: mini_webgpu.h:1250
WGPUExtent3D::depthOrArrayLayers
uint32_t depthOrArrayLayers
Definition: mini_webgpu.h:1252
WGPUExtent3D::height
uint32_t height
Definition: mini_webgpu.h:1251
WGPUExternalTextureBindingEntry
Definition: mini_webgpu.h:1256
WGPUExternalTextureBindingEntry::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1257
WGPUExternalTextureBindingEntry::externalTexture
WGPUExternalTexture externalTexture
Definition: mini_webgpu.h:1258
WGPUExternalTextureBindingLayout
Definition: mini_webgpu.h:1262
WGPUExternalTextureBindingLayout::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1263
WGPUExternalTextureDescriptor
Definition: mini_webgpu.h:1814
WGPUExternalTextureDescriptor::dstTransferFunctionParameters
float const * dstTransferFunctionParameters
Definition: mini_webgpu.h:1824
WGPUExternalTextureDescriptor::yuvToRgbConversionMatrix
WGPU_NULLABLE float const * yuvToRgbConversionMatrix
Definition: mini_webgpu.h:1822
WGPUExternalTextureDescriptor::visibleSize
WGPUExtent2D visibleSize
Definition: mini_webgpu.h:1820
WGPUExternalTextureDescriptor::gamutConversionMatrix
float const * gamutConversionMatrix
Definition: mini_webgpu.h:1825
WGPUExternalTextureDescriptor::srcTransferFunctionParameters
float const * srcTransferFunctionParameters
Definition: mini_webgpu.h:1823
WGPUExternalTextureDescriptor::plane1
WGPU_NULLABLE WGPUTextureView plane1
Definition: mini_webgpu.h:1818
WGPUExternalTextureDescriptor::plane0
WGPUTextureView plane0
Definition: mini_webgpu.h:1817
WGPUExternalTextureDescriptor::mirrored
WGPUBool mirrored
Definition: mini_webgpu.h:1827
WGPUExternalTextureDescriptor::doYuvToRgbConversionOnly
WGPUBool doYuvToRgbConversionOnly
Definition: mini_webgpu.h:1821
WGPUExternalTextureDescriptor::rotation
WGPUExternalTextureRotation rotation
Definition: mini_webgpu.h:1828
WGPUExternalTextureDescriptor::visibleOrigin
WGPUOrigin2D visibleOrigin
Definition: mini_webgpu.h:1819
WGPUExternalTextureDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1816
WGPUExternalTextureDescriptor::flipY
WGPUBool flipY
Definition: mini_webgpu.h:1826
WGPUExternalTextureDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1815
WGPUFragmentState
Definition: mini_webgpu.h:2012
WGPUFragmentState::module
WGPUShaderModule module
Definition: mini_webgpu.h:2014
WGPUFragmentState::constantCount
size_t constantCount
Definition: mini_webgpu.h:2016
WGPUFragmentState::entryPoint
WGPU_NULLABLE char const * entryPoint
Definition: mini_webgpu.h:2015
WGPUFragmentState::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:2013
WGPUFragmentState::targetCount
size_t targetCount
Definition: mini_webgpu.h:2018
WGPUFragmentState::constants
WGPUConstantEntry const * constants
Definition: mini_webgpu.h:2017
WGPUFragmentState::targets
WGPUColorTargetState const * targets
Definition: mini_webgpu.h:2019
WGPUFuture
Definition: mini_webgpu.h:1266
WGPUFuture::id
uint64_t id
Definition: mini_webgpu.h:1267
WGPUFutureWaitInfo
Definition: mini_webgpu.h:1831
WGPUFutureWaitInfo::future
WGPUFuture future
Definition: mini_webgpu.h:1832
WGPUFutureWaitInfo::completed
WGPUBool completed
Definition: mini_webgpu.h:1833
WGPUImageCopyBuffer
Definition: mini_webgpu.h:1836
WGPUImageCopyBuffer::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1837
WGPUImageCopyBuffer::buffer
WGPUBuffer buffer
Definition: mini_webgpu.h:1839
WGPUImageCopyBuffer::layout
WGPUTextureDataLayout layout
Definition: mini_webgpu.h:1838
WGPUImageCopyExternalTexture
Definition: mini_webgpu.h:1842
WGPUImageCopyExternalTexture::naturalSize
WGPUExtent2D naturalSize
Definition: mini_webgpu.h:1846
WGPUImageCopyExternalTexture::externalTexture
WGPUExternalTexture externalTexture
Definition: mini_webgpu.h:1844
WGPUImageCopyExternalTexture::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1843
WGPUImageCopyExternalTexture::origin
WGPUOrigin3D origin
Definition: mini_webgpu.h:1845
WGPUImageCopyTexture
Definition: mini_webgpu.h:1849
WGPUImageCopyTexture::mipLevel
uint32_t mipLevel
Definition: mini_webgpu.h:1852
WGPUImageCopyTexture::origin
WGPUOrigin3D origin
Definition: mini_webgpu.h:1853
WGPUImageCopyTexture::texture
WGPUTexture texture
Definition: mini_webgpu.h:1851
WGPUImageCopyTexture::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1850
WGPUImageCopyTexture::aspect
WGPUTextureAspect aspect
Definition: mini_webgpu.h:1854
WGPUInstanceDescriptor
Definition: mini_webgpu.h:1857
WGPUInstanceDescriptor::features
WGPUInstanceFeatures features
Definition: mini_webgpu.h:1859
WGPUInstanceDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1858
WGPUInstanceFeatures
Definition: mini_webgpu.h:1270
WGPUInstanceFeatures::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1271
WGPUInstanceFeatures::timedWaitAnyEnable
WGPUBool timedWaitAnyEnable
Definition: mini_webgpu.h:1272
WGPUInstanceFeatures::timedWaitAnyMaxCount
size_t timedWaitAnyMaxCount
Definition: mini_webgpu.h:1273
WGPULimits
Definition: mini_webgpu.h:1276
WGPULimits::maxBindGroupsPlusVertexBuffers
uint32_t maxBindGroupsPlusVertexBuffers
Definition: mini_webgpu.h:1282
WGPULimits::maxColorAttachmentBytesPerSample
uint32_t maxColorAttachmentBytesPerSample
Definition: mini_webgpu.h:1302
WGPULimits::maxTextureDimension2D
uint32_t maxTextureDimension2D
Definition: mini_webgpu.h:1278
WGPULimits::maxSampledTexturesPerShaderStage
uint32_t maxSampledTexturesPerShaderStage
Definition: mini_webgpu.h:1286
WGPULimits::maxTextureDimension3D
uint32_t maxTextureDimension3D
Definition: mini_webgpu.h:1279
WGPULimits::maxSamplersPerShaderStage
uint32_t maxSamplersPerShaderStage
Definition: mini_webgpu.h:1287
WGPULimits::maxBindingsPerBindGroup
uint32_t maxBindingsPerBindGroup
Definition: mini_webgpu.h:1283
WGPULimits::maxComputeWorkgroupsPerDimension
uint32_t maxComputeWorkgroupsPerDimension
Definition: mini_webgpu.h:1308
WGPULimits::maxDynamicStorageBuffersPerPipelineLayout
uint32_t maxDynamicStorageBuffersPerPipelineLayout
Definition: mini_webgpu.h:1285
WGPULimits::maxInterStageShaderComponents
uint32_t maxInterStageShaderComponents
Definition: mini_webgpu.h:1299
WGPULimits::maxComputeWorkgroupStorageSize
uint32_t maxComputeWorkgroupStorageSize
Definition: mini_webgpu.h:1303
WGPULimits::minStorageBufferOffsetAlignment
uint32_t minStorageBufferOffsetAlignment
Definition: mini_webgpu.h:1294
WGPULimits::maxComputeWorkgroupSizeY
uint32_t maxComputeWorkgroupSizeY
Definition: mini_webgpu.h:1306
WGPULimits::maxStorageBufferBindingSize
uint64_t maxStorageBufferBindingSize
Definition: mini_webgpu.h:1292
WGPULimits::maxComputeInvocationsPerWorkgroup
uint32_t maxComputeInvocationsPerWorkgroup
Definition: mini_webgpu.h:1304
WGPULimits::maxVertexBufferArrayStride
uint32_t maxVertexBufferArrayStride
Definition: mini_webgpu.h:1298
WGPULimits::minUniformBufferOffsetAlignment
uint32_t minUniformBufferOffsetAlignment
Definition: mini_webgpu.h:1293
WGPULimits::maxVertexAttributes
uint32_t maxVertexAttributes
Definition: mini_webgpu.h:1297
WGPULimits::maxColorAttachments
uint32_t maxColorAttachments
Definition: mini_webgpu.h:1301
WGPULimits::maxInterStageShaderVariables
uint32_t maxInterStageShaderVariables
Definition: mini_webgpu.h:1300
WGPULimits::maxComputeWorkgroupSizeZ
uint32_t maxComputeWorkgroupSizeZ
Definition: mini_webgpu.h:1307
WGPULimits::maxTextureDimension1D
uint32_t maxTextureDimension1D
Definition: mini_webgpu.h:1277
WGPULimits::maxDynamicUniformBuffersPerPipelineLayout
uint32_t maxDynamicUniformBuffersPerPipelineLayout
Definition: mini_webgpu.h:1284
WGPULimits::maxUniformBufferBindingSize
uint64_t maxUniformBufferBindingSize
Definition: mini_webgpu.h:1291
WGPULimits::maxBufferSize
uint64_t maxBufferSize
Definition: mini_webgpu.h:1296
WGPULimits::maxUniformBuffersPerShaderStage
uint32_t maxUniformBuffersPerShaderStage
Definition: mini_webgpu.h:1290
WGPULimits::maxComputeWorkgroupSizeX
uint32_t maxComputeWorkgroupSizeX
Definition: mini_webgpu.h:1305
WGPULimits::maxVertexBuffers
uint32_t maxVertexBuffers
Definition: mini_webgpu.h:1295
WGPULimits::maxTextureArrayLayers
uint32_t maxTextureArrayLayers
Definition: mini_webgpu.h:1280
WGPULimits::maxStorageTexturesPerShaderStage
uint32_t maxStorageTexturesPerShaderStage
Definition: mini_webgpu.h:1289
WGPULimits::maxStorageBuffersPerShaderStage
uint32_t maxStorageBuffersPerShaderStage
Definition: mini_webgpu.h:1288
WGPULimits::maxBindGroups
uint32_t maxBindGroups
Definition: mini_webgpu.h:1281
WGPUMemoryHeapInfo
Definition: mini_webgpu.h:1311
WGPUMemoryHeapInfo::size
uint64_t size
Definition: mini_webgpu.h:1313
WGPUMemoryHeapInfo::properties
WGPUHeapPropertyFlags properties
Definition: mini_webgpu.h:1312
WGPUMultisampleState
Definition: mini_webgpu.h:1316
WGPUMultisampleState::alphaToCoverageEnabled
WGPUBool alphaToCoverageEnabled
Definition: mini_webgpu.h:1320
WGPUMultisampleState::count
uint32_t count
Definition: mini_webgpu.h:1318
WGPUMultisampleState::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1317
WGPUMultisampleState::mask
uint32_t mask
Definition: mini_webgpu.h:1319
WGPUOrigin2D
Definition: mini_webgpu.h:1323
WGPUOrigin2D::x
uint32_t x
Definition: mini_webgpu.h:1324
WGPUOrigin2D::y
uint32_t y
Definition: mini_webgpu.h:1325
WGPUOrigin3D
Definition: mini_webgpu.h:1328
WGPUOrigin3D::y
uint32_t y
Definition: mini_webgpu.h:1330
WGPUOrigin3D::z
uint32_t z
Definition: mini_webgpu.h:1331
WGPUOrigin3D::x
uint32_t x
Definition: mini_webgpu.h:1329
WGPUPipelineLayoutDescriptor
Definition: mini_webgpu.h:1334
WGPUPipelineLayoutDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1335
WGPUPipelineLayoutDescriptor::bindGroupLayouts
WGPUBindGroupLayout const * bindGroupLayouts
Definition: mini_webgpu.h:1338
WGPUPipelineLayoutDescriptor::bindGroupLayoutCount
size_t bindGroupLayoutCount
Definition: mini_webgpu.h:1337
WGPUPipelineLayoutDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1336
WGPUPipelineLayoutPixelLocalStorage
Definition: mini_webgpu.h:1863
WGPUPipelineLayoutPixelLocalStorage::storageAttachments
WGPUPipelineLayoutStorageAttachment const * storageAttachments
Definition: mini_webgpu.h:1867
WGPUPipelineLayoutPixelLocalStorage::storageAttachmentCount
size_t storageAttachmentCount
Definition: mini_webgpu.h:1866
WGPUPipelineLayoutPixelLocalStorage::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1864
WGPUPipelineLayoutPixelLocalStorage::totalPixelLocalStorageSize
uint64_t totalPixelLocalStorageSize
Definition: mini_webgpu.h:1865
WGPUPipelineLayoutStorageAttachment
Definition: mini_webgpu.h:1341
WGPUPipelineLayoutStorageAttachment::offset
uint64_t offset
Definition: mini_webgpu.h:1343
WGPUPipelineLayoutStorageAttachment::format
WGPUTextureFormat format
Definition: mini_webgpu.h:1344
WGPUPipelineLayoutStorageAttachment::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1342
WGPUPrimitiveDepthClipControl
Definition: mini_webgpu.h:1348
WGPUPrimitiveDepthClipControl::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1349
WGPUPrimitiveDepthClipControl::unclippedDepth
WGPUBool unclippedDepth
Definition: mini_webgpu.h:1350
WGPUPrimitiveState
Definition: mini_webgpu.h:1353
WGPUPrimitiveState::frontFace
WGPUFrontFace frontFace
Definition: mini_webgpu.h:1357
WGPUPrimitiveState::stripIndexFormat
WGPUIndexFormat stripIndexFormat
Definition: mini_webgpu.h:1356
WGPUPrimitiveState::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1354
WGPUPrimitiveState::topology
WGPUPrimitiveTopology topology
Definition: mini_webgpu.h:1355
WGPUPrimitiveState::cullMode
WGPUCullMode cullMode
Definition: mini_webgpu.h:1358
WGPUProgrammableStageDescriptor
Definition: mini_webgpu.h:1870
WGPUProgrammableStageDescriptor::entryPoint
WGPU_NULLABLE char const * entryPoint
Definition: mini_webgpu.h:1873
WGPUProgrammableStageDescriptor::constants
WGPUConstantEntry const * constants
Definition: mini_webgpu.h:1875
WGPUProgrammableStageDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1871
WGPUProgrammableStageDescriptor::constantCount
size_t constantCount
Definition: mini_webgpu.h:1874
WGPUProgrammableStageDescriptor::module
WGPUShaderModule module
Definition: mini_webgpu.h:1872
WGPUQuerySetDescriptor
Definition: mini_webgpu.h:1361
WGPUQuerySetDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1362
WGPUQuerySetDescriptor::type
WGPUQueryType type
Definition: mini_webgpu.h:1364
WGPUQuerySetDescriptor::count
uint32_t count
Definition: mini_webgpu.h:1365
WGPUQuerySetDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1363
WGPUQueueDescriptor
Definition: mini_webgpu.h:1368
WGPUQueueDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1370
WGPUQueueDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1369
WGPUQueueWorkDoneCallbackInfo
Definition: mini_webgpu.h:1373
WGPUQueueWorkDoneCallbackInfo::userdata
void * userdata
Definition: mini_webgpu.h:1377
WGPUQueueWorkDoneCallbackInfo::mode
WGPUCallbackMode mode
Definition: mini_webgpu.h:1375
WGPUQueueWorkDoneCallbackInfo::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1374
WGPUQueueWorkDoneCallbackInfo::callback
WGPUQueueWorkDoneCallback callback
Definition: mini_webgpu.h:1376
WGPURenderBundleDescriptor
Definition: mini_webgpu.h:1380
WGPURenderBundleDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1382
WGPURenderBundleDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1381
WGPURenderBundleEncoderDescriptor
Definition: mini_webgpu.h:1385
WGPURenderBundleEncoderDescriptor::depthReadOnly
WGPUBool depthReadOnly
Definition: mini_webgpu.h:1392
WGPURenderBundleEncoderDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1386
WGPURenderBundleEncoderDescriptor::stencilReadOnly
WGPUBool stencilReadOnly
Definition: mini_webgpu.h:1393
WGPURenderBundleEncoderDescriptor::colorFormatCount
size_t colorFormatCount
Definition: mini_webgpu.h:1388
WGPURenderBundleEncoderDescriptor::colorFormats
WGPUTextureFormat const * colorFormats
Definition: mini_webgpu.h:1389
WGPURenderBundleEncoderDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1387
WGPURenderBundleEncoderDescriptor::depthStencilFormat
WGPUTextureFormat depthStencilFormat
Definition: mini_webgpu.h:1390
WGPURenderBundleEncoderDescriptor::sampleCount
uint32_t sampleCount
Definition: mini_webgpu.h:1391
WGPURenderPassColorAttachment
Definition: mini_webgpu.h:1878
WGPURenderPassColorAttachment::view
WGPU_NULLABLE WGPUTextureView view
Definition: mini_webgpu.h:1880
WGPURenderPassColorAttachment::storeOp
WGPUStoreOp storeOp
Definition: mini_webgpu.h:1884
WGPURenderPassColorAttachment::depthSlice
uint32_t depthSlice
Definition: mini_webgpu.h:1881
WGPURenderPassColorAttachment::loadOp
WGPULoadOp loadOp
Definition: mini_webgpu.h:1883
WGPURenderPassColorAttachment::resolveTarget
WGPU_NULLABLE WGPUTextureView resolveTarget
Definition: mini_webgpu.h:1882
WGPURenderPassColorAttachment::clearValue
WGPUColor clearValue
Definition: mini_webgpu.h:1885
WGPURenderPassColorAttachment::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1879
WGPURenderPassDepthStencilAttachment
Definition: mini_webgpu.h:1396
WGPURenderPassDepthStencilAttachment::view
WGPUTextureView view
Definition: mini_webgpu.h:1397
WGPURenderPassDepthStencilAttachment::stencilLoadOp
WGPULoadOp stencilLoadOp
Definition: mini_webgpu.h:1402
WGPURenderPassDepthStencilAttachment::depthReadOnly
WGPUBool depthReadOnly
Definition: mini_webgpu.h:1401
WGPURenderPassDepthStencilAttachment::depthLoadOp
WGPULoadOp depthLoadOp
Definition: mini_webgpu.h:1398
WGPURenderPassDepthStencilAttachment::stencilStoreOp
WGPUStoreOp stencilStoreOp
Definition: mini_webgpu.h:1403
WGPURenderPassDepthStencilAttachment::depthStoreOp
WGPUStoreOp depthStoreOp
Definition: mini_webgpu.h:1399
WGPURenderPassDepthStencilAttachment::stencilClearValue
uint32_t stencilClearValue
Definition: mini_webgpu.h:1404
WGPURenderPassDepthStencilAttachment::stencilReadOnly
WGPUBool stencilReadOnly
Definition: mini_webgpu.h:1405
WGPURenderPassDepthStencilAttachment::depthClearValue
float depthClearValue
Definition: mini_webgpu.h:1400
WGPURenderPassDescriptor
Definition: mini_webgpu.h:1984
WGPURenderPassDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1985
WGPURenderPassDescriptor::colorAttachments
WGPURenderPassColorAttachment const * colorAttachments
Definition: mini_webgpu.h:1988
WGPURenderPassDescriptor::occlusionQuerySet
WGPU_NULLABLE WGPUQuerySet occlusionQuerySet
Definition: mini_webgpu.h:1990
WGPURenderPassDescriptor::depthStencilAttachment
WGPU_NULLABLE WGPURenderPassDepthStencilAttachment const * depthStencilAttachment
Definition: mini_webgpu.h:1989
WGPURenderPassDescriptor::timestampWrites
WGPU_NULLABLE WGPURenderPassTimestampWrites const * timestampWrites
Definition: mini_webgpu.h:1991
WGPURenderPassDescriptor::colorAttachmentCount
size_t colorAttachmentCount
Definition: mini_webgpu.h:1987
WGPURenderPassDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1986
WGPURenderPassDescriptorMaxDrawCount
Definition: mini_webgpu.h:1409
WGPURenderPassDescriptorMaxDrawCount::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1410
WGPURenderPassDescriptorMaxDrawCount::maxDrawCount
uint64_t maxDrawCount
Definition: mini_webgpu.h:1411
WGPURenderPassPixelLocalStorage
Definition: mini_webgpu.h:1995
WGPURenderPassPixelLocalStorage::storageAttachments
WGPURenderPassStorageAttachment const * storageAttachments
Definition: mini_webgpu.h:1999
WGPURenderPassPixelLocalStorage::totalPixelLocalStorageSize
uint64_t totalPixelLocalStorageSize
Definition: mini_webgpu.h:1997
WGPURenderPassPixelLocalStorage::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1996
WGPURenderPassPixelLocalStorage::storageAttachmentCount
size_t storageAttachmentCount
Definition: mini_webgpu.h:1998
WGPURenderPassStorageAttachment
Definition: mini_webgpu.h:1888
WGPURenderPassStorageAttachment::storage
WGPUTextureView storage
Definition: mini_webgpu.h:1891
WGPURenderPassStorageAttachment::storeOp
WGPUStoreOp storeOp
Definition: mini_webgpu.h:1893
WGPURenderPassStorageAttachment::loadOp
WGPULoadOp loadOp
Definition: mini_webgpu.h:1892
WGPURenderPassStorageAttachment::offset
uint64_t offset
Definition: mini_webgpu.h:1890
WGPURenderPassStorageAttachment::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1889
WGPURenderPassStorageAttachment::clearValue
WGPUColor clearValue
Definition: mini_webgpu.h:1894
WGPURenderPassTimestampWrites
Definition: mini_webgpu.h:1414
WGPURenderPassTimestampWrites::endOfPassWriteIndex
uint32_t endOfPassWriteIndex
Definition: mini_webgpu.h:1417
WGPURenderPassTimestampWrites::querySet
WGPUQuerySet querySet
Definition: mini_webgpu.h:1415
WGPURenderPassTimestampWrites::beginningOfPassWriteIndex
uint32_t beginningOfPassWriteIndex
Definition: mini_webgpu.h:1416
WGPURenderPipelineDescriptor
Definition: mini_webgpu.h:2022
WGPURenderPipelineDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:2024
WGPURenderPipelineDescriptor::layout
WGPU_NULLABLE WGPUPipelineLayout layout
Definition: mini_webgpu.h:2025
WGPURenderPipelineDescriptor::multisample
WGPUMultisampleState multisample
Definition: mini_webgpu.h:2029
WGPURenderPipelineDescriptor::fragment
WGPU_NULLABLE WGPUFragmentState const * fragment
Definition: mini_webgpu.h:2030
WGPURenderPipelineDescriptor::depthStencil
WGPU_NULLABLE WGPUDepthStencilState const * depthStencil
Definition: mini_webgpu.h:2028
WGPURenderPipelineDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:2023
WGPURenderPipelineDescriptor::primitive
WGPUPrimitiveState primitive
Definition: mini_webgpu.h:2027
WGPURenderPipelineDescriptor::vertex
WGPUVertexState vertex
Definition: mini_webgpu.h:2026
WGPURequestAdapterCallbackInfo
Definition: mini_webgpu.h:1420
WGPURequestAdapterCallbackInfo::userdata
void * userdata
Definition: mini_webgpu.h:1424
WGPURequestAdapterCallbackInfo::callback
WGPURequestAdapterCallback callback
Definition: mini_webgpu.h:1423
WGPURequestAdapterCallbackInfo::mode
WGPUCallbackMode mode
Definition: mini_webgpu.h:1422
WGPURequestAdapterCallbackInfo::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1421
WGPURequestAdapterOptions
Definition: mini_webgpu.h:1427
WGPURequestAdapterOptions::forceFallbackAdapter
WGPUBool forceFallbackAdapter
Definition: mini_webgpu.h:1432
WGPURequestAdapterOptions::compatibleSurface
WGPU_NULLABLE WGPUSurface compatibleSurface
Definition: mini_webgpu.h:1429
WGPURequestAdapterOptions::backendType
WGPUBackendType backendType
Definition: mini_webgpu.h:1431
WGPURequestAdapterOptions::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1428
WGPURequestAdapterOptions::compatibilityMode
WGPUBool compatibilityMode
Definition: mini_webgpu.h:1433
WGPURequestAdapterOptions::powerPreference
WGPUPowerPreference powerPreference
Definition: mini_webgpu.h:1430
WGPURequestDeviceCallbackInfo
Definition: mini_webgpu.h:1436
WGPURequestDeviceCallbackInfo::mode
WGPUCallbackMode mode
Definition: mini_webgpu.h:1438
WGPURequestDeviceCallbackInfo::userdata
void * userdata
Definition: mini_webgpu.h:1440
WGPURequestDeviceCallbackInfo::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1437
WGPURequestDeviceCallbackInfo::callback
WGPURequestDeviceCallback callback
Definition: mini_webgpu.h:1439
WGPURequiredLimits
Definition: mini_webgpu.h:1897
WGPURequiredLimits::limits
WGPULimits limits
Definition: mini_webgpu.h:1899
WGPURequiredLimits::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1898
WGPUSamplerBindingLayout
Definition: mini_webgpu.h:1443
WGPUSamplerBindingLayout::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1444
WGPUSamplerBindingLayout::type
WGPUSamplerBindingType type
Definition: mini_webgpu.h:1445
WGPUSamplerDescriptor
Definition: mini_webgpu.h:1448
WGPUSamplerDescriptor::minFilter
WGPUFilterMode minFilter
Definition: mini_webgpu.h:1455
WGPUSamplerDescriptor::addressModeU
WGPUAddressMode addressModeU
Definition: mini_webgpu.h:1451
WGPUSamplerDescriptor::compare
WGPUCompareFunction compare
Definition: mini_webgpu.h:1459
WGPUSamplerDescriptor::addressModeW
WGPUAddressMode addressModeW
Definition: mini_webgpu.h:1453
WGPUSamplerDescriptor::maxAnisotropy
uint16_t maxAnisotropy
Definition: mini_webgpu.h:1460
WGPUSamplerDescriptor::addressModeV
WGPUAddressMode addressModeV
Definition: mini_webgpu.h:1452
WGPUSamplerDescriptor::lodMaxClamp
float lodMaxClamp
Definition: mini_webgpu.h:1458
WGPUSamplerDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1449
WGPUSamplerDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1450
WGPUSamplerDescriptor::magFilter
WGPUFilterMode magFilter
Definition: mini_webgpu.h:1454
WGPUSamplerDescriptor::lodMinClamp
float lodMinClamp
Definition: mini_webgpu.h:1457
WGPUSamplerDescriptor::mipmapFilter
WGPUMipmapFilterMode mipmapFilter
Definition: mini_webgpu.h:1456
WGPUShaderModuleDescriptor
Definition: mini_webgpu.h:1476
WGPUShaderModuleDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1477
WGPUShaderModuleDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1478
WGPUShaderModuleSPIRVDescriptor
Definition: mini_webgpu.h:1464
WGPUShaderModuleSPIRVDescriptor::code
uint32_t const * code
Definition: mini_webgpu.h:1467
WGPUShaderModuleSPIRVDescriptor::codeSize
uint32_t codeSize
Definition: mini_webgpu.h:1466
WGPUShaderModuleSPIRVDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1465
WGPUShaderModuleWGSLDescriptor
Definition: mini_webgpu.h:1471
WGPUShaderModuleWGSLDescriptor::code
char const * code
Definition: mini_webgpu.h:1473
WGPUShaderModuleWGSLDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1472
WGPUSharedFenceDXGISharedHandleDescriptor
Definition: mini_webgpu.h:1482
WGPUSharedFenceDXGISharedHandleDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1483
WGPUSharedFenceDXGISharedHandleDescriptor::handle
void * handle
Definition: mini_webgpu.h:1484
WGPUSharedFenceDXGISharedHandleExportInfo
Definition: mini_webgpu.h:1488
WGPUSharedFenceDXGISharedHandleExportInfo::handle
void * handle
Definition: mini_webgpu.h:1490
WGPUSharedFenceDXGISharedHandleExportInfo::chain
WGPUChainedStructOut chain
Definition: mini_webgpu.h:1489
WGPUSharedFenceDescriptor
Definition: mini_webgpu.h:1505
WGPUSharedFenceDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1507
WGPUSharedFenceDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1506
WGPUSharedFenceExportInfo
Definition: mini_webgpu.h:1510
WGPUSharedFenceExportInfo::type
WGPUSharedFenceType type
Definition: mini_webgpu.h:1512
WGPUSharedFenceExportInfo::nextInChain
WGPUChainedStructOut * nextInChain
Definition: mini_webgpu.h:1511
WGPUSharedFenceMTLSharedEventDescriptor
Definition: mini_webgpu.h:1494
WGPUSharedFenceMTLSharedEventDescriptor::sharedEvent
void * sharedEvent
Definition: mini_webgpu.h:1496
WGPUSharedFenceMTLSharedEventDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1495
WGPUSharedFenceMTLSharedEventExportInfo
Definition: mini_webgpu.h:1500
WGPUSharedFenceMTLSharedEventExportInfo::sharedEvent
void * sharedEvent
Definition: mini_webgpu.h:1502
WGPUSharedFenceMTLSharedEventExportInfo::chain
WGPUChainedStructOut chain
Definition: mini_webgpu.h:1501
WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor
Definition: mini_webgpu.h:1516
WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor::handle
int handle
Definition: mini_webgpu.h:1518
WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1517
WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo
Definition: mini_webgpu.h:1522
WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo::handle
int handle
Definition: mini_webgpu.h:1524
WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo::chain
WGPUChainedStructOut chain
Definition: mini_webgpu.h:1523
WGPUSharedFenceVkSemaphoreSyncFDDescriptor
Definition: mini_webgpu.h:1528
WGPUSharedFenceVkSemaphoreSyncFDDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1529
WGPUSharedFenceVkSemaphoreSyncFDDescriptor::handle
int handle
Definition: mini_webgpu.h:1530
WGPUSharedFenceVkSemaphoreSyncFDExportInfo
Definition: mini_webgpu.h:1534
WGPUSharedFenceVkSemaphoreSyncFDExportInfo::chain
WGPUChainedStructOut chain
Definition: mini_webgpu.h:1535
WGPUSharedFenceVkSemaphoreSyncFDExportInfo::handle
int handle
Definition: mini_webgpu.h:1536
WGPUSharedFenceVkSemaphoreZirconHandleDescriptor
Definition: mini_webgpu.h:1540
WGPUSharedFenceVkSemaphoreZirconHandleDescriptor::handle
uint32_t handle
Definition: mini_webgpu.h:1542
WGPUSharedFenceVkSemaphoreZirconHandleDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1541
WGPUSharedFenceVkSemaphoreZirconHandleExportInfo
Definition: mini_webgpu.h:1546
WGPUSharedFenceVkSemaphoreZirconHandleExportInfo::chain
WGPUChainedStructOut chain
Definition: mini_webgpu.h:1547
WGPUSharedFenceVkSemaphoreZirconHandleExportInfo::handle
uint32_t handle
Definition: mini_webgpu.h:1548
WGPUSharedTextureMemoryAHardwareBufferDescriptor
Definition: mini_webgpu.h:1570
WGPUSharedTextureMemoryAHardwareBufferDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1571
WGPUSharedTextureMemoryAHardwareBufferDescriptor::handle
void * handle
Definition: mini_webgpu.h:1572
WGPUSharedTextureMemoryBeginAccessDescriptor
Definition: mini_webgpu.h:1575
WGPUSharedTextureMemoryBeginAccessDescriptor::initialized
WGPUBool initialized
Definition: mini_webgpu.h:1578
WGPUSharedTextureMemoryBeginAccessDescriptor::signaledValues
uint64_t const * signaledValues
Definition: mini_webgpu.h:1581
WGPUSharedTextureMemoryBeginAccessDescriptor::fenceCount
size_t fenceCount
Definition: mini_webgpu.h:1579
WGPUSharedTextureMemoryBeginAccessDescriptor::concurrentRead
WGPUBool concurrentRead
Definition: mini_webgpu.h:1577
WGPUSharedTextureMemoryBeginAccessDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1576
WGPUSharedTextureMemoryBeginAccessDescriptor::fences
WGPUSharedFence const * fences
Definition: mini_webgpu.h:1580
WGPUSharedTextureMemoryDXGISharedHandleDescriptor
Definition: mini_webgpu.h:1552
WGPUSharedTextureMemoryDXGISharedHandleDescriptor::handle
void * handle
Definition: mini_webgpu.h:1554
WGPUSharedTextureMemoryDXGISharedHandleDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1553
WGPUSharedTextureMemoryDescriptor
Definition: mini_webgpu.h:1584
WGPUSharedTextureMemoryDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1586
WGPUSharedTextureMemoryDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1585
WGPUSharedTextureMemoryDmaBufDescriptor
Definition: mini_webgpu.h:1903
WGPUSharedTextureMemoryDmaBufDescriptor::planes
WGPUSharedTextureMemoryDmaBufPlane const * planes
Definition: mini_webgpu.h:1909
WGPUSharedTextureMemoryDmaBufDescriptor::drmFormat
uint32_t drmFormat
Definition: mini_webgpu.h:1906
WGPUSharedTextureMemoryDmaBufDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1904
WGPUSharedTextureMemoryDmaBufDescriptor::size
WGPUExtent3D size
Definition: mini_webgpu.h:1905
WGPUSharedTextureMemoryDmaBufDescriptor::drmModifier
uint64_t drmModifier
Definition: mini_webgpu.h:1907
WGPUSharedTextureMemoryDmaBufDescriptor::planeCount
size_t planeCount
Definition: mini_webgpu.h:1908
WGPUSharedTextureMemoryDmaBufPlane
Definition: mini_webgpu.h:1589
WGPUSharedTextureMemoryDmaBufPlane::fd
int fd
Definition: mini_webgpu.h:1590
WGPUSharedTextureMemoryDmaBufPlane::offset
uint64_t offset
Definition: mini_webgpu.h:1591
WGPUSharedTextureMemoryDmaBufPlane::stride
uint32_t stride
Definition: mini_webgpu.h:1592
WGPUSharedTextureMemoryEGLImageDescriptor
Definition: mini_webgpu.h:1558
WGPUSharedTextureMemoryEGLImageDescriptor::image
void * image
Definition: mini_webgpu.h:1560
WGPUSharedTextureMemoryEGLImageDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1559
WGPUSharedTextureMemoryEndAccessState
Definition: mini_webgpu.h:1595
WGPUSharedTextureMemoryEndAccessState::fences
WGPUSharedFence const * fences
Definition: mini_webgpu.h:1599
WGPUSharedTextureMemoryEndAccessState::fenceCount
size_t fenceCount
Definition: mini_webgpu.h:1598
WGPUSharedTextureMemoryEndAccessState::signaledValues
uint64_t const * signaledValues
Definition: mini_webgpu.h:1600
WGPUSharedTextureMemoryEndAccessState::nextInChain
WGPUChainedStructOut * nextInChain
Definition: mini_webgpu.h:1596
WGPUSharedTextureMemoryEndAccessState::initialized
WGPUBool initialized
Definition: mini_webgpu.h:1597
WGPUSharedTextureMemoryIOSurfaceDescriptor
Definition: mini_webgpu.h:1564
WGPUSharedTextureMemoryIOSurfaceDescriptor::ioSurface
void * ioSurface
Definition: mini_webgpu.h:1566
WGPUSharedTextureMemoryIOSurfaceDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1565
WGPUSharedTextureMemoryOpaqueFDDescriptor
Definition: mini_webgpu.h:1604
WGPUSharedTextureMemoryOpaqueFDDescriptor::vkImageCreateInfo
void const * vkImageCreateInfo
Definition: mini_webgpu.h:1606
WGPUSharedTextureMemoryOpaqueFDDescriptor::memoryFD
int memoryFD
Definition: mini_webgpu.h:1607
WGPUSharedTextureMemoryOpaqueFDDescriptor::allocationSize
uint64_t allocationSize
Definition: mini_webgpu.h:1609
WGPUSharedTextureMemoryOpaqueFDDescriptor::memoryTypeIndex
uint32_t memoryTypeIndex
Definition: mini_webgpu.h:1608
WGPUSharedTextureMemoryOpaqueFDDescriptor::dedicatedAllocation
WGPUBool dedicatedAllocation
Definition: mini_webgpu.h:1610
WGPUSharedTextureMemoryOpaqueFDDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1605
WGPUSharedTextureMemoryProperties
Definition: mini_webgpu.h:1912
WGPUSharedTextureMemoryProperties::format
WGPUTextureFormat format
Definition: mini_webgpu.h:1916
WGPUSharedTextureMemoryProperties::size
WGPUExtent3D size
Definition: mini_webgpu.h:1915
WGPUSharedTextureMemoryProperties::usage
WGPUTextureUsageFlags usage
Definition: mini_webgpu.h:1914
WGPUSharedTextureMemoryProperties::nextInChain
WGPUChainedStructOut * nextInChain
Definition: mini_webgpu.h:1913
WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor
Definition: mini_webgpu.h:1614
WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1615
WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor::dedicatedAllocation
WGPUBool dedicatedAllocation
Definition: mini_webgpu.h:1616
WGPUSharedTextureMemoryVkImageDescriptor
Definition: mini_webgpu.h:1920
WGPUSharedTextureMemoryVkImageDescriptor::vkFormat
int32_t vkFormat
Definition: mini_webgpu.h:1922
WGPUSharedTextureMemoryVkImageDescriptor::vkExtent3D
WGPUExtent3D vkExtent3D
Definition: mini_webgpu.h:1924
WGPUSharedTextureMemoryVkImageDescriptor::vkUsageFlags
int32_t vkUsageFlags
Definition: mini_webgpu.h:1923
WGPUSharedTextureMemoryVkImageDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1921
WGPUSharedTextureMemoryVkImageLayoutBeginState
Definition: mini_webgpu.h:1620
WGPUSharedTextureMemoryVkImageLayoutBeginState::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1621
WGPUSharedTextureMemoryVkImageLayoutBeginState::oldLayout
int32_t oldLayout
Definition: mini_webgpu.h:1622
WGPUSharedTextureMemoryVkImageLayoutBeginState::newLayout
int32_t newLayout
Definition: mini_webgpu.h:1623
WGPUSharedTextureMemoryVkImageLayoutEndState
Definition: mini_webgpu.h:1627
WGPUSharedTextureMemoryVkImageLayoutEndState::oldLayout
int32_t oldLayout
Definition: mini_webgpu.h:1629
WGPUSharedTextureMemoryVkImageLayoutEndState::chain
WGPUChainedStructOut chain
Definition: mini_webgpu.h:1628
WGPUSharedTextureMemoryVkImageLayoutEndState::newLayout
int32_t newLayout
Definition: mini_webgpu.h:1630
WGPUSharedTextureMemoryZirconHandleDescriptor
Definition: mini_webgpu.h:1634
WGPUSharedTextureMemoryZirconHandleDescriptor::allocationSize
uint64_t allocationSize
Definition: mini_webgpu.h:1637
WGPUSharedTextureMemoryZirconHandleDescriptor::memoryFD
uint32_t memoryFD
Definition: mini_webgpu.h:1636
WGPUSharedTextureMemoryZirconHandleDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1635
WGPUStencilFaceState
Definition: mini_webgpu.h:1640
WGPUStencilFaceState::compare
WGPUCompareFunction compare
Definition: mini_webgpu.h:1641
WGPUStencilFaceState::depthFailOp
WGPUStencilOperation depthFailOp
Definition: mini_webgpu.h:1643
WGPUStencilFaceState::passOp
WGPUStencilOperation passOp
Definition: mini_webgpu.h:1644
WGPUStencilFaceState::failOp
WGPUStencilOperation failOp
Definition: mini_webgpu.h:1642
WGPUStorageTextureBindingLayout
Definition: mini_webgpu.h:1647
WGPUStorageTextureBindingLayout::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1648
WGPUStorageTextureBindingLayout::viewDimension
WGPUTextureViewDimension viewDimension
Definition: mini_webgpu.h:1651
WGPUStorageTextureBindingLayout::format
WGPUTextureFormat format
Definition: mini_webgpu.h:1650
WGPUStorageTextureBindingLayout::access
WGPUStorageTextureAccess access
Definition: mini_webgpu.h:1649
WGPUSupportedLimits
Definition: mini_webgpu.h:1927
WGPUSupportedLimits::limits
WGPULimits limits
Definition: mini_webgpu.h:1929
WGPUSupportedLimits::nextInChain
WGPUChainedStructOut * nextInChain
Definition: mini_webgpu.h:1928
WGPUSurfaceDescriptorFromAndroidNativeWindow
Definition: mini_webgpu.h:1660
WGPUSurfaceDescriptorFromAndroidNativeWindow::window
void * window
Definition: mini_webgpu.h:1662
WGPUSurfaceDescriptorFromAndroidNativeWindow::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1661
WGPUSurfaceDescriptorFromCanvasHTMLSelector
Definition: mini_webgpu.h:1666
WGPUSurfaceDescriptorFromCanvasHTMLSelector::selector
char const * selector
Definition: mini_webgpu.h:1668
WGPUSurfaceDescriptorFromCanvasHTMLSelector::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1667
WGPUSurfaceDescriptorFromMetalLayer
Definition: mini_webgpu.h:1672
WGPUSurfaceDescriptorFromMetalLayer::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1673
WGPUSurfaceDescriptorFromMetalLayer::layer
void * layer
Definition: mini_webgpu.h:1674
WGPUSurfaceDescriptorFromWaylandSurface
Definition: mini_webgpu.h:1678
WGPUSurfaceDescriptorFromWaylandSurface::display
void * display
Definition: mini_webgpu.h:1680
WGPUSurfaceDescriptorFromWaylandSurface::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1679
WGPUSurfaceDescriptorFromWaylandSurface::surface
void * surface
Definition: mini_webgpu.h:1681
WGPUSurfaceDescriptorFromWindowsCoreWindow
Definition: mini_webgpu.h:1692
WGPUSurfaceDescriptorFromWindowsCoreWindow::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1693
WGPUSurfaceDescriptorFromWindowsCoreWindow::coreWindow
void * coreWindow
Definition: mini_webgpu.h:1694
WGPUSurfaceDescriptorFromWindowsHWND
Definition: mini_webgpu.h:1685
WGPUSurfaceDescriptorFromWindowsHWND::hinstance
void * hinstance
Definition: mini_webgpu.h:1687
WGPUSurfaceDescriptorFromWindowsHWND::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1686
WGPUSurfaceDescriptorFromWindowsHWND::hwnd
void * hwnd
Definition: mini_webgpu.h:1688
WGPUSurfaceDescriptorFromWindowsSwapChainPanel
Definition: mini_webgpu.h:1698
WGPUSurfaceDescriptorFromWindowsSwapChainPanel::swapChainPanel
void * swapChainPanel
Definition: mini_webgpu.h:1700
WGPUSurfaceDescriptorFromWindowsSwapChainPanel::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1699
WGPUSurfaceDescriptorFromXlibWindow
Definition: mini_webgpu.h:1704
WGPUSurfaceDescriptorFromXlibWindow::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1705
WGPUSurfaceDescriptorFromXlibWindow::display
void * display
Definition: mini_webgpu.h:1706
WGPUSurfaceDescriptorFromXlibWindow::window
uint64_t window
Definition: mini_webgpu.h:1707
WGPUSurfaceDescriptor
Definition: mini_webgpu.h:1654
WGPUSurfaceDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1656
WGPUSurfaceDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1655
WGPUSwapChainDescriptor
Definition: mini_webgpu.h:1710
WGPUSwapChainDescriptor::format
WGPUTextureFormat format
Definition: mini_webgpu.h:1714
WGPUSwapChainDescriptor::width
uint32_t width
Definition: mini_webgpu.h:1715
WGPUSwapChainDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1711
WGPUSwapChainDescriptor::presentMode
WGPUPresentMode presentMode
Definition: mini_webgpu.h:1717
WGPUSwapChainDescriptor::usage
WGPUTextureUsageFlags usage
Definition: mini_webgpu.h:1713
WGPUSwapChainDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1712
WGPUSwapChainDescriptor::height
uint32_t height
Definition: mini_webgpu.h:1716
WGPUTextureBindingLayout
Definition: mini_webgpu.h:1720
WGPUTextureBindingLayout::viewDimension
WGPUTextureViewDimension viewDimension
Definition: mini_webgpu.h:1723
WGPUTextureBindingLayout::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1721
WGPUTextureBindingLayout::multisampled
WGPUBool multisampled
Definition: mini_webgpu.h:1724
WGPUTextureBindingLayout::sampleType
WGPUTextureSampleType sampleType
Definition: mini_webgpu.h:1722
WGPUTextureBindingViewDimensionDescriptor
Definition: mini_webgpu.h:1728
WGPUTextureBindingViewDimensionDescriptor::textureBindingViewDimension
WGPUTextureViewDimension textureBindingViewDimension
Definition: mini_webgpu.h:1730
WGPUTextureBindingViewDimensionDescriptor::chain
WGPUChainedStruct chain
Definition: mini_webgpu.h:1729
WGPUTextureDataLayout
Definition: mini_webgpu.h:1733
WGPUTextureDataLayout::rowsPerImage
uint32_t rowsPerImage
Definition: mini_webgpu.h:1737
WGPUTextureDataLayout::offset
uint64_t offset
Definition: mini_webgpu.h:1735
WGPUTextureDataLayout::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1734
WGPUTextureDataLayout::bytesPerRow
uint32_t bytesPerRow
Definition: mini_webgpu.h:1736
WGPUTextureDescriptor
Definition: mini_webgpu.h:1932
WGPUTextureDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1933
WGPUTextureDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1934
WGPUTextureDescriptor::viewFormats
WGPUTextureFormat const * viewFormats
Definition: mini_webgpu.h:1942
WGPUTextureDescriptor::viewFormatCount
size_t viewFormatCount
Definition: mini_webgpu.h:1941
WGPUTextureDescriptor::dimension
WGPUTextureDimension dimension
Definition: mini_webgpu.h:1936
WGPUTextureDescriptor::mipLevelCount
uint32_t mipLevelCount
Definition: mini_webgpu.h:1939
WGPUTextureDescriptor::sampleCount
uint32_t sampleCount
Definition: mini_webgpu.h:1940
WGPUTextureDescriptor::format
WGPUTextureFormat format
Definition: mini_webgpu.h:1938
WGPUTextureDescriptor::size
WGPUExtent3D size
Definition: mini_webgpu.h:1937
WGPUTextureDescriptor::usage
WGPUTextureUsageFlags usage
Definition: mini_webgpu.h:1935
WGPUTextureViewDescriptor
Definition: mini_webgpu.h:1740
WGPUTextureViewDescriptor::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:1741
WGPUTextureViewDescriptor::format
WGPUTextureFormat format
Definition: mini_webgpu.h:1743
WGPUTextureViewDescriptor::mipLevelCount
uint32_t mipLevelCount
Definition: mini_webgpu.h:1746
WGPUTextureViewDescriptor::baseMipLevel
uint32_t baseMipLevel
Definition: mini_webgpu.h:1745
WGPUTextureViewDescriptor::baseArrayLayer
uint32_t baseArrayLayer
Definition: mini_webgpu.h:1747
WGPUTextureViewDescriptor::arrayLayerCount
uint32_t arrayLayerCount
Definition: mini_webgpu.h:1748
WGPUTextureViewDescriptor::dimension
WGPUTextureViewDimension dimension
Definition: mini_webgpu.h:1744
WGPUTextureViewDescriptor::label
WGPU_NULLABLE char const * label
Definition: mini_webgpu.h:1742
WGPUTextureViewDescriptor::aspect
WGPUTextureAspect aspect
Definition: mini_webgpu.h:1749
WGPUVertexAttribute
Definition: mini_webgpu.h:1752
WGPUVertexAttribute::format
WGPUVertexFormat format
Definition: mini_webgpu.h:1753
WGPUVertexAttribute::offset
uint64_t offset
Definition: mini_webgpu.h:1754
WGPUVertexAttribute::shaderLocation
uint32_t shaderLocation
Definition: mini_webgpu.h:1755
WGPUVertexBufferLayout
Definition: mini_webgpu.h:1945
WGPUVertexBufferLayout::attributes
WGPUVertexAttribute const * attributes
Definition: mini_webgpu.h:1949
WGPUVertexBufferLayout::stepMode
WGPUVertexStepMode stepMode
Definition: mini_webgpu.h:1947
WGPUVertexBufferLayout::attributeCount
size_t attributeCount
Definition: mini_webgpu.h:1948
WGPUVertexBufferLayout::arrayStride
uint64_t arrayStride
Definition: mini_webgpu.h:1946
WGPUVertexState
Definition: mini_webgpu.h:2002
WGPUVertexState::buffers
WGPUVertexBufferLayout const * buffers
Definition: mini_webgpu.h:2009
WGPUVertexState::nextInChain
WGPUChainedStruct const * nextInChain
Definition: mini_webgpu.h:2003
WGPUVertexState::constants
WGPUConstantEntry const * constants
Definition: mini_webgpu.h:2007
WGPUVertexState::constantCount
size_t constantCount
Definition: mini_webgpu.h:2006
WGPUVertexState::entryPoint
WGPU_NULLABLE char const * entryPoint
Definition: mini_webgpu.h:2005
WGPUVertexState::bufferCount
size_t bufferCount
Definition: mini_webgpu.h:2008
WGPUVertexState::module
WGPUShaderModule module
Definition: mini_webgpu.h:2004