WebGPU Headers: webgpu.h Source File

1

27#ifndef WEBGPU_H_

28#define WEBGPU_H_

29

30#if defined(WGPU_SHARED_LIBRARY)

31# if defined(_WIN32)

32# if defined(WGPU_IMPLEMENTATION)

33# define WGPU_EXPORT __declspec(dllexport)

34# else

35# define WGPU_EXPORT __declspec(dllimport)

36# endif

37# else

38# if defined(WGPU_IMPLEMENTATION)

39# define WGPU_EXPORT __attribute__((visibility("default")))

40# else

41# define WGPU_EXPORT

42# endif

43# endif

44#else

45# define WGPU_EXPORT

46#endif

47

48#if !defined(WGPU_OBJECT_ATTRIBUTE)

49#define WGPU_OBJECT_ATTRIBUTE

50#endif

51#if !defined(WGPU_ENUM_ATTRIBUTE)

52#define WGPU_ENUM_ATTRIBUTE

53#endif

54#if !defined(WGPU_STRUCTURE_ATTRIBUTE)

55#define WGPU_STRUCTURE_ATTRIBUTE

56#endif

57#if !defined(WGPU_FUNCTION_ATTRIBUTE)

58#define WGPU_FUNCTION_ATTRIBUTE

59#endif

60#if !defined(WGPU_NULLABLE)

61#define WGPU_NULLABLE

62#endif

63

64#include <stdint.h>

65#include <stddef.h>

66#include <math.h>

67

68#define _wgpu_COMMA ,

69#if defined(__cplusplus)

70# define _wgpu_ENUM_ZERO_INIT(type) type(0)

71# define _wgpu_STRUCT_ZERO_INIT {}

72# if __cplusplus >= 201103L

73# define _wgpu_MAKE_INIT_STRUCT(type, value) (type value)

74# else

75# define _wgpu_MAKE_INIT_STRUCT(type, value) value

76# endif

77#else

78# define _wgpu_ENUM_ZERO_INIT(type) (type)0

79# define _wgpu_STRUCT_ZERO_INIT {0}

80# if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L

81# define _wgpu_MAKE_INIT_STRUCT(type, value) ((type) value)

82# else

83# define _wgpu_MAKE_INIT_STRUCT(type, value) value

84# endif

85#endif

86

100#define WGPU_TRUE (UINT32_C(1))

107#define WGPU_FALSE (UINT32_C(0))

112#define WGPU_ARRAY_LAYER_COUNT_UNDEFINED (UINT32_MAX)

117#define WGPU_COPY_STRIDE_UNDEFINED (UINT32_MAX)

122#define WGPU_DEPTH_CLEAR_VALUE_UNDEFINED (NAN)

127#define WGPU_DEPTH_SLICE_UNDEFINED (UINT32_MAX)

132#define WGPU_LIMIT_U32_UNDEFINED (UINT32_MAX)

137#define WGPU_LIMIT_U64_UNDEFINED (UINT64_MAX)

142#define WGPU_MIP_LEVEL_COUNT_UNDEFINED (UINT32_MAX)

147#define WGPU_QUERY_SET_INDEX_UNDEFINED (UINT32_MAX)

152#define WGPU_STRLEN (SIZE_MAX)

157#define WGPU_WHOLE_MAP_SIZE (SIZE_MAX)

162#define WGPU_WHOLE_SIZE (UINT64_MAX)

163

194 WGPU_NULLABLE char const * data;

197

201#define WGPU_STRING_VIEW_INIT _wgpu_MAKE_INIT_STRUCT(WGPUStringView, { \

202 NULL _wgpu_COMMA \

203 WGPU_STRLEN _wgpu_COMMA \

204})

205

208

217typedef struct WGPUAdapterImpl* WGPUAdapter WGPU_OBJECT_ATTRIBUTE;

218typedef struct WGPUBindGroupImpl* WGPUBindGroup WGPU_OBJECT_ATTRIBUTE;

220typedef struct WGPUBufferImpl* WGPUBuffer WGPU_OBJECT_ATTRIBUTE;

221typedef struct WGPUCommandBufferImpl* WGPUCommandBuffer WGPU_OBJECT_ATTRIBUTE;

231typedef struct WGPUDeviceImpl* WGPUDevice WGPU_OBJECT_ATTRIBUTE;

236typedef struct WGPUInstanceImpl* WGPUInstance WGPU_OBJECT_ATTRIBUTE;

238typedef struct WGPUQuerySetImpl* WGPUQuerySet WGPU_OBJECT_ATTRIBUTE;

239typedef struct WGPUQueueImpl* WGPUQueue WGPU_OBJECT_ATTRIBUTE;

240typedef struct WGPURenderBundleImpl* WGPURenderBundle WGPU_OBJECT_ATTRIBUTE;

244typedef struct WGPUSamplerImpl* WGPUSampler WGPU_OBJECT_ATTRIBUTE;

245typedef struct WGPUShaderModuleImpl* WGPUShaderModule WGPU_OBJECT_ATTRIBUTE;

249typedef struct WGPUSurfaceImpl* WGPUSurface WGPU_OBJECT_ATTRIBUTE;

250typedef struct WGPUTextureImpl* WGPUTexture WGPU_OBJECT_ATTRIBUTE;

251typedef struct WGPUTextureViewImpl* WGPUTextureView WGPU_OBJECT_ATTRIBUTE;

252

255

336

337

348

363

374

390

415

428

445

452

481

497

506

513

545

572

583

594

605

612

621

640

666

676

686

696

716

726

737

747

757

773

783

789

822

835

841

855

866

876

893

904

920

937

947

967

998

1009

1020

1129

1148

1162

1168

1213

1223

1243

1257

1317

1334

1345

1357

1372

1375typedef void (*WGPUProc)(void) WGPU_FUNCTION_ATTRIBUTE;

1376

1391

1401

1409

1417

1436

1455

1469

1480

1491

1502

1515

1545

1549#define WGPU_BUFFER_MAP_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUBufferMapCallbackInfo, { \

1550 NULL _wgpu_COMMA \

1551 _wgpu_ENUM_ZERO_INIT(WGPUCallbackMode) _wgpu_COMMA \

1552 NULL _wgpu_COMMA \

1553 NULL _wgpu_COMMA \

1554 NULL _wgpu_COMMA \

1555})

1556

1569

1573#define WGPU_COMPILATION_INFO_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUCompilationInfoCallbackInfo, { \

1574 NULL _wgpu_COMMA \

1575 _wgpu_ENUM_ZERO_INIT(WGPUCallbackMode) _wgpu_COMMA \

1576 NULL _wgpu_COMMA \

1577 NULL _wgpu_COMMA \

1578 NULL _wgpu_COMMA \

1579})

1580

1593

1597#define WGPU_CREATE_COMPUTE_PIPELINE_ASYNC_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUCreateComputePipelineAsyncCallbackInfo, { \

1598 NULL _wgpu_COMMA \

1599 _wgpu_ENUM_ZERO_INIT(WGPUCallbackMode) _wgpu_COMMA \

1600 NULL _wgpu_COMMA \

1601 NULL _wgpu_COMMA \

1602 NULL _wgpu_COMMA \

1603})

1604

1617

1621#define WGPU_CREATE_RENDER_PIPELINE_ASYNC_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUCreateRenderPipelineAsyncCallbackInfo, { \

1622 NULL _wgpu_COMMA \

1623 _wgpu_ENUM_ZERO_INIT(WGPUCallbackMode) _wgpu_COMMA \

1624 NULL _wgpu_COMMA \

1625 NULL _wgpu_COMMA \

1626 NULL _wgpu_COMMA \

1627})

1628

1641

1645#define WGPU_DEVICE_LOST_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUDeviceLostCallbackInfo, { \

1646 NULL _wgpu_COMMA \

1647 _wgpu_ENUM_ZERO_INIT(WGPUCallbackMode) _wgpu_COMMA \

1648 NULL _wgpu_COMMA \

1649 NULL _wgpu_COMMA \

1650 NULL _wgpu_COMMA \

1651})

1652

1665

1669#define WGPU_POP_ERROR_SCOPE_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUPopErrorScopeCallbackInfo, { \

1670 NULL _wgpu_COMMA \

1671 _wgpu_ENUM_ZERO_INIT(WGPUCallbackMode) _wgpu_COMMA \

1672 NULL _wgpu_COMMA \

1673 NULL _wgpu_COMMA \

1674 NULL _wgpu_COMMA \

1675})

1676

1689

1693#define WGPU_QUEUE_WORK_DONE_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUQueueWorkDoneCallbackInfo, { \

1694 NULL _wgpu_COMMA \

1695 _wgpu_ENUM_ZERO_INIT(WGPUCallbackMode) _wgpu_COMMA \

1696 NULL _wgpu_COMMA \

1697 NULL _wgpu_COMMA \

1698 NULL _wgpu_COMMA \

1699})

1700

1713

1717#define WGPU_REQUEST_ADAPTER_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPURequestAdapterCallbackInfo, { \

1718 NULL _wgpu_COMMA \

1719 _wgpu_ENUM_ZERO_INIT(WGPUCallbackMode) _wgpu_COMMA \

1720 NULL _wgpu_COMMA \

1721 NULL _wgpu_COMMA \

1722 NULL _wgpu_COMMA \

1723})

1724

1737

1741#define WGPU_REQUEST_DEVICE_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPURequestDeviceCallbackInfo, { \

1742 NULL _wgpu_COMMA \

1743 _wgpu_ENUM_ZERO_INIT(WGPUCallbackMode) _wgpu_COMMA \

1744 NULL _wgpu_COMMA \

1745 NULL _wgpu_COMMA \

1746 NULL _wgpu_COMMA \

1747})

1748

1755

1759#define WGPU_UNCAPTURED_ERROR_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUUncapturedErrorCallbackInfo, { \

1760 NULL _wgpu_COMMA \

1761 NULL _wgpu_COMMA \

1762 NULL _wgpu_COMMA \

1763 NULL _wgpu_COMMA \

1764})

1765

1822

1826#define WGPU_ADAPTER_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUAdapterInfo, { \

1827 NULL _wgpu_COMMA \

1828 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

1829 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

1830 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

1831 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

1832 WGPUBackendType_Undefined _wgpu_COMMA \

1833 _wgpu_ENUM_ZERO_INIT(WGPUAdapterType) _wgpu_COMMA \

1834 0 _wgpu_COMMA \

1835 0 _wgpu_COMMA \

1836 0 _wgpu_COMMA \

1837 0 _wgpu_COMMA \

1838})

1839

1866

1870#define WGPU_BLEND_COMPONENT_INIT _wgpu_MAKE_INIT_STRUCT(WGPUBlendComponent, { \

1871 WGPUBlendOperation_Undefined _wgpu_COMMA \

1872 WGPUBlendFactor_Undefined _wgpu_COMMA \

1873 WGPUBlendFactor_Undefined _wgpu_COMMA \

1874})

1875

1897

1901#define WGPU_BUFFER_BINDING_LAYOUT_INIT _wgpu_MAKE_INIT_STRUCT(WGPUBufferBindingLayout, { \

1902 NULL _wgpu_COMMA \

1903 WGPUBufferBindingType_Undefined _wgpu_COMMA \

1904 WGPU_FALSE _wgpu_COMMA \

1905 0 _wgpu_COMMA \

1906})

1907

1936

1940#define WGPU_BUFFER_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUBufferDescriptor, { \

1941 NULL _wgpu_COMMA \

1942 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

1943 WGPUBufferUsage_None _wgpu_COMMA \

1944 0 _wgpu_COMMA \

1945 WGPU_FALSE _wgpu_COMMA \

1946})

1947

1973

1977#define WGPU_COLOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUColor, { \

1978 0. _wgpu_COMMA \

1979 0. _wgpu_COMMA \

1980 0. _wgpu_COMMA \

1981 0. _wgpu_COMMA \

1982})

1983

1996

2000#define WGPU_COMMAND_BUFFER_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUCommandBufferDescriptor, { \

2001 NULL _wgpu_COMMA \

2002 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2003})

2004

2017

2021#define WGPU_COMMAND_ENCODER_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUCommandEncoderDescriptor, { \

2022 NULL _wgpu_COMMA \

2023 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2024})

2025

2052

2056#define WGPU_COMPATIBILITY_MODE_LIMITS_INIT _wgpu_MAKE_INIT_STRUCT(WGPUCompatibilityModeLimits, { \

2057 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

2058 NULL _wgpu_COMMA \

2059 WGPUSType_CompatibilityModeLimits _wgpu_COMMA \

2060 }) _wgpu_COMMA \

2061 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

2062 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

2063 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

2064 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

2065})

2066

2114

2118#define WGPU_COMPILATION_MESSAGE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUCompilationMessage, { \

2119 NULL _wgpu_COMMA \

2120 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2121 _wgpu_ENUM_ZERO_INIT(WGPUCompilationMessageType) _wgpu_COMMA \

2122 0 _wgpu_COMMA \

2123 0 _wgpu_COMMA \

2124 0 _wgpu_COMMA \

2125 0 _wgpu_COMMA \

2126})

2127

2148

2152#define WGPU_CONSTANT_ENTRY_INIT _wgpu_MAKE_INIT_STRUCT(WGPUConstantEntry, { \

2153 NULL _wgpu_COMMA \

2154 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2155 0. _wgpu_COMMA \

2156})

2157

2175

2179#define WGPU_EXTENT_3D_INIT _wgpu_MAKE_INIT_STRUCT(WGPUExtent3D, { \

2180 0 _wgpu_COMMA \

2181 1 _wgpu_COMMA \

2182 1 _wgpu_COMMA \

2183})

2184

2197

2201#define WGPU_EXTERNAL_TEXTURE_BINDING_ENTRY_INIT _wgpu_MAKE_INIT_STRUCT(WGPUExternalTextureBindingEntry, { \

2202 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

2203 NULL _wgpu_COMMA \

2204 WGPUSType_ExternalTextureBindingEntry _wgpu_COMMA \

2205 }) _wgpu_COMMA \

2206 NULL _wgpu_COMMA \

2207})

2208

2217

2221#define WGPU_EXTERNAL_TEXTURE_BINDING_LAYOUT_INIT _wgpu_MAKE_INIT_STRUCT(WGPUExternalTextureBindingLayout, { \

2222 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

2223 NULL _wgpu_COMMA \

2224 WGPUSType_ExternalTextureBindingLayout _wgpu_COMMA \

2225 }) _wgpu_COMMA \

2226})

2227

2241

2245#define WGPU_FUTURE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUFuture, { \

2246 0 _wgpu_COMMA \

2247})

2248

2261

2265#define WGPU_INSTANCE_LIMITS_INIT _wgpu_MAKE_INIT_STRUCT(WGPUInstanceLimits, { \

2266 NULL _wgpu_COMMA \

2267 0 _wgpu_COMMA \

2268})

2269

2288

2292#define WGPU_MULTISAMPLE_STATE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUMultisampleState, { \

2293 NULL _wgpu_COMMA \

2294 1 _wgpu_COMMA \

2295 0xFFFFFFFF _wgpu_COMMA \

2296 WGPU_FALSE _wgpu_COMMA \

2297})

2298

2316

2320#define WGPU_ORIGIN_3D_INIT _wgpu_MAKE_INIT_STRUCT(WGPUOrigin3D, { \

2321 0 _wgpu_COMMA \

2322 0 _wgpu_COMMA \

2323 0 _wgpu_COMMA \

2324})

2325

2346

2350#define WGPU_PASS_TIMESTAMP_WRITES_INIT _wgpu_MAKE_INIT_STRUCT(WGPUPassTimestampWrites, { \

2351 NULL _wgpu_COMMA \

2352 NULL _wgpu_COMMA \

2353 WGPU_QUERY_SET_INDEX_UNDEFINED _wgpu_COMMA \

2354 WGPU_QUERY_SET_INDEX_UNDEFINED _wgpu_COMMA \

2355})

2356

2381

2385#define WGPU_PIPELINE_LAYOUT_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUPipelineLayoutDescriptor, { \

2386 NULL _wgpu_COMMA \

2387 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2388 0 _wgpu_COMMA \

2389 NULL _wgpu_COMMA \

2390 0 _wgpu_COMMA \

2391})

2392

2428

2432#define WGPU_PRIMITIVE_STATE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUPrimitiveState, { \

2433 NULL _wgpu_COMMA \

2434 WGPUPrimitiveTopology_Undefined _wgpu_COMMA \

2435 WGPUIndexFormat_Undefined _wgpu_COMMA \

2436 WGPUFrontFace_Undefined _wgpu_COMMA \

2437 WGPUCullMode_Undefined _wgpu_COMMA \

2438 WGPU_FALSE _wgpu_COMMA \

2439})

2440

2461

2465#define WGPU_QUERY_SET_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUQuerySetDescriptor, { \

2466 NULL _wgpu_COMMA \

2467 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2468 _wgpu_ENUM_ZERO_INIT(WGPUQueryType) _wgpu_COMMA \

2469 0 _wgpu_COMMA \

2470})

2471

2484

2488#define WGPU_QUEUE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUQueueDescriptor, { \

2489 NULL _wgpu_COMMA \

2490 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2491})

2492

2505

2509#define WGPU_RENDER_BUNDLE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPURenderBundleDescriptor, { \

2510 NULL _wgpu_COMMA \

2511 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2512})

2513

2550

2554#define WGPU_RENDER_BUNDLE_ENCODER_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPURenderBundleEncoderDescriptor, { \

2555 NULL _wgpu_COMMA \

2556 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2557 0 _wgpu_COMMA \

2558 NULL _wgpu_COMMA \

2559 WGPUTextureFormat_Undefined _wgpu_COMMA \

2560 1 _wgpu_COMMA \

2561 WGPU_FALSE _wgpu_COMMA \

2562 WGPU_FALSE _wgpu_COMMA \

2563})

2564

2614

2618#define WGPU_RENDER_PASS_DEPTH_STENCIL_ATTACHMENT_INIT _wgpu_MAKE_INIT_STRUCT(WGPURenderPassDepthStencilAttachment, { \

2619 NULL _wgpu_COMMA \

2620 NULL _wgpu_COMMA \

2621 WGPULoadOp_Undefined _wgpu_COMMA \

2622 WGPUStoreOp_Undefined _wgpu_COMMA \

2623 WGPU_DEPTH_CLEAR_VALUE_UNDEFINED _wgpu_COMMA \

2624 WGPU_FALSE _wgpu_COMMA \

2625 WGPULoadOp_Undefined _wgpu_COMMA \

2626 WGPUStoreOp_Undefined _wgpu_COMMA \

2627 0 _wgpu_COMMA \

2628 WGPU_FALSE _wgpu_COMMA \

2629})

2630

2641

2645#define WGPU_RENDER_PASS_MAX_DRAW_COUNT_INIT _wgpu_MAKE_INIT_STRUCT(WGPURenderPassMaxDrawCount, { \

2646 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

2647 NULL _wgpu_COMMA \

2648 WGPUSType_RenderPassMaxDrawCount _wgpu_COMMA \

2649 }) _wgpu_COMMA \

2650 50000000 _wgpu_COMMA \

2651})

2652

2667

2671#define WGPU_REQUEST_ADAPTER_WEBXR_OPTIONS_INIT _wgpu_MAKE_INIT_STRUCT(WGPURequestAdapterWebXROptions, { \

2672 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

2673 NULL _wgpu_COMMA \

2674 WGPUSType_RequestAdapterWebXROptions _wgpu_COMMA \

2675 }) _wgpu_COMMA \

2676 WGPU_FALSE _wgpu_COMMA \

2677})

2678

2692

2696#define WGPU_SAMPLER_BINDING_LAYOUT_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSamplerBindingLayout, { \

2697 NULL _wgpu_COMMA \

2698 WGPUSamplerBindingType_Undefined _wgpu_COMMA \

2699})

2700

2779

2783#define WGPU_SAMPLER_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSamplerDescriptor, { \

2784 NULL _wgpu_COMMA \

2785 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2786 WGPUAddressMode_Undefined _wgpu_COMMA \

2787 WGPUAddressMode_Undefined _wgpu_COMMA \

2788 WGPUAddressMode_Undefined _wgpu_COMMA \

2789 WGPUFilterMode_Undefined _wgpu_COMMA \

