tinygrad 0.10.2__py3-none-any.whl → 0.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tinygrad/__init__.py +1 -1
- tinygrad/apps/llm.py +206 -0
- tinygrad/codegen/__init__.py +116 -0
- tinygrad/codegen/devectorizer.py +315 -172
- tinygrad/codegen/expander.py +8 -16
- tinygrad/codegen/gpudims.py +89 -0
- tinygrad/codegen/linearize.py +205 -203
- tinygrad/codegen/lowerer.py +92 -139
- tinygrad/codegen/opt/__init__.py +38 -0
- tinygrad/codegen/opt/heuristic.py +125 -0
- tinygrad/codegen/opt/kernel.py +510 -0
- tinygrad/{engine → codegen/opt}/search.py +51 -35
- tinygrad/codegen/opt/swizzler.py +134 -0
- tinygrad/codegen/opt/tc.py +127 -0
- tinygrad/codegen/quantize.py +67 -0
- tinygrad/device.py +122 -132
- tinygrad/dtype.py +152 -35
- tinygrad/engine/jit.py +81 -54
- tinygrad/engine/memory.py +46 -27
- tinygrad/engine/realize.py +82 -41
- tinygrad/engine/schedule.py +70 -445
- tinygrad/frontend/__init__.py +0 -0
- tinygrad/frontend/onnx.py +1253 -0
- tinygrad/frontend/torch.py +5 -0
- tinygrad/gradient.py +19 -27
- tinygrad/helpers.py +95 -47
- tinygrad/nn/__init__.py +7 -8
- tinygrad/nn/optim.py +72 -41
- tinygrad/nn/state.py +37 -23
- tinygrad/renderer/__init__.py +40 -60
- tinygrad/renderer/cstyle.py +143 -128
- tinygrad/renderer/llvmir.py +113 -62
- tinygrad/renderer/ptx.py +50 -32
- tinygrad/renderer/wgsl.py +27 -23
- tinygrad/runtime/autogen/am/am.py +5861 -0
- tinygrad/runtime/autogen/am/pm4_nv.py +962 -0
- tinygrad/runtime/autogen/am/pm4_soc15.py +931 -0
- tinygrad/runtime/autogen/am/sdma_4_0_0.py +5209 -0
- tinygrad/runtime/autogen/am/sdma_4_4_2.py +5209 -0
- tinygrad/runtime/autogen/am/sdma_5_0_0.py +7103 -0
- tinygrad/runtime/autogen/am/sdma_6_0_0.py +8085 -0
- tinygrad/runtime/autogen/am/smu_v13_0_0.py +3068 -0
- tinygrad/runtime/autogen/am/smu_v14_0_2.py +3605 -0
- tinygrad/runtime/autogen/amd_gpu.py +1433 -67197
- tinygrad/runtime/autogen/comgr.py +35 -9
- tinygrad/runtime/autogen/comgr_3.py +906 -0
- tinygrad/runtime/autogen/cuda.py +2419 -494
- tinygrad/runtime/autogen/hsa.py +57 -16
- tinygrad/runtime/autogen/ib.py +7171 -0
- tinygrad/runtime/autogen/io_uring.py +917 -118
- tinygrad/runtime/autogen/kfd.py +748 -26
- tinygrad/runtime/autogen/libc.py +613 -218
- tinygrad/runtime/autogen/libusb.py +1643 -0
- tinygrad/runtime/autogen/nv/nv.py +8602 -0
- tinygrad/runtime/autogen/nv_gpu.py +7218 -2072
- tinygrad/runtime/autogen/opencl.py +2 -4
- tinygrad/runtime/autogen/sqtt.py +1789 -0
- tinygrad/runtime/autogen/vfio.py +3 -3
- tinygrad/runtime/autogen/webgpu.py +273 -264
- tinygrad/runtime/graph/cuda.py +3 -3
- tinygrad/runtime/graph/hcq.py +68 -29
- tinygrad/runtime/graph/metal.py +29 -13
- tinygrad/runtime/graph/remote.py +114 -0
- tinygrad/runtime/ops_amd.py +537 -320
- tinygrad/runtime/ops_cpu.py +108 -7
- tinygrad/runtime/ops_cuda.py +12 -14
- tinygrad/runtime/ops_disk.py +13 -10
- tinygrad/runtime/ops_dsp.py +47 -40
- tinygrad/runtime/ops_gpu.py +13 -11
- tinygrad/runtime/ops_hip.py +6 -9
- tinygrad/runtime/ops_llvm.py +35 -15
- tinygrad/runtime/ops_metal.py +29 -19
- tinygrad/runtime/ops_npy.py +5 -3
- tinygrad/runtime/ops_null.py +28 -0
- tinygrad/runtime/ops_nv.py +306 -234
- tinygrad/runtime/ops_python.py +62 -52
- tinygrad/runtime/ops_qcom.py +28 -39
- tinygrad/runtime/ops_remote.py +482 -0
- tinygrad/runtime/ops_webgpu.py +28 -28
- tinygrad/runtime/support/am/amdev.py +114 -249
- tinygrad/runtime/support/am/ip.py +211 -172
- tinygrad/runtime/support/amd.py +138 -0
- tinygrad/runtime/support/{compiler_hip.py → compiler_amd.py} +40 -8
- tinygrad/runtime/support/compiler_cuda.py +8 -11
- tinygrad/runtime/support/elf.py +2 -1
- tinygrad/runtime/support/hcq.py +184 -97
- tinygrad/runtime/support/ib.py +172 -0
- tinygrad/runtime/support/llvm.py +3 -4
- tinygrad/runtime/support/memory.py +251 -0
- tinygrad/runtime/support/nv/__init__.py +0 -0
- tinygrad/runtime/support/nv/ip.py +581 -0
- tinygrad/runtime/support/nv/nvdev.py +183 -0
- tinygrad/runtime/support/system.py +170 -0
- tinygrad/runtime/support/usb.py +268 -0
- tinygrad/runtime/support/webgpu.py +18 -0
- tinygrad/schedule/__init__.py +0 -0
- tinygrad/schedule/grouper.py +119 -0
- tinygrad/schedule/kernelize.py +368 -0
- tinygrad/schedule/multi.py +231 -0
- tinygrad/shape/shapetracker.py +40 -46
- tinygrad/shape/view.py +88 -52
- tinygrad/tensor.py +968 -542
- tinygrad/uop/__init__.py +117 -0
- tinygrad/{codegen/transcendental.py → uop/decompositions.py} +125 -38
- tinygrad/uop/mathtraits.py +169 -0
- tinygrad/uop/ops.py +1021 -0
- tinygrad/uop/spec.py +228 -0
- tinygrad/{codegen → uop}/symbolic.py +239 -216
- tinygrad/uop/upat.py +163 -0
- tinygrad/viz/assets/cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/languages/x86asm.min.js +19 -0
- tinygrad/viz/assets/d3js.org/d3.v7.min.js +2 -0
- tinygrad/viz/assets/dagrejs.github.io/project/dagre/latest/dagre.min.js +801 -0
- tinygrad/viz/index.html +203 -403
- tinygrad/viz/js/index.js +718 -0
- tinygrad/viz/js/worker.js +29 -0
- tinygrad/viz/serve.py +224 -102
- {tinygrad-0.10.2.dist-info → tinygrad-0.11.0.dist-info}/METADATA +24 -16
- tinygrad-0.11.0.dist-info/RECORD +141 -0
- {tinygrad-0.10.2.dist-info → tinygrad-0.11.0.dist-info}/WHEEL +1 -1
- tinygrad/codegen/kernel.py +0 -693
- tinygrad/engine/multi.py +0 -161
- tinygrad/ops.py +0 -1003
- tinygrad/runtime/ops_cloud.py +0 -220
- tinygrad/runtime/support/allocator.py +0 -94
- tinygrad/spec.py +0 -155
- tinygrad/viz/assets/d3js.org/d3.v5.min.js +0 -2
- tinygrad/viz/assets/dagrejs.github.io/project/dagre-d3/latest/dagre-d3.min.js +0 -4816
- tinygrad/viz/perfetto.html +0 -178
- tinygrad-0.10.2.dist-info/RECORD +0 -99
- {tinygrad-0.10.2.dist-info → tinygrad-0.11.0.dist-info/licenses}/LICENSE +0 -0
- {tinygrad-0.10.2.dist-info → tinygrad-0.11.0.dist-info}/top_level.txt +0 -0
@@ -6,7 +6,7 @@
|
|
6
6
|
# POINTER_SIZE is: 8
|
7
7
|
# LONGDOUBLE_SIZE is: 16
|
8
8
|
#
|
9
|
-
import ctypes,
|
9
|
+
import ctypes, tinygrad.runtime.support.webgpu as webgpu_support
|
10
10
|
|
11
11
|
|
12
12
|
class AsDictMixin:
|
@@ -144,8 +144,17 @@ def char_pointer_cast(string, encoding='utf-8'):
|
|
144
144
|
|
145
145
|
|
146
146
|
|
147
|
+
class FunctionFactoryStub:
|
148
|
+
def __getattr__(self, _):
|
149
|
+
return ctypes.CFUNCTYPE(lambda y:y)
|
150
|
+
|
151
|
+
# libraries['webgpu'] explanation
|
152
|
+
# As you did not list (-l libraryname.so) a library that exports this function
|
153
|
+
# This is a non-working stub instead.
|
154
|
+
# You can either re-run clan2py with -l /path/to/library.so
|
155
|
+
# Or manually fix this by comment the ctypes.CDLL loading
|
147
156
|
_libraries = {}
|
148
|
-
_libraries['
|
157
|
+
_libraries['webgpu'] = ctypes.CDLL(webgpu_support.WEBGPU_PATH) # ctypes.CDLL('webgpu')
|
149
158
|
|
150
159
|
|
151
160
|
WGPUFlags = ctypes.c_uint64
|
@@ -4222,1577 +4231,1577 @@ WGPUProcTextureViewSetLabel = ctypes.CFUNCTYPE(None, ctypes.POINTER(struct_WGPUT
|
|
4222
4231
|
WGPUProcTextureViewAddRef = ctypes.CFUNCTYPE(None, ctypes.POINTER(struct_WGPUTextureViewImpl))
|
4223
4232
|
WGPUProcTextureViewRelease = ctypes.CFUNCTYPE(None, ctypes.POINTER(struct_WGPUTextureViewImpl))
|
4224
4233
|
try:
|
4225
|
-
wgpuAdapterInfoFreeMembers = _libraries['
|
4234
|
+
wgpuAdapterInfoFreeMembers = _libraries['webgpu'].wgpuAdapterInfoFreeMembers
|
4226
4235
|
wgpuAdapterInfoFreeMembers.restype = None
|
4227
4236
|
wgpuAdapterInfoFreeMembers.argtypes = [WGPUAdapterInfo]
|
4228
4237
|
except AttributeError:
|
4229
4238
|
pass
|
4230
4239
|
try:
|
4231
|
-
wgpuAdapterPropertiesMemoryHeapsFreeMembers = _libraries['
|
4240
|
+
wgpuAdapterPropertiesMemoryHeapsFreeMembers = _libraries['webgpu'].wgpuAdapterPropertiesMemoryHeapsFreeMembers
|
4232
4241
|
wgpuAdapterPropertiesMemoryHeapsFreeMembers.restype = None
|
4233
4242
|
wgpuAdapterPropertiesMemoryHeapsFreeMembers.argtypes = [WGPUAdapterPropertiesMemoryHeaps]
|
4234
4243
|
except AttributeError:
|
4235
4244
|
pass
|
4236
4245
|
try:
|
4237
|
-
wgpuCreateInstance = _libraries['
|
4246
|
+
wgpuCreateInstance = _libraries['webgpu'].wgpuCreateInstance
|
4238
4247
|
wgpuCreateInstance.restype = WGPUInstance
|
4239
4248
|
wgpuCreateInstance.argtypes = [ctypes.POINTER(struct_WGPUInstanceDescriptor)]
|
4240
4249
|
except AttributeError:
|
4241
4250
|
pass
|
4242
4251
|
try:
|
4243
|
-
wgpuDrmFormatCapabilitiesFreeMembers = _libraries['
|
4252
|
+
wgpuDrmFormatCapabilitiesFreeMembers = _libraries['webgpu'].wgpuDrmFormatCapabilitiesFreeMembers
|
4244
4253
|
wgpuDrmFormatCapabilitiesFreeMembers.restype = None
|
4245
4254
|
wgpuDrmFormatCapabilitiesFreeMembers.argtypes = [WGPUDrmFormatCapabilities]
|
4246
4255
|
except AttributeError:
|
4247
4256
|
pass
|
4248
4257
|
try:
|
4249
|
-
wgpuGetInstanceFeatures = _libraries['
|
4258
|
+
wgpuGetInstanceFeatures = _libraries['webgpu'].wgpuGetInstanceFeatures
|
4250
4259
|
wgpuGetInstanceFeatures.restype = WGPUStatus
|
4251
4260
|
wgpuGetInstanceFeatures.argtypes = [ctypes.POINTER(struct_WGPUInstanceFeatures)]
|
4252
4261
|
except AttributeError:
|
4253
4262
|
pass
|
4254
4263
|
try:
|
4255
|
-
wgpuGetProcAddress = _libraries['
|
4264
|
+
wgpuGetProcAddress = _libraries['webgpu'].wgpuGetProcAddress
|
4256
4265
|
wgpuGetProcAddress.restype = WGPUProc
|
4257
4266
|
wgpuGetProcAddress.argtypes = [WGPUStringView]
|
4258
4267
|
except AttributeError:
|
4259
4268
|
pass
|
4260
4269
|
try:
|
4261
|
-
wgpuSharedBufferMemoryEndAccessStateFreeMembers = _libraries['
|
4270
|
+
wgpuSharedBufferMemoryEndAccessStateFreeMembers = _libraries['webgpu'].wgpuSharedBufferMemoryEndAccessStateFreeMembers
|
4262
4271
|
wgpuSharedBufferMemoryEndAccessStateFreeMembers.restype = None
|
4263
4272
|
wgpuSharedBufferMemoryEndAccessStateFreeMembers.argtypes = [WGPUSharedBufferMemoryEndAccessState]
|
4264
4273
|
except AttributeError:
|
4265
4274
|
pass
|
4266
4275
|
try:
|
4267
|
-
wgpuSharedTextureMemoryEndAccessStateFreeMembers = _libraries['
|
4276
|
+
wgpuSharedTextureMemoryEndAccessStateFreeMembers = _libraries['webgpu'].wgpuSharedTextureMemoryEndAccessStateFreeMembers
|
4268
4277
|
wgpuSharedTextureMemoryEndAccessStateFreeMembers.restype = None
|
4269
4278
|
wgpuSharedTextureMemoryEndAccessStateFreeMembers.argtypes = [WGPUSharedTextureMemoryEndAccessState]
|
4270
4279
|
except AttributeError:
|
4271
4280
|
pass
|
4272
4281
|
try:
|
4273
|
-
wgpuSupportedFeaturesFreeMembers = _libraries['
|
4282
|
+
wgpuSupportedFeaturesFreeMembers = _libraries['webgpu'].wgpuSupportedFeaturesFreeMembers
|
4274
4283
|
wgpuSupportedFeaturesFreeMembers.restype = None
|
4275
4284
|
wgpuSupportedFeaturesFreeMembers.argtypes = [WGPUSupportedFeatures]
|
4276
4285
|
except AttributeError:
|
4277
4286
|
pass
|
4278
4287
|
try:
|
4279
|
-
wgpuSurfaceCapabilitiesFreeMembers = _libraries['
|
4288
|
+
wgpuSurfaceCapabilitiesFreeMembers = _libraries['webgpu'].wgpuSurfaceCapabilitiesFreeMembers
|
4280
4289
|
wgpuSurfaceCapabilitiesFreeMembers.restype = None
|
4281
4290
|
wgpuSurfaceCapabilitiesFreeMembers.argtypes = [WGPUSurfaceCapabilities]
|
4282
4291
|
except AttributeError:
|
4283
4292
|
pass
|
4284
4293
|
try:
|
4285
|
-
wgpuAdapterCreateDevice = _libraries['
|
4294
|
+
wgpuAdapterCreateDevice = _libraries['webgpu'].wgpuAdapterCreateDevice
|
4286
4295
|
wgpuAdapterCreateDevice.restype = WGPUDevice
|
4287
4296
|
wgpuAdapterCreateDevice.argtypes = [WGPUAdapter, ctypes.POINTER(struct_WGPUDeviceDescriptor)]
|
4288
4297
|
except AttributeError:
|
4289
4298
|
pass
|
4290
4299
|
try:
|
4291
|
-
wgpuAdapterGetFeatures = _libraries['
|
4300
|
+
wgpuAdapterGetFeatures = _libraries['webgpu'].wgpuAdapterGetFeatures
|
4292
4301
|
wgpuAdapterGetFeatures.restype = None
|
4293
4302
|
wgpuAdapterGetFeatures.argtypes = [WGPUAdapter, ctypes.POINTER(struct_WGPUSupportedFeatures)]
|
4294
4303
|
except AttributeError:
|
4295
4304
|
pass
|
4296
4305
|
try:
|
4297
|
-
wgpuAdapterGetFormatCapabilities = _libraries['
|
4306
|
+
wgpuAdapterGetFormatCapabilities = _libraries['webgpu'].wgpuAdapterGetFormatCapabilities
|
4298
4307
|
wgpuAdapterGetFormatCapabilities.restype = WGPUStatus
|
4299
4308
|
wgpuAdapterGetFormatCapabilities.argtypes = [WGPUAdapter, WGPUTextureFormat, ctypes.POINTER(struct_WGPUFormatCapabilities)]
|
4300
4309
|
except AttributeError:
|
4301
4310
|
pass
|
4302
4311
|
try:
|
4303
|
-
wgpuAdapterGetInfo = _libraries['
|
4312
|
+
wgpuAdapterGetInfo = _libraries['webgpu'].wgpuAdapterGetInfo
|
4304
4313
|
wgpuAdapterGetInfo.restype = WGPUStatus
|
4305
4314
|
wgpuAdapterGetInfo.argtypes = [WGPUAdapter, ctypes.POINTER(struct_WGPUAdapterInfo)]
|
4306
4315
|
except AttributeError:
|
4307
4316
|
pass
|
4308
4317
|
try:
|
4309
|
-
wgpuAdapterGetInstance = _libraries['
|
4318
|
+
wgpuAdapterGetInstance = _libraries['webgpu'].wgpuAdapterGetInstance
|
4310
4319
|
wgpuAdapterGetInstance.restype = WGPUInstance
|
4311
4320
|
wgpuAdapterGetInstance.argtypes = [WGPUAdapter]
|
4312
4321
|
except AttributeError:
|
4313
4322
|
pass
|
4314
4323
|
try:
|
4315
|
-
wgpuAdapterGetLimits = _libraries['
|
4324
|
+
wgpuAdapterGetLimits = _libraries['webgpu'].wgpuAdapterGetLimits
|
4316
4325
|
wgpuAdapterGetLimits.restype = WGPUStatus
|
4317
4326
|
wgpuAdapterGetLimits.argtypes = [WGPUAdapter, ctypes.POINTER(struct_WGPUSupportedLimits)]
|
4318
4327
|
except AttributeError:
|
4319
4328
|
pass
|
4320
4329
|
try:
|
4321
|
-
wgpuAdapterHasFeature = _libraries['
|
4330
|
+
wgpuAdapterHasFeature = _libraries['webgpu'].wgpuAdapterHasFeature
|
4322
4331
|
wgpuAdapterHasFeature.restype = WGPUBool
|
4323
4332
|
wgpuAdapterHasFeature.argtypes = [WGPUAdapter, WGPUFeatureName]
|
4324
4333
|
except AttributeError:
|
4325
4334
|
pass
|
4326
4335
|
try:
|
4327
|
-
wgpuAdapterRequestDevice = _libraries['
|
4336
|
+
wgpuAdapterRequestDevice = _libraries['webgpu'].wgpuAdapterRequestDevice
|
4328
4337
|
wgpuAdapterRequestDevice.restype = None
|
4329
4338
|
wgpuAdapterRequestDevice.argtypes = [WGPUAdapter, ctypes.POINTER(struct_WGPUDeviceDescriptor), WGPURequestDeviceCallback, ctypes.POINTER(None)]
|
4330
4339
|
except AttributeError:
|
4331
4340
|
pass
|
4332
4341
|
try:
|
4333
|
-
wgpuAdapterRequestDevice2 = _libraries['
|
4342
|
+
wgpuAdapterRequestDevice2 = _libraries['webgpu'].wgpuAdapterRequestDevice2
|
4334
4343
|
wgpuAdapterRequestDevice2.restype = WGPUFuture
|
4335
4344
|
wgpuAdapterRequestDevice2.argtypes = [WGPUAdapter, ctypes.POINTER(struct_WGPUDeviceDescriptor), WGPURequestDeviceCallbackInfo2]
|
4336
4345
|
except AttributeError:
|
4337
4346
|
pass
|
4338
4347
|
try:
|
4339
|
-
wgpuAdapterRequestDeviceF = _libraries['
|
4348
|
+
wgpuAdapterRequestDeviceF = _libraries['webgpu'].wgpuAdapterRequestDeviceF
|
4340
4349
|
wgpuAdapterRequestDeviceF.restype = WGPUFuture
|
4341
4350
|
wgpuAdapterRequestDeviceF.argtypes = [WGPUAdapter, ctypes.POINTER(struct_WGPUDeviceDescriptor), WGPURequestDeviceCallbackInfo]
|
4342
4351
|
except AttributeError:
|
4343
4352
|
pass
|
4344
4353
|
try:
|
4345
|
-
wgpuAdapterAddRef = _libraries['
|
4354
|
+
wgpuAdapterAddRef = _libraries['webgpu'].wgpuAdapterAddRef
|
4346
4355
|
wgpuAdapterAddRef.restype = None
|
4347
4356
|
wgpuAdapterAddRef.argtypes = [WGPUAdapter]
|
4348
4357
|
except AttributeError:
|
4349
4358
|
pass
|
4350
4359
|
try:
|
4351
|
-
wgpuAdapterRelease = _libraries['
|
4360
|
+
wgpuAdapterRelease = _libraries['webgpu'].wgpuAdapterRelease
|
4352
4361
|
wgpuAdapterRelease.restype = None
|
4353
4362
|
wgpuAdapterRelease.argtypes = [WGPUAdapter]
|
4354
4363
|
except AttributeError:
|
4355
4364
|
pass
|
4356
4365
|
try:
|
4357
|
-
wgpuBindGroupSetLabel = _libraries['
|
4366
|
+
wgpuBindGroupSetLabel = _libraries['webgpu'].wgpuBindGroupSetLabel
|
4358
4367
|
wgpuBindGroupSetLabel.restype = None
|
4359
4368
|
wgpuBindGroupSetLabel.argtypes = [WGPUBindGroup, WGPUStringView]
|
4360
4369
|
except AttributeError:
|
4361
4370
|
pass
|
4362
4371
|
try:
|
4363
|
-
wgpuBindGroupAddRef = _libraries['
|
4372
|
+
wgpuBindGroupAddRef = _libraries['webgpu'].wgpuBindGroupAddRef
|
4364
4373
|
wgpuBindGroupAddRef.restype = None
|
4365
4374
|
wgpuBindGroupAddRef.argtypes = [WGPUBindGroup]
|
4366
4375
|
except AttributeError:
|
4367
4376
|
pass
|
4368
4377
|
try:
|
4369
|
-
wgpuBindGroupRelease = _libraries['
|
4378
|
+
wgpuBindGroupRelease = _libraries['webgpu'].wgpuBindGroupRelease
|
4370
4379
|
wgpuBindGroupRelease.restype = None
|
4371
4380
|
wgpuBindGroupRelease.argtypes = [WGPUBindGroup]
|
4372
4381
|
except AttributeError:
|
4373
4382
|
pass
|
4374
4383
|
try:
|
4375
|
-
wgpuBindGroupLayoutSetLabel = _libraries['
|
4384
|
+
wgpuBindGroupLayoutSetLabel = _libraries['webgpu'].wgpuBindGroupLayoutSetLabel
|
4376
4385
|
wgpuBindGroupLayoutSetLabel.restype = None
|
4377
4386
|
wgpuBindGroupLayoutSetLabel.argtypes = [WGPUBindGroupLayout, WGPUStringView]
|
4378
4387
|
except AttributeError:
|
4379
4388
|
pass
|
4380
4389
|
try:
|
4381
|
-
wgpuBindGroupLayoutAddRef = _libraries['
|
4390
|
+
wgpuBindGroupLayoutAddRef = _libraries['webgpu'].wgpuBindGroupLayoutAddRef
|
4382
4391
|
wgpuBindGroupLayoutAddRef.restype = None
|
4383
4392
|
wgpuBindGroupLayoutAddRef.argtypes = [WGPUBindGroupLayout]
|
4384
4393
|
except AttributeError:
|
4385
4394
|
pass
|
4386
4395
|
try:
|
4387
|
-
wgpuBindGroupLayoutRelease = _libraries['
|
4396
|
+
wgpuBindGroupLayoutRelease = _libraries['webgpu'].wgpuBindGroupLayoutRelease
|
4388
4397
|
wgpuBindGroupLayoutRelease.restype = None
|
4389
4398
|
wgpuBindGroupLayoutRelease.argtypes = [WGPUBindGroupLayout]
|
4390
4399
|
except AttributeError:
|
4391
4400
|
pass
|
4392
4401
|
try:
|
4393
|
-
wgpuBufferDestroy = _libraries['
|
4402
|
+
wgpuBufferDestroy = _libraries['webgpu'].wgpuBufferDestroy
|
4394
4403
|
wgpuBufferDestroy.restype = None
|
4395
4404
|
wgpuBufferDestroy.argtypes = [WGPUBuffer]
|
4396
4405
|
except AttributeError:
|
4397
4406
|
pass
|
4398
4407
|
size_t = ctypes.c_uint64
|
4399
4408
|
try:
|
4400
|
-
wgpuBufferGetConstMappedRange = _libraries['
|
4409
|
+
wgpuBufferGetConstMappedRange = _libraries['webgpu'].wgpuBufferGetConstMappedRange
|
4401
4410
|
wgpuBufferGetConstMappedRange.restype = ctypes.POINTER(None)
|
4402
4411
|
wgpuBufferGetConstMappedRange.argtypes = [WGPUBuffer, size_t, size_t]
|
4403
4412
|
except AttributeError:
|
4404
4413
|
pass
|
4405
4414
|
try:
|
4406
|
-
wgpuBufferGetMapState = _libraries['
|
4415
|
+
wgpuBufferGetMapState = _libraries['webgpu'].wgpuBufferGetMapState
|
4407
4416
|
wgpuBufferGetMapState.restype = WGPUBufferMapState
|
4408
4417
|
wgpuBufferGetMapState.argtypes = [WGPUBuffer]
|
4409
4418
|
except AttributeError:
|
4410
4419
|
pass
|
4411
4420
|
try:
|
4412
|
-
wgpuBufferGetMappedRange = _libraries['
|
4421
|
+
wgpuBufferGetMappedRange = _libraries['webgpu'].wgpuBufferGetMappedRange
|
4413
4422
|
wgpuBufferGetMappedRange.restype = ctypes.POINTER(None)
|
4414
4423
|
wgpuBufferGetMappedRange.argtypes = [WGPUBuffer, size_t, size_t]
|
4415
4424
|
except AttributeError:
|
4416
4425
|
pass
|
4417
4426
|
uint64_t = ctypes.c_uint64
|
4418
4427
|
try:
|
4419
|
-
wgpuBufferGetSize = _libraries['
|
4428
|
+
wgpuBufferGetSize = _libraries['webgpu'].wgpuBufferGetSize
|
4420
4429
|
wgpuBufferGetSize.restype = uint64_t
|
4421
4430
|
wgpuBufferGetSize.argtypes = [WGPUBuffer]
|
4422
4431
|
except AttributeError:
|
4423
4432
|
pass
|
4424
4433
|
try:
|
4425
|
-
wgpuBufferGetUsage = _libraries['
|
4434
|
+
wgpuBufferGetUsage = _libraries['webgpu'].wgpuBufferGetUsage
|
4426
4435
|
wgpuBufferGetUsage.restype = WGPUBufferUsage
|
4427
4436
|
wgpuBufferGetUsage.argtypes = [WGPUBuffer]
|
4428
4437
|
except AttributeError:
|
4429
4438
|
pass
|
4430
4439
|
try:
|
4431
|
-
wgpuBufferMapAsync = _libraries['
|
4440
|
+
wgpuBufferMapAsync = _libraries['webgpu'].wgpuBufferMapAsync
|
4432
4441
|
wgpuBufferMapAsync.restype = None
|
4433
4442
|
wgpuBufferMapAsync.argtypes = [WGPUBuffer, WGPUMapMode, size_t, size_t, WGPUBufferMapCallback, ctypes.POINTER(None)]
|
4434
4443
|
except AttributeError:
|
4435
4444
|
pass
|
4436
4445
|
try:
|
4437
|
-
wgpuBufferMapAsync2 = _libraries['
|
4446
|
+
wgpuBufferMapAsync2 = _libraries['webgpu'].wgpuBufferMapAsync2
|
4438
4447
|
wgpuBufferMapAsync2.restype = WGPUFuture
|
4439
4448
|
wgpuBufferMapAsync2.argtypes = [WGPUBuffer, WGPUMapMode, size_t, size_t, WGPUBufferMapCallbackInfo2]
|
4440
4449
|
except AttributeError:
|
4441
4450
|
pass
|
4442
4451
|
try:
|
4443
|
-
wgpuBufferMapAsyncF = _libraries['
|
4452
|
+
wgpuBufferMapAsyncF = _libraries['webgpu'].wgpuBufferMapAsyncF
|
4444
4453
|
wgpuBufferMapAsyncF.restype = WGPUFuture
|
4445
4454
|
wgpuBufferMapAsyncF.argtypes = [WGPUBuffer, WGPUMapMode, size_t, size_t, WGPUBufferMapCallbackInfo]
|
4446
4455
|
except AttributeError:
|
4447
4456
|
pass
|
4448
4457
|
try:
|
4449
|
-
wgpuBufferSetLabel = _libraries['
|
4458
|
+
wgpuBufferSetLabel = _libraries['webgpu'].wgpuBufferSetLabel
|
4450
4459
|
wgpuBufferSetLabel.restype = None
|
4451
4460
|
wgpuBufferSetLabel.argtypes = [WGPUBuffer, WGPUStringView]
|
4452
4461
|
except AttributeError:
|
4453
4462
|
pass
|
4454
4463
|
try:
|
4455
|
-
wgpuBufferUnmap = _libraries['
|
4464
|
+
wgpuBufferUnmap = _libraries['webgpu'].wgpuBufferUnmap
|
4456
4465
|
wgpuBufferUnmap.restype = None
|
4457
4466
|
wgpuBufferUnmap.argtypes = [WGPUBuffer]
|
4458
4467
|
except AttributeError:
|
4459
4468
|
pass
|
4460
4469
|
try:
|
4461
|
-
wgpuBufferAddRef = _libraries['
|
4470
|
+
wgpuBufferAddRef = _libraries['webgpu'].wgpuBufferAddRef
|
4462
4471
|
wgpuBufferAddRef.restype = None
|
4463
4472
|
wgpuBufferAddRef.argtypes = [WGPUBuffer]
|
4464
4473
|
except AttributeError:
|
4465
4474
|
pass
|
4466
4475
|
try:
|
4467
|
-
wgpuBufferRelease = _libraries['
|
4476
|
+
wgpuBufferRelease = _libraries['webgpu'].wgpuBufferRelease
|
4468
4477
|
wgpuBufferRelease.restype = None
|
4469
4478
|
wgpuBufferRelease.argtypes = [WGPUBuffer]
|
4470
4479
|
except AttributeError:
|
4471
4480
|
pass
|
4472
4481
|
try:
|
4473
|
-
wgpuCommandBufferSetLabel = _libraries['
|
4482
|
+
wgpuCommandBufferSetLabel = _libraries['webgpu'].wgpuCommandBufferSetLabel
|
4474
4483
|
wgpuCommandBufferSetLabel.restype = None
|
4475
4484
|
wgpuCommandBufferSetLabel.argtypes = [WGPUCommandBuffer, WGPUStringView]
|
4476
4485
|
except AttributeError:
|
4477
4486
|
pass
|
4478
4487
|
try:
|
4479
|
-
wgpuCommandBufferAddRef = _libraries['
|
4488
|
+
wgpuCommandBufferAddRef = _libraries['webgpu'].wgpuCommandBufferAddRef
|
4480
4489
|
wgpuCommandBufferAddRef.restype = None
|
4481
4490
|
wgpuCommandBufferAddRef.argtypes = [WGPUCommandBuffer]
|
4482
4491
|
except AttributeError:
|
4483
4492
|
pass
|
4484
4493
|
try:
|
4485
|
-
wgpuCommandBufferRelease = _libraries['
|
4494
|
+
wgpuCommandBufferRelease = _libraries['webgpu'].wgpuCommandBufferRelease
|
4486
4495
|
wgpuCommandBufferRelease.restype = None
|
4487
4496
|
wgpuCommandBufferRelease.argtypes = [WGPUCommandBuffer]
|
4488
4497
|
except AttributeError:
|
4489
4498
|
pass
|
4490
4499
|
try:
|
4491
|
-
wgpuCommandEncoderBeginComputePass = _libraries['
|
4500
|
+
wgpuCommandEncoderBeginComputePass = _libraries['webgpu'].wgpuCommandEncoderBeginComputePass
|
4492
4501
|
wgpuCommandEncoderBeginComputePass.restype = WGPUComputePassEncoder
|
4493
4502
|
wgpuCommandEncoderBeginComputePass.argtypes = [WGPUCommandEncoder, ctypes.POINTER(struct_WGPUComputePassDescriptor)]
|
4494
4503
|
except AttributeError:
|
4495
4504
|
pass
|
4496
4505
|
try:
|
4497
|
-
wgpuCommandEncoderBeginRenderPass = _libraries['
|
4506
|
+
wgpuCommandEncoderBeginRenderPass = _libraries['webgpu'].wgpuCommandEncoderBeginRenderPass
|
4498
4507
|
wgpuCommandEncoderBeginRenderPass.restype = WGPURenderPassEncoder
|
4499
4508
|
wgpuCommandEncoderBeginRenderPass.argtypes = [WGPUCommandEncoder, ctypes.POINTER(struct_WGPURenderPassDescriptor)]
|
4500
4509
|
except AttributeError:
|
4501
4510
|
pass
|
4502
4511
|
try:
|
4503
|
-
wgpuCommandEncoderClearBuffer = _libraries['
|
4512
|
+
wgpuCommandEncoderClearBuffer = _libraries['webgpu'].wgpuCommandEncoderClearBuffer
|
4504
4513
|
wgpuCommandEncoderClearBuffer.restype = None
|
4505
4514
|
wgpuCommandEncoderClearBuffer.argtypes = [WGPUCommandEncoder, WGPUBuffer, uint64_t, uint64_t]
|
4506
4515
|
except AttributeError:
|
4507
4516
|
pass
|
4508
4517
|
try:
|
4509
|
-
wgpuCommandEncoderCopyBufferToBuffer = _libraries['
|
4518
|
+
wgpuCommandEncoderCopyBufferToBuffer = _libraries['webgpu'].wgpuCommandEncoderCopyBufferToBuffer
|
4510
4519
|
wgpuCommandEncoderCopyBufferToBuffer.restype = None
|
4511
4520
|
wgpuCommandEncoderCopyBufferToBuffer.argtypes = [WGPUCommandEncoder, WGPUBuffer, uint64_t, WGPUBuffer, uint64_t, uint64_t]
|
4512
4521
|
except AttributeError:
|
4513
4522
|
pass
|
4514
4523
|
try:
|
4515
|
-
wgpuCommandEncoderCopyBufferToTexture = _libraries['
|
4524
|
+
wgpuCommandEncoderCopyBufferToTexture = _libraries['webgpu'].wgpuCommandEncoderCopyBufferToTexture
|
4516
4525
|
wgpuCommandEncoderCopyBufferToTexture.restype = None
|
4517
4526
|
wgpuCommandEncoderCopyBufferToTexture.argtypes = [WGPUCommandEncoder, ctypes.POINTER(struct_WGPUImageCopyBuffer), ctypes.POINTER(struct_WGPUImageCopyTexture), ctypes.POINTER(struct_WGPUExtent3D)]
|
4518
4527
|
except AttributeError:
|
4519
4528
|
pass
|
4520
4529
|
try:
|
4521
|
-
wgpuCommandEncoderCopyTextureToBuffer = _libraries['
|
4530
|
+
wgpuCommandEncoderCopyTextureToBuffer = _libraries['webgpu'].wgpuCommandEncoderCopyTextureToBuffer
|
4522
4531
|
wgpuCommandEncoderCopyTextureToBuffer.restype = None
|
4523
4532
|
wgpuCommandEncoderCopyTextureToBuffer.argtypes = [WGPUCommandEncoder, ctypes.POINTER(struct_WGPUImageCopyTexture), ctypes.POINTER(struct_WGPUImageCopyBuffer), ctypes.POINTER(struct_WGPUExtent3D)]
|
4524
4533
|
except AttributeError:
|
4525
4534
|
pass
|
4526
4535
|
try:
|
4527
|
-
wgpuCommandEncoderCopyTextureToTexture = _libraries['
|
4536
|
+
wgpuCommandEncoderCopyTextureToTexture = _libraries['webgpu'].wgpuCommandEncoderCopyTextureToTexture
|
4528
4537
|
wgpuCommandEncoderCopyTextureToTexture.restype = None
|
4529
4538
|
wgpuCommandEncoderCopyTextureToTexture.argtypes = [WGPUCommandEncoder, ctypes.POINTER(struct_WGPUImageCopyTexture), ctypes.POINTER(struct_WGPUImageCopyTexture), ctypes.POINTER(struct_WGPUExtent3D)]
|
4530
4539
|
except AttributeError:
|
4531
4540
|
pass
|
4532
4541
|
try:
|
4533
|
-
wgpuCommandEncoderFinish = _libraries['
|
4542
|
+
wgpuCommandEncoderFinish = _libraries['webgpu'].wgpuCommandEncoderFinish
|
4534
4543
|
wgpuCommandEncoderFinish.restype = WGPUCommandBuffer
|
4535
4544
|
wgpuCommandEncoderFinish.argtypes = [WGPUCommandEncoder, ctypes.POINTER(struct_WGPUCommandBufferDescriptor)]
|
4536
4545
|
except AttributeError:
|
4537
4546
|
pass
|
4538
4547
|
try:
|
4539
|
-
wgpuCommandEncoderInjectValidationError = _libraries['
|
4548
|
+
wgpuCommandEncoderInjectValidationError = _libraries['webgpu'].wgpuCommandEncoderInjectValidationError
|
4540
4549
|
wgpuCommandEncoderInjectValidationError.restype = None
|
4541
4550
|
wgpuCommandEncoderInjectValidationError.argtypes = [WGPUCommandEncoder, WGPUStringView]
|
4542
4551
|
except AttributeError:
|
4543
4552
|
pass
|
4544
4553
|
try:
|
4545
|
-
wgpuCommandEncoderInsertDebugMarker = _libraries['
|
4554
|
+
wgpuCommandEncoderInsertDebugMarker = _libraries['webgpu'].wgpuCommandEncoderInsertDebugMarker
|
4546
4555
|
wgpuCommandEncoderInsertDebugMarker.restype = None
|
4547
4556
|
wgpuCommandEncoderInsertDebugMarker.argtypes = [WGPUCommandEncoder, WGPUStringView]
|
4548
4557
|
except AttributeError:
|
4549
4558
|
pass
|
4550
4559
|
try:
|
4551
|
-
wgpuCommandEncoderPopDebugGroup = _libraries['
|
4560
|
+
wgpuCommandEncoderPopDebugGroup = _libraries['webgpu'].wgpuCommandEncoderPopDebugGroup
|
4552
4561
|
wgpuCommandEncoderPopDebugGroup.restype = None
|
4553
4562
|
wgpuCommandEncoderPopDebugGroup.argtypes = [WGPUCommandEncoder]
|
4554
4563
|
except AttributeError:
|
4555
4564
|
pass
|
4556
4565
|
try:
|
4557
|
-
wgpuCommandEncoderPushDebugGroup = _libraries['
|
4566
|
+
wgpuCommandEncoderPushDebugGroup = _libraries['webgpu'].wgpuCommandEncoderPushDebugGroup
|
4558
4567
|
wgpuCommandEncoderPushDebugGroup.restype = None
|
4559
4568
|
wgpuCommandEncoderPushDebugGroup.argtypes = [WGPUCommandEncoder, WGPUStringView]
|
4560
4569
|
except AttributeError:
|
4561
4570
|
pass
|
4562
4571
|
uint32_t = ctypes.c_uint32
|
4563
4572
|
try:
|
4564
|
-
wgpuCommandEncoderResolveQuerySet = _libraries['
|
4573
|
+
wgpuCommandEncoderResolveQuerySet = _libraries['webgpu'].wgpuCommandEncoderResolveQuerySet
|
4565
4574
|
wgpuCommandEncoderResolveQuerySet.restype = None
|
4566
4575
|
wgpuCommandEncoderResolveQuerySet.argtypes = [WGPUCommandEncoder, WGPUQuerySet, uint32_t, uint32_t, WGPUBuffer, uint64_t]
|
4567
4576
|
except AttributeError:
|
4568
4577
|
pass
|
4569
4578
|
try:
|
4570
|
-
wgpuCommandEncoderSetLabel = _libraries['
|
4579
|
+
wgpuCommandEncoderSetLabel = _libraries['webgpu'].wgpuCommandEncoderSetLabel
|
4571
4580
|
wgpuCommandEncoderSetLabel.restype = None
|
4572
4581
|
wgpuCommandEncoderSetLabel.argtypes = [WGPUCommandEncoder, WGPUStringView]
|
4573
4582
|
except AttributeError:
|
4574
4583
|
pass
|
4575
4584
|
try:
|
4576
|
-
wgpuCommandEncoderWriteBuffer = _libraries['
|
4585
|
+
wgpuCommandEncoderWriteBuffer = _libraries['webgpu'].wgpuCommandEncoderWriteBuffer
|
4577
4586
|
wgpuCommandEncoderWriteBuffer.restype = None
|
4578
4587
|
wgpuCommandEncoderWriteBuffer.argtypes = [WGPUCommandEncoder, WGPUBuffer, uint64_t, ctypes.POINTER(ctypes.c_ubyte), uint64_t]
|
4579
4588
|
except AttributeError:
|
4580
4589
|
pass
|
4581
4590
|
try:
|
4582
|
-
wgpuCommandEncoderWriteTimestamp = _libraries['
|
4591
|
+
wgpuCommandEncoderWriteTimestamp = _libraries['webgpu'].wgpuCommandEncoderWriteTimestamp
|
4583
4592
|
wgpuCommandEncoderWriteTimestamp.restype = None
|
4584
4593
|
wgpuCommandEncoderWriteTimestamp.argtypes = [WGPUCommandEncoder, WGPUQuerySet, uint32_t]
|
4585
4594
|
except AttributeError:
|
4586
4595
|
pass
|
4587
4596
|
try:
|
4588
|
-
wgpuCommandEncoderAddRef = _libraries['
|
4597
|
+
wgpuCommandEncoderAddRef = _libraries['webgpu'].wgpuCommandEncoderAddRef
|
4589
4598
|
wgpuCommandEncoderAddRef.restype = None
|
4590
4599
|
wgpuCommandEncoderAddRef.argtypes = [WGPUCommandEncoder]
|
4591
4600
|
except AttributeError:
|
4592
4601
|
pass
|
4593
4602
|
try:
|
4594
|
-
wgpuCommandEncoderRelease = _libraries['
|
4603
|
+
wgpuCommandEncoderRelease = _libraries['webgpu'].wgpuCommandEncoderRelease
|
4595
4604
|
wgpuCommandEncoderRelease.restype = None
|
4596
4605
|
wgpuCommandEncoderRelease.argtypes = [WGPUCommandEncoder]
|
4597
4606
|
except AttributeError:
|
4598
4607
|
pass
|
4599
4608
|
try:
|
4600
|
-
wgpuComputePassEncoderDispatchWorkgroups = _libraries['
|
4609
|
+
wgpuComputePassEncoderDispatchWorkgroups = _libraries['webgpu'].wgpuComputePassEncoderDispatchWorkgroups
|
4601
4610
|
wgpuComputePassEncoderDispatchWorkgroups.restype = None
|
4602
4611
|
wgpuComputePassEncoderDispatchWorkgroups.argtypes = [WGPUComputePassEncoder, uint32_t, uint32_t, uint32_t]
|
4603
4612
|
except AttributeError:
|
4604
4613
|
pass
|
4605
4614
|
try:
|
4606
|
-
wgpuComputePassEncoderDispatchWorkgroupsIndirect = _libraries['
|
4615
|
+
wgpuComputePassEncoderDispatchWorkgroupsIndirect = _libraries['webgpu'].wgpuComputePassEncoderDispatchWorkgroupsIndirect
|
4607
4616
|
wgpuComputePassEncoderDispatchWorkgroupsIndirect.restype = None
|
4608
4617
|
wgpuComputePassEncoderDispatchWorkgroupsIndirect.argtypes = [WGPUComputePassEncoder, WGPUBuffer, uint64_t]
|
4609
4618
|
except AttributeError:
|
4610
4619
|
pass
|
4611
4620
|
try:
|
4612
|
-
wgpuComputePassEncoderEnd = _libraries['
|
4621
|
+
wgpuComputePassEncoderEnd = _libraries['webgpu'].wgpuComputePassEncoderEnd
|
4613
4622
|
wgpuComputePassEncoderEnd.restype = None
|
4614
4623
|
wgpuComputePassEncoderEnd.argtypes = [WGPUComputePassEncoder]
|
4615
4624
|
except AttributeError:
|
4616
4625
|
pass
|
4617
4626
|
try:
|
4618
|
-
wgpuComputePassEncoderInsertDebugMarker = _libraries['
|
4627
|
+
wgpuComputePassEncoderInsertDebugMarker = _libraries['webgpu'].wgpuComputePassEncoderInsertDebugMarker
|
4619
4628
|
wgpuComputePassEncoderInsertDebugMarker.restype = None
|
4620
4629
|
wgpuComputePassEncoderInsertDebugMarker.argtypes = [WGPUComputePassEncoder, WGPUStringView]
|
4621
4630
|
except AttributeError:
|
4622
4631
|
pass
|
4623
4632
|
try:
|
4624
|
-
wgpuComputePassEncoderPopDebugGroup = _libraries['
|
4633
|
+
wgpuComputePassEncoderPopDebugGroup = _libraries['webgpu'].wgpuComputePassEncoderPopDebugGroup
|
4625
4634
|
wgpuComputePassEncoderPopDebugGroup.restype = None
|
4626
4635
|
wgpuComputePassEncoderPopDebugGroup.argtypes = [WGPUComputePassEncoder]
|
4627
4636
|
except AttributeError:
|
4628
4637
|
pass
|
4629
4638
|
try:
|
4630
|
-
wgpuComputePassEncoderPushDebugGroup = _libraries['
|
4639
|
+
wgpuComputePassEncoderPushDebugGroup = _libraries['webgpu'].wgpuComputePassEncoderPushDebugGroup
|
4631
4640
|
wgpuComputePassEncoderPushDebugGroup.restype = None
|
4632
4641
|
wgpuComputePassEncoderPushDebugGroup.argtypes = [WGPUComputePassEncoder, WGPUStringView]
|
4633
4642
|
except AttributeError:
|
4634
4643
|
pass
|
4635
4644
|
try:
|
4636
|
-
wgpuComputePassEncoderSetBindGroup = _libraries['
|
4645
|
+
wgpuComputePassEncoderSetBindGroup = _libraries['webgpu'].wgpuComputePassEncoderSetBindGroup
|
4637
4646
|
wgpuComputePassEncoderSetBindGroup.restype = None
|
4638
4647
|
wgpuComputePassEncoderSetBindGroup.argtypes = [WGPUComputePassEncoder, uint32_t, WGPUBindGroup, size_t, ctypes.POINTER(ctypes.c_uint32)]
|
4639
4648
|
except AttributeError:
|
4640
4649
|
pass
|
4641
4650
|
try:
|
4642
|
-
wgpuComputePassEncoderSetLabel = _libraries['
|
4651
|
+
wgpuComputePassEncoderSetLabel = _libraries['webgpu'].wgpuComputePassEncoderSetLabel
|
4643
4652
|
wgpuComputePassEncoderSetLabel.restype = None
|
4644
4653
|
wgpuComputePassEncoderSetLabel.argtypes = [WGPUComputePassEncoder, WGPUStringView]
|
4645
4654
|
except AttributeError:
|
4646
4655
|
pass
|
4647
4656
|
try:
|
4648
|
-
wgpuComputePassEncoderSetPipeline = _libraries['
|
4657
|
+
wgpuComputePassEncoderSetPipeline = _libraries['webgpu'].wgpuComputePassEncoderSetPipeline
|
4649
4658
|
wgpuComputePassEncoderSetPipeline.restype = None
|
4650
4659
|
wgpuComputePassEncoderSetPipeline.argtypes = [WGPUComputePassEncoder, WGPUComputePipeline]
|
4651
4660
|
except AttributeError:
|
4652
4661
|
pass
|
4653
4662
|
try:
|
4654
|
-
wgpuComputePassEncoderWriteTimestamp = _libraries['
|
4663
|
+
wgpuComputePassEncoderWriteTimestamp = _libraries['webgpu'].wgpuComputePassEncoderWriteTimestamp
|
4655
4664
|
wgpuComputePassEncoderWriteTimestamp.restype = None
|
4656
4665
|
wgpuComputePassEncoderWriteTimestamp.argtypes = [WGPUComputePassEncoder, WGPUQuerySet, uint32_t]
|
4657
4666
|
except AttributeError:
|
4658
4667
|
pass
|
4659
4668
|
try:
|
4660
|
-
wgpuComputePassEncoderAddRef = _libraries['
|
4669
|
+
wgpuComputePassEncoderAddRef = _libraries['webgpu'].wgpuComputePassEncoderAddRef
|
4661
4670
|
wgpuComputePassEncoderAddRef.restype = None
|
4662
4671
|
wgpuComputePassEncoderAddRef.argtypes = [WGPUComputePassEncoder]
|
4663
4672
|
except AttributeError:
|
4664
4673
|
pass
|
4665
4674
|
try:
|
4666
|
-
wgpuComputePassEncoderRelease = _libraries['
|
4675
|
+
wgpuComputePassEncoderRelease = _libraries['webgpu'].wgpuComputePassEncoderRelease
|
4667
4676
|
wgpuComputePassEncoderRelease.restype = None
|
4668
4677
|
wgpuComputePassEncoderRelease.argtypes = [WGPUComputePassEncoder]
|
4669
4678
|
except AttributeError:
|
4670
4679
|
pass
|
4671
4680
|
try:
|
4672
|
-
wgpuComputePipelineGetBindGroupLayout = _libraries['
|
4681
|
+
wgpuComputePipelineGetBindGroupLayout = _libraries['webgpu'].wgpuComputePipelineGetBindGroupLayout
|
4673
4682
|
wgpuComputePipelineGetBindGroupLayout.restype = WGPUBindGroupLayout
|
4674
4683
|
wgpuComputePipelineGetBindGroupLayout.argtypes = [WGPUComputePipeline, uint32_t]
|
4675
4684
|
except AttributeError:
|
4676
4685
|
pass
|
4677
4686
|
try:
|
4678
|
-
wgpuComputePipelineSetLabel = _libraries['
|
4687
|
+
wgpuComputePipelineSetLabel = _libraries['webgpu'].wgpuComputePipelineSetLabel
|
4679
4688
|
wgpuComputePipelineSetLabel.restype = None
|
4680
4689
|
wgpuComputePipelineSetLabel.argtypes = [WGPUComputePipeline, WGPUStringView]
|
4681
4690
|
except AttributeError:
|
4682
4691
|
pass
|
4683
4692
|
try:
|
4684
|
-
wgpuComputePipelineAddRef = _libraries['
|
4693
|
+
wgpuComputePipelineAddRef = _libraries['webgpu'].wgpuComputePipelineAddRef
|
4685
4694
|
wgpuComputePipelineAddRef.restype = None
|
4686
4695
|
wgpuComputePipelineAddRef.argtypes = [WGPUComputePipeline]
|
4687
4696
|
except AttributeError:
|
4688
4697
|
pass
|
4689
4698
|
try:
|
4690
|
-
wgpuComputePipelineRelease = _libraries['
|
4699
|
+
wgpuComputePipelineRelease = _libraries['webgpu'].wgpuComputePipelineRelease
|
4691
4700
|
wgpuComputePipelineRelease.restype = None
|
4692
4701
|
wgpuComputePipelineRelease.argtypes = [WGPUComputePipeline]
|
4693
4702
|
except AttributeError:
|
4694
4703
|
pass
|
4695
4704
|
try:
|
4696
|
-
wgpuDeviceCreateBindGroup = _libraries['
|
4705
|
+
wgpuDeviceCreateBindGroup = _libraries['webgpu'].wgpuDeviceCreateBindGroup
|
4697
4706
|
wgpuDeviceCreateBindGroup.restype = WGPUBindGroup
|
4698
4707
|
wgpuDeviceCreateBindGroup.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUBindGroupDescriptor)]
|
4699
4708
|
except AttributeError:
|
4700
4709
|
pass
|
4701
4710
|
try:
|
4702
|
-
wgpuDeviceCreateBindGroupLayout = _libraries['
|
4711
|
+
wgpuDeviceCreateBindGroupLayout = _libraries['webgpu'].wgpuDeviceCreateBindGroupLayout
|
4703
4712
|
wgpuDeviceCreateBindGroupLayout.restype = WGPUBindGroupLayout
|
4704
4713
|
wgpuDeviceCreateBindGroupLayout.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUBindGroupLayoutDescriptor)]
|
4705
4714
|
except AttributeError:
|
4706
4715
|
pass
|
4707
4716
|
try:
|
4708
|
-
wgpuDeviceCreateBuffer = _libraries['
|
4717
|
+
wgpuDeviceCreateBuffer = _libraries['webgpu'].wgpuDeviceCreateBuffer
|
4709
4718
|
wgpuDeviceCreateBuffer.restype = WGPUBuffer
|
4710
4719
|
wgpuDeviceCreateBuffer.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUBufferDescriptor)]
|
4711
4720
|
except AttributeError:
|
4712
4721
|
pass
|
4713
4722
|
try:
|
4714
|
-
wgpuDeviceCreateCommandEncoder = _libraries['
|
4723
|
+
wgpuDeviceCreateCommandEncoder = _libraries['webgpu'].wgpuDeviceCreateCommandEncoder
|
4715
4724
|
wgpuDeviceCreateCommandEncoder.restype = WGPUCommandEncoder
|
4716
4725
|
wgpuDeviceCreateCommandEncoder.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUCommandEncoderDescriptor)]
|
4717
4726
|
except AttributeError:
|
4718
4727
|
pass
|
4719
4728
|
try:
|
4720
|
-
wgpuDeviceCreateComputePipeline = _libraries['
|
4729
|
+
wgpuDeviceCreateComputePipeline = _libraries['webgpu'].wgpuDeviceCreateComputePipeline
|
4721
4730
|
wgpuDeviceCreateComputePipeline.restype = WGPUComputePipeline
|
4722
4731
|
wgpuDeviceCreateComputePipeline.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUComputePipelineDescriptor)]
|
4723
4732
|
except AttributeError:
|
4724
4733
|
pass
|
4725
4734
|
try:
|
4726
|
-
wgpuDeviceCreateComputePipelineAsync = _libraries['
|
4735
|
+
wgpuDeviceCreateComputePipelineAsync = _libraries['webgpu'].wgpuDeviceCreateComputePipelineAsync
|
4727
4736
|
wgpuDeviceCreateComputePipelineAsync.restype = None
|
4728
4737
|
wgpuDeviceCreateComputePipelineAsync.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUComputePipelineDescriptor), WGPUCreateComputePipelineAsyncCallback, ctypes.POINTER(None)]
|
4729
4738
|
except AttributeError:
|
4730
4739
|
pass
|
4731
4740
|
try:
|
4732
|
-
wgpuDeviceCreateComputePipelineAsync2 = _libraries['
|
4741
|
+
wgpuDeviceCreateComputePipelineAsync2 = _libraries['webgpu'].wgpuDeviceCreateComputePipelineAsync2
|
4733
4742
|
wgpuDeviceCreateComputePipelineAsync2.restype = WGPUFuture
|
4734
4743
|
wgpuDeviceCreateComputePipelineAsync2.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUComputePipelineDescriptor), WGPUCreateComputePipelineAsyncCallbackInfo2]
|
4735
4744
|
except AttributeError:
|
4736
4745
|
pass
|
4737
4746
|
try:
|
4738
|
-
wgpuDeviceCreateComputePipelineAsyncF = _libraries['
|
4747
|
+
wgpuDeviceCreateComputePipelineAsyncF = _libraries['webgpu'].wgpuDeviceCreateComputePipelineAsyncF
|
4739
4748
|
wgpuDeviceCreateComputePipelineAsyncF.restype = WGPUFuture
|
4740
4749
|
wgpuDeviceCreateComputePipelineAsyncF.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUComputePipelineDescriptor), WGPUCreateComputePipelineAsyncCallbackInfo]
|
4741
4750
|
except AttributeError:
|
4742
4751
|
pass
|
4743
4752
|
try:
|
4744
|
-
wgpuDeviceCreateErrorBuffer = _libraries['
|
4753
|
+
wgpuDeviceCreateErrorBuffer = _libraries['webgpu'].wgpuDeviceCreateErrorBuffer
|
4745
4754
|
wgpuDeviceCreateErrorBuffer.restype = WGPUBuffer
|
4746
4755
|
wgpuDeviceCreateErrorBuffer.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUBufferDescriptor)]
|
4747
4756
|
except AttributeError:
|
4748
4757
|
pass
|
4749
4758
|
try:
|
4750
|
-
wgpuDeviceCreateErrorExternalTexture = _libraries['
|
4759
|
+
wgpuDeviceCreateErrorExternalTexture = _libraries['webgpu'].wgpuDeviceCreateErrorExternalTexture
|
4751
4760
|
wgpuDeviceCreateErrorExternalTexture.restype = WGPUExternalTexture
|
4752
4761
|
wgpuDeviceCreateErrorExternalTexture.argtypes = [WGPUDevice]
|
4753
4762
|
except AttributeError:
|
4754
4763
|
pass
|
4755
4764
|
try:
|
4756
|
-
wgpuDeviceCreateErrorShaderModule = _libraries['
|
4765
|
+
wgpuDeviceCreateErrorShaderModule = _libraries['webgpu'].wgpuDeviceCreateErrorShaderModule
|
4757
4766
|
wgpuDeviceCreateErrorShaderModule.restype = WGPUShaderModule
|
4758
4767
|
wgpuDeviceCreateErrorShaderModule.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUShaderModuleDescriptor), WGPUStringView]
|
4759
4768
|
except AttributeError:
|
4760
4769
|
pass
|
4761
4770
|
try:
|
4762
|
-
wgpuDeviceCreateErrorTexture = _libraries['
|
4771
|
+
wgpuDeviceCreateErrorTexture = _libraries['webgpu'].wgpuDeviceCreateErrorTexture
|
4763
4772
|
wgpuDeviceCreateErrorTexture.restype = WGPUTexture
|
4764
4773
|
wgpuDeviceCreateErrorTexture.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUTextureDescriptor)]
|
4765
4774
|
except AttributeError:
|
4766
4775
|
pass
|
4767
4776
|
try:
|
4768
|
-
wgpuDeviceCreateExternalTexture = _libraries['
|
4777
|
+
wgpuDeviceCreateExternalTexture = _libraries['webgpu'].wgpuDeviceCreateExternalTexture
|
4769
4778
|
wgpuDeviceCreateExternalTexture.restype = WGPUExternalTexture
|
4770
4779
|
wgpuDeviceCreateExternalTexture.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUExternalTextureDescriptor)]
|
4771
4780
|
except AttributeError:
|
4772
4781
|
pass
|
4773
4782
|
try:
|
4774
|
-
wgpuDeviceCreatePipelineLayout = _libraries['
|
4783
|
+
wgpuDeviceCreatePipelineLayout = _libraries['webgpu'].wgpuDeviceCreatePipelineLayout
|
4775
4784
|
wgpuDeviceCreatePipelineLayout.restype = WGPUPipelineLayout
|
4776
4785
|
wgpuDeviceCreatePipelineLayout.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUPipelineLayoutDescriptor)]
|
4777
4786
|
except AttributeError:
|
4778
4787
|
pass
|
4779
4788
|
try:
|
4780
|
-
wgpuDeviceCreateQuerySet = _libraries['
|
4789
|
+
wgpuDeviceCreateQuerySet = _libraries['webgpu'].wgpuDeviceCreateQuerySet
|
4781
4790
|
wgpuDeviceCreateQuerySet.restype = WGPUQuerySet
|
4782
4791
|
wgpuDeviceCreateQuerySet.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUQuerySetDescriptor)]
|
4783
4792
|
except AttributeError:
|
4784
4793
|
pass
|
4785
4794
|
try:
|
4786
|
-
wgpuDeviceCreateRenderBundleEncoder = _libraries['
|
4795
|
+
wgpuDeviceCreateRenderBundleEncoder = _libraries['webgpu'].wgpuDeviceCreateRenderBundleEncoder
|
4787
4796
|
wgpuDeviceCreateRenderBundleEncoder.restype = WGPURenderBundleEncoder
|
4788
4797
|
wgpuDeviceCreateRenderBundleEncoder.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPURenderBundleEncoderDescriptor)]
|
4789
4798
|
except AttributeError:
|
4790
4799
|
pass
|
4791
4800
|
try:
|
4792
|
-
wgpuDeviceCreateRenderPipeline = _libraries['
|
4801
|
+
wgpuDeviceCreateRenderPipeline = _libraries['webgpu'].wgpuDeviceCreateRenderPipeline
|
4793
4802
|
wgpuDeviceCreateRenderPipeline.restype = WGPURenderPipeline
|
4794
4803
|
wgpuDeviceCreateRenderPipeline.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPURenderPipelineDescriptor)]
|
4795
4804
|
except AttributeError:
|
4796
4805
|
pass
|
4797
4806
|
try:
|
4798
|
-
wgpuDeviceCreateRenderPipelineAsync = _libraries['
|
4807
|
+
wgpuDeviceCreateRenderPipelineAsync = _libraries['webgpu'].wgpuDeviceCreateRenderPipelineAsync
|
4799
4808
|
wgpuDeviceCreateRenderPipelineAsync.restype = None
|
4800
4809
|
wgpuDeviceCreateRenderPipelineAsync.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPURenderPipelineDescriptor), WGPUCreateRenderPipelineAsyncCallback, ctypes.POINTER(None)]
|
4801
4810
|
except AttributeError:
|
4802
4811
|
pass
|
4803
4812
|
try:
|
4804
|
-
wgpuDeviceCreateRenderPipelineAsync2 = _libraries['
|
4813
|
+
wgpuDeviceCreateRenderPipelineAsync2 = _libraries['webgpu'].wgpuDeviceCreateRenderPipelineAsync2
|
4805
4814
|
wgpuDeviceCreateRenderPipelineAsync2.restype = WGPUFuture
|
4806
4815
|
wgpuDeviceCreateRenderPipelineAsync2.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPURenderPipelineDescriptor), WGPUCreateRenderPipelineAsyncCallbackInfo2]
|
4807
4816
|
except AttributeError:
|
4808
4817
|
pass
|
4809
4818
|
try:
|
4810
|
-
wgpuDeviceCreateRenderPipelineAsyncF = _libraries['
|
4819
|
+
wgpuDeviceCreateRenderPipelineAsyncF = _libraries['webgpu'].wgpuDeviceCreateRenderPipelineAsyncF
|
4811
4820
|
wgpuDeviceCreateRenderPipelineAsyncF.restype = WGPUFuture
|
4812
4821
|
wgpuDeviceCreateRenderPipelineAsyncF.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPURenderPipelineDescriptor), WGPUCreateRenderPipelineAsyncCallbackInfo]
|
4813
4822
|
except AttributeError:
|
4814
4823
|
pass
|
4815
4824
|
try:
|
4816
|
-
wgpuDeviceCreateSampler = _libraries['
|
4825
|
+
wgpuDeviceCreateSampler = _libraries['webgpu'].wgpuDeviceCreateSampler
|
4817
4826
|
wgpuDeviceCreateSampler.restype = WGPUSampler
|
4818
4827
|
wgpuDeviceCreateSampler.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUSamplerDescriptor)]
|
4819
4828
|
except AttributeError:
|
4820
4829
|
pass
|
4821
4830
|
try:
|
4822
|
-
wgpuDeviceCreateShaderModule = _libraries['
|
4831
|
+
wgpuDeviceCreateShaderModule = _libraries['webgpu'].wgpuDeviceCreateShaderModule
|
4823
4832
|
wgpuDeviceCreateShaderModule.restype = WGPUShaderModule
|
4824
4833
|
wgpuDeviceCreateShaderModule.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUShaderModuleDescriptor)]
|
4825
4834
|
except AttributeError:
|
4826
4835
|
pass
|
4827
4836
|
try:
|
4828
|
-
wgpuDeviceCreateTexture = _libraries['
|
4837
|
+
wgpuDeviceCreateTexture = _libraries['webgpu'].wgpuDeviceCreateTexture
|
4829
4838
|
wgpuDeviceCreateTexture.restype = WGPUTexture
|
4830
4839
|
wgpuDeviceCreateTexture.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUTextureDescriptor)]
|
4831
4840
|
except AttributeError:
|
4832
4841
|
pass
|
4833
4842
|
try:
|
4834
|
-
wgpuDeviceDestroy = _libraries['
|
4843
|
+
wgpuDeviceDestroy = _libraries['webgpu'].wgpuDeviceDestroy
|
4835
4844
|
wgpuDeviceDestroy.restype = None
|
4836
4845
|
wgpuDeviceDestroy.argtypes = [WGPUDevice]
|
4837
4846
|
except AttributeError:
|
4838
4847
|
pass
|
4839
4848
|
try:
|
4840
|
-
wgpuDeviceForceLoss = _libraries['
|
4849
|
+
wgpuDeviceForceLoss = _libraries['webgpu'].wgpuDeviceForceLoss
|
4841
4850
|
wgpuDeviceForceLoss.restype = None
|
4842
4851
|
wgpuDeviceForceLoss.argtypes = [WGPUDevice, WGPUDeviceLostReason, WGPUStringView]
|
4843
4852
|
except AttributeError:
|
4844
4853
|
pass
|
4845
4854
|
try:
|
4846
|
-
wgpuDeviceGetAHardwareBufferProperties = _libraries['
|
4855
|
+
wgpuDeviceGetAHardwareBufferProperties = _libraries['webgpu'].wgpuDeviceGetAHardwareBufferProperties
|
4847
4856
|
wgpuDeviceGetAHardwareBufferProperties.restype = WGPUStatus
|
4848
4857
|
wgpuDeviceGetAHardwareBufferProperties.argtypes = [WGPUDevice, ctypes.POINTER(None), ctypes.POINTER(struct_WGPUAHardwareBufferProperties)]
|
4849
4858
|
except AttributeError:
|
4850
4859
|
pass
|
4851
4860
|
try:
|
4852
|
-
wgpuDeviceGetAdapter = _libraries['
|
4861
|
+
wgpuDeviceGetAdapter = _libraries['webgpu'].wgpuDeviceGetAdapter
|
4853
4862
|
wgpuDeviceGetAdapter.restype = WGPUAdapter
|
4854
4863
|
wgpuDeviceGetAdapter.argtypes = [WGPUDevice]
|
4855
4864
|
except AttributeError:
|
4856
4865
|
pass
|
4857
4866
|
try:
|
4858
|
-
wgpuDeviceGetAdapterInfo = _libraries['
|
4867
|
+
wgpuDeviceGetAdapterInfo = _libraries['webgpu'].wgpuDeviceGetAdapterInfo
|
4859
4868
|
wgpuDeviceGetAdapterInfo.restype = WGPUStatus
|
4860
4869
|
wgpuDeviceGetAdapterInfo.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUAdapterInfo)]
|
4861
4870
|
except AttributeError:
|
4862
4871
|
pass
|
4863
4872
|
try:
|
4864
|
-
wgpuDeviceGetFeatures = _libraries['
|
4873
|
+
wgpuDeviceGetFeatures = _libraries['webgpu'].wgpuDeviceGetFeatures
|
4865
4874
|
wgpuDeviceGetFeatures.restype = None
|
4866
4875
|
wgpuDeviceGetFeatures.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUSupportedFeatures)]
|
4867
4876
|
except AttributeError:
|
4868
4877
|
pass
|
4869
4878
|
try:
|
4870
|
-
wgpuDeviceGetLimits = _libraries['
|
4879
|
+
wgpuDeviceGetLimits = _libraries['webgpu'].wgpuDeviceGetLimits
|
4871
4880
|
wgpuDeviceGetLimits.restype = WGPUStatus
|
4872
4881
|
wgpuDeviceGetLimits.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUSupportedLimits)]
|
4873
4882
|
except AttributeError:
|
4874
4883
|
pass
|
4875
4884
|
try:
|
4876
|
-
wgpuDeviceGetLostFuture = _libraries['
|
4885
|
+
wgpuDeviceGetLostFuture = _libraries['webgpu'].wgpuDeviceGetLostFuture
|
4877
4886
|
wgpuDeviceGetLostFuture.restype = WGPUFuture
|
4878
4887
|
wgpuDeviceGetLostFuture.argtypes = [WGPUDevice]
|
4879
4888
|
except AttributeError:
|
4880
4889
|
pass
|
4881
4890
|
try:
|
4882
|
-
wgpuDeviceGetQueue = _libraries['
|
4891
|
+
wgpuDeviceGetQueue = _libraries['webgpu'].wgpuDeviceGetQueue
|
4883
4892
|
wgpuDeviceGetQueue.restype = WGPUQueue
|
4884
4893
|
wgpuDeviceGetQueue.argtypes = [WGPUDevice]
|
4885
4894
|
except AttributeError:
|
4886
4895
|
pass
|
4887
4896
|
try:
|
4888
|
-
wgpuDeviceHasFeature = _libraries['
|
4897
|
+
wgpuDeviceHasFeature = _libraries['webgpu'].wgpuDeviceHasFeature
|
4889
4898
|
wgpuDeviceHasFeature.restype = WGPUBool
|
4890
4899
|
wgpuDeviceHasFeature.argtypes = [WGPUDevice, WGPUFeatureName]
|
4891
4900
|
except AttributeError:
|
4892
4901
|
pass
|
4893
4902
|
try:
|
4894
|
-
wgpuDeviceImportSharedBufferMemory = _libraries['
|
4903
|
+
wgpuDeviceImportSharedBufferMemory = _libraries['webgpu'].wgpuDeviceImportSharedBufferMemory
|
4895
4904
|
wgpuDeviceImportSharedBufferMemory.restype = WGPUSharedBufferMemory
|
4896
4905
|
wgpuDeviceImportSharedBufferMemory.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUSharedBufferMemoryDescriptor)]
|
4897
4906
|
except AttributeError:
|
4898
4907
|
pass
|
4899
4908
|
try:
|
4900
|
-
wgpuDeviceImportSharedFence = _libraries['
|
4909
|
+
wgpuDeviceImportSharedFence = _libraries['webgpu'].wgpuDeviceImportSharedFence
|
4901
4910
|
wgpuDeviceImportSharedFence.restype = WGPUSharedFence
|
4902
4911
|
wgpuDeviceImportSharedFence.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUSharedFenceDescriptor)]
|
4903
4912
|
except AttributeError:
|
4904
4913
|
pass
|
4905
4914
|
try:
|
4906
|
-
wgpuDeviceImportSharedTextureMemory = _libraries['
|
4915
|
+
wgpuDeviceImportSharedTextureMemory = _libraries['webgpu'].wgpuDeviceImportSharedTextureMemory
|
4907
4916
|
wgpuDeviceImportSharedTextureMemory.restype = WGPUSharedTextureMemory
|
4908
4917
|
wgpuDeviceImportSharedTextureMemory.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUSharedTextureMemoryDescriptor)]
|
4909
4918
|
except AttributeError:
|
4910
4919
|
pass
|
4911
4920
|
try:
|
4912
|
-
wgpuDeviceInjectError = _libraries['
|
4921
|
+
wgpuDeviceInjectError = _libraries['webgpu'].wgpuDeviceInjectError
|
4913
4922
|
wgpuDeviceInjectError.restype = None
|
4914
4923
|
wgpuDeviceInjectError.argtypes = [WGPUDevice, WGPUErrorType, WGPUStringView]
|
4915
4924
|
except AttributeError:
|
4916
4925
|
pass
|
4917
4926
|
try:
|
4918
|
-
wgpuDevicePopErrorScope = _libraries['
|
4927
|
+
wgpuDevicePopErrorScope = _libraries['webgpu'].wgpuDevicePopErrorScope
|
4919
4928
|
wgpuDevicePopErrorScope.restype = None
|
4920
4929
|
wgpuDevicePopErrorScope.argtypes = [WGPUDevice, WGPUErrorCallback, ctypes.POINTER(None)]
|
4921
4930
|
except AttributeError:
|
4922
4931
|
pass
|
4923
4932
|
try:
|
4924
|
-
wgpuDevicePopErrorScope2 = _libraries['
|
4933
|
+
wgpuDevicePopErrorScope2 = _libraries['webgpu'].wgpuDevicePopErrorScope2
|
4925
4934
|
wgpuDevicePopErrorScope2.restype = WGPUFuture
|
4926
4935
|
wgpuDevicePopErrorScope2.argtypes = [WGPUDevice, WGPUPopErrorScopeCallbackInfo2]
|
4927
4936
|
except AttributeError:
|
4928
4937
|
pass
|
4929
4938
|
try:
|
4930
|
-
wgpuDevicePopErrorScopeF = _libraries['
|
4939
|
+
wgpuDevicePopErrorScopeF = _libraries['webgpu'].wgpuDevicePopErrorScopeF
|
4931
4940
|
wgpuDevicePopErrorScopeF.restype = WGPUFuture
|
4932
4941
|
wgpuDevicePopErrorScopeF.argtypes = [WGPUDevice, WGPUPopErrorScopeCallbackInfo]
|
4933
4942
|
except AttributeError:
|
4934
4943
|
pass
|
4935
4944
|
try:
|
4936
|
-
wgpuDevicePushErrorScope = _libraries['
|
4945
|
+
wgpuDevicePushErrorScope = _libraries['webgpu'].wgpuDevicePushErrorScope
|
4937
4946
|
wgpuDevicePushErrorScope.restype = None
|
4938
4947
|
wgpuDevicePushErrorScope.argtypes = [WGPUDevice, WGPUErrorFilter]
|
4939
4948
|
except AttributeError:
|
4940
4949
|
pass
|
4941
4950
|
try:
|
4942
|
-
wgpuDeviceSetLabel = _libraries['
|
4951
|
+
wgpuDeviceSetLabel = _libraries['webgpu'].wgpuDeviceSetLabel
|
4943
4952
|
wgpuDeviceSetLabel.restype = None
|
4944
4953
|
wgpuDeviceSetLabel.argtypes = [WGPUDevice, WGPUStringView]
|
4945
4954
|
except AttributeError:
|
4946
4955
|
pass
|
4947
4956
|
try:
|
4948
|
-
wgpuDeviceSetLoggingCallback = _libraries['
|
4957
|
+
wgpuDeviceSetLoggingCallback = _libraries['webgpu'].wgpuDeviceSetLoggingCallback
|
4949
4958
|
wgpuDeviceSetLoggingCallback.restype = None
|
4950
4959
|
wgpuDeviceSetLoggingCallback.argtypes = [WGPUDevice, WGPULoggingCallback, ctypes.POINTER(None)]
|
4951
4960
|
except AttributeError:
|
4952
4961
|
pass
|
4953
4962
|
try:
|
4954
|
-
wgpuDeviceTick = _libraries['
|
4963
|
+
wgpuDeviceTick = _libraries['webgpu'].wgpuDeviceTick
|
4955
4964
|
wgpuDeviceTick.restype = None
|
4956
4965
|
wgpuDeviceTick.argtypes = [WGPUDevice]
|
4957
4966
|
except AttributeError:
|
4958
4967
|
pass
|
4959
4968
|
try:
|
4960
|
-
wgpuDeviceValidateTextureDescriptor = _libraries['
|
4969
|
+
wgpuDeviceValidateTextureDescriptor = _libraries['webgpu'].wgpuDeviceValidateTextureDescriptor
|
4961
4970
|
wgpuDeviceValidateTextureDescriptor.restype = None
|
4962
4971
|
wgpuDeviceValidateTextureDescriptor.argtypes = [WGPUDevice, ctypes.POINTER(struct_WGPUTextureDescriptor)]
|
4963
4972
|
except AttributeError:
|
4964
4973
|
pass
|
4965
4974
|
try:
|
4966
|
-
wgpuDeviceAddRef = _libraries['
|
4975
|
+
wgpuDeviceAddRef = _libraries['webgpu'].wgpuDeviceAddRef
|
4967
4976
|
wgpuDeviceAddRef.restype = None
|
4968
4977
|
wgpuDeviceAddRef.argtypes = [WGPUDevice]
|
4969
4978
|
except AttributeError:
|
4970
4979
|
pass
|
4971
4980
|
try:
|
4972
|
-
wgpuDeviceRelease = _libraries['
|
4981
|
+
wgpuDeviceRelease = _libraries['webgpu'].wgpuDeviceRelease
|
4973
4982
|
wgpuDeviceRelease.restype = None
|
4974
4983
|
wgpuDeviceRelease.argtypes = [WGPUDevice]
|
4975
4984
|
except AttributeError:
|
4976
4985
|
pass
|
4977
4986
|
try:
|
4978
|
-
wgpuExternalTextureDestroy = _libraries['
|
4987
|
+
wgpuExternalTextureDestroy = _libraries['webgpu'].wgpuExternalTextureDestroy
|
4979
4988
|
wgpuExternalTextureDestroy.restype = None
|
4980
4989
|
wgpuExternalTextureDestroy.argtypes = [WGPUExternalTexture]
|
4981
4990
|
except AttributeError:
|
4982
4991
|
pass
|
4983
4992
|
try:
|
4984
|
-
wgpuExternalTextureExpire = _libraries['
|
4993
|
+
wgpuExternalTextureExpire = _libraries['webgpu'].wgpuExternalTextureExpire
|
4985
4994
|
wgpuExternalTextureExpire.restype = None
|
4986
4995
|
wgpuExternalTextureExpire.argtypes = [WGPUExternalTexture]
|
4987
4996
|
except AttributeError:
|
4988
4997
|
pass
|
4989
4998
|
try:
|
4990
|
-
wgpuExternalTextureRefresh = _libraries['
|
4999
|
+
wgpuExternalTextureRefresh = _libraries['webgpu'].wgpuExternalTextureRefresh
|
4991
5000
|
wgpuExternalTextureRefresh.restype = None
|
4992
5001
|
wgpuExternalTextureRefresh.argtypes = [WGPUExternalTexture]
|
4993
5002
|
except AttributeError:
|
4994
5003
|
pass
|
4995
5004
|
try:
|
4996
|
-
wgpuExternalTextureSetLabel = _libraries['
|
5005
|
+
wgpuExternalTextureSetLabel = _libraries['webgpu'].wgpuExternalTextureSetLabel
|
4997
5006
|
wgpuExternalTextureSetLabel.restype = None
|
4998
5007
|
wgpuExternalTextureSetLabel.argtypes = [WGPUExternalTexture, WGPUStringView]
|
4999
5008
|
except AttributeError:
|
5000
5009
|
pass
|
5001
5010
|
try:
|
5002
|
-
wgpuExternalTextureAddRef = _libraries['
|
5011
|
+
wgpuExternalTextureAddRef = _libraries['webgpu'].wgpuExternalTextureAddRef
|
5003
5012
|
wgpuExternalTextureAddRef.restype = None
|
5004
5013
|
wgpuExternalTextureAddRef.argtypes = [WGPUExternalTexture]
|
5005
5014
|
except AttributeError:
|
5006
5015
|
pass
|
5007
5016
|
try:
|
5008
|
-
wgpuExternalTextureRelease = _libraries['
|
5017
|
+
wgpuExternalTextureRelease = _libraries['webgpu'].wgpuExternalTextureRelease
|
5009
5018
|
wgpuExternalTextureRelease.restype = None
|
5010
5019
|
wgpuExternalTextureRelease.argtypes = [WGPUExternalTexture]
|
5011
5020
|
except AttributeError:
|
5012
5021
|
pass
|
5013
5022
|
try:
|
5014
|
-
wgpuInstanceCreateSurface = _libraries['
|
5023
|
+
wgpuInstanceCreateSurface = _libraries['webgpu'].wgpuInstanceCreateSurface
|
5015
5024
|
wgpuInstanceCreateSurface.restype = WGPUSurface
|
5016
5025
|
wgpuInstanceCreateSurface.argtypes = [WGPUInstance, ctypes.POINTER(struct_WGPUSurfaceDescriptor)]
|
5017
5026
|
except AttributeError:
|
5018
5027
|
pass
|
5019
5028
|
try:
|
5020
|
-
wgpuInstanceEnumerateWGSLLanguageFeatures = _libraries['
|
5029
|
+
wgpuInstanceEnumerateWGSLLanguageFeatures = _libraries['webgpu'].wgpuInstanceEnumerateWGSLLanguageFeatures
|
5021
5030
|
wgpuInstanceEnumerateWGSLLanguageFeatures.restype = size_t
|
5022
5031
|
wgpuInstanceEnumerateWGSLLanguageFeatures.argtypes = [WGPUInstance, ctypes.POINTER(WGPUWGSLFeatureName)]
|
5023
5032
|
except AttributeError:
|
5024
5033
|
pass
|
5025
5034
|
try:
|
5026
|
-
wgpuInstanceHasWGSLLanguageFeature = _libraries['
|
5035
|
+
wgpuInstanceHasWGSLLanguageFeature = _libraries['webgpu'].wgpuInstanceHasWGSLLanguageFeature
|
5027
5036
|
wgpuInstanceHasWGSLLanguageFeature.restype = WGPUBool
|
5028
5037
|
wgpuInstanceHasWGSLLanguageFeature.argtypes = [WGPUInstance, WGPUWGSLFeatureName]
|
5029
5038
|
except AttributeError:
|
5030
5039
|
pass
|
5031
5040
|
try:
|
5032
|
-
wgpuInstanceProcessEvents = _libraries['
|
5041
|
+
wgpuInstanceProcessEvents = _libraries['webgpu'].wgpuInstanceProcessEvents
|
5033
5042
|
wgpuInstanceProcessEvents.restype = None
|
5034
5043
|
wgpuInstanceProcessEvents.argtypes = [WGPUInstance]
|
5035
5044
|
except AttributeError:
|
5036
5045
|
pass
|
5037
5046
|
try:
|
5038
|
-
wgpuInstanceRequestAdapter = _libraries['
|
5047
|
+
wgpuInstanceRequestAdapter = _libraries['webgpu'].wgpuInstanceRequestAdapter
|
5039
5048
|
wgpuInstanceRequestAdapter.restype = None
|
5040
5049
|
wgpuInstanceRequestAdapter.argtypes = [WGPUInstance, ctypes.POINTER(struct_WGPURequestAdapterOptions), WGPURequestAdapterCallback, ctypes.POINTER(None)]
|
5041
5050
|
except AttributeError:
|
5042
5051
|
pass
|
5043
5052
|
try:
|
5044
|
-
wgpuInstanceRequestAdapter2 = _libraries['
|
5053
|
+
wgpuInstanceRequestAdapter2 = _libraries['webgpu'].wgpuInstanceRequestAdapter2
|
5045
5054
|
wgpuInstanceRequestAdapter2.restype = WGPUFuture
|
5046
5055
|
wgpuInstanceRequestAdapter2.argtypes = [WGPUInstance, ctypes.POINTER(struct_WGPURequestAdapterOptions), WGPURequestAdapterCallbackInfo2]
|
5047
5056
|
except AttributeError:
|
5048
5057
|
pass
|
5049
5058
|
try:
|
5050
|
-
wgpuInstanceRequestAdapterF = _libraries['
|
5059
|
+
wgpuInstanceRequestAdapterF = _libraries['webgpu'].wgpuInstanceRequestAdapterF
|
5051
5060
|
wgpuInstanceRequestAdapterF.restype = WGPUFuture
|
5052
5061
|
wgpuInstanceRequestAdapterF.argtypes = [WGPUInstance, ctypes.POINTER(struct_WGPURequestAdapterOptions), WGPURequestAdapterCallbackInfo]
|
5053
5062
|
except AttributeError:
|
5054
5063
|
pass
|
5055
5064
|
try:
|
5056
|
-
wgpuInstanceWaitAny = _libraries['
|
5065
|
+
wgpuInstanceWaitAny = _libraries['webgpu'].wgpuInstanceWaitAny
|
5057
5066
|
wgpuInstanceWaitAny.restype = WGPUWaitStatus
|
5058
5067
|
wgpuInstanceWaitAny.argtypes = [WGPUInstance, size_t, ctypes.POINTER(struct_WGPUFutureWaitInfo), uint64_t]
|
5059
5068
|
except AttributeError:
|
5060
5069
|
pass
|
5061
5070
|
try:
|
5062
|
-
wgpuInstanceAddRef = _libraries['
|
5071
|
+
wgpuInstanceAddRef = _libraries['webgpu'].wgpuInstanceAddRef
|
5063
5072
|
wgpuInstanceAddRef.restype = None
|
5064
5073
|
wgpuInstanceAddRef.argtypes = [WGPUInstance]
|
5065
5074
|
except AttributeError:
|
5066
5075
|
pass
|
5067
5076
|
try:
|
5068
|
-
wgpuInstanceRelease = _libraries['
|
5077
|
+
wgpuInstanceRelease = _libraries['webgpu'].wgpuInstanceRelease
|
5069
5078
|
wgpuInstanceRelease.restype = None
|
5070
5079
|
wgpuInstanceRelease.argtypes = [WGPUInstance]
|
5071
5080
|
except AttributeError:
|
5072
5081
|
pass
|
5073
5082
|
try:
|
5074
|
-
wgpuPipelineLayoutSetLabel = _libraries['
|
5083
|
+
wgpuPipelineLayoutSetLabel = _libraries['webgpu'].wgpuPipelineLayoutSetLabel
|
5075
5084
|
wgpuPipelineLayoutSetLabel.restype = None
|
5076
5085
|
wgpuPipelineLayoutSetLabel.argtypes = [WGPUPipelineLayout, WGPUStringView]
|
5077
5086
|
except AttributeError:
|
5078
5087
|
pass
|
5079
5088
|
try:
|
5080
|
-
wgpuPipelineLayoutAddRef = _libraries['
|
5089
|
+
wgpuPipelineLayoutAddRef = _libraries['webgpu'].wgpuPipelineLayoutAddRef
|
5081
5090
|
wgpuPipelineLayoutAddRef.restype = None
|
5082
5091
|
wgpuPipelineLayoutAddRef.argtypes = [WGPUPipelineLayout]
|
5083
5092
|
except AttributeError:
|
5084
5093
|
pass
|
5085
5094
|
try:
|
5086
|
-
wgpuPipelineLayoutRelease = _libraries['
|
5095
|
+
wgpuPipelineLayoutRelease = _libraries['webgpu'].wgpuPipelineLayoutRelease
|
5087
5096
|
wgpuPipelineLayoutRelease.restype = None
|
5088
5097
|
wgpuPipelineLayoutRelease.argtypes = [WGPUPipelineLayout]
|
5089
5098
|
except AttributeError:
|
5090
5099
|
pass
|
5091
5100
|
try:
|
5092
|
-
wgpuQuerySetDestroy = _libraries['
|
5101
|
+
wgpuQuerySetDestroy = _libraries['webgpu'].wgpuQuerySetDestroy
|
5093
5102
|
wgpuQuerySetDestroy.restype = None
|
5094
5103
|
wgpuQuerySetDestroy.argtypes = [WGPUQuerySet]
|
5095
5104
|
except AttributeError:
|
5096
5105
|
pass
|
5097
5106
|
try:
|
5098
|
-
wgpuQuerySetGetCount = _libraries['
|
5107
|
+
wgpuQuerySetGetCount = _libraries['webgpu'].wgpuQuerySetGetCount
|
5099
5108
|
wgpuQuerySetGetCount.restype = uint32_t
|
5100
5109
|
wgpuQuerySetGetCount.argtypes = [WGPUQuerySet]
|
5101
5110
|
except AttributeError:
|
5102
5111
|
pass
|
5103
5112
|
try:
|
5104
|
-
wgpuQuerySetGetType = _libraries['
|
5113
|
+
wgpuQuerySetGetType = _libraries['webgpu'].wgpuQuerySetGetType
|
5105
5114
|
wgpuQuerySetGetType.restype = WGPUQueryType
|
5106
5115
|
wgpuQuerySetGetType.argtypes = [WGPUQuerySet]
|
5107
5116
|
except AttributeError:
|
5108
5117
|
pass
|
5109
5118
|
try:
|
5110
|
-
wgpuQuerySetSetLabel = _libraries['
|
5119
|
+
wgpuQuerySetSetLabel = _libraries['webgpu'].wgpuQuerySetSetLabel
|
5111
5120
|
wgpuQuerySetSetLabel.restype = None
|
5112
5121
|
wgpuQuerySetSetLabel.argtypes = [WGPUQuerySet, WGPUStringView]
|
5113
5122
|
except AttributeError:
|
5114
5123
|
pass
|
5115
5124
|
try:
|
5116
|
-
wgpuQuerySetAddRef = _libraries['
|
5125
|
+
wgpuQuerySetAddRef = _libraries['webgpu'].wgpuQuerySetAddRef
|
5117
5126
|
wgpuQuerySetAddRef.restype = None
|
5118
5127
|
wgpuQuerySetAddRef.argtypes = [WGPUQuerySet]
|
5119
5128
|
except AttributeError:
|
5120
5129
|
pass
|
5121
5130
|
try:
|
5122
|
-
wgpuQuerySetRelease = _libraries['
|
5131
|
+
wgpuQuerySetRelease = _libraries['webgpu'].wgpuQuerySetRelease
|
5123
5132
|
wgpuQuerySetRelease.restype = None
|
5124
5133
|
wgpuQuerySetRelease.argtypes = [WGPUQuerySet]
|
5125
5134
|
except AttributeError:
|
5126
5135
|
pass
|
5127
5136
|
try:
|
5128
|
-
wgpuQueueCopyExternalTextureForBrowser = _libraries['
|
5137
|
+
wgpuQueueCopyExternalTextureForBrowser = _libraries['webgpu'].wgpuQueueCopyExternalTextureForBrowser
|
5129
5138
|
wgpuQueueCopyExternalTextureForBrowser.restype = None
|
5130
5139
|
wgpuQueueCopyExternalTextureForBrowser.argtypes = [WGPUQueue, ctypes.POINTER(struct_WGPUImageCopyExternalTexture), ctypes.POINTER(struct_WGPUImageCopyTexture), ctypes.POINTER(struct_WGPUExtent3D), ctypes.POINTER(struct_WGPUCopyTextureForBrowserOptions)]
|
5131
5140
|
except AttributeError:
|
5132
5141
|
pass
|
5133
5142
|
try:
|
5134
|
-
wgpuQueueCopyTextureForBrowser = _libraries['
|
5143
|
+
wgpuQueueCopyTextureForBrowser = _libraries['webgpu'].wgpuQueueCopyTextureForBrowser
|
5135
5144
|
wgpuQueueCopyTextureForBrowser.restype = None
|
5136
5145
|
wgpuQueueCopyTextureForBrowser.argtypes = [WGPUQueue, ctypes.POINTER(struct_WGPUImageCopyTexture), ctypes.POINTER(struct_WGPUImageCopyTexture), ctypes.POINTER(struct_WGPUExtent3D), ctypes.POINTER(struct_WGPUCopyTextureForBrowserOptions)]
|
5137
5146
|
except AttributeError:
|
5138
5147
|
pass
|
5139
5148
|
try:
|
5140
|
-
wgpuQueueOnSubmittedWorkDone = _libraries['
|
5149
|
+
wgpuQueueOnSubmittedWorkDone = _libraries['webgpu'].wgpuQueueOnSubmittedWorkDone
|
5141
5150
|
wgpuQueueOnSubmittedWorkDone.restype = None
|
5142
5151
|
wgpuQueueOnSubmittedWorkDone.argtypes = [WGPUQueue, WGPUQueueWorkDoneCallback, ctypes.POINTER(None)]
|
5143
5152
|
except AttributeError:
|
5144
5153
|
pass
|
5145
5154
|
try:
|
5146
|
-
wgpuQueueOnSubmittedWorkDone2 = _libraries['
|
5155
|
+
wgpuQueueOnSubmittedWorkDone2 = _libraries['webgpu'].wgpuQueueOnSubmittedWorkDone2
|
5147
5156
|
wgpuQueueOnSubmittedWorkDone2.restype = WGPUFuture
|
5148
5157
|
wgpuQueueOnSubmittedWorkDone2.argtypes = [WGPUQueue, WGPUQueueWorkDoneCallbackInfo2]
|
5149
5158
|
except AttributeError:
|
5150
5159
|
pass
|
5151
5160
|
try:
|
5152
|
-
wgpuQueueOnSubmittedWorkDoneF = _libraries['
|
5161
|
+
wgpuQueueOnSubmittedWorkDoneF = _libraries['webgpu'].wgpuQueueOnSubmittedWorkDoneF
|
5153
5162
|
wgpuQueueOnSubmittedWorkDoneF.restype = WGPUFuture
|
5154
5163
|
wgpuQueueOnSubmittedWorkDoneF.argtypes = [WGPUQueue, WGPUQueueWorkDoneCallbackInfo]
|
5155
5164
|
except AttributeError:
|
5156
5165
|
pass
|
5157
5166
|
try:
|
5158
|
-
wgpuQueueSetLabel = _libraries['
|
5167
|
+
wgpuQueueSetLabel = _libraries['webgpu'].wgpuQueueSetLabel
|
5159
5168
|
wgpuQueueSetLabel.restype = None
|
5160
5169
|
wgpuQueueSetLabel.argtypes = [WGPUQueue, WGPUStringView]
|
5161
5170
|
except AttributeError:
|
5162
5171
|
pass
|
5163
5172
|
try:
|
5164
|
-
wgpuQueueSubmit = _libraries['
|
5173
|
+
wgpuQueueSubmit = _libraries['webgpu'].wgpuQueueSubmit
|
5165
5174
|
wgpuQueueSubmit.restype = None
|
5166
5175
|
wgpuQueueSubmit.argtypes = [WGPUQueue, size_t, ctypes.POINTER(ctypes.POINTER(struct_WGPUCommandBufferImpl))]
|
5167
5176
|
except AttributeError:
|
5168
5177
|
pass
|
5169
5178
|
try:
|
5170
|
-
wgpuQueueWriteBuffer = _libraries['
|
5179
|
+
wgpuQueueWriteBuffer = _libraries['webgpu'].wgpuQueueWriteBuffer
|
5171
5180
|
wgpuQueueWriteBuffer.restype = None
|
5172
5181
|
wgpuQueueWriteBuffer.argtypes = [WGPUQueue, WGPUBuffer, uint64_t, ctypes.POINTER(None), size_t]
|
5173
5182
|
except AttributeError:
|
5174
5183
|
pass
|
5175
5184
|
try:
|
5176
|
-
wgpuQueueWriteTexture = _libraries['
|
5185
|
+
wgpuQueueWriteTexture = _libraries['webgpu'].wgpuQueueWriteTexture
|
5177
5186
|
wgpuQueueWriteTexture.restype = None
|
5178
5187
|
wgpuQueueWriteTexture.argtypes = [WGPUQueue, ctypes.POINTER(struct_WGPUImageCopyTexture), ctypes.POINTER(None), size_t, ctypes.POINTER(struct_WGPUTextureDataLayout), ctypes.POINTER(struct_WGPUExtent3D)]
|
5179
5188
|
except AttributeError:
|
5180
5189
|
pass
|
5181
5190
|
try:
|
5182
|
-
wgpuQueueAddRef = _libraries['
|
5191
|
+
wgpuQueueAddRef = _libraries['webgpu'].wgpuQueueAddRef
|
5183
5192
|
wgpuQueueAddRef.restype = None
|
5184
5193
|
wgpuQueueAddRef.argtypes = [WGPUQueue]
|
5185
5194
|
except AttributeError:
|
5186
5195
|
pass
|
5187
5196
|
try:
|
5188
|
-
wgpuQueueRelease = _libraries['
|
5197
|
+
wgpuQueueRelease = _libraries['webgpu'].wgpuQueueRelease
|
5189
5198
|
wgpuQueueRelease.restype = None
|
5190
5199
|
wgpuQueueRelease.argtypes = [WGPUQueue]
|
5191
5200
|
except AttributeError:
|
5192
5201
|
pass
|
5193
5202
|
try:
|
5194
|
-
wgpuRenderBundleSetLabel = _libraries['
|
5203
|
+
wgpuRenderBundleSetLabel = _libraries['webgpu'].wgpuRenderBundleSetLabel
|
5195
5204
|
wgpuRenderBundleSetLabel.restype = None
|
5196
5205
|
wgpuRenderBundleSetLabel.argtypes = [WGPURenderBundle, WGPUStringView]
|
5197
5206
|
except AttributeError:
|
5198
5207
|
pass
|
5199
5208
|
try:
|
5200
|
-
wgpuRenderBundleAddRef = _libraries['
|
5209
|
+
wgpuRenderBundleAddRef = _libraries['webgpu'].wgpuRenderBundleAddRef
|
5201
5210
|
wgpuRenderBundleAddRef.restype = None
|
5202
5211
|
wgpuRenderBundleAddRef.argtypes = [WGPURenderBundle]
|
5203
5212
|
except AttributeError:
|
5204
5213
|
pass
|
5205
5214
|
try:
|
5206
|
-
wgpuRenderBundleRelease = _libraries['
|
5215
|
+
wgpuRenderBundleRelease = _libraries['webgpu'].wgpuRenderBundleRelease
|
5207
5216
|
wgpuRenderBundleRelease.restype = None
|
5208
5217
|
wgpuRenderBundleRelease.argtypes = [WGPURenderBundle]
|
5209
5218
|
except AttributeError:
|
5210
5219
|
pass
|
5211
5220
|
try:
|
5212
|
-
wgpuRenderBundleEncoderDraw = _libraries['
|
5221
|
+
wgpuRenderBundleEncoderDraw = _libraries['webgpu'].wgpuRenderBundleEncoderDraw
|
5213
5222
|
wgpuRenderBundleEncoderDraw.restype = None
|
5214
5223
|
wgpuRenderBundleEncoderDraw.argtypes = [WGPURenderBundleEncoder, uint32_t, uint32_t, uint32_t, uint32_t]
|
5215
5224
|
except AttributeError:
|
5216
5225
|
pass
|
5217
5226
|
int32_t = ctypes.c_int32
|
5218
5227
|
try:
|
5219
|
-
wgpuRenderBundleEncoderDrawIndexed = _libraries['
|
5228
|
+
wgpuRenderBundleEncoderDrawIndexed = _libraries['webgpu'].wgpuRenderBundleEncoderDrawIndexed
|
5220
5229
|
wgpuRenderBundleEncoderDrawIndexed.restype = None
|
5221
5230
|
wgpuRenderBundleEncoderDrawIndexed.argtypes = [WGPURenderBundleEncoder, uint32_t, uint32_t, uint32_t, int32_t, uint32_t]
|
5222
5231
|
except AttributeError:
|
5223
5232
|
pass
|
5224
5233
|
try:
|
5225
|
-
wgpuRenderBundleEncoderDrawIndexedIndirect = _libraries['
|
5234
|
+
wgpuRenderBundleEncoderDrawIndexedIndirect = _libraries['webgpu'].wgpuRenderBundleEncoderDrawIndexedIndirect
|
5226
5235
|
wgpuRenderBundleEncoderDrawIndexedIndirect.restype = None
|
5227
5236
|
wgpuRenderBundleEncoderDrawIndexedIndirect.argtypes = [WGPURenderBundleEncoder, WGPUBuffer, uint64_t]
|
5228
5237
|
except AttributeError:
|
5229
5238
|
pass
|
5230
5239
|
try:
|
5231
|
-
wgpuRenderBundleEncoderDrawIndirect = _libraries['
|
5240
|
+
wgpuRenderBundleEncoderDrawIndirect = _libraries['webgpu'].wgpuRenderBundleEncoderDrawIndirect
|
5232
5241
|
wgpuRenderBundleEncoderDrawIndirect.restype = None
|
5233
5242
|
wgpuRenderBundleEncoderDrawIndirect.argtypes = [WGPURenderBundleEncoder, WGPUBuffer, uint64_t]
|
5234
5243
|
except AttributeError:
|
5235
5244
|
pass
|
5236
5245
|
try:
|
5237
|
-
wgpuRenderBundleEncoderFinish = _libraries['
|
5246
|
+
wgpuRenderBundleEncoderFinish = _libraries['webgpu'].wgpuRenderBundleEncoderFinish
|
5238
5247
|
wgpuRenderBundleEncoderFinish.restype = WGPURenderBundle
|
5239
5248
|
wgpuRenderBundleEncoderFinish.argtypes = [WGPURenderBundleEncoder, ctypes.POINTER(struct_WGPURenderBundleDescriptor)]
|
5240
5249
|
except AttributeError:
|
5241
5250
|
pass
|
5242
5251
|
try:
|
5243
|
-
wgpuRenderBundleEncoderInsertDebugMarker = _libraries['
|
5252
|
+
wgpuRenderBundleEncoderInsertDebugMarker = _libraries['webgpu'].wgpuRenderBundleEncoderInsertDebugMarker
|
5244
5253
|
wgpuRenderBundleEncoderInsertDebugMarker.restype = None
|
5245
5254
|
wgpuRenderBundleEncoderInsertDebugMarker.argtypes = [WGPURenderBundleEncoder, WGPUStringView]
|
5246
5255
|
except AttributeError:
|
5247
5256
|
pass
|
5248
5257
|
try:
|
5249
|
-
wgpuRenderBundleEncoderPopDebugGroup = _libraries['
|
5258
|
+
wgpuRenderBundleEncoderPopDebugGroup = _libraries['webgpu'].wgpuRenderBundleEncoderPopDebugGroup
|
5250
5259
|
wgpuRenderBundleEncoderPopDebugGroup.restype = None
|
5251
5260
|
wgpuRenderBundleEncoderPopDebugGroup.argtypes = [WGPURenderBundleEncoder]
|
5252
5261
|
except AttributeError:
|
5253
5262
|
pass
|
5254
5263
|
try:
|
5255
|
-
wgpuRenderBundleEncoderPushDebugGroup = _libraries['
|
5264
|
+
wgpuRenderBundleEncoderPushDebugGroup = _libraries['webgpu'].wgpuRenderBundleEncoderPushDebugGroup
|
5256
5265
|
wgpuRenderBundleEncoderPushDebugGroup.restype = None
|
5257
5266
|
wgpuRenderBundleEncoderPushDebugGroup.argtypes = [WGPURenderBundleEncoder, WGPUStringView]
|
5258
5267
|
except AttributeError:
|
5259
5268
|
pass
|
5260
5269
|
try:
|
5261
|
-
wgpuRenderBundleEncoderSetBindGroup = _libraries['
|
5270
|
+
wgpuRenderBundleEncoderSetBindGroup = _libraries['webgpu'].wgpuRenderBundleEncoderSetBindGroup
|
5262
5271
|
wgpuRenderBundleEncoderSetBindGroup.restype = None
|
5263
5272
|
wgpuRenderBundleEncoderSetBindGroup.argtypes = [WGPURenderBundleEncoder, uint32_t, WGPUBindGroup, size_t, ctypes.POINTER(ctypes.c_uint32)]
|
5264
5273
|
except AttributeError:
|
5265
5274
|
pass
|
5266
5275
|
try:
|
5267
|
-
wgpuRenderBundleEncoderSetIndexBuffer = _libraries['
|
5276
|
+
wgpuRenderBundleEncoderSetIndexBuffer = _libraries['webgpu'].wgpuRenderBundleEncoderSetIndexBuffer
|
5268
5277
|
wgpuRenderBundleEncoderSetIndexBuffer.restype = None
|
5269
5278
|
wgpuRenderBundleEncoderSetIndexBuffer.argtypes = [WGPURenderBundleEncoder, WGPUBuffer, WGPUIndexFormat, uint64_t, uint64_t]
|
5270
5279
|
except AttributeError:
|
5271
5280
|
pass
|
5272
5281
|
try:
|
5273
|
-
wgpuRenderBundleEncoderSetLabel = _libraries['
|
5282
|
+
wgpuRenderBundleEncoderSetLabel = _libraries['webgpu'].wgpuRenderBundleEncoderSetLabel
|
5274
5283
|
wgpuRenderBundleEncoderSetLabel.restype = None
|
5275
5284
|
wgpuRenderBundleEncoderSetLabel.argtypes = [WGPURenderBundleEncoder, WGPUStringView]
|
5276
5285
|
except AttributeError:
|
5277
5286
|
pass
|
5278
5287
|
try:
|
5279
|
-
wgpuRenderBundleEncoderSetPipeline = _libraries['
|
5288
|
+
wgpuRenderBundleEncoderSetPipeline = _libraries['webgpu'].wgpuRenderBundleEncoderSetPipeline
|
5280
5289
|
wgpuRenderBundleEncoderSetPipeline.restype = None
|
5281
5290
|
wgpuRenderBundleEncoderSetPipeline.argtypes = [WGPURenderBundleEncoder, WGPURenderPipeline]
|
5282
5291
|
except AttributeError:
|
5283
5292
|
pass
|
5284
5293
|
try:
|
5285
|
-
wgpuRenderBundleEncoderSetVertexBuffer = _libraries['
|
5294
|
+
wgpuRenderBundleEncoderSetVertexBuffer = _libraries['webgpu'].wgpuRenderBundleEncoderSetVertexBuffer
|
5286
5295
|
wgpuRenderBundleEncoderSetVertexBuffer.restype = None
|
5287
5296
|
wgpuRenderBundleEncoderSetVertexBuffer.argtypes = [WGPURenderBundleEncoder, uint32_t, WGPUBuffer, uint64_t, uint64_t]
|
5288
5297
|
except AttributeError:
|
5289
5298
|
pass
|
5290
5299
|
try:
|
5291
|
-
wgpuRenderBundleEncoderAddRef = _libraries['
|
5300
|
+
wgpuRenderBundleEncoderAddRef = _libraries['webgpu'].wgpuRenderBundleEncoderAddRef
|
5292
5301
|
wgpuRenderBundleEncoderAddRef.restype = None
|
5293
5302
|
wgpuRenderBundleEncoderAddRef.argtypes = [WGPURenderBundleEncoder]
|
5294
5303
|
except AttributeError:
|
5295
5304
|
pass
|
5296
5305
|
try:
|
5297
|
-
wgpuRenderBundleEncoderRelease = _libraries['
|
5306
|
+
wgpuRenderBundleEncoderRelease = _libraries['webgpu'].wgpuRenderBundleEncoderRelease
|
5298
5307
|
wgpuRenderBundleEncoderRelease.restype = None
|
5299
5308
|
wgpuRenderBundleEncoderRelease.argtypes = [WGPURenderBundleEncoder]
|
5300
5309
|
except AttributeError:
|
5301
5310
|
pass
|
5302
5311
|
try:
|
5303
|
-
wgpuRenderPassEncoderBeginOcclusionQuery = _libraries['
|
5312
|
+
wgpuRenderPassEncoderBeginOcclusionQuery = _libraries['webgpu'].wgpuRenderPassEncoderBeginOcclusionQuery
|
5304
5313
|
wgpuRenderPassEncoderBeginOcclusionQuery.restype = None
|
5305
5314
|
wgpuRenderPassEncoderBeginOcclusionQuery.argtypes = [WGPURenderPassEncoder, uint32_t]
|
5306
5315
|
except AttributeError:
|
5307
5316
|
pass
|
5308
5317
|
try:
|
5309
|
-
wgpuRenderPassEncoderDraw = _libraries['
|
5318
|
+
wgpuRenderPassEncoderDraw = _libraries['webgpu'].wgpuRenderPassEncoderDraw
|
5310
5319
|
wgpuRenderPassEncoderDraw.restype = None
|
5311
5320
|
wgpuRenderPassEncoderDraw.argtypes = [WGPURenderPassEncoder, uint32_t, uint32_t, uint32_t, uint32_t]
|
5312
5321
|
except AttributeError:
|
5313
5322
|
pass
|
5314
5323
|
try:
|
5315
|
-
wgpuRenderPassEncoderDrawIndexed = _libraries['
|
5324
|
+
wgpuRenderPassEncoderDrawIndexed = _libraries['webgpu'].wgpuRenderPassEncoderDrawIndexed
|
5316
5325
|
wgpuRenderPassEncoderDrawIndexed.restype = None
|
5317
5326
|
wgpuRenderPassEncoderDrawIndexed.argtypes = [WGPURenderPassEncoder, uint32_t, uint32_t, uint32_t, int32_t, uint32_t]
|
5318
5327
|
except AttributeError:
|
5319
5328
|
pass
|
5320
5329
|
try:
|
5321
|
-
wgpuRenderPassEncoderDrawIndexedIndirect = _libraries['
|
5330
|
+
wgpuRenderPassEncoderDrawIndexedIndirect = _libraries['webgpu'].wgpuRenderPassEncoderDrawIndexedIndirect
|
5322
5331
|
wgpuRenderPassEncoderDrawIndexedIndirect.restype = None
|
5323
5332
|
wgpuRenderPassEncoderDrawIndexedIndirect.argtypes = [WGPURenderPassEncoder, WGPUBuffer, uint64_t]
|
5324
5333
|
except AttributeError:
|
5325
5334
|
pass
|
5326
5335
|
try:
|
5327
|
-
wgpuRenderPassEncoderDrawIndirect = _libraries['
|
5336
|
+
wgpuRenderPassEncoderDrawIndirect = _libraries['webgpu'].wgpuRenderPassEncoderDrawIndirect
|
5328
5337
|
wgpuRenderPassEncoderDrawIndirect.restype = None
|
5329
5338
|
wgpuRenderPassEncoderDrawIndirect.argtypes = [WGPURenderPassEncoder, WGPUBuffer, uint64_t]
|
5330
5339
|
except AttributeError:
|
5331
5340
|
pass
|
5332
5341
|
try:
|
5333
|
-
wgpuRenderPassEncoderEnd = _libraries['
|
5342
|
+
wgpuRenderPassEncoderEnd = _libraries['webgpu'].wgpuRenderPassEncoderEnd
|
5334
5343
|
wgpuRenderPassEncoderEnd.restype = None
|
5335
5344
|
wgpuRenderPassEncoderEnd.argtypes = [WGPURenderPassEncoder]
|
5336
5345
|
except AttributeError:
|
5337
5346
|
pass
|
5338
5347
|
try:
|
5339
|
-
wgpuRenderPassEncoderEndOcclusionQuery = _libraries['
|
5348
|
+
wgpuRenderPassEncoderEndOcclusionQuery = _libraries['webgpu'].wgpuRenderPassEncoderEndOcclusionQuery
|
5340
5349
|
wgpuRenderPassEncoderEndOcclusionQuery.restype = None
|
5341
5350
|
wgpuRenderPassEncoderEndOcclusionQuery.argtypes = [WGPURenderPassEncoder]
|
5342
5351
|
except AttributeError:
|
5343
5352
|
pass
|
5344
5353
|
try:
|
5345
|
-
wgpuRenderPassEncoderExecuteBundles = _libraries['
|
5354
|
+
wgpuRenderPassEncoderExecuteBundles = _libraries['webgpu'].wgpuRenderPassEncoderExecuteBundles
|
5346
5355
|
wgpuRenderPassEncoderExecuteBundles.restype = None
|
5347
5356
|
wgpuRenderPassEncoderExecuteBundles.argtypes = [WGPURenderPassEncoder, size_t, ctypes.POINTER(ctypes.POINTER(struct_WGPURenderBundleImpl))]
|
5348
5357
|
except AttributeError:
|
5349
5358
|
pass
|
5350
5359
|
try:
|
5351
|
-
wgpuRenderPassEncoderInsertDebugMarker = _libraries['
|
5360
|
+
wgpuRenderPassEncoderInsertDebugMarker = _libraries['webgpu'].wgpuRenderPassEncoderInsertDebugMarker
|
5352
5361
|
wgpuRenderPassEncoderInsertDebugMarker.restype = None
|
5353
5362
|
wgpuRenderPassEncoderInsertDebugMarker.argtypes = [WGPURenderPassEncoder, WGPUStringView]
|
5354
5363
|
except AttributeError:
|
5355
5364
|
pass
|
5356
5365
|
try:
|
5357
|
-
wgpuRenderPassEncoderMultiDrawIndexedIndirect = _libraries['
|
5366
|
+
wgpuRenderPassEncoderMultiDrawIndexedIndirect = _libraries['webgpu'].wgpuRenderPassEncoderMultiDrawIndexedIndirect
|
5358
5367
|
wgpuRenderPassEncoderMultiDrawIndexedIndirect.restype = None
|
5359
5368
|
wgpuRenderPassEncoderMultiDrawIndexedIndirect.argtypes = [WGPURenderPassEncoder, WGPUBuffer, uint64_t, uint32_t, WGPUBuffer, uint64_t]
|
5360
5369
|
except AttributeError:
|
5361
5370
|
pass
|
5362
5371
|
try:
|
5363
|
-
wgpuRenderPassEncoderMultiDrawIndirect = _libraries['
|
5372
|
+
wgpuRenderPassEncoderMultiDrawIndirect = _libraries['webgpu'].wgpuRenderPassEncoderMultiDrawIndirect
|
5364
5373
|
wgpuRenderPassEncoderMultiDrawIndirect.restype = None
|
5365
5374
|
wgpuRenderPassEncoderMultiDrawIndirect.argtypes = [WGPURenderPassEncoder, WGPUBuffer, uint64_t, uint32_t, WGPUBuffer, uint64_t]
|
5366
5375
|
except AttributeError:
|
5367
5376
|
pass
|
5368
5377
|
try:
|
5369
|
-
wgpuRenderPassEncoderPixelLocalStorageBarrier = _libraries['
|
5378
|
+
wgpuRenderPassEncoderPixelLocalStorageBarrier = _libraries['webgpu'].wgpuRenderPassEncoderPixelLocalStorageBarrier
|
5370
5379
|
wgpuRenderPassEncoderPixelLocalStorageBarrier.restype = None
|
5371
5380
|
wgpuRenderPassEncoderPixelLocalStorageBarrier.argtypes = [WGPURenderPassEncoder]
|
5372
5381
|
except AttributeError:
|
5373
5382
|
pass
|
5374
5383
|
try:
|
5375
|
-
wgpuRenderPassEncoderPopDebugGroup = _libraries['
|
5384
|
+
wgpuRenderPassEncoderPopDebugGroup = _libraries['webgpu'].wgpuRenderPassEncoderPopDebugGroup
|
5376
5385
|
wgpuRenderPassEncoderPopDebugGroup.restype = None
|
5377
5386
|
wgpuRenderPassEncoderPopDebugGroup.argtypes = [WGPURenderPassEncoder]
|
5378
5387
|
except AttributeError:
|
5379
5388
|
pass
|
5380
5389
|
try:
|
5381
|
-
wgpuRenderPassEncoderPushDebugGroup = _libraries['
|
5390
|
+
wgpuRenderPassEncoderPushDebugGroup = _libraries['webgpu'].wgpuRenderPassEncoderPushDebugGroup
|
5382
5391
|
wgpuRenderPassEncoderPushDebugGroup.restype = None
|
5383
5392
|
wgpuRenderPassEncoderPushDebugGroup.argtypes = [WGPURenderPassEncoder, WGPUStringView]
|
5384
5393
|
except AttributeError:
|
5385
5394
|
pass
|
5386
5395
|
try:
|
5387
|
-
wgpuRenderPassEncoderSetBindGroup = _libraries['
|
5396
|
+
wgpuRenderPassEncoderSetBindGroup = _libraries['webgpu'].wgpuRenderPassEncoderSetBindGroup
|
5388
5397
|
wgpuRenderPassEncoderSetBindGroup.restype = None
|
5389
5398
|
wgpuRenderPassEncoderSetBindGroup.argtypes = [WGPURenderPassEncoder, uint32_t, WGPUBindGroup, size_t, ctypes.POINTER(ctypes.c_uint32)]
|
5390
5399
|
except AttributeError:
|
5391
5400
|
pass
|
5392
5401
|
try:
|
5393
|
-
wgpuRenderPassEncoderSetBlendConstant = _libraries['
|
5402
|
+
wgpuRenderPassEncoderSetBlendConstant = _libraries['webgpu'].wgpuRenderPassEncoderSetBlendConstant
|
5394
5403
|
wgpuRenderPassEncoderSetBlendConstant.restype = None
|
5395
5404
|
wgpuRenderPassEncoderSetBlendConstant.argtypes = [WGPURenderPassEncoder, ctypes.POINTER(struct_WGPUColor)]
|
5396
5405
|
except AttributeError:
|
5397
5406
|
pass
|
5398
5407
|
try:
|
5399
|
-
wgpuRenderPassEncoderSetIndexBuffer = _libraries['
|
5408
|
+
wgpuRenderPassEncoderSetIndexBuffer = _libraries['webgpu'].wgpuRenderPassEncoderSetIndexBuffer
|
5400
5409
|
wgpuRenderPassEncoderSetIndexBuffer.restype = None
|
5401
5410
|
wgpuRenderPassEncoderSetIndexBuffer.argtypes = [WGPURenderPassEncoder, WGPUBuffer, WGPUIndexFormat, uint64_t, uint64_t]
|
5402
5411
|
except AttributeError:
|
5403
5412
|
pass
|
5404
5413
|
try:
|
5405
|
-
wgpuRenderPassEncoderSetLabel = _libraries['
|
5414
|
+
wgpuRenderPassEncoderSetLabel = _libraries['webgpu'].wgpuRenderPassEncoderSetLabel
|
5406
5415
|
wgpuRenderPassEncoderSetLabel.restype = None
|
5407
5416
|
wgpuRenderPassEncoderSetLabel.argtypes = [WGPURenderPassEncoder, WGPUStringView]
|
5408
5417
|
except AttributeError:
|
5409
5418
|
pass
|
5410
5419
|
try:
|
5411
|
-
wgpuRenderPassEncoderSetPipeline = _libraries['
|
5420
|
+
wgpuRenderPassEncoderSetPipeline = _libraries['webgpu'].wgpuRenderPassEncoderSetPipeline
|
5412
5421
|
wgpuRenderPassEncoderSetPipeline.restype = None
|
5413
5422
|
wgpuRenderPassEncoderSetPipeline.argtypes = [WGPURenderPassEncoder, WGPURenderPipeline]
|
5414
5423
|
except AttributeError:
|
5415
5424
|
pass
|
5416
5425
|
try:
|
5417
|
-
wgpuRenderPassEncoderSetScissorRect = _libraries['
|
5426
|
+
wgpuRenderPassEncoderSetScissorRect = _libraries['webgpu'].wgpuRenderPassEncoderSetScissorRect
|
5418
5427
|
wgpuRenderPassEncoderSetScissorRect.restype = None
|
5419
5428
|
wgpuRenderPassEncoderSetScissorRect.argtypes = [WGPURenderPassEncoder, uint32_t, uint32_t, uint32_t, uint32_t]
|
5420
5429
|
except AttributeError:
|
5421
5430
|
pass
|
5422
5431
|
try:
|
5423
|
-
wgpuRenderPassEncoderSetStencilReference = _libraries['
|
5432
|
+
wgpuRenderPassEncoderSetStencilReference = _libraries['webgpu'].wgpuRenderPassEncoderSetStencilReference
|
5424
5433
|
wgpuRenderPassEncoderSetStencilReference.restype = None
|
5425
5434
|
wgpuRenderPassEncoderSetStencilReference.argtypes = [WGPURenderPassEncoder, uint32_t]
|
5426
5435
|
except AttributeError:
|
5427
5436
|
pass
|
5428
5437
|
try:
|
5429
|
-
wgpuRenderPassEncoderSetVertexBuffer = _libraries['
|
5438
|
+
wgpuRenderPassEncoderSetVertexBuffer = _libraries['webgpu'].wgpuRenderPassEncoderSetVertexBuffer
|
5430
5439
|
wgpuRenderPassEncoderSetVertexBuffer.restype = None
|
5431
5440
|
wgpuRenderPassEncoderSetVertexBuffer.argtypes = [WGPURenderPassEncoder, uint32_t, WGPUBuffer, uint64_t, uint64_t]
|
5432
5441
|
except AttributeError:
|
5433
5442
|
pass
|
5434
5443
|
try:
|
5435
|
-
wgpuRenderPassEncoderSetViewport = _libraries['
|
5444
|
+
wgpuRenderPassEncoderSetViewport = _libraries['webgpu'].wgpuRenderPassEncoderSetViewport
|
5436
5445
|
wgpuRenderPassEncoderSetViewport.restype = None
|
5437
5446
|
wgpuRenderPassEncoderSetViewport.argtypes = [WGPURenderPassEncoder, ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.c_float]
|
5438
5447
|
except AttributeError:
|
5439
5448
|
pass
|
5440
5449
|
try:
|
5441
|
-
wgpuRenderPassEncoderWriteTimestamp = _libraries['
|
5450
|
+
wgpuRenderPassEncoderWriteTimestamp = _libraries['webgpu'].wgpuRenderPassEncoderWriteTimestamp
|
5442
5451
|
wgpuRenderPassEncoderWriteTimestamp.restype = None
|
5443
5452
|
wgpuRenderPassEncoderWriteTimestamp.argtypes = [WGPURenderPassEncoder, WGPUQuerySet, uint32_t]
|
5444
5453
|
except AttributeError:
|
5445
5454
|
pass
|
5446
5455
|
try:
|
5447
|
-
wgpuRenderPassEncoderAddRef = _libraries['
|
5456
|
+
wgpuRenderPassEncoderAddRef = _libraries['webgpu'].wgpuRenderPassEncoderAddRef
|
5448
5457
|
wgpuRenderPassEncoderAddRef.restype = None
|
5449
5458
|
wgpuRenderPassEncoderAddRef.argtypes = [WGPURenderPassEncoder]
|
5450
5459
|
except AttributeError:
|
5451
5460
|
pass
|
5452
5461
|
try:
|
5453
|
-
wgpuRenderPassEncoderRelease = _libraries['
|
5462
|
+
wgpuRenderPassEncoderRelease = _libraries['webgpu'].wgpuRenderPassEncoderRelease
|
5454
5463
|
wgpuRenderPassEncoderRelease.restype = None
|
5455
5464
|
wgpuRenderPassEncoderRelease.argtypes = [WGPURenderPassEncoder]
|
5456
5465
|
except AttributeError:
|
5457
5466
|
pass
|
5458
5467
|
try:
|
5459
|
-
wgpuRenderPipelineGetBindGroupLayout = _libraries['
|
5468
|
+
wgpuRenderPipelineGetBindGroupLayout = _libraries['webgpu'].wgpuRenderPipelineGetBindGroupLayout
|
5460
5469
|
wgpuRenderPipelineGetBindGroupLayout.restype = WGPUBindGroupLayout
|
5461
5470
|
wgpuRenderPipelineGetBindGroupLayout.argtypes = [WGPURenderPipeline, uint32_t]
|
5462
5471
|
except AttributeError:
|
5463
5472
|
pass
|
5464
5473
|
try:
|
5465
|
-
wgpuRenderPipelineSetLabel = _libraries['
|
5474
|
+
wgpuRenderPipelineSetLabel = _libraries['webgpu'].wgpuRenderPipelineSetLabel
|
5466
5475
|
wgpuRenderPipelineSetLabel.restype = None
|
5467
5476
|
wgpuRenderPipelineSetLabel.argtypes = [WGPURenderPipeline, WGPUStringView]
|
5468
5477
|
except AttributeError:
|
5469
5478
|
pass
|
5470
5479
|
try:
|
5471
|
-
wgpuRenderPipelineAddRef = _libraries['
|
5480
|
+
wgpuRenderPipelineAddRef = _libraries['webgpu'].wgpuRenderPipelineAddRef
|
5472
5481
|
wgpuRenderPipelineAddRef.restype = None
|
5473
5482
|
wgpuRenderPipelineAddRef.argtypes = [WGPURenderPipeline]
|
5474
5483
|
except AttributeError:
|
5475
5484
|
pass
|
5476
5485
|
try:
|
5477
|
-
wgpuRenderPipelineRelease = _libraries['
|
5486
|
+
wgpuRenderPipelineRelease = _libraries['webgpu'].wgpuRenderPipelineRelease
|
5478
5487
|
wgpuRenderPipelineRelease.restype = None
|
5479
5488
|
wgpuRenderPipelineRelease.argtypes = [WGPURenderPipeline]
|
5480
5489
|
except AttributeError:
|
5481
5490
|
pass
|
5482
5491
|
try:
|
5483
|
-
wgpuSamplerSetLabel = _libraries['
|
5492
|
+
wgpuSamplerSetLabel = _libraries['webgpu'].wgpuSamplerSetLabel
|
5484
5493
|
wgpuSamplerSetLabel.restype = None
|
5485
5494
|
wgpuSamplerSetLabel.argtypes = [WGPUSampler, WGPUStringView]
|
5486
5495
|
except AttributeError:
|
5487
5496
|
pass
|
5488
5497
|
try:
|
5489
|
-
wgpuSamplerAddRef = _libraries['
|
5498
|
+
wgpuSamplerAddRef = _libraries['webgpu'].wgpuSamplerAddRef
|
5490
5499
|
wgpuSamplerAddRef.restype = None
|
5491
5500
|
wgpuSamplerAddRef.argtypes = [WGPUSampler]
|
5492
5501
|
except AttributeError:
|
5493
5502
|
pass
|
5494
5503
|
try:
|
5495
|
-
wgpuSamplerRelease = _libraries['
|
5504
|
+
wgpuSamplerRelease = _libraries['webgpu'].wgpuSamplerRelease
|
5496
5505
|
wgpuSamplerRelease.restype = None
|
5497
5506
|
wgpuSamplerRelease.argtypes = [WGPUSampler]
|
5498
5507
|
except AttributeError:
|
5499
5508
|
pass
|
5500
5509
|
try:
|
5501
|
-
wgpuShaderModuleGetCompilationInfo = _libraries['
|
5510
|
+
wgpuShaderModuleGetCompilationInfo = _libraries['webgpu'].wgpuShaderModuleGetCompilationInfo
|
5502
5511
|
wgpuShaderModuleGetCompilationInfo.restype = None
|
5503
5512
|
wgpuShaderModuleGetCompilationInfo.argtypes = [WGPUShaderModule, WGPUCompilationInfoCallback, ctypes.POINTER(None)]
|
5504
5513
|
except AttributeError:
|
5505
5514
|
pass
|
5506
5515
|
try:
|
5507
|
-
wgpuShaderModuleGetCompilationInfo2 = _libraries['
|
5516
|
+
wgpuShaderModuleGetCompilationInfo2 = _libraries['webgpu'].wgpuShaderModuleGetCompilationInfo2
|
5508
5517
|
wgpuShaderModuleGetCompilationInfo2.restype = WGPUFuture
|
5509
5518
|
wgpuShaderModuleGetCompilationInfo2.argtypes = [WGPUShaderModule, WGPUCompilationInfoCallbackInfo2]
|
5510
5519
|
except AttributeError:
|
5511
5520
|
pass
|
5512
5521
|
try:
|
5513
|
-
wgpuShaderModuleGetCompilationInfoF = _libraries['
|
5522
|
+
wgpuShaderModuleGetCompilationInfoF = _libraries['webgpu'].wgpuShaderModuleGetCompilationInfoF
|
5514
5523
|
wgpuShaderModuleGetCompilationInfoF.restype = WGPUFuture
|
5515
5524
|
wgpuShaderModuleGetCompilationInfoF.argtypes = [WGPUShaderModule, WGPUCompilationInfoCallbackInfo]
|
5516
5525
|
except AttributeError:
|
5517
5526
|
pass
|
5518
5527
|
try:
|
5519
|
-
wgpuShaderModuleSetLabel = _libraries['
|
5528
|
+
wgpuShaderModuleSetLabel = _libraries['webgpu'].wgpuShaderModuleSetLabel
|
5520
5529
|
wgpuShaderModuleSetLabel.restype = None
|
5521
5530
|
wgpuShaderModuleSetLabel.argtypes = [WGPUShaderModule, WGPUStringView]
|
5522
5531
|
except AttributeError:
|
5523
5532
|
pass
|
5524
5533
|
try:
|
5525
|
-
wgpuShaderModuleAddRef = _libraries['
|
5534
|
+
wgpuShaderModuleAddRef = _libraries['webgpu'].wgpuShaderModuleAddRef
|
5526
5535
|
wgpuShaderModuleAddRef.restype = None
|
5527
5536
|
wgpuShaderModuleAddRef.argtypes = [WGPUShaderModule]
|
5528
5537
|
except AttributeError:
|
5529
5538
|
pass
|
5530
5539
|
try:
|
5531
|
-
wgpuShaderModuleRelease = _libraries['
|
5540
|
+
wgpuShaderModuleRelease = _libraries['webgpu'].wgpuShaderModuleRelease
|
5532
5541
|
wgpuShaderModuleRelease.restype = None
|
5533
5542
|
wgpuShaderModuleRelease.argtypes = [WGPUShaderModule]
|
5534
5543
|
except AttributeError:
|
5535
5544
|
pass
|
5536
5545
|
try:
|
5537
|
-
wgpuSharedBufferMemoryBeginAccess = _libraries['
|
5546
|
+
wgpuSharedBufferMemoryBeginAccess = _libraries['webgpu'].wgpuSharedBufferMemoryBeginAccess
|
5538
5547
|
wgpuSharedBufferMemoryBeginAccess.restype = WGPUStatus
|
5539
5548
|
wgpuSharedBufferMemoryBeginAccess.argtypes = [WGPUSharedBufferMemory, WGPUBuffer, ctypes.POINTER(struct_WGPUSharedBufferMemoryBeginAccessDescriptor)]
|
5540
5549
|
except AttributeError:
|
5541
5550
|
pass
|
5542
5551
|
try:
|
5543
|
-
wgpuSharedBufferMemoryCreateBuffer = _libraries['
|
5552
|
+
wgpuSharedBufferMemoryCreateBuffer = _libraries['webgpu'].wgpuSharedBufferMemoryCreateBuffer
|
5544
5553
|
wgpuSharedBufferMemoryCreateBuffer.restype = WGPUBuffer
|
5545
5554
|
wgpuSharedBufferMemoryCreateBuffer.argtypes = [WGPUSharedBufferMemory, ctypes.POINTER(struct_WGPUBufferDescriptor)]
|
5546
5555
|
except AttributeError:
|
5547
5556
|
pass
|
5548
5557
|
try:
|
5549
|
-
wgpuSharedBufferMemoryEndAccess = _libraries['
|
5558
|
+
wgpuSharedBufferMemoryEndAccess = _libraries['webgpu'].wgpuSharedBufferMemoryEndAccess
|
5550
5559
|
wgpuSharedBufferMemoryEndAccess.restype = WGPUStatus
|
5551
5560
|
wgpuSharedBufferMemoryEndAccess.argtypes = [WGPUSharedBufferMemory, WGPUBuffer, ctypes.POINTER(struct_WGPUSharedBufferMemoryEndAccessState)]
|
5552
5561
|
except AttributeError:
|
5553
5562
|
pass
|
5554
5563
|
try:
|
5555
|
-
wgpuSharedBufferMemoryGetProperties = _libraries['
|
5564
|
+
wgpuSharedBufferMemoryGetProperties = _libraries['webgpu'].wgpuSharedBufferMemoryGetProperties
|
5556
5565
|
wgpuSharedBufferMemoryGetProperties.restype = WGPUStatus
|
5557
5566
|
wgpuSharedBufferMemoryGetProperties.argtypes = [WGPUSharedBufferMemory, ctypes.POINTER(struct_WGPUSharedBufferMemoryProperties)]
|
5558
5567
|
except AttributeError:
|
5559
5568
|
pass
|
5560
5569
|
try:
|
5561
|
-
wgpuSharedBufferMemoryIsDeviceLost = _libraries['
|
5570
|
+
wgpuSharedBufferMemoryIsDeviceLost = _libraries['webgpu'].wgpuSharedBufferMemoryIsDeviceLost
|
5562
5571
|
wgpuSharedBufferMemoryIsDeviceLost.restype = WGPUBool
|
5563
5572
|
wgpuSharedBufferMemoryIsDeviceLost.argtypes = [WGPUSharedBufferMemory]
|
5564
5573
|
except AttributeError:
|
5565
5574
|
pass
|
5566
5575
|
try:
|
5567
|
-
wgpuSharedBufferMemorySetLabel = _libraries['
|
5576
|
+
wgpuSharedBufferMemorySetLabel = _libraries['webgpu'].wgpuSharedBufferMemorySetLabel
|
5568
5577
|
wgpuSharedBufferMemorySetLabel.restype = None
|
5569
5578
|
wgpuSharedBufferMemorySetLabel.argtypes = [WGPUSharedBufferMemory, WGPUStringView]
|
5570
5579
|
except AttributeError:
|
5571
5580
|
pass
|
5572
5581
|
try:
|
5573
|
-
wgpuSharedBufferMemoryAddRef = _libraries['
|
5582
|
+
wgpuSharedBufferMemoryAddRef = _libraries['webgpu'].wgpuSharedBufferMemoryAddRef
|
5574
5583
|
wgpuSharedBufferMemoryAddRef.restype = None
|
5575
5584
|
wgpuSharedBufferMemoryAddRef.argtypes = [WGPUSharedBufferMemory]
|
5576
5585
|
except AttributeError:
|
5577
5586
|
pass
|
5578
5587
|
try:
|
5579
|
-
wgpuSharedBufferMemoryRelease = _libraries['
|
5588
|
+
wgpuSharedBufferMemoryRelease = _libraries['webgpu'].wgpuSharedBufferMemoryRelease
|
5580
5589
|
wgpuSharedBufferMemoryRelease.restype = None
|
5581
5590
|
wgpuSharedBufferMemoryRelease.argtypes = [WGPUSharedBufferMemory]
|
5582
5591
|
except AttributeError:
|
5583
5592
|
pass
|
5584
5593
|
try:
|
5585
|
-
wgpuSharedFenceExportInfo = _libraries['
|
5594
|
+
wgpuSharedFenceExportInfo = _libraries['webgpu'].wgpuSharedFenceExportInfo
|
5586
5595
|
wgpuSharedFenceExportInfo.restype = None
|
5587
5596
|
wgpuSharedFenceExportInfo.argtypes = [WGPUSharedFence, ctypes.POINTER(struct_WGPUSharedFenceExportInfo)]
|
5588
5597
|
except AttributeError:
|
5589
5598
|
pass
|
5590
5599
|
try:
|
5591
|
-
wgpuSharedFenceAddRef = _libraries['
|
5600
|
+
wgpuSharedFenceAddRef = _libraries['webgpu'].wgpuSharedFenceAddRef
|
5592
5601
|
wgpuSharedFenceAddRef.restype = None
|
5593
5602
|
wgpuSharedFenceAddRef.argtypes = [WGPUSharedFence]
|
5594
5603
|
except AttributeError:
|
5595
5604
|
pass
|
5596
5605
|
try:
|
5597
|
-
wgpuSharedFenceRelease = _libraries['
|
5606
|
+
wgpuSharedFenceRelease = _libraries['webgpu'].wgpuSharedFenceRelease
|
5598
5607
|
wgpuSharedFenceRelease.restype = None
|
5599
5608
|
wgpuSharedFenceRelease.argtypes = [WGPUSharedFence]
|
5600
5609
|
except AttributeError:
|
5601
5610
|
pass
|
5602
5611
|
try:
|
5603
|
-
wgpuSharedTextureMemoryBeginAccess = _libraries['
|
5612
|
+
wgpuSharedTextureMemoryBeginAccess = _libraries['webgpu'].wgpuSharedTextureMemoryBeginAccess
|
5604
5613
|
wgpuSharedTextureMemoryBeginAccess.restype = WGPUStatus
|
5605
5614
|
wgpuSharedTextureMemoryBeginAccess.argtypes = [WGPUSharedTextureMemory, WGPUTexture, ctypes.POINTER(struct_WGPUSharedTextureMemoryBeginAccessDescriptor)]
|
5606
5615
|
except AttributeError:
|
5607
5616
|
pass
|
5608
5617
|
try:
|
5609
|
-
wgpuSharedTextureMemoryCreateTexture = _libraries['
|
5618
|
+
wgpuSharedTextureMemoryCreateTexture = _libraries['webgpu'].wgpuSharedTextureMemoryCreateTexture
|
5610
5619
|
wgpuSharedTextureMemoryCreateTexture.restype = WGPUTexture
|
5611
5620
|
wgpuSharedTextureMemoryCreateTexture.argtypes = [WGPUSharedTextureMemory, ctypes.POINTER(struct_WGPUTextureDescriptor)]
|
5612
5621
|
except AttributeError:
|
5613
5622
|
pass
|
5614
5623
|
try:
|
5615
|
-
wgpuSharedTextureMemoryEndAccess = _libraries['
|
5624
|
+
wgpuSharedTextureMemoryEndAccess = _libraries['webgpu'].wgpuSharedTextureMemoryEndAccess
|
5616
5625
|
wgpuSharedTextureMemoryEndAccess.restype = WGPUStatus
|
5617
5626
|
wgpuSharedTextureMemoryEndAccess.argtypes = [WGPUSharedTextureMemory, WGPUTexture, ctypes.POINTER(struct_WGPUSharedTextureMemoryEndAccessState)]
|
5618
5627
|
except AttributeError:
|
5619
5628
|
pass
|
5620
5629
|
try:
|
5621
|
-
wgpuSharedTextureMemoryGetProperties = _libraries['
|
5630
|
+
wgpuSharedTextureMemoryGetProperties = _libraries['webgpu'].wgpuSharedTextureMemoryGetProperties
|
5622
5631
|
wgpuSharedTextureMemoryGetProperties.restype = WGPUStatus
|
5623
5632
|
wgpuSharedTextureMemoryGetProperties.argtypes = [WGPUSharedTextureMemory, ctypes.POINTER(struct_WGPUSharedTextureMemoryProperties)]
|
5624
5633
|
except AttributeError:
|
5625
5634
|
pass
|
5626
5635
|
try:
|
5627
|
-
wgpuSharedTextureMemoryIsDeviceLost = _libraries['
|
5636
|
+
wgpuSharedTextureMemoryIsDeviceLost = _libraries['webgpu'].wgpuSharedTextureMemoryIsDeviceLost
|
5628
5637
|
wgpuSharedTextureMemoryIsDeviceLost.restype = WGPUBool
|
5629
5638
|
wgpuSharedTextureMemoryIsDeviceLost.argtypes = [WGPUSharedTextureMemory]
|
5630
5639
|
except AttributeError:
|
5631
5640
|
pass
|
5632
5641
|
try:
|
5633
|
-
wgpuSharedTextureMemorySetLabel = _libraries['
|
5642
|
+
wgpuSharedTextureMemorySetLabel = _libraries['webgpu'].wgpuSharedTextureMemorySetLabel
|
5634
5643
|
wgpuSharedTextureMemorySetLabel.restype = None
|
5635
5644
|
wgpuSharedTextureMemorySetLabel.argtypes = [WGPUSharedTextureMemory, WGPUStringView]
|
5636
5645
|
except AttributeError:
|
5637
5646
|
pass
|
5638
5647
|
try:
|
5639
|
-
wgpuSharedTextureMemoryAddRef = _libraries['
|
5648
|
+
wgpuSharedTextureMemoryAddRef = _libraries['webgpu'].wgpuSharedTextureMemoryAddRef
|
5640
5649
|
wgpuSharedTextureMemoryAddRef.restype = None
|
5641
5650
|
wgpuSharedTextureMemoryAddRef.argtypes = [WGPUSharedTextureMemory]
|
5642
5651
|
except AttributeError:
|
5643
5652
|
pass
|
5644
5653
|
try:
|
5645
|
-
wgpuSharedTextureMemoryRelease = _libraries['
|
5654
|
+
wgpuSharedTextureMemoryRelease = _libraries['webgpu'].wgpuSharedTextureMemoryRelease
|
5646
5655
|
wgpuSharedTextureMemoryRelease.restype = None
|
5647
5656
|
wgpuSharedTextureMemoryRelease.argtypes = [WGPUSharedTextureMemory]
|
5648
5657
|
except AttributeError:
|
5649
5658
|
pass
|
5650
5659
|
try:
|
5651
|
-
wgpuSurfaceConfigure = _libraries['
|
5660
|
+
wgpuSurfaceConfigure = _libraries['webgpu'].wgpuSurfaceConfigure
|
5652
5661
|
wgpuSurfaceConfigure.restype = None
|
5653
5662
|
wgpuSurfaceConfigure.argtypes = [WGPUSurface, ctypes.POINTER(struct_WGPUSurfaceConfiguration)]
|
5654
5663
|
except AttributeError:
|
5655
5664
|
pass
|
5656
5665
|
try:
|
5657
|
-
wgpuSurfaceGetCapabilities = _libraries['
|
5666
|
+
wgpuSurfaceGetCapabilities = _libraries['webgpu'].wgpuSurfaceGetCapabilities
|
5658
5667
|
wgpuSurfaceGetCapabilities.restype = WGPUStatus
|
5659
5668
|
wgpuSurfaceGetCapabilities.argtypes = [WGPUSurface, WGPUAdapter, ctypes.POINTER(struct_WGPUSurfaceCapabilities)]
|
5660
5669
|
except AttributeError:
|
5661
5670
|
pass
|
5662
5671
|
try:
|
5663
|
-
wgpuSurfaceGetCurrentTexture = _libraries['
|
5672
|
+
wgpuSurfaceGetCurrentTexture = _libraries['webgpu'].wgpuSurfaceGetCurrentTexture
|
5664
5673
|
wgpuSurfaceGetCurrentTexture.restype = None
|
5665
5674
|
wgpuSurfaceGetCurrentTexture.argtypes = [WGPUSurface, ctypes.POINTER(struct_WGPUSurfaceTexture)]
|
5666
5675
|
except AttributeError:
|
5667
5676
|
pass
|
5668
5677
|
try:
|
5669
|
-
wgpuSurfacePresent = _libraries['
|
5678
|
+
wgpuSurfacePresent = _libraries['webgpu'].wgpuSurfacePresent
|
5670
5679
|
wgpuSurfacePresent.restype = None
|
5671
5680
|
wgpuSurfacePresent.argtypes = [WGPUSurface]
|
5672
5681
|
except AttributeError:
|
5673
5682
|
pass
|
5674
5683
|
try:
|
5675
|
-
wgpuSurfaceSetLabel = _libraries['
|
5684
|
+
wgpuSurfaceSetLabel = _libraries['webgpu'].wgpuSurfaceSetLabel
|
5676
5685
|
wgpuSurfaceSetLabel.restype = None
|
5677
5686
|
wgpuSurfaceSetLabel.argtypes = [WGPUSurface, WGPUStringView]
|
5678
5687
|
except AttributeError:
|
5679
5688
|
pass
|
5680
5689
|
try:
|
5681
|
-
wgpuSurfaceUnconfigure = _libraries['
|
5690
|
+
wgpuSurfaceUnconfigure = _libraries['webgpu'].wgpuSurfaceUnconfigure
|
5682
5691
|
wgpuSurfaceUnconfigure.restype = None
|
5683
5692
|
wgpuSurfaceUnconfigure.argtypes = [WGPUSurface]
|
5684
5693
|
except AttributeError:
|
5685
5694
|
pass
|
5686
5695
|
try:
|
5687
|
-
wgpuSurfaceAddRef = _libraries['
|
5696
|
+
wgpuSurfaceAddRef = _libraries['webgpu'].wgpuSurfaceAddRef
|
5688
5697
|
wgpuSurfaceAddRef.restype = None
|
5689
5698
|
wgpuSurfaceAddRef.argtypes = [WGPUSurface]
|
5690
5699
|
except AttributeError:
|
5691
5700
|
pass
|
5692
5701
|
try:
|
5693
|
-
wgpuSurfaceRelease = _libraries['
|
5702
|
+
wgpuSurfaceRelease = _libraries['webgpu'].wgpuSurfaceRelease
|
5694
5703
|
wgpuSurfaceRelease.restype = None
|
5695
5704
|
wgpuSurfaceRelease.argtypes = [WGPUSurface]
|
5696
5705
|
except AttributeError:
|
5697
5706
|
pass
|
5698
5707
|
try:
|
5699
|
-
wgpuTextureCreateErrorView = _libraries['
|
5708
|
+
wgpuTextureCreateErrorView = _libraries['webgpu'].wgpuTextureCreateErrorView
|
5700
5709
|
wgpuTextureCreateErrorView.restype = WGPUTextureView
|
5701
5710
|
wgpuTextureCreateErrorView.argtypes = [WGPUTexture, ctypes.POINTER(struct_WGPUTextureViewDescriptor)]
|
5702
5711
|
except AttributeError:
|
5703
5712
|
pass
|
5704
5713
|
try:
|
5705
|
-
wgpuTextureCreateView = _libraries['
|
5714
|
+
wgpuTextureCreateView = _libraries['webgpu'].wgpuTextureCreateView
|
5706
5715
|
wgpuTextureCreateView.restype = WGPUTextureView
|
5707
5716
|
wgpuTextureCreateView.argtypes = [WGPUTexture, ctypes.POINTER(struct_WGPUTextureViewDescriptor)]
|
5708
5717
|
except AttributeError:
|
5709
5718
|
pass
|
5710
5719
|
try:
|
5711
|
-
wgpuTextureDestroy = _libraries['
|
5720
|
+
wgpuTextureDestroy = _libraries['webgpu'].wgpuTextureDestroy
|
5712
5721
|
wgpuTextureDestroy.restype = None
|
5713
5722
|
wgpuTextureDestroy.argtypes = [WGPUTexture]
|
5714
5723
|
except AttributeError:
|
5715
5724
|
pass
|
5716
5725
|
try:
|
5717
|
-
wgpuTextureGetDepthOrArrayLayers = _libraries['
|
5726
|
+
wgpuTextureGetDepthOrArrayLayers = _libraries['webgpu'].wgpuTextureGetDepthOrArrayLayers
|
5718
5727
|
wgpuTextureGetDepthOrArrayLayers.restype = uint32_t
|
5719
5728
|
wgpuTextureGetDepthOrArrayLayers.argtypes = [WGPUTexture]
|
5720
5729
|
except AttributeError:
|
5721
5730
|
pass
|
5722
5731
|
try:
|
5723
|
-
wgpuTextureGetDimension = _libraries['
|
5732
|
+
wgpuTextureGetDimension = _libraries['webgpu'].wgpuTextureGetDimension
|
5724
5733
|
wgpuTextureGetDimension.restype = WGPUTextureDimension
|
5725
5734
|
wgpuTextureGetDimension.argtypes = [WGPUTexture]
|
5726
5735
|
except AttributeError:
|
5727
5736
|
pass
|
5728
5737
|
try:
|
5729
|
-
wgpuTextureGetFormat = _libraries['
|
5738
|
+
wgpuTextureGetFormat = _libraries['webgpu'].wgpuTextureGetFormat
|
5730
5739
|
wgpuTextureGetFormat.restype = WGPUTextureFormat
|
5731
5740
|
wgpuTextureGetFormat.argtypes = [WGPUTexture]
|
5732
5741
|
except AttributeError:
|
5733
5742
|
pass
|
5734
5743
|
try:
|
5735
|
-
wgpuTextureGetHeight = _libraries['
|
5744
|
+
wgpuTextureGetHeight = _libraries['webgpu'].wgpuTextureGetHeight
|
5736
5745
|
wgpuTextureGetHeight.restype = uint32_t
|
5737
5746
|
wgpuTextureGetHeight.argtypes = [WGPUTexture]
|
5738
5747
|
except AttributeError:
|
5739
5748
|
pass
|
5740
5749
|
try:
|
5741
|
-
wgpuTextureGetMipLevelCount = _libraries['
|
5750
|
+
wgpuTextureGetMipLevelCount = _libraries['webgpu'].wgpuTextureGetMipLevelCount
|
5742
5751
|
wgpuTextureGetMipLevelCount.restype = uint32_t
|
5743
5752
|
wgpuTextureGetMipLevelCount.argtypes = [WGPUTexture]
|
5744
5753
|
except AttributeError:
|
5745
5754
|
pass
|
5746
5755
|
try:
|
5747
|
-
wgpuTextureGetSampleCount = _libraries['
|
5756
|
+
wgpuTextureGetSampleCount = _libraries['webgpu'].wgpuTextureGetSampleCount
|
5748
5757
|
wgpuTextureGetSampleCount.restype = uint32_t
|
5749
5758
|
wgpuTextureGetSampleCount.argtypes = [WGPUTexture]
|
5750
5759
|
except AttributeError:
|
5751
5760
|
pass
|
5752
5761
|
try:
|
5753
|
-
wgpuTextureGetUsage = _libraries['
|
5762
|
+
wgpuTextureGetUsage = _libraries['webgpu'].wgpuTextureGetUsage
|
5754
5763
|
wgpuTextureGetUsage.restype = WGPUTextureUsage
|
5755
5764
|
wgpuTextureGetUsage.argtypes = [WGPUTexture]
|
5756
5765
|
except AttributeError:
|
5757
5766
|
pass
|
5758
5767
|
try:
|
5759
|
-
wgpuTextureGetWidth = _libraries['
|
5768
|
+
wgpuTextureGetWidth = _libraries['webgpu'].wgpuTextureGetWidth
|
5760
5769
|
wgpuTextureGetWidth.restype = uint32_t
|
5761
5770
|
wgpuTextureGetWidth.argtypes = [WGPUTexture]
|
5762
5771
|
except AttributeError:
|
5763
5772
|
pass
|
5764
5773
|
try:
|
5765
|
-
wgpuTextureSetLabel = _libraries['
|
5774
|
+
wgpuTextureSetLabel = _libraries['webgpu'].wgpuTextureSetLabel
|
5766
5775
|
wgpuTextureSetLabel.restype = None
|
5767
5776
|
wgpuTextureSetLabel.argtypes = [WGPUTexture, WGPUStringView]
|
5768
5777
|
except AttributeError:
|
5769
5778
|
pass
|
5770
5779
|
try:
|
5771
|
-
wgpuTextureAddRef = _libraries['
|
5780
|
+
wgpuTextureAddRef = _libraries['webgpu'].wgpuTextureAddRef
|
5772
5781
|
wgpuTextureAddRef.restype = None
|
5773
5782
|
wgpuTextureAddRef.argtypes = [WGPUTexture]
|
5774
5783
|
except AttributeError:
|
5775
5784
|
pass
|
5776
5785
|
try:
|
5777
|
-
wgpuTextureRelease = _libraries['
|
5786
|
+
wgpuTextureRelease = _libraries['webgpu'].wgpuTextureRelease
|
5778
5787
|
wgpuTextureRelease.restype = None
|
5779
5788
|
wgpuTextureRelease.argtypes = [WGPUTexture]
|
5780
5789
|
except AttributeError:
|
5781
5790
|
pass
|
5782
5791
|
try:
|
5783
|
-
wgpuTextureViewSetLabel = _libraries['
|
5792
|
+
wgpuTextureViewSetLabel = _libraries['webgpu'].wgpuTextureViewSetLabel
|
5784
5793
|
wgpuTextureViewSetLabel.restype = None
|
5785
5794
|
wgpuTextureViewSetLabel.argtypes = [WGPUTextureView, WGPUStringView]
|
5786
5795
|
except AttributeError:
|
5787
5796
|
pass
|
5788
5797
|
try:
|
5789
|
-
wgpuTextureViewAddRef = _libraries['
|
5798
|
+
wgpuTextureViewAddRef = _libraries['webgpu'].wgpuTextureViewAddRef
|
5790
5799
|
wgpuTextureViewAddRef.restype = None
|
5791
5800
|
wgpuTextureViewAddRef.argtypes = [WGPUTextureView]
|
5792
5801
|
except AttributeError:
|
5793
5802
|
pass
|
5794
5803
|
try:
|
5795
|
-
wgpuTextureViewRelease = _libraries['
|
5804
|
+
wgpuTextureViewRelease = _libraries['webgpu'].wgpuTextureViewRelease
|
5796
5805
|
wgpuTextureViewRelease.restype = None
|
5797
5806
|
wgpuTextureViewRelease.argtypes = [WGPUTextureView]
|
5798
5807
|
except AttributeError:
|