2790 WGPUFilterMode_Undefined _wgpu_COMMA \

2791 WGPUMipmapFilterMode_Undefined _wgpu_COMMA \

2792 0.f _wgpu_COMMA \

2793 32.f _wgpu_COMMA \

2794 WGPUCompareFunction_Undefined _wgpu_COMMA \

2795 1 _wgpu_COMMA \

2796})

2797

2812

2816#define WGPU_SHADER_SOURCE_SPIRV_INIT _wgpu_MAKE_INIT_STRUCT(WGPUShaderSourceSPIRV, { \

2817 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

2818 NULL _wgpu_COMMA \

2819 WGPUSType_ShaderSourceSPIRV _wgpu_COMMA \

2820 }) _wgpu_COMMA \

2821 0 _wgpu_COMMA \

2822 NULL _wgpu_COMMA \

2823})

2824

2837

2841#define WGPU_SHADER_SOURCE_WGSL_INIT _wgpu_MAKE_INIT_STRUCT(WGPUShaderSourceWGSL, { \

2842 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

2843 NULL _wgpu_COMMA \

2844 WGPUSType_ShaderSourceWGSL _wgpu_COMMA \

2845 }) _wgpu_COMMA \

2846 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

2847})

2848

2882

2886#define WGPU_STENCIL_FACE_STATE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUStencilFaceState, { \

2887 WGPUCompareFunction_Undefined _wgpu_COMMA \

2888 WGPUStencilOperation_Undefined _wgpu_COMMA \

2889 WGPUStencilOperation_Undefined _wgpu_COMMA \

2890 WGPUStencilOperation_Undefined _wgpu_COMMA \

2891})

2892

2917

2921#define WGPU_STORAGE_TEXTURE_BINDING_LAYOUT_INIT _wgpu_MAKE_INIT_STRUCT(WGPUStorageTextureBindingLayout, { \

2922 NULL _wgpu_COMMA \

2923 WGPUStorageTextureAccess_Undefined _wgpu_COMMA \

2924 WGPUTextureFormat_Undefined _wgpu_COMMA \

2925 WGPUTextureViewDimension_Undefined _wgpu_COMMA \

2926})

2927

2941

2945#define WGPU_SUPPORTED_FEATURES_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSupportedFeatures, { \

2946 0 _wgpu_COMMA \

2947 NULL _wgpu_COMMA \

2948})

2949

2963

2967#define WGPU_SUPPORTED_INSTANCE_FEATURES_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSupportedInstanceFeatures, { \

2968 0 _wgpu_COMMA \

2969 NULL _wgpu_COMMA \

2970})

2971

2985

2989#define WGPU_SUPPORTED_WGSL_LANGUAGE_FEATURES_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSupportedWGSLLanguageFeatures, { \

2990 0 _wgpu_COMMA \

2991 NULL _wgpu_COMMA \

2992})

2993

3041

3045#define WGPU_SURFACE_CAPABILITIES_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceCapabilities, { \

3046 NULL _wgpu_COMMA \

3047 WGPUTextureUsage_None _wgpu_COMMA \

3048 0 _wgpu_COMMA \

3049 NULL _wgpu_COMMA \

3050 0 _wgpu_COMMA \

3051 NULL _wgpu_COMMA \

3052 0 _wgpu_COMMA \

3053 NULL _wgpu_COMMA \

3054})

3055

3072

3076#define WGPU_SURFACE_COLOR_MANAGEMENT_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceColorManagement, { \

3077 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

3078 NULL _wgpu_COMMA \

3079 WGPUSType_SurfaceColorManagement _wgpu_COMMA \

3080 }) _wgpu_COMMA \

3081 _wgpu_ENUM_ZERO_INIT(WGPUPredefinedColorSpace) _wgpu_COMMA \

3082 _wgpu_ENUM_ZERO_INIT(WGPUToneMappingMode) _wgpu_COMMA \

3083})

3084

3153

3157#define WGPU_SURFACE_CONFIGURATION_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceConfiguration, { \

3158 NULL _wgpu_COMMA \

3159 NULL _wgpu_COMMA \

3160 WGPUTextureFormat_Undefined _wgpu_COMMA \

3161 WGPUTextureUsage_RenderAttachment _wgpu_COMMA \

3162 0 _wgpu_COMMA \

3163 0 _wgpu_COMMA \

3164 0 _wgpu_COMMA \

3165 NULL _wgpu_COMMA \

3166 WGPUCompositeAlphaMode_Auto _wgpu_COMMA \

3167 WGPUPresentMode_Undefined _wgpu_COMMA \

3168})

3169

3184

3188#define WGPU_SURFACE_SOURCE_ANDROID_NATIVE_WINDOW_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceSourceAndroidNativeWindow, { \

3189 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

3190 NULL _wgpu_COMMA \

3191 WGPUSType_SurfaceSourceAndroidNativeWindow _wgpu_COMMA \

3192 }) _wgpu_COMMA \

3193 NULL _wgpu_COMMA \

3194})

3195

3210

3214#define WGPU_SURFACE_SOURCE_METAL_LAYER_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceSourceMetalLayer, { \

3215 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

3216 NULL _wgpu_COMMA \

3217 WGPUSType_SurfaceSourceMetalLayer _wgpu_COMMA \

3218 }) _wgpu_COMMA \

3219 NULL _wgpu_COMMA \

3220})

3221

3242

3246#define WGPU_SURFACE_SOURCE_WAYLAND_SURFACE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceSourceWaylandSurface, { \

3247 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

3248 NULL _wgpu_COMMA \

3249 WGPUSType_SurfaceSourceWaylandSurface _wgpu_COMMA \

3250 }) _wgpu_COMMA \

3251 NULL _wgpu_COMMA \

3252 NULL _wgpu_COMMA \

3253})

3254

3276

3280#define WGPU_SURFACE_SOURCE_WINDOWS_HWND_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceSourceWindowsHWND, { \

3281 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

3282 NULL _wgpu_COMMA \

3283 WGPUSType_SurfaceSourceWindowsHWND _wgpu_COMMA \

3284 }) _wgpu_COMMA \

3285 NULL _wgpu_COMMA \

3286 NULL _wgpu_COMMA \

3287})

3288

3309

3313#define WGPU_SURFACE_SOURCE_XCB_WINDOW_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceSourceXCBWindow, { \

3314 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

3315 NULL _wgpu_COMMA \

3316 WGPUSType_SurfaceSourceXCBWindow _wgpu_COMMA \

3317 }) _wgpu_COMMA \

3318 NULL _wgpu_COMMA \

3319 0 _wgpu_COMMA \

3320})

3321

3342

3346#define WGPU_SURFACE_SOURCE_XLIB_WINDOW_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceSourceXlibWindow, { \

3347 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

3348 NULL _wgpu_COMMA \

3349 WGPUSType_SurfaceSourceXlibWindow _wgpu_COMMA \

3350 }) _wgpu_COMMA \

3351 NULL _wgpu_COMMA \

3352 0 _wgpu_COMMA \

3353})

3354

3377

3381#define WGPU_SURFACE_TEXTURE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceTexture, { \

3382 NULL _wgpu_COMMA \

3383 NULL _wgpu_COMMA \

3384 _wgpu_ENUM_ZERO_INIT(WGPUSurfaceGetCurrentTextureStatus) _wgpu_COMMA \

3385})

3386

3404

3408#define WGPU_TEXEL_COPY_BUFFER_LAYOUT_INIT _wgpu_MAKE_INIT_STRUCT(WGPUTexelCopyBufferLayout, { \

3409 0 _wgpu_COMMA \

3410 WGPU_COPY_STRIDE_UNDEFINED _wgpu_COMMA \

3411 WGPU_COPY_STRIDE_UNDEFINED _wgpu_COMMA \

3412})

3413

3438

3442#define WGPU_TEXTURE_BINDING_LAYOUT_INIT _wgpu_MAKE_INIT_STRUCT(WGPUTextureBindingLayout, { \

3443 NULL _wgpu_COMMA \

3444 WGPUTextureSampleType_Undefined _wgpu_COMMA \

3445 WGPUTextureViewDimension_Undefined _wgpu_COMMA \

3446 WGPU_FALSE _wgpu_COMMA \

3447})

3448

3463

3467#define WGPU_TEXTURE_BINDING_VIEW_DIMENSION_INIT _wgpu_MAKE_INIT_STRUCT(WGPUTextureBindingViewDimension, { \

3468 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

3469 NULL _wgpu_COMMA \

3470 WGPUSType_TextureBindingViewDimension _wgpu_COMMA \

3471 }) _wgpu_COMMA \

3472 WGPUTextureViewDimension_Undefined _wgpu_COMMA \

3473})

3474

3521

3525#define WGPU_TEXTURE_COMPONENT_SWIZZLE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUTextureComponentSwizzle, { \

3526 WGPUComponentSwizzle_Undefined _wgpu_COMMA \

3527 WGPUComponentSwizzle_Undefined _wgpu_COMMA \

3528 WGPUComponentSwizzle_Undefined _wgpu_COMMA \

3529 WGPUComponentSwizzle_Undefined _wgpu_COMMA \

3530})

3531

3550

3554#define WGPU_VERTEX_ATTRIBUTE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUVertexAttribute, { \

3555 NULL _wgpu_COMMA \

3556 _wgpu_ENUM_ZERO_INIT(WGPUVertexFormat) _wgpu_COMMA \

3557 0 _wgpu_COMMA \

3558 0 _wgpu_COMMA \

3559})

3560

3609

3613#define WGPU_BIND_GROUP_ENTRY_INIT _wgpu_MAKE_INIT_STRUCT(WGPUBindGroupEntry, { \

3614 NULL _wgpu_COMMA \

3615 0 _wgpu_COMMA \

3616 NULL _wgpu_COMMA \

3617 0 _wgpu_COMMA \

3618 WGPU_WHOLE_SIZE _wgpu_COMMA \

3619 NULL _wgpu_COMMA \

3620 NULL _wgpu_COMMA \

3621})

3622

3659

3663#define WGPU_BIND_GROUP_LAYOUT_ENTRY_INIT _wgpu_MAKE_INIT_STRUCT(WGPUBindGroupLayoutEntry, { \

3664 NULL _wgpu_COMMA \

3665 0 _wgpu_COMMA \

3666 WGPUShaderStage_None _wgpu_COMMA \

3667 0 _wgpu_COMMA \

3668 _wgpu_STRUCT_ZERO_INIT _wgpu_COMMA \

3669 _wgpu_STRUCT_ZERO_INIT _wgpu_COMMA \

3670 _wgpu_STRUCT_ZERO_INIT _wgpu_COMMA \

3671 _wgpu_STRUCT_ZERO_INIT _wgpu_COMMA \

3672})

3673

3687

3691#define WGPU_BLEND_STATE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUBlendState, { \

3692 WGPU_BLEND_COMPONENT_INIT _wgpu_COMMA \

3693 WGPU_BLEND_COMPONENT_INIT _wgpu_COMMA \

3694})

3695

3713

3717#define WGPU_COMPILATION_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUCompilationInfo, { \

3718 NULL _wgpu_COMMA \

3719 0 _wgpu_COMMA \

3720 NULL _wgpu_COMMA \

3721})

3722

3739

3743#define WGPU_COMPUTE_PASS_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUComputePassDescriptor, { \

3744 NULL _wgpu_COMMA \

3745 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

3746 NULL _wgpu_COMMA \

3747})

3748

3773

3777#define WGPU_COMPUTE_STATE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUComputeState, { \

3778 NULL _wgpu_COMMA \

3779 NULL _wgpu_COMMA \

3780 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

3781 0 _wgpu_COMMA \

3782 NULL _wgpu_COMMA \

3783})

3784

3839

3843#define WGPU_DEPTH_STENCIL_STATE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUDepthStencilState, { \

3844 NULL _wgpu_COMMA \

3845 WGPUTextureFormat_Undefined _wgpu_COMMA \

3846 WGPUOptionalBool_Undefined _wgpu_COMMA \

3847 WGPUCompareFunction_Undefined _wgpu_COMMA \

3848 WGPU_STENCIL_FACE_STATE_INIT _wgpu_COMMA \

3849 WGPU_STENCIL_FACE_STATE_INIT _wgpu_COMMA \

3850 0xFFFFFFFF _wgpu_COMMA \

3851 0xFFFFFFFF _wgpu_COMMA \

3852 0 _wgpu_COMMA \

3853 0.f _wgpu_COMMA \

3854 0.f _wgpu_COMMA \

3855})

3856

3876

3880#define WGPU_FUTURE_WAIT_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUFutureWaitInfo, { \

3881 WGPU_FUTURE_INIT _wgpu_COMMA \

3882 WGPU_FALSE _wgpu_COMMA \

3883})

3884

3903

3907#define WGPU_INSTANCE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUInstanceDescriptor, { \

3908 NULL _wgpu_COMMA \

3909 0 _wgpu_COMMA \

3910 NULL _wgpu_COMMA \

3911 NULL _wgpu_COMMA \

3912})

3913

4048

4052#define WGPU_LIMITS_INIT _wgpu_MAKE_INIT_STRUCT(WGPULimits, { \

4053 NULL _wgpu_COMMA \

4054 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4055 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4056 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4057 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4058 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4059 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4060 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4061 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4062 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4063 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4064 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4065 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4066 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4067 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4068 WGPU_LIMIT_U64_UNDEFINED _wgpu_COMMA \

4069 WGPU_LIMIT_U64_UNDEFINED _wgpu_COMMA \

4070 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4071 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4072 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4073 WGPU_LIMIT_U64_UNDEFINED _wgpu_COMMA \

4074 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4075 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4076 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4077 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4078 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4079 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4080 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4081 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4082 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4083 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4084 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4085 WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \

4086})

4087

4121

4125#define WGPU_RENDER_PASS_COLOR_ATTACHMENT_INIT _wgpu_MAKE_INIT_STRUCT(WGPURenderPassColorAttachment, { \

4126 NULL _wgpu_COMMA \

4127 NULL _wgpu_COMMA \

4128 WGPU_DEPTH_SLICE_UNDEFINED _wgpu_COMMA \

4129 NULL _wgpu_COMMA \

4130 WGPULoadOp_Undefined _wgpu_COMMA \

4131 WGPUStoreOp_Undefined _wgpu_COMMA \

4132 WGPU_COLOR_INIT _wgpu_COMMA \

4133})

4134

4177

4181#define WGPU_REQUEST_ADAPTER_OPTIONS_INIT _wgpu_MAKE_INIT_STRUCT(WGPURequestAdapterOptions, { \

4182 NULL _wgpu_COMMA \

4183 WGPUFeatureLevel_Undefined _wgpu_COMMA \

4184 WGPUPowerPreference_Undefined _wgpu_COMMA \

4185 WGPU_FALSE _wgpu_COMMA \

4186 WGPUBackendType_Undefined _wgpu_COMMA \

4187 NULL _wgpu_COMMA \

4188})

4189

4202

4206#define WGPU_SHADER_MODULE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUShaderModuleDescriptor, { \

4207 NULL _wgpu_COMMA \

4208 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4209})

4210

4229

4233#define WGPU_SURFACE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSurfaceDescriptor, { \

4234 NULL _wgpu_COMMA \

4235 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4236})

4237

4251

4255#define WGPU_TEXEL_COPY_BUFFER_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUTexelCopyBufferInfo, { \

4256 WGPU_TEXEL_COPY_BUFFER_LAYOUT_INIT _wgpu_COMMA \

4257 NULL _wgpu_COMMA \

4258})

4259

4284

4288#define WGPU_TEXEL_COPY_TEXTURE_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUTexelCopyTextureInfo, { \

4289 NULL _wgpu_COMMA \

4290 0 _wgpu_COMMA \

4291 WGPU_ORIGIN_3D_INIT _wgpu_COMMA \

4292 WGPUTextureAspect_Undefined _wgpu_COMMA \

4293})

4294

4305

4309#define WGPU_TEXTURE_COMPONENT_SWIZZLE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUTextureComponentSwizzleDescriptor, { \

4310 _wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \

4311 NULL _wgpu_COMMA \

4312 WGPUSType_TextureComponentSwizzleDescriptor _wgpu_COMMA \

4313 }) _wgpu_COMMA \

4314 WGPU_TEXTURE_COMPONENT_SWIZZLE_INIT _wgpu_COMMA \

4315})

4316

4364

4368#define WGPU_TEXTURE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUTextureDescriptor, { \

4369 NULL _wgpu_COMMA \

4370 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4371 WGPUTextureUsage_None _wgpu_COMMA \

4372 WGPUTextureDimension_Undefined _wgpu_COMMA \

4373 WGPU_EXTENT_3D_INIT _wgpu_COMMA \

4374 WGPUTextureFormat_Undefined _wgpu_COMMA \

4375 1 _wgpu_COMMA \

4376 1 _wgpu_COMMA \

4377 0 _wgpu_COMMA \

4378 NULL _wgpu_COMMA \

4379})

4380

4416

4420#define WGPU_VERTEX_BUFFER_LAYOUT_INIT _wgpu_MAKE_INIT_STRUCT(WGPUVertexBufferLayout, { \

4421 NULL _wgpu_COMMA \

4422 WGPUVertexStepMode_Undefined _wgpu_COMMA \

4423 0 _wgpu_COMMA \

4424 0 _wgpu_COMMA \

4425 NULL _wgpu_COMMA \

4426})

4427

4452

4456#define WGPU_BIND_GROUP_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUBindGroupDescriptor, { \

4457 NULL _wgpu_COMMA \

4458 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4459 NULL _wgpu_COMMA \

4460 0 _wgpu_COMMA \

4461 NULL _wgpu_COMMA \

4462})

4463

4484

4488#define WGPU_BIND_GROUP_LAYOUT_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUBindGroupLayoutDescriptor, { \

4489 NULL _wgpu_COMMA \

4490 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4491 0 _wgpu_COMMA \

4492 NULL _wgpu_COMMA \

4493})

4494

4517

4521#define WGPU_COLOR_TARGET_STATE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUColorTargetState, { \

4522 NULL _wgpu_COMMA \

4523 WGPUTextureFormat_Undefined _wgpu_COMMA \

4524 NULL _wgpu_COMMA \

4525 WGPUColorWriteMask_All _wgpu_COMMA \

4526})

4527

4548

4552#define WGPU_COMPUTE_PIPELINE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUComputePipelineDescriptor, { \

4553 NULL _wgpu_COMMA \

4554 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4555 NULL _wgpu_COMMA \

4556 WGPU_COMPUTE_STATE_INIT _wgpu_COMMA \

4557})

4558

4600

4604#define WGPU_DEVICE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUDeviceDescriptor, { \

4605 NULL _wgpu_COMMA \

4606 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4607 0 _wgpu_COMMA \

4608 NULL _wgpu_COMMA \

4609 NULL _wgpu_COMMA \

4610 WGPU_QUEUE_DESCRIPTOR_INIT _wgpu_COMMA \

4611 WGPU_DEVICE_LOST_CALLBACK_INFO_INIT _wgpu_COMMA \

4612 WGPU_UNCAPTURED_ERROR_CALLBACK_INFO_INIT _wgpu_COMMA \

4613})

4614

4647

4651#define WGPU_RENDER_PASS_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPURenderPassDescriptor, { \

4652 NULL _wgpu_COMMA \

4653 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4654 0 _wgpu_COMMA \

4655 NULL _wgpu_COMMA \

4656 NULL _wgpu_COMMA \

4657 NULL _wgpu_COMMA \

4658 NULL _wgpu_COMMA \

4659})

4660

4708

4712#define WGPU_TEXTURE_VIEW_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUTextureViewDescriptor, { \

4713 NULL _wgpu_COMMA \

4714 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4715 WGPUTextureFormat_Undefined _wgpu_COMMA \

4716 WGPUTextureViewDimension_Undefined _wgpu_COMMA \

4717 0 _wgpu_COMMA \

4718 WGPU_MIP_LEVEL_COUNT_UNDEFINED _wgpu_COMMA \

4719 0 _wgpu_COMMA \

4720 WGPU_ARRAY_LAYER_COUNT_UNDEFINED _wgpu_COMMA \

4721 WGPUTextureAspect_Undefined _wgpu_COMMA \

4722 WGPUTextureUsage_None _wgpu_COMMA \

4723})

4724

4757

4761#define WGPU_VERTEX_STATE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUVertexState, { \

4762 NULL _wgpu_COMMA \

4763 NULL _wgpu_COMMA \

4764 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4765 0 _wgpu_COMMA \

4766 NULL _wgpu_COMMA \

4767 0 _wgpu_COMMA \

4768 NULL _wgpu_COMMA \

4769})

4770

4803

4807#define WGPU_FRAGMENT_STATE_INIT _wgpu_MAKE_INIT_STRUCT(WGPUFragmentState, { \

4808 NULL _wgpu_COMMA \

4809 NULL _wgpu_COMMA \

4810 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4811 0 _wgpu_COMMA \

4812 NULL _wgpu_COMMA \

4813 0 _wgpu_COMMA \

4814 NULL _wgpu_COMMA \

4815})

4816

4853

4857#define WGPU_RENDER_PIPELINE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPURenderPipelineDescriptor, { \

4858 NULL _wgpu_COMMA \

4859 WGPU_STRING_VIEW_INIT _wgpu_COMMA \

4860 NULL _wgpu_COMMA \

4861 WGPU_VERTEX_STATE_INIT _wgpu_COMMA \

4862 WGPU_PRIMITIVE_STATE_INIT _wgpu_COMMA \

4863 NULL _wgpu_COMMA \

4864 WGPU_MULTISAMPLE_STATE_INIT _wgpu_COMMA \

4865 NULL _wgpu_COMMA \

4866})

4867

4870#ifdef __cplusplus

4871extern "C" {

4872#endif

4873

4874#if !defined(WGPU_SKIP_PROCS)

4875

4900typedef WGPUProc (*WGPUProcGetProcAddress)(WGPUStringView procName) WGPU_FUNCTION_ATTRIBUTE;

4901

4902

4903

4933typedef void (*WGPUProcAdapterAddRef)(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;

4938typedef void (*WGPUProcAdapterRelease)(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;

4939

4940

4945typedef void (*WGPUProcAdapterInfoFreeMembers)(WGPUAdapterInfo adapterInfo) WGPU_FUNCTION_ATTRIBUTE;

4946

4947

4952typedef void (*WGPUProcBindGroupSetLabel)(WGPUBindGroup bindGroup, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

4957typedef void (*WGPUProcBindGroupAddRef)(WGPUBindGroup bindGroup) WGPU_FUNCTION_ATTRIBUTE;

4962typedef void (*WGPUProcBindGroupRelease)(WGPUBindGroup bindGroup) WGPU_FUNCTION_ATTRIBUTE;

4963

4964

4969typedef void (*WGPUProcBindGroupLayoutSetLabel)(WGPUBindGroupLayout bindGroupLayout, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

4974typedef void (*WGPUProcBindGroupLayoutAddRef)(WGPUBindGroupLayout bindGroupLayout) WGPU_FUNCTION_ATTRIBUTE;

4979typedef void (*WGPUProcBindGroupLayoutRelease)(WGPUBindGroupLayout bindGroupLayout) WGPU_FUNCTION_ATTRIBUTE;

4980

4981

4986typedef void (*WGPUProcBufferDestroy)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;

4991typedef void const * (*WGPUProcBufferGetConstMappedRange)(WGPUBuffer buffer, size_t offset, size_t size) WGPU_FUNCTION_ATTRIBUTE;

4996typedef void * (*WGPUProcBufferGetMappedRange)(WGPUBuffer buffer, size_t offset, size_t size) WGPU_FUNCTION_ATTRIBUTE;

5006typedef uint64_t (*WGPUProcBufferGetSize)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;

5021typedef WGPUStatus (*WGPUProcBufferReadMappedRange)(WGPUBuffer buffer, size_t offset, void * data, size_t size) WGPU_FUNCTION_ATTRIBUTE;

5026typedef void (*WGPUProcBufferSetLabel)(WGPUBuffer buffer, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5031typedef void (*WGPUProcBufferUnmap)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;

5036typedef WGPUStatus (*WGPUProcBufferWriteMappedRange)(WGPUBuffer buffer, size_t offset, void const * data, size_t size) WGPU_FUNCTION_ATTRIBUTE;

5041typedef void (*WGPUProcBufferAddRef)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;

5046typedef void (*WGPUProcBufferRelease)(WGPUBuffer buffer) WGPU_FUNCTION_ATTRIBUTE;

5047

5048

5053typedef void (*WGPUProcCommandBufferSetLabel)(WGPUCommandBuffer commandBuffer, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5058typedef void (*WGPUProcCommandBufferAddRef)(WGPUCommandBuffer commandBuffer) WGPU_FUNCTION_ATTRIBUTE;

5063typedef void (*WGPUProcCommandBufferRelease)(WGPUCommandBuffer commandBuffer) WGPU_FUNCTION_ATTRIBUTE;

5064

5065

5080typedef void (*WGPUProcCommandEncoderClearBuffer)(WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;

5085typedef void (*WGPUProcCommandEncoderCopyBufferToBuffer)(WGPUCommandEncoder commandEncoder, WGPUBuffer source, uint64_t sourceOffset, WGPUBuffer destination, uint64_t destinationOffset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;

5110typedef void (*WGPUProcCommandEncoderInsertDebugMarker)(WGPUCommandEncoder commandEncoder, WGPUStringView markerLabel) WGPU_FUNCTION_ATTRIBUTE;

5115typedef void (*WGPUProcCommandEncoderPopDebugGroup)(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE;

5120typedef void (*WGPUProcCommandEncoderPushDebugGroup)(WGPUCommandEncoder commandEncoder, WGPUStringView groupLabel) WGPU_FUNCTION_ATTRIBUTE;

5125typedef void (*WGPUProcCommandEncoderResolveQuerySet)(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t firstQuery, uint32_t queryCount, WGPUBuffer destination, uint64_t destinationOffset) WGPU_FUNCTION_ATTRIBUTE;

5130typedef void (*WGPUProcCommandEncoderSetLabel)(WGPUCommandEncoder commandEncoder, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5135typedef void (*WGPUProcCommandEncoderWriteTimestamp)(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE;

5140typedef void (*WGPUProcCommandEncoderAddRef)(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE;

5145typedef void (*WGPUProcCommandEncoderRelease)(WGPUCommandEncoder commandEncoder) WGPU_FUNCTION_ATTRIBUTE;

5146

5147

5152typedef void (*WGPUProcComputePassEncoderDispatchWorkgroups)(WGPUComputePassEncoder computePassEncoder, uint32_t workgroupCountX, uint32_t workgroupCountY, uint32_t workgroupCountZ) WGPU_FUNCTION_ATTRIBUTE;

5157typedef void (*WGPUProcComputePassEncoderDispatchWorkgroupsIndirect)(WGPUComputePassEncoder computePassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;

5162typedef void (*WGPUProcComputePassEncoderEnd)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;

5167typedef void (*WGPUProcComputePassEncoderInsertDebugMarker)(WGPUComputePassEncoder computePassEncoder, WGPUStringView markerLabel) WGPU_FUNCTION_ATTRIBUTE;

5172typedef void (*WGPUProcComputePassEncoderPopDebugGroup)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;

5177typedef void (*WGPUProcComputePassEncoderPushDebugGroup)(WGPUComputePassEncoder computePassEncoder, WGPUStringView groupLabel) WGPU_FUNCTION_ATTRIBUTE;

5182typedef void (*WGPUProcComputePassEncoderSetBindGroup)(WGPUComputePassEncoder computePassEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE;

5197typedef void (*WGPUProcComputePassEncoderAddRef)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;

5202typedef void (*WGPUProcComputePassEncoderRelease)(WGPUComputePassEncoder computePassEncoder) WGPU_FUNCTION_ATTRIBUTE;

5203

5204

5209typedef WGPUBindGroupLayout (*WGPUProcComputePipelineGetBindGroupLayout)(WGPUComputePipeline computePipeline, uint32_t groupIndex) WGPU_FUNCTION_ATTRIBUTE;

5214typedef void (*WGPUProcComputePipelineSetLabel)(WGPUComputePipeline computePipeline, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5219typedef void (*WGPUProcComputePipelineAddRef)(WGPUComputePipeline computePipeline) WGPU_FUNCTION_ATTRIBUTE;

5224typedef void (*WGPUProcComputePipelineRelease)(WGPUComputePipeline computePipeline) WGPU_FUNCTION_ATTRIBUTE;

5225

5226

5301typedef void (*WGPUProcDeviceDestroy)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;

5321typedef WGPUFuture (*WGPUProcDeviceGetLostFuture)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;

5326typedef WGPUQueue (*WGPUProcDeviceGetQueue)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;

5341typedef void (*WGPUProcDevicePushErrorScope)(WGPUDevice device, WGPUErrorFilter filter) WGPU_FUNCTION_ATTRIBUTE;

5346typedef void (*WGPUProcDeviceSetLabel)(WGPUDevice device, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5351typedef void (*WGPUProcDeviceAddRef)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;

5356typedef void (*WGPUProcDeviceRelease)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;

5357

5358

5363typedef void (*WGPUProcExternalTextureSetLabel)(WGPUExternalTexture externalTexture, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5368typedef void (*WGPUProcExternalTextureAddRef)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;

5373typedef void (*WGPUProcExternalTextureRelease)(WGPUExternalTexture externalTexture) WGPU_FUNCTION_ATTRIBUTE;

5374

5375

5395typedef void (*WGPUProcInstanceProcessEvents)(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE;

5405typedef WGPUWaitStatus (*WGPUProcInstanceWaitAny)(WGPUInstance instance, size_t futureCount, WGPU_NULLABLE WGPUFutureWaitInfo * futures, uint64_t timeoutNS) WGPU_FUNCTION_ATTRIBUTE;

5410typedef void (*WGPUProcInstanceAddRef)(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE;

5415typedef void (*WGPUProcInstanceRelease)(WGPUInstance instance) WGPU_FUNCTION_ATTRIBUTE;

5416

5417

5422typedef void (*WGPUProcPipelineLayoutSetLabel)(WGPUPipelineLayout pipelineLayout, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5427typedef void (*WGPUProcPipelineLayoutAddRef)(WGPUPipelineLayout pipelineLayout) WGPU_FUNCTION_ATTRIBUTE;

5432typedef void (*WGPUProcPipelineLayoutRelease)(WGPUPipelineLayout pipelineLayout) WGPU_FUNCTION_ATTRIBUTE;

5433

5434

5439typedef void (*WGPUProcQuerySetDestroy)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;

5444typedef uint32_t (*WGPUProcQuerySetGetCount)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;

5454typedef void (*WGPUProcQuerySetSetLabel)(WGPUQuerySet querySet, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5459typedef void (*WGPUProcQuerySetAddRef)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;

5464typedef void (*WGPUProcQuerySetRelease)(WGPUQuerySet querySet) WGPU_FUNCTION_ATTRIBUTE;

5465

5466

5476typedef void (*WGPUProcQueueSetLabel)(WGPUQueue queue, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5481typedef void (*WGPUProcQueueSubmit)(WGPUQueue queue, size_t commandCount, WGPUCommandBuffer const * commands) WGPU_FUNCTION_ATTRIBUTE;

5486typedef void (*WGPUProcQueueWriteBuffer)(WGPUQueue queue, WGPUBuffer buffer, uint64_t bufferOffset, void const * data, size_t size) WGPU_FUNCTION_ATTRIBUTE;

5496typedef void (*WGPUProcQueueAddRef)(WGPUQueue queue) WGPU_FUNCTION_ATTRIBUTE;

5501typedef void (*WGPUProcQueueRelease)(WGPUQueue queue) WGPU_FUNCTION_ATTRIBUTE;

5502

5503

5508typedef void (*WGPUProcRenderBundleSetLabel)(WGPURenderBundle renderBundle, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5513typedef void (*WGPUProcRenderBundleAddRef)(WGPURenderBundle renderBundle) WGPU_FUNCTION_ATTRIBUTE;

5518typedef void (*WGPUProcRenderBundleRelease)(WGPURenderBundle renderBundle) WGPU_FUNCTION_ATTRIBUTE;

5519

5520

5525typedef void (*WGPUProcRenderBundleEncoderDraw)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;

5530typedef void (*WGPUProcRenderBundleEncoderDrawIndexed)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;

5535typedef void (*WGPUProcRenderBundleEncoderDrawIndexedIndirect)(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;

5540typedef void (*WGPUProcRenderBundleEncoderDrawIndirect)(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;

5550typedef void (*WGPUProcRenderBundleEncoderInsertDebugMarker)(WGPURenderBundleEncoder renderBundleEncoder, WGPUStringView markerLabel) WGPU_FUNCTION_ATTRIBUTE;

5555typedef void (*WGPUProcRenderBundleEncoderPopDebugGroup)(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE;

5560typedef void (*WGPUProcRenderBundleEncoderPushDebugGroup)(WGPURenderBundleEncoder renderBundleEncoder, WGPUStringView groupLabel) WGPU_FUNCTION_ATTRIBUTE;

5565typedef void (*WGPUProcRenderBundleEncoderSetBindGroup)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE;

5570typedef void (*WGPUProcRenderBundleEncoderSetIndexBuffer)(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;

5585typedef void (*WGPUProcRenderBundleEncoderSetVertexBuffer)(WGPURenderBundleEncoder renderBundleEncoder, uint32_t slot, WGPU_NULLABLE WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;

5590typedef void (*WGPUProcRenderBundleEncoderAddRef)(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE;

5595typedef void (*WGPUProcRenderBundleEncoderRelease)(WGPURenderBundleEncoder renderBundleEncoder) WGPU_FUNCTION_ATTRIBUTE;

5596

5597

5602typedef void (*WGPUProcRenderPassEncoderBeginOcclusionQuery)(WGPURenderPassEncoder renderPassEncoder, uint32_t queryIndex) WGPU_FUNCTION_ATTRIBUTE;

5607typedef void (*WGPUProcRenderPassEncoderDraw)(WGPURenderPassEncoder renderPassEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;

5612typedef void (*WGPUProcRenderPassEncoderDrawIndexed)(WGPURenderPassEncoder renderPassEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;

5617typedef void (*WGPUProcRenderPassEncoderDrawIndexedIndirect)(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;

5622typedef void (*WGPUProcRenderPassEncoderDrawIndirect)(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset) WGPU_FUNCTION_ATTRIBUTE;

5627typedef void (*WGPUProcRenderPassEncoderEnd)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;

5632typedef void (*WGPUProcRenderPassEncoderEndOcclusionQuery)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;

5637typedef void (*WGPUProcRenderPassEncoderExecuteBundles)(WGPURenderPassEncoder renderPassEncoder, size_t bundleCount, WGPURenderBundle const * bundles) WGPU_FUNCTION_ATTRIBUTE;

5642typedef void (*WGPUProcRenderPassEncoderInsertDebugMarker)(WGPURenderPassEncoder renderPassEncoder, WGPUStringView markerLabel) WGPU_FUNCTION_ATTRIBUTE;

5647typedef void (*WGPUProcRenderPassEncoderPopDebugGroup)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;

5652typedef void (*WGPUProcRenderPassEncoderPushDebugGroup)(WGPURenderPassEncoder renderPassEncoder, WGPUStringView groupLabel) WGPU_FUNCTION_ATTRIBUTE;

5657typedef void (*WGPUProcRenderPassEncoderSetBindGroup)(WGPURenderPassEncoder renderPassEncoder, uint32_t groupIndex, WGPU_NULLABLE WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) WGPU_FUNCTION_ATTRIBUTE;

5662typedef void (*WGPUProcRenderPassEncoderSetBlendConstant)(WGPURenderPassEncoder renderPassEncoder, WGPUColor const * color) WGPU_FUNCTION_ATTRIBUTE;

5667typedef void (*WGPUProcRenderPassEncoderSetIndexBuffer)(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;

5672typedef void (*WGPUProcRenderPassEncoderSetLabel)(WGPURenderPassEncoder renderPassEncoder, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5682typedef void (*WGPUProcRenderPassEncoderSetScissorRect)(WGPURenderPassEncoder renderPassEncoder, uint32_t x, uint32_t y, uint32_t width, uint32_t height) WGPU_FUNCTION_ATTRIBUTE;

5687typedef void (*WGPUProcRenderPassEncoderSetStencilReference)(WGPURenderPassEncoder renderPassEncoder, uint32_t reference) WGPU_FUNCTION_ATTRIBUTE;

5692typedef void (*WGPUProcRenderPassEncoderSetVertexBuffer)(WGPURenderPassEncoder renderPassEncoder, uint32_t slot, WGPU_NULLABLE WGPUBuffer buffer, uint64_t offset, uint64_t size) WGPU_FUNCTION_ATTRIBUTE;

5697typedef void (*WGPUProcRenderPassEncoderSetViewport)(WGPURenderPassEncoder renderPassEncoder, float x, float y, float width, float height, float minDepth, float maxDepth) WGPU_FUNCTION_ATTRIBUTE;

5702typedef void (*WGPUProcRenderPassEncoderAddRef)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;

5707typedef void (*WGPUProcRenderPassEncoderRelease)(WGPURenderPassEncoder renderPassEncoder) WGPU_FUNCTION_ATTRIBUTE;

5708

5709

5714typedef WGPUBindGroupLayout (*WGPUProcRenderPipelineGetBindGroupLayout)(WGPURenderPipeline renderPipeline, uint32_t groupIndex) WGPU_FUNCTION_ATTRIBUTE;

5719typedef void (*WGPUProcRenderPipelineSetLabel)(WGPURenderPipeline renderPipeline, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5724typedef void (*WGPUProcRenderPipelineAddRef)(WGPURenderPipeline renderPipeline) WGPU_FUNCTION_ATTRIBUTE;

5729typedef void (*WGPUProcRenderPipelineRelease)(WGPURenderPipeline renderPipeline) WGPU_FUNCTION_ATTRIBUTE;

5730

5731

5736typedef void (*WGPUProcSamplerSetLabel)(WGPUSampler sampler, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5741typedef void (*WGPUProcSamplerAddRef)(WGPUSampler sampler) WGPU_FUNCTION_ATTRIBUTE;

5746typedef void (*WGPUProcSamplerRelease)(WGPUSampler sampler) WGPU_FUNCTION_ATTRIBUTE;

5747

5748

5758typedef void (*WGPUProcShaderModuleSetLabel)(WGPUShaderModule shaderModule, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5763typedef void (*WGPUProcShaderModuleAddRef)(WGPUShaderModule shaderModule) WGPU_FUNCTION_ATTRIBUTE;

5768typedef void (*WGPUProcShaderModuleRelease)(WGPUShaderModule shaderModule) WGPU_FUNCTION_ATTRIBUTE;

5769

5770

5775typedef void (*WGPUProcSupportedFeaturesFreeMembers)(WGPUSupportedFeatures supportedFeatures) WGPU_FUNCTION_ATTRIBUTE;

5776

5777

5782typedef void (*WGPUProcSupportedInstanceFeaturesFreeMembers)(WGPUSupportedInstanceFeatures supportedInstanceFeatures) WGPU_FUNCTION_ATTRIBUTE;

5783

5784

5789typedef void (*WGPUProcSupportedWGSLLanguageFeaturesFreeMembers)(WGPUSupportedWGSLLanguageFeatures supportedWGSLLanguageFeatures) WGPU_FUNCTION_ATTRIBUTE;

5790

5791

5806typedef void (*WGPUProcSurfaceGetCurrentTexture)(WGPUSurface surface, WGPUSurfaceTexture * surfaceTexture) WGPU_FUNCTION_ATTRIBUTE;

5811typedef WGPUStatus (*WGPUProcSurfacePresent)(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE;

5816typedef void (*WGPUProcSurfaceSetLabel)(WGPUSurface surface, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5821typedef void (*WGPUProcSurfaceUnconfigure)(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE;

5826typedef void (*WGPUProcSurfaceAddRef)(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE;

5831typedef void (*WGPUProcSurfaceRelease)(WGPUSurface surface) WGPU_FUNCTION_ATTRIBUTE;

5832

5833

5838typedef void (*WGPUProcSurfaceCapabilitiesFreeMembers)(WGPUSurfaceCapabilities surfaceCapabilities) WGPU_FUNCTION_ATTRIBUTE;

5839

5840

5850typedef void (*WGPUProcTextureDestroy)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;

5855typedef uint32_t (*WGPUProcTextureGetDepthOrArrayLayers)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;

5870typedef uint32_t (*WGPUProcTextureGetHeight)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;

5875typedef uint32_t (*WGPUProcTextureGetMipLevelCount)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;

5880typedef uint32_t (*WGPUProcTextureGetSampleCount)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;

5895typedef uint32_t (*WGPUProcTextureGetWidth)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;

5900typedef void (*WGPUProcTextureSetLabel)(WGPUTexture texture, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5905typedef void (*WGPUProcTextureAddRef)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;

5910typedef void (*WGPUProcTextureRelease)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;

5911

5912

5917typedef void (*WGPUProcTextureViewSetLabel)(WGPUTextureView textureView, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

5922typedef void (*WGPUProcTextureViewAddRef)(WGPUTextureView textureView) WGPU_FUNCTION_ATTRIBUTE;

5927typedef void (*WGPUProcTextureViewRelease)(WGPUTextureView textureView) WGPU_FUNCTION_ATTRIBUTE;

5928

5929#endif

5930

5931#if !defined(WGPU_SKIP_DECLARATIONS)

5968

6008

6021

6033

6045

6151

6163

6200

6220

6237

6358

6370

6410

6422

6437

6457

6469

6497

6507WGPU_EXPORT void wgpuRenderPassEncoderDraw(WGPURenderPassEncoder renderPassEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;

6508WGPU_EXPORT void wgpuRenderPassEncoderDrawIndexed(WGPURenderPassEncoder renderPassEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) WGPU_FUNCTION_ATTRIBUTE;

6537

6554

6566

6579

6592

6605

6618

6685

6698

6725

6737

6742#endif

6743

6744#ifdef __cplusplus

6745}

6746#endif

6747

6748#endif

static const WGPUColorWriteMask WGPUColorWriteMask_Blue

Definition webgpu.h:1328

static const WGPUBufferUsage WGPUBufferUsage_Indirect

Definition webgpu.h:1312

WGPUFlags WGPUColorWriteMask

Definition webgpu.h:1321

static const WGPUBufferUsage WGPUBufferUsage_Storage

Definition webgpu.h:1308

static const WGPUColorWriteMask WGPUColorWriteMask_Alpha

Definition webgpu.h:1329

static const WGPUTextureUsage WGPUTextureUsage_TransientAttachment

Definition webgpu.h:1371

static const WGPUBufferUsage WGPUBufferUsage_MapRead

Definition webgpu.h:1278

static const WGPUBufferUsage WGPUBufferUsage_Index

Definition webgpu.h:1296

static const WGPUBufferUsage WGPUBufferUsage_None

Definition webgpu.h:1274

static const WGPUMapMode WGPUMapMode_None

Definition webgpu.h:1342

static const WGPUTextureUsage WGPUTextureUsage_None

Definition webgpu.h:1365

WGPUFlags WGPUMapMode

Definition webgpu.h:1338

static const WGPUTextureUsage WGPUTextureUsage_TextureBinding

Definition webgpu.h:1368

static const WGPUColorWriteMask WGPUColorWriteMask_All

Definition webgpu.h:1333

static const WGPUTextureUsage WGPUTextureUsage_CopySrc

Definition webgpu.h:1366

WGPUFlags WGPUShaderStage

Definition webgpu.h:1349

static const WGPUBufferUsage WGPUBufferUsage_QueryResolve

Definition webgpu.h:1316

static const WGPUShaderStage WGPUShaderStage_Fragment

Definition webgpu.h:1355

static const WGPUShaderStage WGPUShaderStage_Compute

Definition webgpu.h:1356

static const WGPUMapMode WGPUMapMode_Write

Definition webgpu.h:1344

static const WGPUShaderStage WGPUShaderStage_None

Definition webgpu.h:1353

static const WGPUTextureUsage WGPUTextureUsage_RenderAttachment

Definition webgpu.h:1370

static const WGPUBufferUsage WGPUBufferUsage_MapWrite

Definition webgpu.h:1284

static const WGPUTextureUsage WGPUTextureUsage_CopyDst

Definition webgpu.h:1367

static const WGPUBufferUsage WGPUBufferUsage_CopySrc

Definition webgpu.h:1288

static const WGPUTextureUsage WGPUTextureUsage_StorageBinding

Definition webgpu.h:1369

WGPUFlags WGPUTextureUsage

Definition webgpu.h:1361

static const WGPUBufferUsage WGPUBufferUsage_Uniform

Definition webgpu.h:1304

static const WGPUMapMode WGPUMapMode_Read

Definition webgpu.h:1343

static const WGPUColorWriteMask WGPUColorWriteMask_Green

Definition webgpu.h:1327

static const WGPUBufferUsage WGPUBufferUsage_Vertex

Definition webgpu.h:1300

static const WGPUShaderStage WGPUShaderStage_Vertex

Definition webgpu.h:1354

static const WGPUColorWriteMask WGPUColorWriteMask_None

Definition webgpu.h:1325

static const WGPUColorWriteMask WGPUColorWriteMask_Red

Definition webgpu.h:1326

WGPUFlags WGPUBufferUsage

Definition webgpu.h:1270

static const WGPUBufferUsage WGPUBufferUsage_CopyDst

Definition webgpu.h:1292

void(* WGPUUncapturedErrorCallback)(WGPUDevice const *device, WGPUErrorType type, WGPUStringView message, void *userdata1, void *userdata2)

Definition webgpu.h:1501

void(* WGPURequestDeviceCallback)(WGPURequestDeviceStatus status, WGPUDevice device, WGPUStringView message, void *userdata1, void *userdata2)

Definition webgpu.h:1490

void(* WGPUCreateComputePipelineAsyncCallback)(WGPUCreatePipelineAsyncStatus status, WGPUComputePipeline pipeline, WGPUStringView message, void *userdata1, void *userdata2)

Definition webgpu.h:1408

void(* WGPUDeviceLostCallback)(WGPUDevice const *device, WGPUDeviceLostReason reason, WGPUStringView message, void *userdata1, void *userdata2)

Definition webgpu.h:1435

void(* WGPUCreateRenderPipelineAsyncCallback)(WGPUCreatePipelineAsyncStatus status, WGPURenderPipeline pipeline, WGPUStringView message, void *userdata1, void *userdata2)

Definition webgpu.h:1416

void(* WGPUCompilationInfoCallback)(WGPUCompilationInfoRequestStatus status, struct WGPUCompilationInfo const *compilationInfo, void *userdata1, void *userdata2)

Definition webgpu.h:1400

void(* WGPURequestAdapterCallback)(WGPURequestAdapterStatus status, WGPUAdapter adapter, WGPUStringView message, void *userdata1, void *userdata2)

Definition webgpu.h:1479

void(* WGPUBufferMapCallback)(WGPUMapAsyncStatus status, WGPUStringView message, void *userdata1, void *userdata2)

Definition webgpu.h:1390

void(* WGPUQueueWorkDoneCallback)(WGPUQueueWorkDoneStatus status, WGPUStringView message, void *userdata1, void *userdata2)

Definition webgpu.h:1468

void(* WGPUPopErrorScopeCallback)(WGPUPopErrorScopeStatus status, WGPUErrorType type, WGPUStringView message, void *userdata1, void *userdata2)

Definition webgpu.h:1454

WGPUIndexFormat

Definition webgpu.h:687

WGPURequestAdapterStatus

Definition webgpu.h:856

WGPUFeatureName

Definition webgpu.h:641

WGPUVertexFormat

Definition webgpu.h:1169

WGPUSType

Definition webgpu.h:948

WGPUBufferBindingType

Definition webgpu.h:429

WGPUDeviceLostReason

Definition webgpu.h:595

WGPUCompareFunction

Definition webgpu.h:482

WGPUCullMode

Definition webgpu.h:584

WGPUTextureDimension

Definition webgpu.h:1010

WGPURequestDeviceStatus

Definition webgpu.h:867

WGPUCompilationMessageType

Definition webgpu.h:507

WGPUCreatePipelineAsyncStatus

Definition webgpu.h:573

WGPUTextureViewDimension

Definition webgpu.h:1149

WGPUPrimitiveTopology

Definition webgpu.h:823

WGPUTextureFormat

Definition webgpu.h:1021

WGPUWGSLLanguageFeatureName

Definition webgpu.h:1244

WGPUStencilOperation

Definition webgpu.h:905

WGPUAddressMode

Definition webgpu.h:364

WGPUToneMappingMode

Definition webgpu.h:1163

WGPUTextureAspect

Definition webgpu.h:999

WGPUBufferMapState

Definition webgpu.h:446

WGPUFilterMode

Definition webgpu.h:667

WGPUBackendType

Definition webgpu.h:375

WGPUBlendFactor

Definition webgpu.h:391

WGPUSamplerBindingType

Definition webgpu.h:877

WGPULoadOp

Definition webgpu.h:717

WGPUPopErrorScopeStatus

Definition webgpu.h:758

WGPUWaitStatus

Definition webgpu.h:1227

WGPUStorageTextureAccess

Definition webgpu.h:921

WGPUPowerPreference

Definition webgpu.h:774

WGPUPresentMode

Definition webgpu.h:793

WGPUMapAsyncStatus

Definition webgpu.h:727

WGPUBlendOperation

Definition webgpu.h:416

WGPUCompositeAlphaMode

Definition webgpu.h:549

WGPUPredefinedColorSpace

Definition webgpu.h:784

WGPUQueueWorkDoneStatus

Definition webgpu.h:842

WGPUComponentSwizzle

Definition webgpu.h:514

WGPUVertexStepMode

Definition webgpu.h:1214

WGPUQueryType

Definition webgpu.h:836

WGPUFeatureLevel

Definition webgpu.h:625

WGPUAdapterType

Definition webgpu.h:356

WGPUInstanceFeatureName

Definition webgpu.h:697

WGPUStatus

Definition webgpu.h:899

WGPUCompilationInfoRequestStatus

Definition webgpu.h:498

WGPUMipmapFilterMode

Definition webgpu.h:738

WGPUSurfaceGetCurrentTextureStatus

Definition webgpu.h:971

WGPUFrontFace

Definition webgpu.h:677

WGPUStoreOp

Definition webgpu.h:938

WGPUErrorFilter

Definition webgpu.h:606

WGPUOptionalBool

Definition webgpu.h:748

WGPUCallbackMode

Definition webgpu.h:456

WGPUTextureSampleType

Definition webgpu.h:1130

WGPUErrorType

Definition webgpu.h:613

@ WGPUIndexFormat_Force32

Definition webgpu.h:694

@ WGPUIndexFormat_Uint16

Definition webgpu.h:692

@ WGPUIndexFormat_Undefined

Definition webgpu.h:691

@ WGPUIndexFormat_Uint32

Definition webgpu.h:693

@ WGPURequestAdapterStatus_Unavailable

Definition webgpu.h:862

@ WGPURequestAdapterStatus_Success

Definition webgpu.h:857

@ WGPURequestAdapterStatus_Error

Definition webgpu.h:863

@ WGPURequestAdapterStatus_CallbackCancelled

Definition webgpu.h:861

@ WGPURequestAdapterStatus_Force32

Definition webgpu.h:864

@ WGPUFeatureName_TextureCompressionASTC

Definition webgpu.h:648

@ WGPUFeatureName_Subgroups

Definition webgpu.h:659

@ WGPUFeatureName_Force32

Definition webgpu.h:664

@ WGPUFeatureName_ClipDistances

Definition webgpu.h:657

@ WGPUFeatureName_PrimitiveIndex

Definition webgpu.h:662

@ WGPUFeatureName_Depth32FloatStencil8

Definition webgpu.h:644

@ WGPUFeatureName_RG11B10UfloatRenderable

Definition webgpu.h:653

@ WGPUFeatureName_TextureFormatsTier1

Definition webgpu.h:660

@ WGPUFeatureName_BGRA8UnormStorage

Definition webgpu.h:654

@ WGPUFeatureName_Float32Blendable

Definition webgpu.h:656

@ WGPUFeatureName_DualSourceBlending

Definition webgpu.h:658

@ WGPUFeatureName_TextureComponentSwizzle

Definition webgpu.h:663

@ WGPUFeatureName_TextureCompressionASTCSliced3D

Definition webgpu.h:649

@ WGPUFeatureName_TextureCompressionBCSliced3D

Definition webgpu.h:646

@ WGPUFeatureName_CoreFeaturesAndLimits

Definition webgpu.h:642

@ WGPUFeatureName_ShaderF16

Definition webgpu.h:652

@ WGPUFeatureName_Float32Filterable

Definition webgpu.h:655

@ WGPUFeatureName_TimestampQuery

Definition webgpu.h:650

@ WGPUFeatureName_TextureFormatsTier2

Definition webgpu.h:661

@ WGPUFeatureName_TextureCompressionBC

Definition webgpu.h:645

@ WGPUFeatureName_TextureCompressionETC2

Definition webgpu.h:647

@ WGPUFeatureName_IndirectFirstInstance

Definition webgpu.h:651

@ WGPUFeatureName_DepthClipControl

Definition webgpu.h:643

@ WGPUVertexFormat_Sint32x4

Definition webgpu.h:1208

@ WGPUVertexFormat_Float32x2

Definition webgpu.h:1198

@ WGPUVertexFormat_Sint32x2

Definition webgpu.h:1206

@ WGPUVertexFormat_Float32

Definition webgpu.h:1197

@ WGPUVertexFormat_Float16x4

Definition webgpu.h:1196

@ WGPUVertexFormat_Uint16x4

Definition webgpu.h:1184

@ WGPUVertexFormat_Snorm8x2

Definition webgpu.h:1180

@ WGPUVertexFormat_Uint8x4

Definition webgpu.h:1172

@ WGPUVertexFormat_Sint8x2

Definition webgpu.h:1174

@ WGPUVertexFormat_Unorm8

Definition webgpu.h:1176

@ WGPUVertexFormat_Unorm8x4

Definition webgpu.h:1178

@ WGPUVertexFormat_Force32

Definition webgpu.h:1211

@ WGPUVertexFormat_Uint8x2

Definition webgpu.h:1171

@ WGPUVertexFormat_Float32x4

Definition webgpu.h:1200

@ WGPUVertexFormat_Float16x2

Definition webgpu.h:1195

@ WGPUVertexFormat_Uint32

Definition webgpu.h:1201

@ WGPUVertexFormat_Snorm8

Definition webgpu.h:1179

@ WGPUVertexFormat_Sint8

Definition webgpu.h:1173

@ WGPUVertexFormat_Uint32x4

Definition webgpu.h:1204

@ WGPUVertexFormat_Unorm8x4BGRA

Definition webgpu.h:1210

@ WGPUVertexFormat_Sint32

Definition webgpu.h:1205

@ WGPUVertexFormat_Uint16

Definition webgpu.h:1182

@ WGPUVertexFormat_Uint32x2

Definition webgpu.h:1202

@ WGPUVertexFormat_Uint32x3

Definition webgpu.h:1203

@ WGPUVertexFormat_Snorm16

Definition webgpu.h:1191

@ WGPUVertexFormat_Sint16x4

Definition webgpu.h:1187

@ WGPUVertexFormat_Unorm10_10_10_2

Definition webgpu.h:1209

@ WGPUVertexFormat_Unorm16x2

Definition webgpu.h:1189

@ WGPUVertexFormat_Float16

Definition webgpu.h:1194

@ WGPUVertexFormat_Unorm8x2

Definition webgpu.h:1177

@ WGPUVertexFormat_Sint32x3

Definition webgpu.h:1207

@ WGPUVertexFormat_Sint16x2

Definition webgpu.h:1186

@ WGPUVertexFormat_Snorm8x4

Definition webgpu.h:1181

@ WGPUVertexFormat_Uint8

Definition webgpu.h:1170

@ WGPUVertexFormat_Sint8x4

Definition webgpu.h:1175

@ WGPUVertexFormat_Unorm16

Definition webgpu.h:1188

@ WGPUVertexFormat_Sint16

Definition webgpu.h:1185

@ WGPUVertexFormat_Uint16x2

Definition webgpu.h:1183

@ WGPUVertexFormat_Snorm16x2

Definition webgpu.h:1192

@ WGPUVertexFormat_Unorm16x4

Definition webgpu.h:1190

@ WGPUVertexFormat_Float32x3

Definition webgpu.h:1199

@ WGPUVertexFormat_Snorm16x4

Definition webgpu.h:1193

@ WGPUSType_Force32

Definition webgpu.h:965

@ WGPUSType_SurfaceSourceWaylandSurface

Definition webgpu.h:955

@ WGPUSType_TextureComponentSwizzleDescriptor

Definition webgpu.h:960

@ WGPUSType_ShaderSourceSPIRV

Definition webgpu.h:949

@ WGPUSType_SurfaceColorManagement

Definition webgpu.h:958

@ WGPUSType_TextureBindingViewDimension

Definition webgpu.h:964

@ WGPUSType_ExternalTextureBindingEntry

Definition webgpu.h:962

@ WGPUSType_SurfaceSourceAndroidNativeWindow

Definition webgpu.h:956

@ WGPUSType_SurfaceSourceXCBWindow

Definition webgpu.h:957

@ WGPUSType_SurfaceSourceWindowsHWND

Definition webgpu.h:953

@ WGPUSType_RenderPassMaxDrawCount

Definition webgpu.h:951

@ WGPUSType_SurfaceSourceMetalLayer

Definition webgpu.h:952

@ WGPUSType_RequestAdapterWebXROptions

Definition webgpu.h:959

@ WGPUSType_ShaderSourceWGSL

Definition webgpu.h:950

@ WGPUSType_CompatibilityModeLimits

Definition webgpu.h:963

@ WGPUSType_SurfaceSourceXlibWindow

Definition webgpu.h:954

@ WGPUSType_ExternalTextureBindingLayout

Definition webgpu.h:961

@ WGPUBufferBindingType_BindingNotUsed

Definition webgpu.h:435

@ WGPUBufferBindingType_Storage

Definition webgpu.h:441

@ WGPUBufferBindingType_Undefined

Definition webgpu.h:439

@ WGPUBufferBindingType_Force32

Definition webgpu.h:443

@ WGPUBufferBindingType_ReadOnlyStorage

Definition webgpu.h:442

@ WGPUBufferBindingType_Uniform

Definition webgpu.h:440

@ WGPUDeviceLostReason_FailedCreation

Definition webgpu.h:602

@ WGPUDeviceLostReason_Destroyed

Definition webgpu.h:597

@ WGPUDeviceLostReason_CallbackCancelled

Definition webgpu.h:601

@ WGPUDeviceLostReason_Force32

Definition webgpu.h:603

@ WGPUDeviceLostReason_Unknown

Definition webgpu.h:596

@ WGPUCompareFunction_Force32

Definition webgpu.h:495

@ WGPUCompareFunction_Always

Definition webgpu.h:494

@ WGPUCompareFunction_Never

Definition webgpu.h:487

@ WGPUCompareFunction_NotEqual

Definition webgpu.h:492

@ WGPUCompareFunction_Less

Definition webgpu.h:488

@ WGPUCompareFunction_Undefined

Definition webgpu.h:486

@ WGPUCompareFunction_GreaterEqual

Definition webgpu.h:493

@ WGPUCompareFunction_Equal

Definition webgpu.h:489

@ WGPUCompareFunction_LessEqual

Definition webgpu.h:490

@ WGPUCompareFunction_Greater

Definition webgpu.h:491

@ WGPUCullMode_Force32

Definition webgpu.h:592

@ WGPUCullMode_Undefined

Definition webgpu.h:588

@ WGPUCullMode_Back

Definition webgpu.h:591

@ WGPUCullMode_Front

Definition webgpu.h:590

@ WGPUCullMode_None

Definition webgpu.h:589

@ WGPUTextureDimension_Undefined

Definition webgpu.h:1014

@ WGPUTextureDimension_2D

Definition webgpu.h:1016

@ WGPUTextureDimension_Force32

Definition webgpu.h:1018

@ WGPUTextureDimension_3D

Definition webgpu.h:1017

@ WGPUTextureDimension_1D

Definition webgpu.h:1015

@ WGPURequestDeviceStatus_CallbackCancelled

Definition webgpu.h:872

@ WGPURequestDeviceStatus_Success

Definition webgpu.h:868

@ WGPURequestDeviceStatus_Error

Definition webgpu.h:873

@ WGPURequestDeviceStatus_Force32

Definition webgpu.h:874

@ WGPUCompilationMessageType_Force32

Definition webgpu.h:511

@ WGPUCompilationMessageType_Info

Definition webgpu.h:510

@ WGPUCompilationMessageType_Warning

Definition webgpu.h:509

@ WGPUCompilationMessageType_Error

Definition webgpu.h:508

@ WGPUCreatePipelineAsyncStatus_Force32

Definition webgpu.h:581

@ WGPUCreatePipelineAsyncStatus_ValidationError

Definition webgpu.h:579

@ WGPUCreatePipelineAsyncStatus_CallbackCancelled

Definition webgpu.h:578

@ WGPUCreatePipelineAsyncStatus_Success

Definition webgpu.h:574

@ WGPUCreatePipelineAsyncStatus_InternalError

Definition webgpu.h:580

@ WGPUTextureViewDimension_Cube

Definition webgpu.h:1157

@ WGPUTextureViewDimension_2DArray

Definition webgpu.h:1156

@ WGPUTextureViewDimension_2D

Definition webgpu.h:1155

@ WGPUTextureViewDimension_3D

Definition webgpu.h:1159

@ WGPUTextureViewDimension_1D

Definition webgpu.h:1154

@ WGPUTextureViewDimension_CubeArray

Definition webgpu.h:1158

@ WGPUTextureViewDimension_Undefined

Definition webgpu.h:1153

@ WGPUTextureViewDimension_Force32

Definition webgpu.h:1160

@ WGPUPrimitiveTopology_LineList

Definition webgpu.h:829

@ WGPUPrimitiveTopology_LineStrip

Definition webgpu.h:830

@ WGPUPrimitiveTopology_Undefined

Definition webgpu.h:827

@ WGPUPrimitiveTopology_TriangleList

Definition webgpu.h:831

@ WGPUPrimitiveTopology_PointList

Definition webgpu.h:828

@ WGPUPrimitiveTopology_TriangleStrip

Definition webgpu.h:832

@ WGPUPrimitiveTopology_Force32

Definition webgpu.h:833

@ WGPUTextureFormat_ASTC12x10Unorm

Definition webgpu.h:1123

@ WGPUTextureFormat_BC5RGSnorm

Definition webgpu.h:1084

@ WGPUTextureFormat_BC7RGBAUnorm

Definition webgpu.h:1087

@ WGPUTextureFormat_RGBA8Unorm

Definition webgpu.h:1047

@ WGPUTextureFormat_RG8Unorm

Definition webgpu.h:1035

@ WGPUTextureFormat_ETC2RGB8Unorm

Definition webgpu.h:1089

@ WGPUTextureFormat_ASTC4x4Unorm

Definition webgpu.h:1099

@ WGPUTextureFormat_ETC2RGB8A1UnormSrgb

Definition webgpu.h:1092

@ WGPUTextureFormat_EACR11Snorm

Definition webgpu.h:1096

@ WGPUTextureFormat_BC4RSnorm

Definition webgpu.h:1082

@ WGPUTextureFormat_RGBA8Snorm

Definition webgpu.h:1049

@ WGPUTextureFormat_ASTC10x6Unorm

Definition webgpu.h:1117

@ WGPUTextureFormat_BGRA8UnormSrgb

Definition webgpu.h:1053

@ WGPUTextureFormat_ASTC6x6Unorm

Definition webgpu.h:1107

@ WGPUTextureFormat_ETC2RGB8A1Unorm

Definition webgpu.h:1091

@ WGPUTextureFormat_ASTC10x8Unorm

Definition webgpu.h:1119

@ WGPUTextureFormat_RG16Unorm

Definition webgpu.h:1042

@ WGPUTextureFormat_ASTC8x8Unorm

Definition webgpu.h:1113

@ WGPUTextureFormat_RGBA32Float

Definition webgpu.h:1066

@ WGPUTextureFormat_BC6HRGBUfloat

Definition webgpu.h:1085

@ WGPUTextureFormat_RG32Sint

Definition webgpu.h:1060

@ WGPUTextureFormat_RGBA16Float

Definition webgpu.h:1065

@ WGPUTextureFormat_ASTC10x10Unorm

Definition webgpu.h:1121

@ WGPUTextureFormat_Depth32FloatStencil8

Definition webgpu.h:1074

@ WGPUTextureFormat_RG8Snorm

Definition webgpu.h:1036

@ WGPUTextureFormat_ASTC12x10UnormSrgb

Definition webgpu.h:1124

@ WGPUTextureFormat_Depth24Plus

Definition webgpu.h:1071

@ WGPUTextureFormat_RG16Sint

Definition webgpu.h:1045

@ WGPUTextureFormat_EACRG11Unorm

Definition webgpu.h:1097

@ WGPUTextureFormat_ETC2RGB8UnormSrgb

Definition webgpu.h:1090

@ WGPUTextureFormat_BC6HRGBFloat

Definition webgpu.h:1086

@ WGPUTextureFormat_R32Float

Definition webgpu.h:1039

@ WGPUTextureFormat_BC7RGBAUnormSrgb

Definition webgpu.h:1088

@ WGPUTextureFormat_R16Sint

Definition webgpu.h:1033

@ WGPUTextureFormat_R8Sint

Definition webgpu.h:1029

@ WGPUTextureFormat_RGBA8UnormSrgb

Definition webgpu.h:1048

@ WGPUTextureFormat_BC3RGBAUnormSrgb

Definition webgpu.h:1080

@ WGPUTextureFormat_RGBA16Unorm

Definition webgpu.h:1061

@ WGPUTextureFormat_RGBA8Uint

Definition webgpu.h:1050

@ WGPUTextureFormat_EACRG11Snorm

Definition webgpu.h:1098

@ WGPUTextureFormat_RGBA16Uint

Definition webgpu.h:1063

@ WGPUTextureFormat_ASTC10x10UnormSrgb

Definition webgpu.h:1122

@ WGPUTextureFormat_RGB10A2Unorm

Definition webgpu.h:1055

@ WGPUTextureFormat_ASTC10x5UnormSrgb

Definition webgpu.h:1116

@ WGPUTextureFormat_ASTC5x5Unorm

Definition webgpu.h:1103

@ WGPUTextureFormat_R32Uint

Definition webgpu.h:1040

@ WGPUTextureFormat_ETC2RGBA8UnormSrgb

Definition webgpu.h:1094

@ WGPUTextureFormat_RG16Snorm

Definition webgpu.h:1043

@ WGPUTextureFormat_ASTC5x4Unorm

Definition webgpu.h:1101

@ WGPUTextureFormat_BC3RGBAUnorm

Definition webgpu.h:1079

@ WGPUTextureFormat_R16Unorm

Definition webgpu.h:1030

@ WGPUTextureFormat_BGRA8Unorm

Definition webgpu.h:1052

@ WGPUTextureFormat_BC4RUnorm

Definition webgpu.h:1081

@ WGPUTextureFormat_BC5RGUnorm

Definition webgpu.h:1083

@ WGPUTextureFormat_Force32

Definition webgpu.h:1127

@ WGPUTextureFormat_BC1RGBAUnorm

Definition webgpu.h:1075

@ WGPUTextureFormat_ASTC5x5UnormSrgb

Definition webgpu.h:1104

@ WGPUTextureFormat_ASTC8x6UnormSrgb

Definition webgpu.h:1112

@ WGPUTextureFormat_R32Sint

Definition webgpu.h:1041

@ WGPUTextureFormat_BC2RGBAUnormSrgb

Definition webgpu.h:1078

@ WGPUTextureFormat_RGBA32Uint

Definition webgpu.h:1067

@ WGPUTextureFormat_Stencil8

Definition webgpu.h:1069

@ WGPUTextureFormat_EACR11Unorm

Definition webgpu.h:1095

@ WGPUTextureFormat_ASTC6x6UnormSrgb

Definition webgpu.h:1108

@ WGPUTextureFormat_RG16Uint

Definition webgpu.h:1044

@ WGPUTextureFormat_ASTC10x8UnormSrgb

Definition webgpu.h:1120

@ WGPUTextureFormat_RGB9E5Ufloat

Definition webgpu.h:1057

@ WGPUTextureFormat_Depth16Unorm

Definition webgpu.h:1070

@ WGPUTextureFormat_RG8Sint

Definition webgpu.h:1038

@ WGPUTextureFormat_ASTC8x8UnormSrgb

Definition webgpu.h:1114

@ WGPUTextureFormat_R16Uint

Definition webgpu.h:1032

@ WGPUTextureFormat_Undefined

Definition webgpu.h:1025

@ WGPUTextureFormat_ASTC10x6UnormSrgb

Definition webgpu.h:1118

@ WGPUTextureFormat_R16Float

Definition webgpu.h:1034

@ WGPUTextureFormat_ASTC5x4UnormSrgb

Definition webgpu.h:1102

@ WGPUTextureFormat_RG32Float

Definition webgpu.h:1058

@ WGPUTextureFormat_RGBA16Snorm

Definition webgpu.h:1062

@ WGPUTextureFormat_RG11B10Ufloat

Definition webgpu.h:1056

@ WGPUTextureFormat_ASTC12x12UnormSrgb

Definition webgpu.h:1126

@ WGPUTextureFormat_RGBA32Sint

Definition webgpu.h:1068

@ WGPUTextureFormat_BC1RGBAUnormSrgb

Definition webgpu.h:1076

@ WGPUTextureFormat_RG16Float

Definition webgpu.h:1046

@ WGPUTextureFormat_ASTC6x5Unorm

Definition webgpu.h:1105

@ WGPUTextureFormat_Depth24PlusStencil8

Definition webgpu.h:1072

@ WGPUTextureFormat_ASTC10x5Unorm

Definition webgpu.h:1115

@ WGPUTextureFormat_RGBA16Sint

Definition webgpu.h:1064

@ WGPUTextureFormat_R8Unorm

Definition webgpu.h:1026

@ WGPUTextureFormat_Depth32Float

Definition webgpu.h:1073

@ WGPUTextureFormat_BC2RGBAUnorm

Definition webgpu.h:1077

@ WGPUTextureFormat_R16Snorm

Definition webgpu.h:1031

@ WGPUTextureFormat_ASTC8x6Unorm

Definition webgpu.h:1111

@ WGPUTextureFormat_RG8Uint

Definition webgpu.h:1037

@ WGPUTextureFormat_R8Uint

Definition webgpu.h:1028

@ WGPUTextureFormat_ASTC8x5Unorm

Definition webgpu.h:1109

@ WGPUTextureFormat_ASTC12x12Unorm

Definition webgpu.h:1125

@ WGPUTextureFormat_RGB10A2Uint

Definition webgpu.h:1054

@ WGPUTextureFormat_ASTC4x4UnormSrgb

Definition webgpu.h:1100

@ WGPUTextureFormat_ETC2RGBA8Unorm

Definition webgpu.h:1093

@ WGPUTextureFormat_RG32Uint

Definition webgpu.h:1059

@ WGPUTextureFormat_ASTC8x5UnormSrgb

Definition webgpu.h:1110

@ WGPUTextureFormat_RGBA8Sint

Definition webgpu.h:1051

@ WGPUTextureFormat_R8Snorm

Definition webgpu.h:1027

@ WGPUTextureFormat_ASTC6x5UnormSrgb

Definition webgpu.h:1106

@ WGPUWGSLLanguageFeatureName_ReadonlyAndReadwriteStorageTextures

Definition webgpu.h:1245

@ WGPUWGSLLanguageFeatureName_LinearIndexing

Definition webgpu.h:1254

@ WGPUWGSLLanguageFeatureName_UnrestrictedPointerParameters

Definition webgpu.h:1247

@ WGPUWGSLLanguageFeatureName_TextureAndSamplerLet

Definition webgpu.h:1251

@ WGPUWGSLLanguageFeatureName_TextureFormatsTier1

Definition webgpu.h:1253

@ WGPUWGSLLanguageFeatureName_PointerCompositeAccess

Definition webgpu.h:1248

@ WGPUWGSLLanguageFeatureName_UniformBufferStandardLayout

Definition webgpu.h:1249

@ WGPUWGSLLanguageFeatureName_SubgroupId

Definition webgpu.h:1250

@ WGPUWGSLLanguageFeatureName_Force32

Definition webgpu.h:1255

@ WGPUWGSLLanguageFeatureName_SubgroupUniformity

Definition webgpu.h:1252

@ WGPUWGSLLanguageFeatureName_Packed4x8IntegerDotProduct

Definition webgpu.h:1246

@ WGPUStencilOperation_DecrementClamp

Definition webgpu.h:915

@ WGPUStencilOperation_Undefined

Definition webgpu.h:909

@ WGPUStencilOperation_Replace

Definition webgpu.h:912

@ WGPUStencilOperation_Keep

Definition webgpu.h:910

@ WGPUStencilOperation_DecrementWrap

Definition webgpu.h:917

@ WGPUStencilOperation_IncrementWrap

Definition webgpu.h:916

@ WGPUStencilOperation_IncrementClamp

Definition webgpu.h:914

@ WGPUStencilOperation_Invert

Definition webgpu.h:913

@ WGPUStencilOperation_Force32

Definition webgpu.h:918

@ WGPUStencilOperation_Zero

Definition webgpu.h:911

@ WGPUAddressMode_Repeat

Definition webgpu.h:370

@ WGPUAddressMode_MirrorRepeat

Definition webgpu.h:371

@ WGPUAddressMode_Undefined

Definition webgpu.h:368

@ WGPUAddressMode_ClampToEdge

Definition webgpu.h:369

@ WGPUAddressMode_Force32

Definition webgpu.h:372

@ WGPUToneMappingMode_Force32

Definition webgpu.h:1166

@ WGPUToneMappingMode_Standard

Definition webgpu.h:1164

@ WGPUToneMappingMode_Extended

Definition webgpu.h:1165

@ WGPUTextureAspect_DepthOnly

Definition webgpu.h:1006

@ WGPUTextureAspect_Force32

Definition webgpu.h:1007

@ WGPUTextureAspect_Undefined

Definition webgpu.h:1003

@ WGPUTextureAspect_All

Definition webgpu.h:1004

@ WGPUTextureAspect_StencilOnly

Definition webgpu.h:1005

@ WGPUBufferMapState_Pending

Definition webgpu.h:448

@ WGPUBufferMapState_Mapped

Definition webgpu.h:449

@ WGPUBufferMapState_Unmapped

Definition webgpu.h:447

@ WGPUBufferMapState_Force32

Definition webgpu.h:450

@ WGPUFilterMode_Undefined

Definition webgpu.h:671

@ WGPUFilterMode_Force32

Definition webgpu.h:674

@ WGPUFilterMode_Nearest

Definition webgpu.h:672

@ WGPUFilterMode_Linear

Definition webgpu.h:673

@ WGPUBackendType_Vulkan

Definition webgpu.h:385

@ WGPUBackendType_OpenGL

Definition webgpu.h:386

@ WGPUBackendType_Force32

Definition webgpu.h:388

@ WGPUBackendType_OpenGLES

Definition webgpu.h:387

@ WGPUBackendType_WebGPU

Definition webgpu.h:381

@ WGPUBackendType_D3D11

Definition webgpu.h:382

@ WGPUBackendType_D3D12

Definition webgpu.h:383

@ WGPUBackendType_Undefined

Definition webgpu.h:379

@ WGPUBackendType_Null

Definition webgpu.h:380

@ WGPUBackendType_Metal

Definition webgpu.h:384

@ WGPUBlendFactor_DstAlpha

Definition webgpu.h:404

@ WGPUBlendFactor_One

Definition webgpu.h:397

@ WGPUBlendFactor_Zero

Definition webgpu.h:396

@ WGPUBlendFactor_Src1Alpha

Definition webgpu.h:411

@ WGPUBlendFactor_Undefined

Definition webgpu.h:395

@ WGPUBlendFactor_OneMinusDst

Definition webgpu.h:403

@ WGPUBlendFactor_Force32

Definition webgpu.h:413

@ WGPUBlendFactor_OneMinusSrc1

Definition webgpu.h:410

@ WGPUBlendFactor_Constant

Definition webgpu.h:407

@ WGPUBlendFactor_OneMinusSrc

Definition webgpu.h:399

@ WGPUBlendFactor_SrcAlphaSaturated

Definition webgpu.h:406

@ WGPUBlendFactor_Src

Definition webgpu.h:398

@ WGPUBlendFactor_OneMinusSrcAlpha

Definition webgpu.h:401

@ WGPUBlendFactor_SrcAlpha

Definition webgpu.h:400

@ WGPUBlendFactor_OneMinusConstant

Definition webgpu.h:408

@ WGPUBlendFactor_Src1

Definition webgpu.h:409

@ WGPUBlendFactor_OneMinusDstAlpha

Definition webgpu.h:405

@ WGPUBlendFactor_OneMinusSrc1Alpha

Definition webgpu.h:412

@ WGPUBlendFactor_Dst

Definition webgpu.h:402

@ WGPUSamplerBindingType_BindingNotUsed

Definition webgpu.h:883

@ WGPUSamplerBindingType_NonFiltering

Definition webgpu.h:889

@ WGPUSamplerBindingType_Force32

Definition webgpu.h:891

@ WGPUSamplerBindingType_Filtering

Definition webgpu.h:888

@ WGPUSamplerBindingType_Undefined

Definition webgpu.h:887

@ WGPUSamplerBindingType_Comparison

Definition webgpu.h:890

@ WGPULoadOp_Load

Definition webgpu.h:722

@ WGPULoadOp_Force32

Definition webgpu.h:724

@ WGPULoadOp_Undefined

Definition webgpu.h:721

@ WGPULoadOp_Clear

Definition webgpu.h:723

@ WGPUPopErrorScopeStatus_Force32

Definition webgpu.h:771

@ WGPUPopErrorScopeStatus_Success

Definition webgpu.h:762

@ WGPUPopErrorScopeStatus_CallbackCancelled

Definition webgpu.h:766

@ WGPUPopErrorScopeStatus_Error

Definition webgpu.h:770

@ WGPUWaitStatus_Error

Definition webgpu.h:1240

@ WGPUWaitStatus_Force32

Definition webgpu.h:1241

@ WGPUWaitStatus_Success

Definition webgpu.h:1231

@ WGPUWaitStatus_TimedOut

Definition webgpu.h:1235

@ WGPUStorageTextureAccess_Undefined

Definition webgpu.h:931

@ WGPUStorageTextureAccess_BindingNotUsed

Definition webgpu.h:927

@ WGPUStorageTextureAccess_ReadOnly

Definition webgpu.h:933

@ WGPUStorageTextureAccess_WriteOnly

Definition webgpu.h:932

@ WGPUStorageTextureAccess_Force32

Definition webgpu.h:935

@ WGPUStorageTextureAccess_ReadWrite

Definition webgpu.h:934

@ WGPUPowerPreference_Force32

Definition webgpu.h:781

@ WGPUPowerPreference_HighPerformance

Definition webgpu.h:780

@ WGPUPowerPreference_LowPower

Definition webgpu.h:779

@ WGPUPowerPreference_Undefined

Definition webgpu.h:778

@ WGPUPresentMode_Fifo

Definition webgpu.h:803

@ WGPUPresentMode_Force32

Definition webgpu.h:820

@ WGPUPresentMode_Immediate

Definition webgpu.h:814

@ WGPUPresentMode_FifoRelaxed

Definition webgpu.h:809

@ WGPUPresentMode_Mailbox

Definition webgpu.h:819

@ WGPUPresentMode_Undefined

Definition webgpu.h:797

@ WGPUMapAsyncStatus_Aborted

Definition webgpu.h:734

@ WGPUMapAsyncStatus_CallbackCancelled

Definition webgpu.h:732

@ WGPUMapAsyncStatus_Error

Definition webgpu.h:733

@ WGPUMapAsyncStatus_Force32

Definition webgpu.h:735

@ WGPUMapAsyncStatus_Success

Definition webgpu.h:728

@ WGPUBlendOperation_Undefined

Definition webgpu.h:420

@ WGPUBlendOperation_Max

Definition webgpu.h:425

@ WGPUBlendOperation_Subtract

Definition webgpu.h:422

@ WGPUBlendOperation_Min

Definition webgpu.h:424

@ WGPUBlendOperation_Add

Definition webgpu.h:421

@ WGPUBlendOperation_Force32

Definition webgpu.h:426

@ WGPUBlendOperation_ReverseSubtract

Definition webgpu.h:423

@ WGPUCompositeAlphaMode_Auto

Definition webgpu.h:553

@ WGPUCompositeAlphaMode_Force32

Definition webgpu.h:570

@ WGPUCompositeAlphaMode_Opaque

Definition webgpu.h:557

@ WGPUCompositeAlphaMode_Unpremultiplied

Definition webgpu.h:565

@ WGPUCompositeAlphaMode_Inherit

Definition webgpu.h:569

@ WGPUCompositeAlphaMode_Premultiplied

Definition webgpu.h:561

@ WGPUPredefinedColorSpace_DisplayP3

Definition webgpu.h:786

@ WGPUPredefinedColorSpace_SRGB

Definition webgpu.h:785

@ WGPUPredefinedColorSpace_Force32

Definition webgpu.h:787

@ WGPUQueueWorkDoneStatus_Error

Definition webgpu.h:852

@ WGPUQueueWorkDoneStatus_CallbackCancelled

Definition webgpu.h:847

@ WGPUQueueWorkDoneStatus_Success

Definition webgpu.h:843

@ WGPUQueueWorkDoneStatus_Force32

Definition webgpu.h:853

@ WGPUComponentSwizzle_A

Definition webgpu.h:542

@ WGPUComponentSwizzle_Force32

Definition webgpu.h:543

@ WGPUComponentSwizzle_G

Definition webgpu.h:534

@ WGPUComponentSwizzle_R

Definition webgpu.h:530

@ WGPUComponentSwizzle_B

Definition webgpu.h:538

@ WGPUComponentSwizzle_Zero

Definition webgpu.h:522

@ WGPUComponentSwizzle_One

Definition webgpu.h:526

@ WGPUComponentSwizzle_Undefined

Definition webgpu.h:518

@ WGPUVertexStepMode_Undefined

Definition webgpu.h:1218

@ WGPUVertexStepMode_Instance

Definition webgpu.h:1220

@ WGPUVertexStepMode_Vertex

Definition webgpu.h:1219

@ WGPUVertexStepMode_Force32

Definition webgpu.h:1221

@ WGPUQueryType_Occlusion

Definition webgpu.h:837

@ WGPUQueryType_Timestamp

Definition webgpu.h:838

@ WGPUQueryType_Force32

Definition webgpu.h:839

@ WGPUFeatureLevel_Undefined

Definition webgpu.h:629

@ WGPUFeatureLevel_Core

Definition webgpu.h:637

@ WGPUFeatureLevel_Force32

Definition webgpu.h:638

@ WGPUFeatureLevel_Compatibility

Definition webgpu.h:633

@ WGPUAdapterType_CPU

Definition webgpu.h:359

@ WGPUAdapterType_DiscreteGPU

Definition webgpu.h:357

@ WGPUAdapterType_IntegratedGPU

Definition webgpu.h:358

@ WGPUAdapterType_Unknown

Definition webgpu.h:360

@ WGPUAdapterType_Force32

Definition webgpu.h:361

@ WGPUInstanceFeatureName_ShaderSourceSPIRV

Definition webgpu.h:706

@ WGPUInstanceFeatureName_Force32

Definition webgpu.h:714

@ WGPUInstanceFeatureName_MultipleDevicesPerAdapter

Definition webgpu.h:713

@ WGPUInstanceFeatureName_TimedWaitAny

Definition webgpu.h:701

@ WGPUStatus_Force32

Definition webgpu.h:902

@ WGPUStatus_Success

Definition webgpu.h:900

@ WGPUStatus_Error

Definition webgpu.h:901

@ WGPUCompilationInfoRequestStatus_Force32

Definition webgpu.h:504

@ WGPUCompilationInfoRequestStatus_Success

Definition webgpu.h:499

@ WGPUCompilationInfoRequestStatus_CallbackCancelled

Definition webgpu.h:503

@ WGPUMipmapFilterMode_Undefined

Definition webgpu.h:742

@ WGPUMipmapFilterMode_Linear

Definition webgpu.h:744

@ WGPUMipmapFilterMode_Force32

Definition webgpu.h:745

@ WGPUMipmapFilterMode_Nearest

Definition webgpu.h:743

@ WGPUSurfaceGetCurrentTextureStatus_Lost

Definition webgpu.h:991

@ WGPUSurfaceGetCurrentTextureStatus_Error

Definition webgpu.h:995

@ WGPUSurfaceGetCurrentTextureStatus_Outdated

Definition webgpu.h:987

@ WGPUSurfaceGetCurrentTextureStatus_Timeout

Definition webgpu.h:983

@ WGPUSurfaceGetCurrentTextureStatus_SuccessOptimal

Definition webgpu.h:975

@ WGPUSurfaceGetCurrentTextureStatus_Force32

Definition webgpu.h:996

@ WGPUSurfaceGetCurrentTextureStatus_SuccessSuboptimal

Definition webgpu.h:979

@ WGPUFrontFace_CW

Definition webgpu.h:683

@ WGPUFrontFace_Undefined

Definition webgpu.h:681

@ WGPUFrontFace_CCW

Definition webgpu.h:682

@ WGPUFrontFace_Force32

Definition webgpu.h:684

@ WGPUStoreOp_Discard

Definition webgpu.h:944

@ WGPUStoreOp_Force32

Definition webgpu.h:945

@ WGPUStoreOp_Store

Definition webgpu.h:943

@ WGPUStoreOp_Undefined

Definition webgpu.h:942

@ WGPUErrorFilter_Internal

Definition webgpu.h:609

@ WGPUErrorFilter_Force32

Definition webgpu.h:610

@ WGPUErrorFilter_OutOfMemory

Definition webgpu.h:608

@ WGPUErrorFilter_Validation

Definition webgpu.h:607

@ WGPUOptionalBool_True

Definition webgpu.h:753

@ WGPUOptionalBool_Force32

Definition webgpu.h:755

@ WGPUOptionalBool_Undefined

Definition webgpu.h:754

@ WGPUOptionalBool_False

Definition webgpu.h:752

@ WGPUCallbackMode_AllowProcessEvents

Definition webgpu.h:468

@ WGPUCallbackMode_AllowSpontaneous

Definition webgpu.h:478

@ WGPUCallbackMode_WaitAnyOnly

Definition webgpu.h:462

@ WGPUCallbackMode_Force32

Definition webgpu.h:479

@ WGPUTextureSampleType_Float

Definition webgpu.h:1141

@ WGPUTextureSampleType_Sint

Definition webgpu.h:1144

@ WGPUTextureSampleType_BindingNotUsed

Definition webgpu.h:1136

@ WGPUTextureSampleType_Undefined

Definition webgpu.h:1140

@ WGPUTextureSampleType_Force32

Definition webgpu.h:1146

@ WGPUTextureSampleType_Uint

Definition webgpu.h:1145

@ WGPUTextureSampleType_Depth

Definition webgpu.h:1143

@ WGPUTextureSampleType_UnfilterableFloat

Definition webgpu.h:1142

@ WGPUErrorType_NoError

Definition webgpu.h:614

@ WGPUErrorType_OutOfMemory

Definition webgpu.h:616

@ WGPUErrorType_Unknown

Definition webgpu.h:618

@ WGPUErrorType_Validation

Definition webgpu.h:615

@ WGPUErrorType_Force32

Definition webgpu.h:619

@ WGPUErrorType_Internal

Definition webgpu.h:617

WGPUInstance wgpuCreateInstance(WGPUInstanceDescriptor const *descriptor)

WGPUStatus wgpuGetInstanceLimits(WGPUInstanceLimits *limits)

WGPUProc wgpuGetProcAddress(WGPUStringView procName)

void wgpuGetInstanceFeatures(WGPUSupportedInstanceFeatures *features)

WGPUBool wgpuHasInstanceFeature(WGPUInstanceFeatureName feature)

struct WGPUPipelineLayoutImpl * WGPUPipelineLayout

Definition webgpu.h:237

struct WGPUSamplerImpl * WGPUSampler

Definition webgpu.h:244

struct WGPUExternalTextureImpl * WGPUExternalTexture

Definition webgpu.h:235

struct WGPUQueueImpl * WGPUQueue

Definition webgpu.h:239

struct WGPUSurfaceImpl * WGPUSurface

Definition webgpu.h:249

struct WGPURenderBundleImpl * WGPURenderBundle

Definition webgpu.h:240

struct WGPUComputePassEncoderImpl * WGPUComputePassEncoder

Definition webgpu.h:223

struct WGPUBindGroupImpl * WGPUBindGroup

Definition webgpu.h:218

struct WGPUInstanceImpl * WGPUInstance

Definition webgpu.h:236

struct WGPUBindGroupLayoutImpl * WGPUBindGroupLayout

Definition webgpu.h:219

struct WGPUTextureViewImpl * WGPUTextureView

Definition webgpu.h:251

struct WGPURenderPassEncoderImpl * WGPURenderPassEncoder

Definition webgpu.h:242

struct WGPUShaderModuleImpl * WGPUShaderModule

Definition webgpu.h:245

struct WGPUQuerySetImpl * WGPUQuerySet

Definition webgpu.h:238

struct WGPUCommandBufferImpl * WGPUCommandBuffer

Definition webgpu.h:221

struct WGPURenderBundleEncoderImpl * WGPURenderBundleEncoder

Definition webgpu.h:241

struct WGPUDeviceImpl * WGPUDevice

Definition webgpu.h:231

struct WGPUCommandEncoderImpl * WGPUCommandEncoder

Definition webgpu.h:222

struct WGPUTextureImpl * WGPUTexture

Definition webgpu.h:250

struct WGPUComputePipelineImpl * WGPUComputePipeline

Definition webgpu.h:224

struct WGPURenderPipelineImpl * WGPURenderPipeline

Definition webgpu.h:243

struct WGPUAdapterImpl * WGPUAdapter

Definition webgpu.h:217

struct WGPUBufferImpl * WGPUBuffer

Definition webgpu.h:220

struct WGPUFuture WGPUFuture

uint32_t WGPUBool

Definition webgpu.h:207

uint64_t WGPUFlags

Definition webgpu.h:206

void wgpuAdapterInfoFreeMembers(WGPUAdapterInfo adapterInfo)

WGPUStatus wgpuAdapterGetLimits(WGPUAdapter adapter, WGPULimits *limits)

void wgpuAdapterGetFeatures(WGPUAdapter adapter, WGPUSupportedFeatures *features)

WGPUFuture wgpuAdapterRequestDevice(WGPUAdapter adapter, WGPUDeviceDescriptor const *descriptor, WGPURequestDeviceCallbackInfo callbackInfo)

void wgpuAdapterAddRef(WGPUAdapter adapter)

WGPUBool wgpuAdapterHasFeature(WGPUAdapter adapter, WGPUFeatureName feature)

void wgpuAdapterRelease(WGPUAdapter adapter)

WGPUStatus wgpuAdapterGetInfo(WGPUAdapter adapter, WGPUAdapterInfo *info)

void wgpuBindGroupLayoutAddRef(WGPUBindGroupLayout bindGroupLayout)

void wgpuBindGroupLayoutSetLabel(WGPUBindGroupLayout bindGroupLayout, WGPUStringView label)

void wgpuBindGroupLayoutRelease(WGPUBindGroupLayout bindGroupLayout)

void wgpuBindGroupAddRef(WGPUBindGroup bindGroup)

void wgpuBindGroupRelease(WGPUBindGroup bindGroup)

void wgpuBindGroupSetLabel(WGPUBindGroup bindGroup, WGPUStringView label)

WGPUBufferMapState wgpuBufferGetMapState(WGPUBuffer buffer)

WGPUBufferUsage wgpuBufferGetUsage(WGPUBuffer buffer)

WGPUFuture wgpuBufferMapAsync(WGPUBuffer buffer, WGPUMapMode mode, size_t offset, size_t size, WGPUBufferMapCallbackInfo callbackInfo)

void const * wgpuBufferGetConstMappedRange(WGPUBuffer buffer, size_t offset, size_t size)

uint64_t wgpuBufferGetSize(WGPUBuffer buffer)

void wgpuBufferAddRef(WGPUBuffer buffer)

WGPUStatus wgpuBufferReadMappedRange(WGPUBuffer buffer, size_t offset, void *data, size_t size)

void wgpuBufferRelease(WGPUBuffer buffer)

void * wgpuBufferGetMappedRange(WGPUBuffer buffer, size_t offset, size_t size)

void wgpuBufferUnmap(WGPUBuffer buffer)

WGPUStatus wgpuBufferWriteMappedRange(WGPUBuffer buffer, size_t offset, void const *data, size_t size)

void wgpuBufferDestroy(WGPUBuffer buffer)

void wgpuBufferSetLabel(WGPUBuffer buffer, WGPUStringView label)

void wgpuCommandBufferSetLabel(WGPUCommandBuffer commandBuffer, WGPUStringView label)

void wgpuCommandBufferRelease(WGPUCommandBuffer commandBuffer)

void wgpuCommandBufferAddRef(WGPUCommandBuffer commandBuffer)

WGPURenderPassEncoder wgpuCommandEncoderBeginRenderPass(WGPUCommandEncoder commandEncoder, WGPURenderPassDescriptor const *descriptor)

WGPUCommandBuffer wgpuCommandEncoderFinish(WGPUCommandEncoder commandEncoder, WGPUCommandBufferDescriptor const *descriptor)

void wgpuCommandEncoderAddRef(WGPUCommandEncoder commandEncoder)

void wgpuCommandEncoderCopyTextureToTexture(WGPUCommandEncoder commandEncoder, WGPUTexelCopyTextureInfo const *source, WGPUTexelCopyTextureInfo const *destination, WGPUExtent3D const *copySize)

WGPUComputePassEncoder wgpuCommandEncoderBeginComputePass(WGPUCommandEncoder commandEncoder, WGPUComputePassDescriptor const *descriptor)

void wgpuCommandEncoderPopDebugGroup(WGPUCommandEncoder commandEncoder)

void wgpuCommandEncoderSetLabel(WGPUCommandEncoder commandEncoder, WGPUStringView label)

void wgpuCommandEncoderInsertDebugMarker(WGPUCommandEncoder commandEncoder, WGPUStringView markerLabel)

void wgpuCommandEncoderResolveQuerySet(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t firstQuery, uint32_t queryCount, WGPUBuffer destination, uint64_t destinationOffset)

void wgpuCommandEncoderPushDebugGroup(WGPUCommandEncoder commandEncoder, WGPUStringView groupLabel)

void wgpuCommandEncoderWriteTimestamp(WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t queryIndex)

void wgpuCommandEncoderCopyBufferToTexture(WGPUCommandEncoder commandEncoder, WGPUTexelCopyBufferInfo const *source, WGPUTexelCopyTextureInfo const *destination, WGPUExtent3D const *copySize)

void wgpuCommandEncoderClearBuffer(WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t offset, uint64_t size)

void wgpuCommandEncoderCopyBufferToBuffer(WGPUCommandEncoder commandEncoder, WGPUBuffer source, uint64_t sourceOffset, WGPUBuffer destination, uint64_t destinationOffset, uint64_t size)

void wgpuCommandEncoderCopyTextureToBuffer(WGPUCommandEncoder commandEncoder, WGPUTexelCopyTextureInfo const *source, WGPUTexelCopyBufferInfo const *destination, WGPUExtent3D const *copySize)

void wgpuCommandEncoderRelease(WGPUCommandEncoder commandEncoder)

void wgpuComputePassEncoderPopDebugGroup(WGPUComputePassEncoder computePassEncoder)

void wgpuComputePassEncoderAddRef(WGPUComputePassEncoder computePassEncoder)

void wgpuComputePassEncoderSetPipeline(WGPUComputePassEncoder computePassEncoder, WGPUComputePipeline pipeline)

void wgpuComputePassEncoderRelease(WGPUComputePassEncoder computePassEncoder)

void wgpuComputePassEncoderSetLabel(WGPUComputePassEncoder computePassEncoder, WGPUStringView label)

void wgpuComputePassEncoderDispatchWorkgroups(WGPUComputePassEncoder computePassEncoder, uint32_t workgroupCountX, uint32_t workgroupCountY, uint32_t workgroupCountZ)

void wgpuComputePassEncoderEnd(WGPUComputePassEncoder computePassEncoder)

void wgpuComputePassEncoderDispatchWorkgroupsIndirect(WGPUComputePassEncoder computePassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset)

void wgpuComputePassEncoderPushDebugGroup(WGPUComputePassEncoder computePassEncoder, WGPUStringView groupLabel)

void wgpuComputePassEncoderSetBindGroup(WGPUComputePassEncoder computePassEncoder, uint32_t groupIndex, WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const *dynamicOffsets)

void wgpuComputePassEncoderInsertDebugMarker(WGPUComputePassEncoder computePassEncoder, WGPUStringView markerLabel)

WGPUBindGroupLayout wgpuComputePipelineGetBindGroupLayout(WGPUComputePipeline computePipeline, uint32_t groupIndex)

void wgpuComputePipelineAddRef(WGPUComputePipeline computePipeline)

void wgpuComputePipelineSetLabel(WGPUComputePipeline computePipeline, WGPUStringView label)

void wgpuComputePipelineRelease(WGPUComputePipeline computePipeline)

WGPURenderPipeline wgpuDeviceCreateRenderPipeline(WGPUDevice device, WGPURenderPipelineDescriptor const *descriptor)

WGPUQueue wgpuDeviceGetQueue(WGPUDevice device)

WGPUSampler wgpuDeviceCreateSampler(WGPUDevice device, WGPUSamplerDescriptor const *descriptor)

WGPUBuffer wgpuDeviceCreateBuffer(WGPUDevice device, WGPUBufferDescriptor const *descriptor)

WGPUFuture wgpuDeviceCreateComputePipelineAsync(WGPUDevice device, WGPUComputePipelineDescriptor const *descriptor, WGPUCreateComputePipelineAsyncCallbackInfo callbackInfo)

WGPUBindGroupLayout wgpuDeviceCreateBindGroupLayout(WGPUDevice device, WGPUBindGroupLayoutDescriptor const *descriptor)

WGPUComputePipeline wgpuDeviceCreateComputePipeline(WGPUDevice device, WGPUComputePipelineDescriptor const *descriptor)

void wgpuDeviceGetFeatures(WGPUDevice device, WGPUSupportedFeatures *features)

WGPUStatus wgpuDeviceGetAdapterInfo(WGPUDevice device, WGPUAdapterInfo *adapterInfo)

WGPUBindGroup wgpuDeviceCreateBindGroup(WGPUDevice device, WGPUBindGroupDescriptor const *descriptor)

void wgpuDeviceRelease(WGPUDevice device)

WGPUFuture wgpuDevicePopErrorScope(WGPUDevice device, WGPUPopErrorScopeCallbackInfo callbackInfo)

WGPUStatus wgpuDeviceGetLimits(WGPUDevice device, WGPULimits *limits)

WGPURenderBundleEncoder wgpuDeviceCreateRenderBundleEncoder(WGPUDevice device, WGPURenderBundleEncoderDescriptor const *descriptor)

WGPUBool wgpuDeviceHasFeature(WGPUDevice device, WGPUFeatureName feature)

WGPUTexture wgpuDeviceCreateTexture(WGPUDevice device, WGPUTextureDescriptor const *descriptor)

WGPUShaderModule wgpuDeviceCreateShaderModule(WGPUDevice device, WGPUShaderModuleDescriptor const *descriptor)

WGPUCommandEncoder wgpuDeviceCreateCommandEncoder(WGPUDevice device, WGPUCommandEncoderDescriptor const *descriptor)

void wgpuDeviceDestroy(WGPUDevice device)

void wgpuDeviceSetLabel(WGPUDevice device, WGPUStringView label)

WGPUQuerySet wgpuDeviceCreateQuerySet(WGPUDevice device, WGPUQuerySetDescriptor const *descriptor)

WGPUPipelineLayout wgpuDeviceCreatePipelineLayout(WGPUDevice device, WGPUPipelineLayoutDescriptor const *descriptor)

void wgpuDevicePushErrorScope(WGPUDevice device, WGPUErrorFilter filter)

void wgpuDeviceAddRef(WGPUDevice device)

WGPUFuture wgpuDeviceGetLostFuture(WGPUDevice device)

WGPUFuture wgpuDeviceCreateRenderPipelineAsync(WGPUDevice device, WGPURenderPipelineDescriptor const *descriptor, WGPUCreateRenderPipelineAsyncCallbackInfo callbackInfo)

void wgpuExternalTextureRelease(WGPUExternalTexture externalTexture)

void wgpuExternalTextureSetLabel(WGPUExternalTexture externalTexture, WGPUStringView label)

void wgpuExternalTextureAddRef(WGPUExternalTexture externalTexture)

WGPUBool wgpuInstanceHasWGSLLanguageFeature(WGPUInstance instance, WGPUWGSLLanguageFeatureName feature)

void wgpuInstanceProcessEvents(WGPUInstance instance)

void wgpuInstanceRelease(WGPUInstance instance)

WGPUFuture wgpuInstanceRequestAdapter(WGPUInstance instance, WGPURequestAdapterOptions const *options, WGPURequestAdapterCallbackInfo callbackInfo)

WGPUWaitStatus wgpuInstanceWaitAny(WGPUInstance instance, size_t futureCount, WGPUFutureWaitInfo *futures, uint64_t timeoutNS)

void wgpuInstanceAddRef(WGPUInstance instance)

void wgpuInstanceGetWGSLLanguageFeatures(WGPUInstance instance, WGPUSupportedWGSLLanguageFeatures *features)

WGPUSurface wgpuInstanceCreateSurface(WGPUInstance instance, WGPUSurfaceDescriptor const *descriptor)

void wgpuPipelineLayoutAddRef(WGPUPipelineLayout pipelineLayout)

void wgpuPipelineLayoutSetLabel(WGPUPipelineLayout pipelineLayout, WGPUStringView label)

void wgpuPipelineLayoutRelease(WGPUPipelineLayout pipelineLayout)

void wgpuQuerySetSetLabel(WGPUQuerySet querySet, WGPUStringView label)

void wgpuQuerySetDestroy(WGPUQuerySet querySet)

void wgpuQuerySetRelease(WGPUQuerySet querySet)

void wgpuQuerySetAddRef(WGPUQuerySet querySet)

uint32_t wgpuQuerySetGetCount(WGPUQuerySet querySet)

WGPUQueryType wgpuQuerySetGetType(WGPUQuerySet querySet)

void wgpuQueueWriteTexture(WGPUQueue queue, WGPUTexelCopyTextureInfo const *destination, void const *data, size_t dataSize, WGPUTexelCopyBufferLayout const *dataLayout, WGPUExtent3D const *writeSize)

void wgpuQueueAddRef(WGPUQueue queue)

void wgpuQueueRelease(WGPUQueue queue)

void wgpuQueueSetLabel(WGPUQueue queue, WGPUStringView label)

void wgpuQueueWriteBuffer(WGPUQueue queue, WGPUBuffer buffer, uint64_t bufferOffset, void const *data, size_t size)

WGPUFuture wgpuQueueOnSubmittedWorkDone(WGPUQueue queue, WGPUQueueWorkDoneCallbackInfo callbackInfo)

void wgpuQueueSubmit(WGPUQueue queue, size_t commandCount, WGPUCommandBuffer const *commands)

void wgpuRenderBundleEncoderSetBindGroup(WGPURenderBundleEncoder renderBundleEncoder, uint32_t groupIndex, WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const *dynamicOffsets)

void wgpuRenderBundleEncoderDraw(WGPURenderBundleEncoder renderBundleEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance)

void wgpuRenderBundleEncoderPushDebugGroup(WGPURenderBundleEncoder renderBundleEncoder, WGPUStringView groupLabel)

WGPURenderBundle wgpuRenderBundleEncoderFinish(WGPURenderBundleEncoder renderBundleEncoder, WGPURenderBundleDescriptor const *descriptor)

void wgpuRenderBundleEncoderRelease(WGPURenderBundleEncoder renderBundleEncoder)

void wgpuRenderBundleEncoderSetPipeline(WGPURenderBundleEncoder renderBundleEncoder, WGPURenderPipeline pipeline)

void wgpuRenderBundleEncoderPopDebugGroup(WGPURenderBundleEncoder renderBundleEncoder)

void wgpuRenderBundleEncoderSetIndexBuffer(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size)

void wgpuRenderBundleEncoderSetVertexBuffer(WGPURenderBundleEncoder renderBundleEncoder, uint32_t slot, WGPUBuffer buffer, uint64_t offset, uint64_t size)

void wgpuRenderBundleEncoderDrawIndexedIndirect(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset)

void wgpuRenderBundleEncoderInsertDebugMarker(WGPURenderBundleEncoder renderBundleEncoder, WGPUStringView markerLabel)

void wgpuRenderBundleEncoderDrawIndirect(WGPURenderBundleEncoder renderBundleEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset)

void wgpuRenderBundleEncoderSetLabel(WGPURenderBundleEncoder renderBundleEncoder, WGPUStringView label)

void wgpuRenderBundleEncoderDrawIndexed(WGPURenderBundleEncoder renderBundleEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance)

void wgpuRenderBundleEncoderAddRef(WGPURenderBundleEncoder renderBundleEncoder)

void wgpuRenderBundleRelease(WGPURenderBundle renderBundle)

void wgpuRenderBundleAddRef(WGPURenderBundle renderBundle)

void wgpuRenderBundleSetLabel(WGPURenderBundle renderBundle, WGPUStringView label)

void wgpuRenderPassEncoderPushDebugGroup(WGPURenderPassEncoder renderPassEncoder, WGPUStringView groupLabel)

void wgpuRenderPassEncoderExecuteBundles(WGPURenderPassEncoder renderPassEncoder, size_t bundleCount, WGPURenderBundle const *bundles)

void wgpuRenderPassEncoderDraw(WGPURenderPassEncoder renderPassEncoder, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance)

void wgpuRenderPassEncoderSetBindGroup(WGPURenderPassEncoder renderPassEncoder, uint32_t groupIndex, WGPUBindGroup group, size_t dynamicOffsetCount, uint32_t const *dynamicOffsets)

void wgpuRenderPassEncoderSetPipeline(WGPURenderPassEncoder renderPassEncoder, WGPURenderPipeline pipeline)

void wgpuRenderPassEncoderDrawIndexedIndirect(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset)

void wgpuRenderPassEncoderEndOcclusionQuery(WGPURenderPassEncoder renderPassEncoder)

void wgpuRenderPassEncoderInsertDebugMarker(WGPURenderPassEncoder renderPassEncoder, WGPUStringView markerLabel)

void wgpuRenderPassEncoderSetScissorRect(WGPURenderPassEncoder renderPassEncoder, uint32_t x, uint32_t y, uint32_t width, uint32_t height)

void wgpuRenderPassEncoderBeginOcclusionQuery(WGPURenderPassEncoder renderPassEncoder, uint32_t queryIndex)

void wgpuRenderPassEncoderSetLabel(WGPURenderPassEncoder renderPassEncoder, WGPUStringView label)

void wgpuRenderPassEncoderRelease(WGPURenderPassEncoder renderPassEncoder)

void wgpuRenderPassEncoderEnd(WGPURenderPassEncoder renderPassEncoder)

void wgpuRenderPassEncoderSetIndexBuffer(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer buffer, WGPUIndexFormat format, uint64_t offset, uint64_t size)

void wgpuRenderPassEncoderSetStencilReference(WGPURenderPassEncoder renderPassEncoder, uint32_t reference)

void wgpuRenderPassEncoderPopDebugGroup(WGPURenderPassEncoder renderPassEncoder)

void wgpuRenderPassEncoderSetViewport(WGPURenderPassEncoder renderPassEncoder, float x, float y, float width, float height, float minDepth, float maxDepth)

void wgpuRenderPassEncoderDrawIndirect(WGPURenderPassEncoder renderPassEncoder, WGPUBuffer indirectBuffer, uint64_t indirectOffset)

void wgpuRenderPassEncoderSetVertexBuffer(WGPURenderPassEncoder renderPassEncoder, uint32_t slot, WGPUBuffer buffer, uint64_t offset, uint64_t size)

void wgpuRenderPassEncoderAddRef(WGPURenderPassEncoder renderPassEncoder)

void wgpuRenderPassEncoderSetBlendConstant(WGPURenderPassEncoder renderPassEncoder, WGPUColor const *color)

void wgpuRenderPassEncoderDrawIndexed(WGPURenderPassEncoder renderPassEncoder, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance)

WGPUBindGroupLayout wgpuRenderPipelineGetBindGroupLayout(WGPURenderPipeline renderPipeline, uint32_t groupIndex)

void wgpuRenderPipelineSetLabel(WGPURenderPipeline renderPipeline, WGPUStringView label)

void wgpuRenderPipelineAddRef(WGPURenderPipeline renderPipeline)

void wgpuRenderPipelineRelease(WGPURenderPipeline renderPipeline)

void wgpuSamplerAddRef(WGPUSampler sampler)

void wgpuSamplerRelease(WGPUSampler sampler)

void wgpuSamplerSetLabel(WGPUSampler sampler, WGPUStringView label)

void wgpuShaderModuleRelease(WGPUShaderModule shaderModule)

void wgpuShaderModuleAddRef(WGPUShaderModule shaderModule)

WGPUFuture wgpuShaderModuleGetCompilationInfo(WGPUShaderModule shaderModule, WGPUCompilationInfoCallbackInfo callbackInfo)

void wgpuShaderModuleSetLabel(WGPUShaderModule shaderModule, WGPUStringView label)

void wgpuSupportedFeaturesFreeMembers(WGPUSupportedFeatures supportedFeatures)

void wgpuSupportedInstanceFeaturesFreeMembers(WGPUSupportedInstanceFeatures supportedInstanceFeatures)

void wgpuSupportedWGSLLanguageFeaturesFreeMembers(WGPUSupportedWGSLLanguageFeatures supportedWGSLLanguageFeatures)

void wgpuSurfaceCapabilitiesFreeMembers(WGPUSurfaceCapabilities surfaceCapabilities)

void wgpuSurfaceAddRef(WGPUSurface surface)

WGPUStatus wgpuSurfacePresent(WGPUSurface surface)

void wgpuSurfaceSetLabel(WGPUSurface surface, WGPUStringView label)

void wgpuSurfaceUnconfigure(WGPUSurface surface)

void wgpuSurfaceConfigure(WGPUSurface surface, WGPUSurfaceConfiguration const *config)

WGPUStatus wgpuSurfaceGetCapabilities(WGPUSurface surface, WGPUAdapter adapter, WGPUSurfaceCapabilities *capabilities)

void wgpuSurfaceGetCurrentTexture(WGPUSurface surface, WGPUSurfaceTexture *surfaceTexture)

void wgpuSurfaceRelease(WGPUSurface surface)

uint32_t wgpuTextureGetSampleCount(WGPUTexture texture)

WGPUTextureDimension wgpuTextureGetDimension(WGPUTexture texture)

void wgpuTextureDestroy(WGPUTexture texture)

uint32_t wgpuTextureGetDepthOrArrayLayers(WGPUTexture texture)

void wgpuTextureRelease(WGPUTexture texture)

WGPUTextureFormat wgpuTextureGetFormat(WGPUTexture texture)

uint32_t wgpuTextureGetHeight(WGPUTexture texture)

uint32_t wgpuTextureGetWidth(WGPUTexture texture)

void wgpuTextureAddRef(WGPUTexture texture)

WGPUTextureView wgpuTextureCreateView(WGPUTexture texture, WGPUTextureViewDescriptor const *descriptor)

WGPUTextureUsage wgpuTextureGetUsage(WGPUTexture texture)

WGPUTextureViewDimension wgpuTextureGetTextureBindingViewDimension(WGPUTexture texture)

void wgpuTextureSetLabel(WGPUTexture texture, WGPUStringView label)

uint32_t wgpuTextureGetMipLevelCount(WGPUTexture texture)

void wgpuTextureViewRelease(WGPUTextureView textureView)

void wgpuTextureViewSetLabel(WGPUTextureView textureView, WGPUStringView label)

void wgpuTextureViewAddRef(WGPUTextureView textureView)

WGPUStringView device

Definition webgpu.h:1790

WGPUBackendType backendType

Definition webgpu.h:1800

uint32_t deviceID

Definition webgpu.h:1812

WGPUChainedStruct * nextInChain

Definition webgpu.h:1772

uint32_t subgroupMinSize

Definition webgpu.h:1816

uint32_t vendorID

Definition webgpu.h:1808

WGPUStringView description

Definition webgpu.h:1796

WGPUAdapterType adapterType

Definition webgpu.h:1804

uint32_t subgroupMaxSize

Definition webgpu.h:1820

WGPUStringView architecture

Definition webgpu.h:1784

WGPUStringView vendor

Definition webgpu.h:1778

WGPUChainedStruct * nextInChain

Definition webgpu.h:4432

size_t entryCount

Definition webgpu.h:4446

WGPUStringView label

Definition webgpu.h:4438

WGPUBindGroupLayout layout

Definition webgpu.h:4442

WGPUBindGroupEntry const * entries

Definition webgpu.h:4450

uint64_t offset

Definition webgpu.h:3585

WGPUBuffer buffer

Definition webgpu.h:3578

WGPUSampler sampler

Definition webgpu.h:3600

uint64_t size

Definition webgpu.h:3593

WGPUTextureView textureView

Definition webgpu.h:3607

WGPUChainedStruct * nextInChain

Definition webgpu.h:3565

uint32_t binding

Definition webgpu.h:3571

WGPUBindGroupLayoutEntry const * entries

Definition webgpu.h:4482

WGPUStringView label

Definition webgpu.h:4474

WGPUChainedStruct * nextInChain

Definition webgpu.h:4468

size_t entryCount

Definition webgpu.h:4478

WGPUTextureBindingLayout texture

Definition webgpu.h:3653

WGPUShaderStage visibility

Definition webgpu.h:3635

WGPUBufferBindingLayout buffer

Definition webgpu.h:3645

uint32_t binding

Definition webgpu.h:3631

uint32_t bindingArraySize

Definition webgpu.h:3641

WGPUChainedStruct * nextInChain

Definition webgpu.h:3627

WGPUStorageTextureBindingLayout storageTexture

Definition webgpu.h:3657

WGPUSamplerBindingLayout sampler

Definition webgpu.h:3649

WGPUBlendFactor dstFactor

Definition webgpu.h:1864

WGPUBlendFactor srcFactor

Definition webgpu.h:1857

WGPUBlendOperation operation

Definition webgpu.h:1850

WGPUBlendComponent alpha

Definition webgpu.h:3685

WGPUBlendComponent color

Definition webgpu.h:3681

uint64_t minBindingSize

Definition webgpu.h:1895

WGPUBufferBindingType type

Definition webgpu.h:1887

WGPUBool hasDynamicOffset

Definition webgpu.h:1891

WGPUChainedStruct * nextInChain

Definition webgpu.h:1880

WGPUBool mappedAtCreation

Definition webgpu.h:1934

WGPUStringView label

Definition webgpu.h:1918

uint64_t size

Definition webgpu.h:1926

WGPUBufferUsage usage

Definition webgpu.h:1922

WGPUChainedStruct * nextInChain

Definition webgpu.h:1912

WGPUChainedStruct * nextInChain

Definition webgpu.h:1534

void * userdata2

Definition webgpu.h:1543

void * userdata1

Definition webgpu.h:1542

WGPUBufferMapCallback callback

Definition webgpu.h:1541

WGPUCallbackMode mode

Definition webgpu.h:1540

struct WGPUChainedStruct * next

Definition webgpu.h:1512

WGPUSType sType

Definition webgpu.h:1513

WGPUBlendState const * blend

Definition webgpu.h:4511

WGPUColorWriteMask writeMask

Definition webgpu.h:4515

WGPUChainedStruct * nextInChain

Definition webgpu.h:4499

WGPUTextureFormat format

Definition webgpu.h:4507

double a

Definition webgpu.h:1971

double b

Definition webgpu.h:1967

double r

Definition webgpu.h:1959

double g

Definition webgpu.h:1963

WGPUChainedStruct * nextInChain

Definition webgpu.h:1988

WGPUStringView label

Definition webgpu.h:1994

WGPUChainedStruct * nextInChain

Definition webgpu.h:2009

WGPUStringView label

Definition webgpu.h:2015

uint32_t maxStorageBuffersInVertexStage

Definition webgpu.h:2038

uint32_t maxStorageBuffersInFragmentStage

Definition webgpu.h:2046

uint32_t maxStorageTexturesInFragmentStage

Definition webgpu.h:2050

uint32_t maxStorageTexturesInVertexStage

Definition webgpu.h:2042

WGPUChainedStruct chain

Definition webgpu.h:2034

void * userdata2

Definition webgpu.h:1567

WGPUCallbackMode mode

Definition webgpu.h:1564

WGPUCompilationInfoCallback callback

Definition webgpu.h:1565

void * userdata1

Definition webgpu.h:1566

WGPUChainedStruct * nextInChain

Definition webgpu.h:1558

size_t messageCount

Definition webgpu.h:3707

WGPUChainedStruct * nextInChain

Definition webgpu.h:3703

WGPUCompilationMessage const * messages

Definition webgpu.h:3711

WGPUChainedStruct * nextInChain

Definition webgpu.h:2074

uint64_t lineNum

Definition webgpu.h:2094

uint64_t linePos

Definition webgpu.h:2100

uint64_t offset

Definition webgpu.h:2106

WGPUCompilationMessageType type

Definition webgpu.h:2088

uint64_t length

Definition webgpu.h:2112

WGPUStringView message

Definition webgpu.h:2082

WGPUStringView label

Definition webgpu.h:3733

WGPUPassTimestampWrites const * timestampWrites

Definition webgpu.h:3737

WGPUChainedStruct * nextInChain

Definition webgpu.h:3727

WGPUComputeState compute

Definition webgpu.h:4546

WGPUChainedStruct * nextInChain

Definition webgpu.h:4532

WGPUStringView label

Definition webgpu.h:4538

WGPUPipelineLayout layout

Definition webgpu.h:4542

WGPUChainedStruct * nextInChain

Definition webgpu.h:3753

WGPUConstantEntry const * constants

Definition webgpu.h:3771

size_t constantCount

Definition webgpu.h:3767

WGPUShaderModule WGPUStringView entryPoint

Definition webgpu.h:3763

WGPUStringView key

Definition webgpu.h:2138

WGPUChainedStruct * nextInChain

Definition webgpu.h:2132

double value

Definition webgpu.h:2146

void * userdata2

Definition webgpu.h:1591

WGPUCreateComputePipelineAsyncCallback callback

Definition webgpu.h:1589

WGPUCallbackMode mode

Definition webgpu.h:1588

void * userdata1

Definition webgpu.h:1590

WGPUChainedStruct * nextInChain

Definition webgpu.h:1582

void * userdata1

Definition webgpu.h:1614

WGPUCreateRenderPipelineAsyncCallback callback

Definition webgpu.h:1613

void * userdata2

Definition webgpu.h:1615

WGPUChainedStruct * nextInChain

Definition webgpu.h:1606

WGPUCallbackMode mode

Definition webgpu.h:1612

WGPUStencilFaceState stencilFront

Definition webgpu.h:3805

float depthBiasClamp

Definition webgpu.h:3837

uint32_t stencilWriteMask

Definition webgpu.h:3817

WGPUStencilFaceState stencilBack

Definition webgpu.h:3809

WGPUChainedStruct * nextInChain

Definition webgpu.h:3789

WGPUOptionalBool depthWriteEnabled

Definition webgpu.h:3797

WGPUCompareFunction depthCompare

Definition webgpu.h:3801

int32_t depthBias

Definition webgpu.h:3821

uint32_t stencilReadMask

Definition webgpu.h:3813

WGPUTextureFormat format

Definition webgpu.h:3793

float depthBiasSlopeScale

Definition webgpu.h:3829

WGPUDeviceLostCallbackInfo deviceLostCallbackInfo

Definition webgpu.h:4589

WGPUUncapturedErrorCallbackInfo uncapturedErrorCallbackInfo

Definition webgpu.h:4598

size_t requiredFeatureCount

Definition webgpu.h:4573

WGPUStringView label

Definition webgpu.h:4569

WGPUFeatureName const * requiredFeatures

Definition webgpu.h:4577

WGPUQueueDescriptor defaultQueue

Definition webgpu.h:4585

WGPUChainedStruct * nextInChain

Definition webgpu.h:4563

WGPULimits const * requiredLimits

Definition webgpu.h:4581

void * userdata2

Definition webgpu.h:1639

WGPUChainedStruct * nextInChain

Definition webgpu.h:1630

void * userdata1

Definition webgpu.h:1638

WGPUDeviceLostCallback callback

Definition webgpu.h:1637

WGPUCallbackMode mode

Definition webgpu.h:1636

uint32_t width

Definition webgpu.h:2165

uint32_t depthOrArrayLayers

Definition webgpu.h:2173

uint32_t height

Definition webgpu.h:2169

WGPUChainedStruct chain

Definition webgpu.h:2191

WGPUExternalTexture externalTexture

Definition webgpu.h:2195

WGPUChainedStruct chain

Definition webgpu.h:2215

size_t constantCount

Definition webgpu.h:4789

WGPUShaderModule WGPUStringView entryPoint

Definition webgpu.h:4785

WGPUChainedStruct * nextInChain

Definition webgpu.h:4775

size_t targetCount

Definition webgpu.h:4797

WGPUConstantEntry const * constants

Definition webgpu.h:4793

WGPUColorTargetState const * targets

Definition webgpu.h:4801

WGPUFuture future

Definition webgpu.h:3868

WGPUBool completed

Definition webgpu.h:3874

uint64_t id

Definition webgpu.h:2239

WGPUInstanceFeatureName const * requiredFeatures

Definition webgpu.h:3897

WGPUChainedStruct * nextInChain

Definition webgpu.h:3889

size_t requiredFeatureCount

Definition webgpu.h:3893

WGPUInstanceLimits const * requiredLimits

Definition webgpu.h:3901

size_t timedWaitAnyMaxCount

Definition webgpu.h:2259

WGPUChainedStruct * nextInChain

Definition webgpu.h:2253

uint32_t maxBindGroupsPlusVertexBuffers

Definition webgpu.h:3942

uint32_t maxColorAttachmentBytesPerSample

Definition webgpu.h:4018

uint32_t maxTextureDimension2D

Definition webgpu.h:3926

uint32_t maxSampledTexturesPerShaderStage

Definition webgpu.h:3958

uint32_t maxTextureDimension3D

Definition webgpu.h:3930

uint32_t maxSamplersPerShaderStage

Definition webgpu.h:3962

WGPUChainedStruct * nextInChain

Definition webgpu.h:3918

uint32_t maxBindingsPerBindGroup

Definition webgpu.h:3946

uint32_t maxComputeWorkgroupsPerDimension

Definition webgpu.h:4042

uint32_t maxDynamicStorageBuffersPerPipelineLayout

Definition webgpu.h:3954

uint32_t maxComputeWorkgroupStorageSize

Definition webgpu.h:4022

uint32_t minStorageBufferOffsetAlignment

Definition webgpu.h:3990

uint32_t maxComputeWorkgroupSizeY

Definition webgpu.h:4034

uint64_t maxStorageBufferBindingSize

Definition webgpu.h:3982

uint32_t maxComputeInvocationsPerWorkgroup

Definition webgpu.h:4026

uint32_t maxVertexBufferArrayStride

Definition webgpu.h:4006

uint32_t minUniformBufferOffsetAlignment

Definition webgpu.h:3986

uint32_t maxVertexAttributes

Definition webgpu.h:4002

uint32_t maxColorAttachments

Definition webgpu.h:4014

uint32_t maxInterStageShaderVariables

Definition webgpu.h:4010

uint32_t maxComputeWorkgroupSizeZ

Definition webgpu.h:4038

uint32_t maxTextureDimension1D

Definition webgpu.h:3922

uint32_t maxDynamicUniformBuffersPerPipelineLayout

Definition webgpu.h:3950

uint64_t maxUniformBufferBindingSize

Definition webgpu.h:3978

uint64_t maxBufferSize

Definition webgpu.h:3998

uint32_t maxUniformBuffersPerShaderStage

Definition webgpu.h:3974

uint32_t maxComputeWorkgroupSizeX

Definition webgpu.h:4030

uint32_t maxVertexBuffers

Definition webgpu.h:3994

uint32_t maxTextureArrayLayers

Definition webgpu.h:3934

uint32_t maxStorageTexturesPerShaderStage

Definition webgpu.h:3970

uint32_t maxStorageBuffersPerShaderStage

Definition webgpu.h:3966

uint32_t maxImmediateSize

Definition webgpu.h:4046

uint32_t maxBindGroups

Definition webgpu.h:3938

WGPUBool alphaToCoverageEnabled

Definition webgpu.h:2286

uint32_t count

Definition webgpu.h:2278

WGPUChainedStruct * nextInChain

Definition webgpu.h:2274

uint32_t mask

Definition webgpu.h:2282

uint32_t y

Definition webgpu.h:2310

uint32_t z

Definition webgpu.h:2314

uint32_t x

Definition webgpu.h:2306

WGPUQuerySet querySet

Definition webgpu.h:2336

uint32_t endOfPassWriteIndex

Definition webgpu.h:2344

WGPUChainedStruct * nextInChain

Definition webgpu.h:2330

uint32_t beginningOfPassWriteIndex

Definition webgpu.h:2340

WGPUStringView label

Definition webgpu.h:2367

WGPUChainedStruct * nextInChain

Definition webgpu.h:2361

WGPUBindGroupLayout const * bindGroupLayouts

Definition webgpu.h:2375

size_t bindGroupLayoutCount

Definition webgpu.h:2371

uint32_t immediateSize

Definition webgpu.h:2379

void * userdata2

Definition webgpu.h:1663

WGPUChainedStruct * nextInChain

Definition webgpu.h:1654

WGPUCallbackMode mode

Definition webgpu.h:1660

WGPUPopErrorScopeCallback callback

Definition webgpu.h:1661

void * userdata1

Definition webgpu.h:1662

WGPUFrontFace frontFace

Definition webgpu.h:2415

WGPUChainedStruct * nextInChain

Definition webgpu.h:2397

WGPUIndexFormat stripIndexFormat

Definition webgpu.h:2408

WGPUPrimitiveTopology topology

Definition webgpu.h:2404

WGPUCullMode cullMode

Definition webgpu.h:2422

WGPUBool unclippedDepth

Definition webgpu.h:2426

WGPUQueryType type

Definition webgpu.h:2455

uint32_t count

Definition webgpu.h:2459

WGPUChainedStruct * nextInChain

Definition webgpu.h:2445

WGPUStringView label

Definition webgpu.h:2451

WGPUChainedStruct * nextInChain

Definition webgpu.h:2476

WGPUStringView label

Definition webgpu.h:2482

WGPUCallbackMode mode

Definition webgpu.h:1684

WGPUChainedStruct * nextInChain

Definition webgpu.h:1678

void * userdata2

Definition webgpu.h:1687

WGPUQueueWorkDoneCallback callback

Definition webgpu.h:1685

void * userdata1

Definition webgpu.h:1686

WGPUChainedStruct * nextInChain

Definition webgpu.h:2497

WGPUStringView label

Definition webgpu.h:2503

WGPUBool depthReadOnly

Definition webgpu.h:2544

WGPUChainedStruct * nextInChain

Definition webgpu.h:2518

WGPUBool stencilReadOnly

Definition webgpu.h:2548

size_t colorFormatCount

Definition webgpu.h:2528

WGPUTextureFormat const * colorFormats

Definition webgpu.h:2532

WGPUStringView label

Definition webgpu.h:2524

WGPUTextureFormat depthStencilFormat

Definition webgpu.h:2536

uint32_t sampleCount

Definition webgpu.h:2540

WGPUTextureView resolveTarget

Definition webgpu.h:4107

WGPUStoreOp storeOp

Definition webgpu.h:4115

uint32_t depthSlice

Definition webgpu.h:4103

WGPULoadOp loadOp

Definition webgpu.h:4111

WGPUTextureView view

Definition webgpu.h:4099

WGPUChainedStruct * nextInChain

Definition webgpu.h:4092

WGPUColor clearValue

Definition webgpu.h:4119

WGPUTextureView view

Definition webgpu.h:2573

WGPULoadOp stencilLoadOp

Definition webgpu.h:2600

WGPUChainedStruct * nextInChain

Definition webgpu.h:2569

WGPUBool depthReadOnly

Definition webgpu.h:2596

WGPULoadOp depthLoadOp

Definition webgpu.h:2577

WGPUStoreOp stencilStoreOp

Definition webgpu.h:2604

WGPUStoreOp depthStoreOp

Definition webgpu.h:2581

uint32_t stencilClearValue

Definition webgpu.h:2608

WGPUBool stencilReadOnly

Definition webgpu.h:2612

float depthClearValue

Definition webgpu.h:2592

WGPUChainedStruct * nextInChain

Definition webgpu.h:4619

WGPUStringView label

Definition webgpu.h:4625

WGPURenderPassDepthStencilAttachment const * depthStencilAttachment

Definition webgpu.h:4637

WGPURenderPassColorAttachment const * colorAttachments

Definition webgpu.h:4633

WGPUQuerySet occlusionQuerySet

Definition webgpu.h:4641

size_t colorAttachmentCount

Definition webgpu.h:4629

WGPUPassTimestampWrites const * timestampWrites

Definition webgpu.h:4645

uint64_t maxDrawCount

Definition webgpu.h:2639

WGPUChainedStruct chain

Definition webgpu.h:2635

WGPUDepthStencilState const * depthStencil

Definition webgpu.h:4843

WGPUChainedStruct * nextInChain

Definition webgpu.h:4821

WGPUStringView label

Definition webgpu.h:4827

WGPUMultisampleState multisample

Definition webgpu.h:4847

WGPUFragmentState const * fragment

Definition webgpu.h:4851

WGPUPrimitiveState primitive

Definition webgpu.h:4839

WGPUPipelineLayout layout

Definition webgpu.h:4831

WGPUVertexState vertex

Definition webgpu.h:4835

WGPURequestAdapterCallback callback

Definition webgpu.h:1709

WGPUCallbackMode mode

Definition webgpu.h:1708

void * userdata1

Definition webgpu.h:1710

void * userdata2

Definition webgpu.h:1711

WGPUChainedStruct * nextInChain

Definition webgpu.h:1702

WGPUFeatureLevel featureLevel

Definition webgpu.h:4150

WGPUBool forceFallbackAdapter

Definition webgpu.h:4161

WGPUSurface compatibleSurface

Definition webgpu.h:4175

WGPUBackendType backendType

Definition webgpu.h:4168

WGPUChainedStruct * nextInChain

Definition webgpu.h:4139

WGPUPowerPreference powerPreference

Definition webgpu.h:4154

WGPUChainedStruct chain

Definition webgpu.h:2659

WGPUBool xrCompatible

Definition webgpu.h:2665

WGPUCallbackMode mode

Definition webgpu.h:1732

void * userdata2

Definition webgpu.h:1735

WGPUChainedStruct * nextInChain

Definition webgpu.h:1726

void * userdata1

Definition webgpu.h:1734

WGPURequestDeviceCallback callback

Definition webgpu.h:1733

WGPUChainedStruct * nextInChain

Definition webgpu.h:2683

WGPUSamplerBindingType type

Definition webgpu.h:2690

WGPUFilterMode minFilter

Definition webgpu.h:2746

WGPUAddressMode addressModeU

Definition webgpu.h:2718

WGPUCompareFunction compare

Definition webgpu.h:2773

WGPUAddressMode addressModeW

Definition webgpu.h:2732

uint16_t maxAnisotropy

Definition webgpu.h:2777

WGPUAddressMode addressModeV

Definition webgpu.h:2725

float lodMaxClamp

Definition webgpu.h:2769

WGPUStringView label

Definition webgpu.h:2711

WGPUFilterMode magFilter

Definition webgpu.h:2739

WGPUChainedStruct * nextInChain

Definition webgpu.h:2705

float lodMinClamp

Definition webgpu.h:2761

WGPUMipmapFilterMode mipmapFilter

Definition webgpu.h:2753

WGPUChainedStruct * nextInChain

Definition webgpu.h:4194

WGPUStringView label

Definition webgpu.h:4200

WGPUChainedStruct chain

Definition webgpu.h:2802

uint32_t codeSize

Definition webgpu.h:2806

uint32_t const * code

Definition webgpu.h:2810

WGPUChainedStruct chain

Definition webgpu.h:2829

WGPUStringView code

Definition webgpu.h:2835

WGPUCompareFunction compare

Definition webgpu.h:2859

WGPUStencilOperation depthFailOp

Definition webgpu.h:2873

WGPUStencilOperation passOp

Definition webgpu.h:2880

WGPUStencilOperation failOp

Definition webgpu.h:2866

WGPUChainedStruct * nextInChain

Definition webgpu.h:2897

WGPUTextureViewDimension viewDimension

Definition webgpu.h:2915

WGPUTextureFormat format

Definition webgpu.h:2908

WGPUStorageTextureAccess access

Definition webgpu.h:2904

size_t length

Definition webgpu.h:195

char const * data

Definition webgpu.h:194

size_t featureCount

Definition webgpu.h:2935

WGPUFeatureName const * features

Definition webgpu.h:2939

WGPUInstanceFeatureName const * features

Definition webgpu.h:2961

size_t featureCount

Definition webgpu.h:2957

WGPUWGSLLanguageFeatureName const * features

Definition webgpu.h:2983

size_t featureCount

Definition webgpu.h:2979

WGPUTextureFormat const * formats

Definition webgpu.h:3017

WGPUChainedStruct * nextInChain

Definition webgpu.h:3000

size_t formatCount

Definition webgpu.h:3011

size_t alphaModeCount

Definition webgpu.h:3032

size_t presentModeCount

Definition webgpu.h:3021

WGPUPresentMode const * presentModes

Definition webgpu.h:3028

WGPUCompositeAlphaMode const * alphaModes

Definition webgpu.h:3039

WGPUTextureUsage usages

Definition webgpu.h:3007

WGPUToneMappingMode toneMappingMode

Definition webgpu.h:3070

WGPUChainedStruct chain

Definition webgpu.h:3062

WGPUPredefinedColorSpace colorSpace

Definition webgpu.h:3066

WGPUTextureUsage usage

Definition webgpu.h:3110

uint32_t height

Definition webgpu.h:3122

WGPUTextureFormat format

Definition webgpu.h:3104

WGPUTextureFormat const * viewFormats

Definition webgpu.h:3132

size_t viewFormatCount

Definition webgpu.h:3126

uint32_t width

Definition webgpu.h:3116

WGPUDevice device

Definition webgpu.h:3098

WGPUCompositeAlphaMode alphaMode

Definition webgpu.h:3142

WGPUChainedStruct * nextInChain

Definition webgpu.h:3092

WGPUPresentMode presentMode

Definition webgpu.h:3151

WGPUChainedStruct * nextInChain

Definition webgpu.h:4219

WGPUStringView label

Definition webgpu.h:4227

WGPUChainedStruct chain

Definition webgpu.h:3176

void * window

Definition webgpu.h:3182

void * surface

Definition webgpu.h:3240

void * display

Definition webgpu.h:3234

WGPUChainedStruct chain

Definition webgpu.h:3228

WGPUChainedStruct chain

Definition webgpu.h:3261

void * hwnd

Definition webgpu.h:3274

void * hinstance

Definition webgpu.h:3268

uint32_t window

Definition webgpu.h:3307

void * connection

Definition webgpu.h:3301

WGPUChainedStruct chain

Definition webgpu.h:3295

WGPUChainedStruct chain

Definition webgpu.h:3328

void * display

Definition webgpu.h:3334

uint64_t window

Definition webgpu.h:3340

WGPUChainedStruct * nextInChain

Definition webgpu.h:3362

WGPUTexture texture

Definition webgpu.h:3369

WGPUSurfaceGetCurrentTextureStatus status

Definition webgpu.h:3375

WGPUBuffer buffer

Definition webgpu.h:4249

WGPUTexelCopyBufferLayout layout

Definition webgpu.h:4245

uint32_t rowsPerImage

Definition webgpu.h:3402

uint64_t offset

Definition webgpu.h:3394

uint32_t bytesPerRow

Definition webgpu.h:3398

uint32_t mipLevel

Definition webgpu.h:4271

WGPUOrigin3D origin

Definition webgpu.h:4275

WGPUTexture texture

Definition webgpu.h:4267

WGPUTextureAspect aspect

Definition webgpu.h:4282

WGPUTextureViewDimension viewDimension

Definition webgpu.h:3432

WGPUBool multisampled

Definition webgpu.h:3436

WGPUTextureSampleType sampleType

Definition webgpu.h:3425

WGPUChainedStruct * nextInChain

Definition webgpu.h:3418

WGPUChainedStruct chain

Definition webgpu.h:3457

WGPUTextureViewDimension textureBindingViewDimension

Definition webgpu.h:3461

WGPUTextureComponentSwizzle swizzle

Definition webgpu.h:4303

WGPUChainedStruct chain

Definition webgpu.h:4299

WGPUComponentSwizzle r

Definition webgpu.h:3492

WGPUComponentSwizzle a

Definition webgpu.h:3519

WGPUComponentSwizzle g

Definition webgpu.h:3501

WGPUComponentSwizzle b

Definition webgpu.h:3510

WGPUTextureFormat const * viewFormats

Definition webgpu.h:4362

size_t viewFormatCount

Definition webgpu.h:4358

WGPUTextureDimension dimension

Definition webgpu.h:4338

WGPUStringView label

Definition webgpu.h:4327

uint32_t mipLevelCount

Definition webgpu.h:4350

uint32_t sampleCount

Definition webgpu.h:4354

WGPUChainedStruct * nextInChain

Definition webgpu.h:4321

WGPUTextureFormat format

Definition webgpu.h:4346

WGPUTextureUsage usage

Definition webgpu.h:4331

WGPUExtent3D size

Definition webgpu.h:4342

WGPUChainedStruct * nextInChain

Definition webgpu.h:4665

WGPUTextureUsage usage

Definition webgpu.h:4706

WGPUTextureFormat format

Definition webgpu.h:4675

uint32_t mipLevelCount

Definition webgpu.h:4687

uint32_t baseMipLevel

Definition webgpu.h:4683

uint32_t baseArrayLayer

Definition webgpu.h:4691

uint32_t arrayLayerCount

Definition webgpu.h:4695

WGPUTextureViewDimension dimension

Definition webgpu.h:4679

WGPUStringView label

Definition webgpu.h:4671

WGPUTextureAspect aspect

Definition webgpu.h:4702

WGPUChainedStruct * nextInChain

Definition webgpu.h:1750

void * userdata2

Definition webgpu.h:1753

WGPUUncapturedErrorCallback callback

Definition webgpu.h:1751

void * userdata1

Definition webgpu.h:1752

WGPUVertexFormat format

Definition webgpu.h:3540

uint64_t offset

Definition webgpu.h:3544

WGPUChainedStruct * nextInChain

Definition webgpu.h:3536

uint32_t shaderLocation

Definition webgpu.h:3548

WGPUVertexAttribute const * attributes

Definition webgpu.h:4414

WGPUVertexStepMode stepMode

Definition webgpu.h:4402

WGPUChainedStruct * nextInChain

Definition webgpu.h:4398

size_t attributeCount

Definition webgpu.h:4410

uint64_t arrayStride

Definition webgpu.h:4406

WGPUShaderModule WGPUStringView entryPoint

Definition webgpu.h:4739

WGPUVertexBufferLayout const * buffers

Definition webgpu.h:4755

WGPUConstantEntry const * constants

Definition webgpu.h:4747

size_t constantCount

Definition webgpu.h:4743

size_t bufferCount

Definition webgpu.h:4751

WGPUChainedStruct * nextInChain

Definition webgpu.h:4729