@vcad/mcp 0.9.4-main.84 → 0.10.0-main.85

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.
package/index.mjs CHANGED
@@ -2428,7 +2428,7 @@ function op_shell(solid, thickness) {
2428
2428
  function op_sweep_helix(profile_json, radius, pitch, height, turns, twist_angle, scale_start, scale_end, path_segments, arc_segments, orientation) {
2429
2429
  const ptr0 = passStringToWasm0(profile_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2430
2430
  const len0 = WASM_VECTOR_LEN;
2431
- const ret = wasm.op_sweep_helix(ptr0, len0, radius, pitch, height, turns, !isLikeNone(twist_angle), isLikeNone(twist_angle) ? 0 : twist_angle, !isLikeNone(scale_start), isLikeNone(scale_start) ? 0 : scale_start, !isLikeNone(scale_end), isLikeNone(scale_end) ? 0 : scale_end, isLikeNone(path_segments) ? 4294967297 : path_segments >>> 0, isLikeNone(arc_segments) ? 4294967297 : arc_segments >>> 0, !isLikeNone(orientation), isLikeNone(orientation) ? 0 : orientation);
2431
+ const ret = wasm.op_sweep_helix(ptr0, len0, radius, pitch, height, turns, !isLikeNone(twist_angle), isLikeNone(twist_angle) ? 0 : twist_angle, !isLikeNone(scale_start), isLikeNone(scale_start) ? 0 : scale_start, !isLikeNone(scale_end), isLikeNone(scale_end) ? 0 : scale_end, isLikeNone(path_segments) ? Number.MAX_SAFE_INTEGER : path_segments >>> 0, isLikeNone(arc_segments) ? Number.MAX_SAFE_INTEGER : arc_segments >>> 0, !isLikeNone(orientation), isLikeNone(orientation) ? 0 : orientation);
2432
2432
  if (ret[2]) {
2433
2433
  throw takeFromExternrefTable0(ret[1]);
2434
2434
  }
@@ -3224,7 +3224,7 @@ function sliceMeshWithProgress(vertices, indices, settings, progress_cb) {
3224
3224
  function sliceSolid(solid, settings, segments) {
3225
3225
  _assertClass(solid, Solid);
3226
3226
  _assertClass(settings, SlicerSettings);
3227
- const ret = wasm.sliceSolid(solid.__wbg_ptr, settings.__wbg_ptr, isLikeNone(segments) ? 4294967297 : segments >>> 0);
3227
+ const ret = wasm.sliceSolid(solid.__wbg_ptr, settings.__wbg_ptr, isLikeNone(segments) ? Number.MAX_SAFE_INTEGER : segments >>> 0);
3228
3228
  if (ret[2]) {
3229
3229
  throw takeFromExternrefTable0(ret[1]);
3230
3230
  }
@@ -3410,7 +3410,7 @@ function urdfCommentedFloatingJoint(data) {
3410
3410
  const ret = wasm.urdfCommentedFloatingJoint(ptr0, len0);
3411
3411
  let v2;
3412
3412
  if (ret[0] !== 0) {
3413
- v2 = getStringFromWasm0(ret[0], ret[1]).slice();
3413
+ v2 = getStringFromWasm0(ret[0], ret[1]);
3414
3414
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
3415
3415
  }
3416
3416
  return v2;
@@ -3440,95 +3440,95 @@ function writeEmbroideryPes(json) {
3440
3440
  function __wbg_get_imports() {
3441
3441
  const import0 = {
3442
3442
  __proto__: null,
3443
- __wbg_Error_8c4e43fe74559d73: function(arg0, arg1) {
3443
+ __wbg_Error_67e7344beaa85059: function(arg0, arg1) {
3444
3444
  const ret = Error(getStringFromWasm0(arg0, arg1));
3445
3445
  return ret;
3446
3446
  },
3447
- __wbg_Number_04624de7d0e8332d: function(arg0) {
3447
+ __wbg_Number_c54e7112a3fa7e3e: function(arg0) {
3448
3448
  const ret = Number(arg0);
3449
3449
  return ret;
3450
3450
  },
3451
- __wbg_String_8f0eb39a4a4c2f66: function(arg0, arg1) {
3451
+ __wbg_String_8564e559799eccda: function(arg0, arg1) {
3452
3452
  const ret = String(arg1);
3453
3453
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3454
3454
  const len1 = WASM_VECTOR_LEN;
3455
3455
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3456
3456
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3457
3457
  },
3458
- __wbg_Window_cf5b693340a7c469: function(arg0) {
3458
+ __wbg_Window_a2a6c4d665047b14: function(arg0) {
3459
3459
  const ret = arg0.Window;
3460
3460
  return ret;
3461
3461
  },
3462
- __wbg_WorkerGlobalScope_354364d1b0bd06e5: function(arg0) {
3462
+ __wbg_WorkerGlobalScope_2664448a7c667d67: function(arg0) {
3463
3463
  const ret = arg0.WorkerGlobalScope;
3464
3464
  return ret;
3465
3465
  },
3466
- __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: function(arg0, arg1) {
3466
+ __wbg___wbindgen_bigint_get_as_i64_b482365c149396c8: function(arg0, arg1) {
3467
3467
  const v = arg1;
3468
3468
  const ret = typeof v === "bigint" ? v : void 0;
3469
3469
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
3470
3470
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
3471
3471
  },
3472
- __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: function(arg0) {
3472
+ __wbg___wbindgen_boolean_get_7a12af2b3f899c5a: function(arg0) {
3473
3473
  const v = arg0;
3474
3474
  const ret = typeof v === "boolean" ? v : void 0;
3475
3475
  return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
3476
3476
  },
3477
- __wbg___wbindgen_debug_string_0bc8482c6e3508ae: function(arg0, arg1) {
3477
+ __wbg___wbindgen_debug_string_0e68cf47c9cbd9b0: function(arg0, arg1) {
3478
3478
  const ret = debugString(arg1);
3479
3479
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3480
3480
  const len1 = WASM_VECTOR_LEN;
3481
3481
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3482
3482
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3483
3483
  },
3484
- __wbg___wbindgen_in_47fa6863be6f2f25: function(arg0, arg1) {
3484
+ __wbg___wbindgen_in_50072d4d6e45c193: function(arg0, arg1) {
3485
3485
  const ret = arg0 in arg1;
3486
3486
  return ret;
3487
3487
  },
3488
- __wbg___wbindgen_is_bigint_31b12575b56f32fc: function(arg0) {
3488
+ __wbg___wbindgen_is_bigint_60fc0336cb14f5d7: function(arg0) {
3489
3489
  const ret = typeof arg0 === "bigint";
3490
3490
  return ret;
3491
3491
  },
3492
- __wbg___wbindgen_is_function_0095a73b8b156f76: function(arg0) {
3492
+ __wbg___wbindgen_is_function_fcda5e3902d732fe: function(arg0) {
3493
3493
  const ret = typeof arg0 === "function";
3494
3494
  return ret;
3495
3495
  },
3496
- __wbg___wbindgen_is_null_ac34f5003991759a: function(arg0) {
3496
+ __wbg___wbindgen_is_null_5160b3e381865372: function(arg0) {
3497
3497
  const ret = arg0 === null;
3498
3498
  return ret;
3499
3499
  },
3500
- __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: function(arg0) {
3500
+ __wbg___wbindgen_is_object_edb6b15aa3afe12e: function(arg0) {
3501
3501
  const val = arg0;
3502
3502
  const ret = typeof val === "object" && val !== null;
3503
3503
  return ret;
3504
3504
  },
3505
- __wbg___wbindgen_is_string_cd444516edc5b180: function(arg0) {
3505
+ __wbg___wbindgen_is_string_c4f7cb494a2a21f1: function(arg0) {
3506
3506
  const ret = typeof arg0 === "string";
3507
3507
  return ret;
3508
3508
  },
3509
- __wbg___wbindgen_is_undefined_9e4d92534c42d778: function(arg0) {
3509
+ __wbg___wbindgen_is_undefined_8c687d0b90d5b524: function(arg0) {
3510
3510
  const ret = arg0 === void 0;
3511
3511
  return ret;
3512
3512
  },
3513
- __wbg___wbindgen_jsval_eq_11888390b0186270: function(arg0, arg1) {
3513
+ __wbg___wbindgen_jsval_eq_9fdcd3c0a860dd3b: function(arg0, arg1) {
3514
3514
  const ret = arg0 === arg1;
3515
3515
  return ret;
3516
3516
  },
3517
- __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: function(arg0, arg1) {
3517
+ __wbg___wbindgen_jsval_loose_eq_3c30021c243b64cd: function(arg0, arg1) {
3518
3518
  const ret = arg0 == arg1;
3519
3519
  return ret;
3520
3520
  },
3521
- __wbg___wbindgen_module_f6b8052d79c1cc16: function() {
3521
+ __wbg___wbindgen_module_c2aeeb3b14bad631: function() {
3522
3522
  const ret = wasmModule;
3523
3523
  return ret;
3524
3524
  },
3525
- __wbg___wbindgen_number_get_8ff4255516ccad3e: function(arg0, arg1) {
3525
+ __wbg___wbindgen_number_get_1dc732b810cb937c: function(arg0, arg1) {
3526
3526
  const obj = arg1;
3527
3527
  const ret = typeof obj === "number" ? obj : void 0;
3528
3528
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
3529
3529
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
3530
3530
  },
3531
- __wbg___wbindgen_string_get_72fb696202c56729: function(arg0, arg1) {
3531
+ __wbg___wbindgen_string_get_92ab86bb19cbc12f: function(arg0, arg1) {
3532
3532
  const obj = arg1;
3533
3533
  const ret = typeof obj === "string" ? obj : void 0;
3534
3534
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -3536,544 +3536,491 @@ function __wbg_get_imports() {
3536
3536
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3537
3537
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3538
3538
  },
3539
- __wbg___wbindgen_throw_be289d5034ed271b: function(arg0, arg1) {
3539
+ __wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
3540
3540
  throw new Error(getStringFromWasm0(arg0, arg1));
3541
3541
  },
3542
- __wbg__wbg_cb_unref_d9b87ff7982e3b21: function(arg0) {
3542
+ __wbg__wbg_cb_unref_997e73d32238e655: function(arg0) {
3543
3543
  arg0._wbg_cb_unref();
3544
3544
  },
3545
- __wbg_activeTexture_6f9a710514686c24: function(arg0, arg1) {
3545
+ __wbg_activeTexture_79f1f4662ee9ed93: function(arg0, arg1) {
3546
3546
  arg0.activeTexture(arg1 >>> 0);
3547
3547
  },
3548
- __wbg_activeTexture_7e39cb8fdf4b6d5a: function(arg0, arg1) {
3548
+ __wbg_activeTexture_e6dac82eb23d9409: function(arg0, arg1) {
3549
3549
  arg0.activeTexture(arg1 >>> 0);
3550
3550
  },
3551
- __wbg_attachShader_32114efcf2744eb6: function(arg0, arg1, arg2) {
3551
+ __wbg_attachShader_74ecf95efc73ee58: function(arg0, arg1, arg2) {
3552
3552
  arg0.attachShader(arg1, arg2);
3553
3553
  },
3554
- __wbg_attachShader_b36058e5c9eeaf54: function(arg0, arg1, arg2) {
3554
+ __wbg_attachShader_bfb57af27e3c4a25: function(arg0, arg1, arg2) {
3555
3555
  arg0.attachShader(arg1, arg2);
3556
3556
  },
3557
- __wbg_beginComputePass_90d5303e604970cb: function(arg0, arg1) {
3557
+ __wbg_beginComputePass_b9a325184985e6ff: function(arg0, arg1) {
3558
3558
  const ret = arg0.beginComputePass(arg1);
3559
3559
  return ret;
3560
3560
  },
3561
- __wbg_beginQuery_0fdf154e1da0e73d: function(arg0, arg1, arg2) {
3561
+ __wbg_beginQuery_8c123fa7e7aec2a4: function(arg0, arg1, arg2) {
3562
3562
  arg0.beginQuery(arg1 >>> 0, arg2);
3563
3563
  },
3564
- __wbg_beginRenderPass_9739520c601001c3: function(arg0, arg1) {
3565
- const ret = arg0.beginRenderPass(arg1);
3566
- return ret;
3567
- },
3568
- __wbg_bindAttribLocation_5cfc7fa688df5051: function(arg0, arg1, arg2, arg3, arg4) {
3564
+ __wbg_bindAttribLocation_601c8f14be6021f1: function(arg0, arg1, arg2, arg3, arg4) {
3569
3565
  arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
3570
3566
  },
3571
- __wbg_bindAttribLocation_ce78bfb13019dbe6: function(arg0, arg1, arg2, arg3, arg4) {
3567
+ __wbg_bindAttribLocation_f97028966e63a9a0: function(arg0, arg1, arg2, arg3, arg4) {
3572
3568
  arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
3573
3569
  },
3574
- __wbg_bindBufferRange_009d206fe9e4151e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3570
+ __wbg_bindBufferRange_34928ebaef37fa71: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3575
3571
  arg0.bindBufferRange(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
3576
3572
  },
3577
- __wbg_bindBuffer_69a7a0b8f3f9b9cf: function(arg0, arg1, arg2) {
3573
+ __wbg_bindBuffer_24fab2b14c509d6f: function(arg0, arg1, arg2) {
3578
3574
  arg0.bindBuffer(arg1 >>> 0, arg2);
3579
3575
  },
3580
- __wbg_bindBuffer_c9068e8712a034f5: function(arg0, arg1, arg2) {
3576
+ __wbg_bindBuffer_f1f33e087b91687c: function(arg0, arg1, arg2) {
3581
3577
  arg0.bindBuffer(arg1 >>> 0, arg2);
3582
3578
  },
3583
- __wbg_bindFramebuffer_031c73ba501cb8f6: function(arg0, arg1, arg2) {
3579
+ __wbg_bindFramebuffer_6c6a9caf742c2cdb: function(arg0, arg1, arg2) {
3584
3580
  arg0.bindFramebuffer(arg1 >>> 0, arg2);
3585
3581
  },
3586
- __wbg_bindFramebuffer_7815ca611abb057f: function(arg0, arg1, arg2) {
3582
+ __wbg_bindFramebuffer_dc00cdd13fca80a8: function(arg0, arg1, arg2) {
3587
3583
  arg0.bindFramebuffer(arg1 >>> 0, arg2);
3588
3584
  },
3589
- __wbg_bindRenderbuffer_8a2aa4e3d1fb5443: function(arg0, arg1, arg2) {
3585
+ __wbg_bindRenderbuffer_27f21bc7608d07e3: function(arg0, arg1, arg2) {
3590
3586
  arg0.bindRenderbuffer(arg1 >>> 0, arg2);
3591
3587
  },
3592
- __wbg_bindRenderbuffer_db37c1bac9ed4da0: function(arg0, arg1, arg2) {
3588
+ __wbg_bindRenderbuffer_a5af5373faa4fb14: function(arg0, arg1, arg2) {
3593
3589
  arg0.bindRenderbuffer(arg1 >>> 0, arg2);
3594
3590
  },
3595
- __wbg_bindSampler_96f0e90e7bc31da9: function(arg0, arg1, arg2) {
3591
+ __wbg_bindSampler_06a184f24b4f473a: function(arg0, arg1, arg2) {
3596
3592
  arg0.bindSampler(arg1 >>> 0, arg2);
3597
3593
  },
3598
- __wbg_bindTexture_b2b7b1726a83f93e: function(arg0, arg1, arg2) {
3594
+ __wbg_bindTexture_7858cc136e95ec24: function(arg0, arg1, arg2) {
3599
3595
  arg0.bindTexture(arg1 >>> 0, arg2);
3600
3596
  },
3601
- __wbg_bindTexture_ec13ddcb9dc8e032: function(arg0, arg1, arg2) {
3597
+ __wbg_bindTexture_e8a625bf5d240b0f: function(arg0, arg1, arg2) {
3602
3598
  arg0.bindTexture(arg1 >>> 0, arg2);
3603
3599
  },
3604
- __wbg_bindVertexArrayOES_c2610602f7485b3f: function(arg0, arg1) {
3600
+ __wbg_bindVertexArrayOES_c947f00135eda668: function(arg0, arg1) {
3605
3601
  arg0.bindVertexArrayOES(arg1);
3606
3602
  },
3607
- __wbg_bindVertexArray_78220d1edb1d2382: function(arg0, arg1) {
3603
+ __wbg_bindVertexArray_4687bb1e8b327fc9: function(arg0, arg1) {
3608
3604
  arg0.bindVertexArray(arg1);
3609
3605
  },
3610
- __wbg_blendColor_1d50ac87d9a2794b: function(arg0, arg1, arg2, arg3, arg4) {
3606
+ __wbg_blendColor_25f3208af2a1a86f: function(arg0, arg1, arg2, arg3, arg4) {
3611
3607
  arg0.blendColor(arg1, arg2, arg3, arg4);
3612
3608
  },
3613
- __wbg_blendColor_e799d452ab2a5788: function(arg0, arg1, arg2, arg3, arg4) {
3609
+ __wbg_blendColor_7b3873c65a61b8a7: function(arg0, arg1, arg2, arg3, arg4) {
3614
3610
  arg0.blendColor(arg1, arg2, arg3, arg4);
3615
3611
  },
3616
- __wbg_blendEquationSeparate_1b12c43928cc7bc1: function(arg0, arg1, arg2) {
3612
+ __wbg_blendEquationSeparate_7255a352fb614ccb: function(arg0, arg1, arg2) {
3617
3613
  arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
3618
3614
  },
3619
- __wbg_blendEquationSeparate_a8094fbec94cf80e: function(arg0, arg1, arg2) {
3615
+ __wbg_blendEquationSeparate_a63d5c1a833c1137: function(arg0, arg1, arg2) {
3620
3616
  arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
3621
3617
  },
3622
- __wbg_blendEquation_82202f34c4c00e50: function(arg0, arg1) {
3618
+ __wbg_blendEquation_1636f14afa7d37d0: function(arg0, arg1) {
3623
3619
  arg0.blendEquation(arg1 >>> 0);
3624
3620
  },
3625
- __wbg_blendEquation_e9b99928ed1494ad: function(arg0, arg1) {
3621
+ __wbg_blendEquation_9a5ca6936a9438b3: function(arg0, arg1) {
3626
3622
  arg0.blendEquation(arg1 >>> 0);
3627
3623
  },
3628
- __wbg_blendFuncSeparate_95465944f788a092: function(arg0, arg1, arg2, arg3, arg4) {
3624
+ __wbg_blendFuncSeparate_1afc51f9c96486b2: function(arg0, arg1, arg2, arg3, arg4) {
3629
3625
  arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
3630
3626
  },
3631
- __wbg_blendFuncSeparate_f366c170c5097fbe: function(arg0, arg1, arg2, arg3, arg4) {
3627
+ __wbg_blendFuncSeparate_222d39ec0d6bb147: function(arg0, arg1, arg2, arg3, arg4) {
3632
3628
  arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
3633
3629
  },
3634
- __wbg_blendFunc_2ef59299d10c662d: function(arg0, arg1, arg2) {
3630
+ __wbg_blendFunc_041c4d7dc50ac8c9: function(arg0, arg1, arg2) {
3635
3631
  arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
3636
3632
  },
3637
- __wbg_blendFunc_446658e7231ab9c8: function(arg0, arg1, arg2) {
3633
+ __wbg_blendFunc_ad7d043180d4f86a: function(arg0, arg1, arg2) {
3638
3634
  arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
3639
3635
  },
3640
- __wbg_blitFramebuffer_d730a23ab4db248e: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
3636
+ __wbg_blitFramebuffer_beb217dd67c23446: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
3641
3637
  arg0.blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);
3642
3638
  },
3643
- __wbg_bufferData_1be8450fab534758: function(arg0, arg1, arg2, arg3) {
3639
+ __wbg_bufferData_5d0d376bd14d58f3: function(arg0, arg1, arg2, arg3) {
3644
3640
  arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
3645
3641
  },
3646
- __wbg_bufferData_32d26eba0c74a53c: function(arg0, arg1, arg2, arg3) {
3642
+ __wbg_bufferData_9ce5cb209386d279: function(arg0, arg1, arg2, arg3) {
3647
3643
  arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
3648
3644
  },
3649
- __wbg_bufferData_52235e85894af988: function(arg0, arg1, arg2, arg3) {
3645
+ __wbg_bufferData_b58d3ee720ef8b13: function(arg0, arg1, arg2, arg3) {
3650
3646
  arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
3651
3647
  },
3652
- __wbg_bufferData_98f6c413a8f0f139: function(arg0, arg1, arg2, arg3) {
3648
+ __wbg_bufferData_c074912da5a8e8c2: function(arg0, arg1, arg2, arg3) {
3653
3649
  arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
3654
3650
  },
3655
- __wbg_bufferSubData_33eebcc173094f6a: function(arg0, arg1, arg2, arg3) {
3651
+ __wbg_bufferSubData_1210904a130da787: function(arg0, arg1, arg2, arg3) {
3656
3652
  arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
3657
3653
  },
3658
- __wbg_bufferSubData_3e902f031adf13fd: function(arg0, arg1, arg2, arg3) {
3654
+ __wbg_bufferSubData_bb3556faa77ce63a: function(arg0, arg1, arg2, arg3) {
3659
3655
  arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
3660
3656
  },
3661
- __wbg_buffer_26d0910f3a5bc899: function(arg0) {
3662
- const ret = arg0.buffer;
3663
- return ret;
3664
- },
3665
- __wbg_call_389efe28435a9388: function() {
3657
+ __wbg_call_269c5566fbede3eb: function() {
3666
3658
  return handleError(function(arg0, arg1) {
3667
3659
  const ret = arg0.call(arg1);
3668
3660
  return ret;
3669
3661
  }, arguments);
3670
3662
  },
3671
- __wbg_call_4708e0c13bdc8e95: function() {
3663
+ __wbg_call_6bcf8d3e20937e46: function() {
3672
3664
  return handleError(function(arg0, arg1, arg2) {
3673
3665
  const ret = arg0.call(arg1, arg2);
3674
3666
  return ret;
3675
3667
  }, arguments);
3676
3668
  },
3677
- __wbg_call_e8c868596c950cf6: function() {
3669
+ __wbg_call_c1ad1cb1b78e8130: function() {
3678
3670
  return handleError(function(arg0, arg1, arg2, arg3, arg4) {
3679
3671
  const ret = arg0.call(arg1, arg2, arg3, arg4);
3680
3672
  return ret;
3681
3673
  }, arguments);
3682
3674
  },
3683
- __wbg_clearBuffer_6164fc25d22b25cc: function(arg0, arg1, arg2, arg3) {
3684
- arg0.clearBuffer(arg1, arg2, arg3);
3685
- },
3686
- __wbg_clearBuffer_cfcaaf1fb2baa885: function(arg0, arg1, arg2) {
3687
- arg0.clearBuffer(arg1, arg2);
3688
- },
3689
- __wbg_clearBufferfv_ac87d92e2f45d80c: function(arg0, arg1, arg2, arg3, arg4) {
3675
+ __wbg_clearBufferfv_5c3233abb46232dd: function(arg0, arg1, arg2, arg3, arg4) {
3690
3676
  arg0.clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4));
3691
3677
  },
3692
- __wbg_clearBufferiv_69ff24bb52ec4c88: function(arg0, arg1, arg2, arg3, arg4) {
3678
+ __wbg_clearBufferiv_a6017e170f127402: function(arg0, arg1, arg2, arg3, arg4) {
3693
3679
  arg0.clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
3694
3680
  },
3695
- __wbg_clearBufferuiv_8ad59a8219aafaca: function(arg0, arg1, arg2, arg3, arg4) {
3681
+ __wbg_clearBufferuiv_a7ff44fb5a19e886: function(arg0, arg1, arg2, arg3, arg4) {
3696
3682
  arg0.clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4));
3697
3683
  },
3698
- __wbg_clearDepth_2b109f644a783a53: function(arg0, arg1) {
3684
+ __wbg_clearDepth_a4e9a96e0b87fadb: function(arg0, arg1) {
3699
3685
  arg0.clearDepth(arg1);
3700
3686
  },
3701
- __wbg_clearDepth_670099db422a4f91: function(arg0, arg1) {
3687
+ __wbg_clearDepth_ea9081c357d405be: function(arg0, arg1) {
3702
3688
  arg0.clearDepth(arg1);
3703
3689
  },
3704
- __wbg_clearStencil_5d243d0dff03c315: function(arg0, arg1) {
3690
+ __wbg_clearStencil_8c03daa5a936cf97: function(arg0, arg1) {
3705
3691
  arg0.clearStencil(arg1);
3706
3692
  },
3707
- __wbg_clearStencil_aa65955bb39d8c18: function(arg0, arg1) {
3693
+ __wbg_clearStencil_bd3508b2e4a055c8: function(arg0, arg1) {
3708
3694
  arg0.clearStencil(arg1);
3709
3695
  },
3710
- __wbg_clear_4d801d0d054c3579: function(arg0, arg1) {
3696
+ __wbg_clear_55f5d5ab26fe80b4: function(arg0, arg1) {
3711
3697
  arg0.clear(arg1 >>> 0);
3712
3698
  },
3713
- __wbg_clear_7187030f892c5ca0: function(arg0, arg1) {
3699
+ __wbg_clear_faad852996d5b5ca: function(arg0, arg1) {
3714
3700
  arg0.clear(arg1 >>> 0);
3715
3701
  },
3716
- __wbg_clientWaitSync_21865feaeb76a9a5: function(arg0, arg1, arg2, arg3) {
3702
+ __wbg_clientWaitSync_1e222800321920a4: function(arg0, arg1, arg2, arg3) {
3717
3703
  const ret = arg0.clientWaitSync(arg1, arg2 >>> 0, arg3 >>> 0);
3718
3704
  return ret;
3719
3705
  },
3720
- __wbg_colorMask_177d9762658e5e28: function(arg0, arg1, arg2, arg3, arg4) {
3706
+ __wbg_colorMask_dc6ca7d28d90ca79: function(arg0, arg1, arg2, arg3, arg4) {
3721
3707
  arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
3722
3708
  },
3723
- __wbg_colorMask_7a8dbc86e7376a9b: function(arg0, arg1, arg2, arg3, arg4) {
3709
+ __wbg_colorMask_ee5503a19adab893: function(arg0, arg1, arg2, arg3, arg4) {
3724
3710
  arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
3725
3711
  },
3726
- __wbg_compileShader_63b824e86bb00b8f: function(arg0, arg1) {
3712
+ __wbg_compileShader_cabeb4aa8cb42914: function(arg0, arg1) {
3727
3713
  arg0.compileShader(arg1);
3728
3714
  },
3729
- __wbg_compileShader_94718a93495d565d: function(arg0, arg1) {
3715
+ __wbg_compileShader_dada15a718167c7f: function(arg0, arg1) {
3730
3716
  arg0.compileShader(arg1);
3731
3717
  },
3732
- __wbg_compressedTexSubImage2D_215bb115facd5e48: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
3718
+ __wbg_compressedTexSubImage2D_08a73ef1b07eadd4: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
3733
3719
  arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
3734
3720
  },
3735
- __wbg_compressedTexSubImage2D_684350eb62830032: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
3721
+ __wbg_compressedTexSubImage2D_26483f478d06e5b6: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
3736
3722
  arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
3737
3723
  },
3738
- __wbg_compressedTexSubImage2D_d8fbae93bb8c4cc9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3724
+ __wbg_compressedTexSubImage2D_fd0d06f029b00475: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3739
3725
  arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9);
3740
3726
  },
3741
- __wbg_compressedTexSubImage3D_16afa3a47bf1d979: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
3727
+ __wbg_compressedTexSubImage3D_916c6fa47a2c6ca4: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
3742
3728
  arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10);
3743
3729
  },
3744
- __wbg_compressedTexSubImage3D_778008a6293f15ab: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
3730
+ __wbg_compressedTexSubImage3D_ca08254972ab7956: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
3745
3731
  arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11);
3746
3732
  },
3747
- __wbg_configure_2414aed971d368cd: function(arg0, arg1) {
3748
- arg0.configure(arg1);
3733
+ __wbg_configure_1e2c1c9edad07d26: function() {
3734
+ return handleError(function(arg0, arg1) {
3735
+ arg0.configure(arg1);
3736
+ }, arguments);
3749
3737
  },
3750
- __wbg_copyBufferSubData_a4f9815861ff0ae9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3738
+ __wbg_copyBufferSubData_4649cb7afad601b3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3751
3739
  arg0.copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
3752
3740
  },
3753
- __wbg_copyBufferToBuffer_1ba67191114656a1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3754
- arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4, arg5);
3755
- },
3756
- __wbg_copyBufferToTexture_878d31d479e48f28: function(arg0, arg1, arg2, arg3) {
3757
- arg0.copyBufferToTexture(arg1, arg2, arg3);
3741
+ __wbg_copyBufferToBuffer_01766818654a9868: function() {
3742
+ return handleError(function(arg0, arg1, arg2, arg3, arg4) {
3743
+ arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4);
3744
+ }, arguments);
3758
3745
  },
3759
- __wbg_copyExternalImageToTexture_7878d196c0b60d39: function(arg0, arg1, arg2, arg3) {
3760
- arg0.copyExternalImageToTexture(arg1, arg2, arg3);
3746
+ __wbg_copyBufferToBuffer_9c174b96fb08d551: function() {
3747
+ return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5) {
3748
+ arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4, arg5);
3749
+ }, arguments);
3761
3750
  },
3762
- __wbg_copyTexSubImage2D_417a65926e3d2490: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
3751
+ __wbg_copyTexSubImage2D_b5dc78e744bb31d3: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
3763
3752
  arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
3764
3753
  },
3765
- __wbg_copyTexSubImage2D_91ebcd9cd1908265: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
3754
+ __wbg_copyTexSubImage2D_f1d2043ea68078f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
3766
3755
  arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
3767
3756
  },
3768
- __wbg_copyTexSubImage3D_f62ef4c4eeb9a7dc: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3757
+ __wbg_copyTexSubImage3D_a6674efc4225de77: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3769
3758
  arg0.copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
3770
3759
  },
3771
- __wbg_copyTextureToBuffer_6a8fe0e90f0a663d: function(arg0, arg1, arg2, arg3) {
3772
- arg0.copyTextureToBuffer(arg1, arg2, arg3);
3773
- },
3774
- __wbg_copyTextureToTexture_0a06a393d6726b4a: function(arg0, arg1, arg2, arg3) {
3775
- arg0.copyTextureToTexture(arg1, arg2, arg3);
3760
+ __wbg_copyTextureToBuffer_1234b3210431ad05: function() {
3761
+ return handleError(function(arg0, arg1, arg2, arg3) {
3762
+ arg0.copyTextureToBuffer(arg1, arg2, arg3);
3763
+ }, arguments);
3776
3764
  },
3777
- __wbg_createBindGroupLayout_1d93b6d41c87ba9d: function(arg0, arg1) {
3778
- const ret = arg0.createBindGroupLayout(arg1);
3779
- return ret;
3765
+ __wbg_createBindGroupLayout_b1bd63b4e88459d8: function() {
3766
+ return handleError(function(arg0, arg1) {
3767
+ const ret = arg0.createBindGroupLayout(arg1);
3768
+ return ret;
3769
+ }, arguments);
3780
3770
  },
3781
- __wbg_createBindGroup_61cd07ec9d423432: function(arg0, arg1) {
3771
+ __wbg_createBindGroup_f539b26ca341308f: function(arg0, arg1) {
3782
3772
  const ret = arg0.createBindGroup(arg1);
3783
3773
  return ret;
3784
3774
  },
3785
- __wbg_createBuffer_26534c05e01b8559: function(arg0) {
3775
+ __wbg_createBuffer_77a9a8580e5123cc: function(arg0) {
3786
3776
  const ret = arg0.createBuffer();
3787
3777
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3788
3778
  },
3789
- __wbg_createBuffer_963aa00d5fe859e4: function(arg0, arg1) {
3790
- const ret = arg0.createBuffer(arg1);
3791
- return ret;
3792
- },
3793
- __wbg_createBuffer_c4ec897aacc1b91c: function(arg0) {
3779
+ __wbg_createBuffer_b4dd77c6c40a2e87: function(arg0) {
3794
3780
  const ret = arg0.createBuffer();
3795
3781
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3796
3782
  },
3797
- __wbg_createCommandEncoder_f0e1613e9a2dc1eb: function(arg0, arg1) {
3783
+ __wbg_createBuffer_d800e9b1d41b2ee5: function() {
3784
+ return handleError(function(arg0, arg1) {
3785
+ const ret = arg0.createBuffer(arg1);
3786
+ return ret;
3787
+ }, arguments);
3788
+ },
3789
+ __wbg_createCommandEncoder_3352d1ffc36c6fc0: function(arg0, arg1) {
3798
3790
  const ret = arg0.createCommandEncoder(arg1);
3799
3791
  return ret;
3800
3792
  },
3801
- __wbg_createComputePipeline_b9616b9fe2f4eb2f: function(arg0, arg1) {
3793
+ __wbg_createComputePipeline_224fa2618d9948a0: function(arg0, arg1) {
3802
3794
  const ret = arg0.createComputePipeline(arg1);
3803
3795
  return ret;
3804
3796
  },
3805
- __wbg_createFramebuffer_41512c38358a41c4: function(arg0) {
3797
+ __wbg_createFramebuffer_aa440c781a6c7da2: function(arg0) {
3806
3798
  const ret = arg0.createFramebuffer();
3807
3799
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3808
3800
  },
3809
- __wbg_createFramebuffer_b88ffa8e0fd262c4: function(arg0) {
3801
+ __wbg_createFramebuffer_ac4ca0fc2cfc1bd1: function(arg0) {
3810
3802
  const ret = arg0.createFramebuffer();
3811
3803
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3812
3804
  },
3813
- __wbg_createPipelineLayout_56c6cf983f892d2b: function(arg0, arg1) {
3805
+ __wbg_createPipelineLayout_6eab52c327118937: function(arg0, arg1) {
3814
3806
  const ret = arg0.createPipelineLayout(arg1);
3815
3807
  return ret;
3816
3808
  },
3817
- __wbg_createProgram_98aaa91f7c81c5e2: function(arg0) {
3809
+ __wbg_createProgram_89a2bb21dab7e222: function(arg0) {
3818
3810
  const ret = arg0.createProgram();
3819
3811
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3820
3812
  },
3821
- __wbg_createProgram_9b7710a1f2701c2c: function(arg0) {
3813
+ __wbg_createProgram_e43ace4085d1086d: function(arg0) {
3822
3814
  const ret = arg0.createProgram();
3823
3815
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3824
3816
  },
3825
- __wbg_createQuerySet_c14be802adf7c207: function(arg0, arg1) {
3826
- const ret = arg0.createQuerySet(arg1);
3827
- return ret;
3828
- },
3829
- __wbg_createQuery_7988050efd7e4c48: function(arg0) {
3817
+ __wbg_createQuery_731629e292b35522: function(arg0) {
3830
3818
  const ret = arg0.createQuery();
3831
3819
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3832
3820
  },
3833
- __wbg_createRenderBundleEncoder_8e4bdffea72f8c1f: function(arg0, arg1) {
3834
- const ret = arg0.createRenderBundleEncoder(arg1);
3835
- return ret;
3836
- },
3837
- __wbg_createRenderPipeline_079a88a0601fcce1: function(arg0, arg1) {
3838
- const ret = arg0.createRenderPipeline(arg1);
3839
- return ret;
3840
- },
3841
- __wbg_createRenderbuffer_1e567f2f4d461710: function(arg0) {
3821
+ __wbg_createRenderbuffer_3605e09d07f5a422: function(arg0) {
3842
3822
  const ret = arg0.createRenderbuffer();
3843
3823
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3844
3824
  },
3845
- __wbg_createRenderbuffer_a601226a6a680dbe: function(arg0) {
3825
+ __wbg_createRenderbuffer_42eeb481e4c92ff2: function(arg0) {
3846
3826
  const ret = arg0.createRenderbuffer();
3847
3827
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3848
3828
  },
3849
- __wbg_createSampler_da6bb96c9ffaaa27: function(arg0) {
3829
+ __wbg_createSampler_ebfb34feb26878f1: function(arg0) {
3850
3830
  const ret = arg0.createSampler();
3851
3831
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3852
3832
  },
3853
- __wbg_createSampler_ef5578990df3baf7: function(arg0, arg1) {
3854
- const ret = arg0.createSampler(arg1);
3855
- return ret;
3856
- },
3857
- __wbg_createShaderModule_17f451ea25cae47c: function(arg0, arg1) {
3833
+ __wbg_createShaderModule_cefa51336cb288ae: function(arg0, arg1) {
3858
3834
  const ret = arg0.createShaderModule(arg1);
3859
3835
  return ret;
3860
3836
  },
3861
- __wbg_createShader_e3ac08ed8c5b14b2: function(arg0, arg1) {
3837
+ __wbg_createShader_4d944e14daceede8: function(arg0, arg1) {
3862
3838
  const ret = arg0.createShader(arg1 >>> 0);
3863
3839
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3864
3840
  },
3865
- __wbg_createShader_f2b928ca9a426b14: function(arg0, arg1) {
3841
+ __wbg_createShader_70a84327b207bda4: function(arg0, arg1) {
3866
3842
  const ret = arg0.createShader(arg1 >>> 0);
3867
3843
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3868
3844
  },
3869
- __wbg_createTexture_01cc1cd2fea732d9: function(arg0, arg1) {
3870
- const ret = arg0.createTexture(arg1);
3871
- return ret;
3872
- },
3873
- __wbg_createTexture_16d2c8a3d7d4a75a: function(arg0) {
3845
+ __wbg_createTexture_a409a8c7972e99b3: function(arg0) {
3874
3846
  const ret = arg0.createTexture();
3875
3847
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3876
3848
  },
3877
- __wbg_createTexture_f9451a82c7527ce2: function(arg0) {
3849
+ __wbg_createTexture_ecccbb9df64e8c81: function(arg0) {
3878
3850
  const ret = arg0.createTexture();
3879
3851
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3880
3852
  },
3881
- __wbg_createVertexArrayOES_bd76ceee6ab9b95e: function(arg0) {
3853
+ __wbg_createTexture_ed7e9fc04dd54d84: function() {
3854
+ return handleError(function(arg0, arg1) {
3855
+ const ret = arg0.createTexture(arg1);
3856
+ return ret;
3857
+ }, arguments);
3858
+ },
3859
+ __wbg_createVertexArrayOES_083ec6fc6262613d: function(arg0) {
3882
3860
  const ret = arg0.createVertexArrayOES();
3883
3861
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3884
3862
  },
3885
- __wbg_createVertexArray_ad5294951ae57497: function(arg0) {
3863
+ __wbg_createVertexArray_9411e94d2ee6864e: function(arg0) {
3886
3864
  const ret = arg0.createVertexArray();
3887
3865
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3888
3866
  },
3889
- __wbg_createView_04701884291e1ccc: function(arg0, arg1) {
3890
- const ret = arg0.createView(arg1);
3891
- return ret;
3867
+ __wbg_createView_da41c2d2cb212715: function() {
3868
+ return handleError(function(arg0, arg1) {
3869
+ const ret = arg0.createView(arg1);
3870
+ return ret;
3871
+ }, arguments);
3892
3872
  },
3893
- __wbg_cullFace_39500f654c67a205: function(arg0, arg1) {
3873
+ __wbg_cullFace_3e14866a0c370004: function(arg0, arg1) {
3894
3874
  arg0.cullFace(arg1 >>> 0);
3895
3875
  },
3896
- __wbg_cullFace_e7e711a14d2c3f48: function(arg0, arg1) {
3876
+ __wbg_cullFace_b64f84debd112644: function(arg0, arg1) {
3897
3877
  arg0.cullFace(arg1 >>> 0);
3898
3878
  },
3899
- __wbg_deleteBuffer_22fcc93912cbf659: function(arg0, arg1) {
3879
+ __wbg_deleteBuffer_54e287dbecb17d6e: function(arg0, arg1) {
3900
3880
  arg0.deleteBuffer(arg1);
3901
3881
  },
3902
- __wbg_deleteBuffer_ab099883c168644d: function(arg0, arg1) {
3882
+ __wbg_deleteBuffer_c9dc22cdbb93ffbc: function(arg0, arg1) {
3903
3883
  arg0.deleteBuffer(arg1);
3904
3884
  },
3905
- __wbg_deleteFramebuffer_8de1ca41ac87cfd9: function(arg0, arg1) {
3885
+ __wbg_deleteFramebuffer_6c3b62109b65e8de: function(arg0, arg1) {
3906
3886
  arg0.deleteFramebuffer(arg1);
3907
3887
  },
3908
- __wbg_deleteFramebuffer_9738f3bb85c1ab35: function(arg0, arg1) {
3888
+ __wbg_deleteFramebuffer_977fae88c7df1c6f: function(arg0, arg1) {
3909
3889
  arg0.deleteFramebuffer(arg1);
3910
3890
  },
3911
- __wbg_deleteProgram_9298fb3e3c1d3a78: function(arg0, arg1) {
3891
+ __wbg_deleteProgram_16fe8b000141443c: function(arg0, arg1) {
3912
3892
  arg0.deleteProgram(arg1);
3913
3893
  },
3914
- __wbg_deleteProgram_f354e79b8cae8076: function(arg0, arg1) {
3894
+ __wbg_deleteProgram_c990794adb74a326: function(arg0, arg1) {
3915
3895
  arg0.deleteProgram(arg1);
3916
3896
  },
3917
- __wbg_deleteQuery_ea8bf1954febd774: function(arg0, arg1) {
3897
+ __wbg_deleteQuery_670219eac170c9fb: function(arg0, arg1) {
3918
3898
  arg0.deleteQuery(arg1);
3919
3899
  },
3920
- __wbg_deleteRenderbuffer_096edada57729468: function(arg0, arg1) {
3900
+ __wbg_deleteRenderbuffer_1066bd086097d9c0: function(arg0, arg1) {
3921
3901
  arg0.deleteRenderbuffer(arg1);
3922
3902
  },
3923
- __wbg_deleteRenderbuffer_0f565f0727b341fc: function(arg0, arg1) {
3903
+ __wbg_deleteRenderbuffer_be22a49b59807a79: function(arg0, arg1) {
3924
3904
  arg0.deleteRenderbuffer(arg1);
3925
3905
  },
3926
- __wbg_deleteSampler_c6b68c4071841afa: function(arg0, arg1) {
3906
+ __wbg_deleteSampler_a7f5bf9c8096d80a: function(arg0, arg1) {
3927
3907
  arg0.deleteSampler(arg1);
3928
3908
  },
3929
- __wbg_deleteShader_aaf3b520a64d5d9d: function(arg0, arg1) {
3909
+ __wbg_deleteShader_7169f1760153b284: function(arg0, arg1) {
3930
3910
  arg0.deleteShader(arg1);
3931
3911
  },
3932
- __wbg_deleteShader_ff70ca962883e241: function(arg0, arg1) {
3912
+ __wbg_deleteShader_9b34ccd212c66de7: function(arg0, arg1) {
3933
3913
  arg0.deleteShader(arg1);
3934
3914
  },
3935
- __wbg_deleteSync_c8e4a9c735f71d18: function(arg0, arg1) {
3915
+ __wbg_deleteSync_5f19ce0564df8ade: function(arg0, arg1) {
3936
3916
  arg0.deleteSync(arg1);
3937
3917
  },
3938
- __wbg_deleteTexture_2be78224e5584a8b: function(arg0, arg1) {
3918
+ __wbg_deleteTexture_4cc3a009d8de3629: function(arg0, arg1) {
3939
3919
  arg0.deleteTexture(arg1);
3940
3920
  },
3941
- __wbg_deleteTexture_9d411c0e60ffa324: function(arg0, arg1) {
3921
+ __wbg_deleteTexture_5f176c5fb10209e7: function(arg0, arg1) {
3942
3922
  arg0.deleteTexture(arg1);
3943
3923
  },
3944
- __wbg_deleteVertexArrayOES_197df47ef9684195: function(arg0, arg1) {
3924
+ __wbg_deleteVertexArrayOES_8ddbff0c3c4bd01b: function(arg0, arg1) {
3945
3925
  arg0.deleteVertexArrayOES(arg1);
3946
3926
  },
3947
- __wbg_deleteVertexArray_7bc7f92769862f93: function(arg0, arg1) {
3927
+ __wbg_deleteVertexArray_a810728c9f325e4c: function(arg0, arg1) {
3948
3928
  arg0.deleteVertexArray(arg1);
3949
3929
  },
3950
- __wbg_depthFunc_eb3aa05361dd2eaa: function(arg0, arg1) {
3930
+ __wbg_depthFunc_e3cb63d0ea760f4f: function(arg0, arg1) {
3951
3931
  arg0.depthFunc(arg1 >>> 0);
3952
3932
  },
3953
- __wbg_depthFunc_f670d4cbb9cd0913: function(arg0, arg1) {
3933
+ __wbg_depthFunc_fc1a3d2fde41ec92: function(arg0, arg1) {
3954
3934
  arg0.depthFunc(arg1 >>> 0);
3955
3935
  },
3956
- __wbg_depthMask_103091329ca1a750: function(arg0, arg1) {
3936
+ __wbg_depthMask_77fed42fc2117471: function(arg0, arg1) {
3957
3937
  arg0.depthMask(arg1 !== 0);
3958
3938
  },
3959
- __wbg_depthMask_75a36d0065471a4b: function(arg0, arg1) {
3939
+ __wbg_depthMask_e85b064c1ee5147d: function(arg0, arg1) {
3960
3940
  arg0.depthMask(arg1 !== 0);
3961
3941
  },
3962
- __wbg_depthRange_337bf254e67639bb: function(arg0, arg1, arg2) {
3942
+ __wbg_depthRange_2b6920405cfb1e3d: function(arg0, arg1, arg2) {
3963
3943
  arg0.depthRange(arg1, arg2);
3964
3944
  },
3965
- __wbg_depthRange_5579d448b9d7de57: function(arg0, arg1, arg2) {
3945
+ __wbg_depthRange_6e341dd878a6597d: function(arg0, arg1, arg2) {
3966
3946
  arg0.depthRange(arg1, arg2);
3967
3947
  },
3968
- __wbg_destroy_35f94012e5bb9c17: function(arg0) {
3969
- arg0.destroy();
3970
- },
3971
- __wbg_destroy_767d9dde1008e293: function(arg0) {
3972
- arg0.destroy();
3973
- },
3974
- __wbg_destroy_c6af4226dda95dbd: function(arg0) {
3948
+ __wbg_destroy_637537007d9eaa44: function(arg0) {
3975
3949
  arg0.destroy();
3976
3950
  },
3977
- __wbg_disableVertexAttribArray_24a020060006b10f: function(arg0, arg1) {
3951
+ __wbg_disableVertexAttribArray_45e2fd394cde8686: function(arg0, arg1) {
3978
3952
  arg0.disableVertexAttribArray(arg1 >>> 0);
3979
3953
  },
3980
- __wbg_disableVertexAttribArray_4bac633c27bae599: function(arg0, arg1) {
3954
+ __wbg_disableVertexAttribArray_b985896436c82562: function(arg0, arg1) {
3981
3955
  arg0.disableVertexAttribArray(arg1 >>> 0);
3982
3956
  },
3983
- __wbg_disable_7fe6fb3e97717f88: function(arg0, arg1) {
3957
+ __wbg_disable_6907c683adc38e04: function(arg0, arg1) {
3984
3958
  arg0.disable(arg1 >>> 0);
3985
3959
  },
3986
- __wbg_disable_bd37bdcca1764aea: function(arg0, arg1) {
3960
+ __wbg_disable_71ea0d3d0529f100: function(arg0, arg1) {
3987
3961
  arg0.disable(arg1 >>> 0);
3988
3962
  },
3989
- __wbg_dispatchWorkgroupsIndirect_8b25efab93a7a433: function(arg0, arg1, arg2) {
3990
- arg0.dispatchWorkgroupsIndirect(arg1, arg2);
3991
- },
3992
- __wbg_dispatchWorkgroups_c102fa81b955935d: function(arg0, arg1, arg2, arg3) {
3963
+ __wbg_dispatchWorkgroups_56b943172790add0: function(arg0, arg1, arg2, arg3) {
3993
3964
  arg0.dispatchWorkgroups(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
3994
3965
  },
3995
- __wbg_document_ee35a3d3ae34ef6c: function(arg0) {
3966
+ __wbg_document_c7f486c52d63d24e: function(arg0) {
3996
3967
  const ret = arg0.document;
3997
3968
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3998
3969
  },
3999
- __wbg_done_57b39ecd9addfe81: function(arg0) {
3970
+ __wbg_done_cffed884d87aa22e: function(arg0) {
4000
3971
  const ret = arg0.done;
4001
3972
  return ret;
4002
3973
  },
4003
- __wbg_drawArraysInstancedANGLE_9e4cc507eae8b24d: function(arg0, arg1, arg2, arg3, arg4) {
3974
+ __wbg_drawArraysInstancedANGLE_1161faf698564d6d: function(arg0, arg1, arg2, arg3, arg4) {
4004
3975
  arg0.drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
4005
3976
  },
4006
- __wbg_drawArraysInstanced_ec30adc616ec58d5: function(arg0, arg1, arg2, arg3, arg4) {
3977
+ __wbg_drawArraysInstanced_0ef1fbcdba111c38: function(arg0, arg1, arg2, arg3, arg4) {
4007
3978
  arg0.drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
4008
3979
  },
4009
- __wbg_drawArrays_075228181299b824: function(arg0, arg1, arg2, arg3) {
3980
+ __wbg_drawArrays_983f352c9e94d800: function(arg0, arg1, arg2, arg3) {
4010
3981
  arg0.drawArrays(arg1 >>> 0, arg2, arg3);
4011
3982
  },
4012
- __wbg_drawArrays_2be89c369a29f30b: function(arg0, arg1, arg2, arg3) {
3983
+ __wbg_drawArrays_bc085b67da45ec03: function(arg0, arg1, arg2, arg3) {
4013
3984
  arg0.drawArrays(arg1 >>> 0, arg2, arg3);
4014
3985
  },
4015
- __wbg_drawBuffersWEBGL_447bc0a21f8ef22d: function(arg0, arg1) {
3986
+ __wbg_drawBuffersWEBGL_6cfb1b5e064e9ed2: function(arg0, arg1) {
4016
3987
  arg0.drawBuffersWEBGL(arg1);
4017
3988
  },
4018
- __wbg_drawBuffers_5eccfaacc6560299: function(arg0, arg1) {
3989
+ __wbg_drawBuffers_9b22ea9d8f6a15f0: function(arg0, arg1) {
4019
3990
  arg0.drawBuffers(arg1);
4020
3991
  },
4021
- __wbg_drawElementsInstancedANGLE_6f9da0b845ac6c4e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3992
+ __wbg_drawElementsInstancedANGLE_da080f7c11a85ead: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4022
3993
  arg0.drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
4023
3994
  },
4024
- __wbg_drawElementsInstanced_d41fc920ae24717c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3995
+ __wbg_drawElementsInstanced_ea7d6b71beea79a4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4025
3996
  arg0.drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
4026
3997
  },
4027
- __wbg_drawIndexedIndirect_34484fc6227c7bc8: function(arg0, arg1, arg2) {
4028
- arg0.drawIndexedIndirect(arg1, arg2);
4029
- },
4030
- __wbg_drawIndexedIndirect_5a7c30bb5f1d5b67: function(arg0, arg1, arg2) {
4031
- arg0.drawIndexedIndirect(arg1, arg2);
4032
- },
4033
- __wbg_drawIndexed_115af1449b52a948: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4034
- arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
4035
- },
4036
- __wbg_drawIndexed_a587cce4c317791f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4037
- arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
4038
- },
4039
- __wbg_drawIndirect_036d71498a21f1a3: function(arg0, arg1, arg2) {
4040
- arg0.drawIndirect(arg1, arg2);
4041
- },
4042
- __wbg_drawIndirect_a1d7c5e893aa5756: function(arg0, arg1, arg2) {
4043
- arg0.drawIndirect(arg1, arg2);
4044
- },
4045
- __wbg_draw_5351b12033166aca: function(arg0, arg1, arg2, arg3, arg4) {
4046
- arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
4047
- },
4048
- __wbg_draw_e2a7c5d66fb2d244: function(arg0, arg1, arg2, arg3, arg4) {
4049
- arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
4050
- },
4051
- __wbg_enableVertexAttribArray_475e06c31777296d: function(arg0, arg1) {
3998
+ __wbg_enableVertexAttribArray_ad4d8ff487ea8fe1: function(arg0, arg1) {
4052
3999
  arg0.enableVertexAttribArray(arg1 >>> 0);
4053
4000
  },
4054
- __wbg_enableVertexAttribArray_aa6e40408261eeb9: function(arg0, arg1) {
4001
+ __wbg_enableVertexAttribArray_db5eef27f6b32c4a: function(arg0, arg1) {
4055
4002
  arg0.enableVertexAttribArray(arg1 >>> 0);
4056
4003
  },
4057
- __wbg_enable_d1ac04dfdd2fb3ae: function(arg0, arg1) {
4004
+ __wbg_enable_9fb8e4de75a17155: function(arg0, arg1) {
4058
4005
  arg0.enable(arg1 >>> 0);
4059
4006
  },
4060
- __wbg_enable_fee40f19b7053ea3: function(arg0, arg1) {
4007
+ __wbg_enable_9fca6962aca10f48: function(arg0, arg1) {
4061
4008
  arg0.enable(arg1 >>> 0);
4062
4009
  },
4063
- __wbg_endQuery_54f0627d4c931318: function(arg0, arg1) {
4010
+ __wbg_endQuery_4eea0267f103b625: function(arg0, arg1) {
4064
4011
  arg0.endQuery(arg1 >>> 0);
4065
4012
  },
4066
- __wbg_end_0ac71677a5c1717a: function(arg0) {
4067
- arg0.end();
4068
- },
4069
- __wbg_end_6f776519f1faa582: function(arg0) {
4013
+ __wbg_end_82fd0c12ba185009: function(arg0) {
4070
4014
  arg0.end();
4071
4015
  },
4072
- __wbg_entries_58c7934c745daac7: function(arg0) {
4016
+ __wbg_entries_972a87586902cf87: function(arg0) {
4073
4017
  const ret = Object.entries(arg0);
4074
4018
  return ret;
4075
4019
  },
4076
- __wbg_error_7534b8e9a36f1ab4: function(arg0, arg1) {
4020
+ __wbg_error_756c5934221e6fee: function(arg0) {
4021
+ console.error(arg0);
4022
+ },
4023
+ __wbg_error_757e9472f8410341: function(arg0, arg1) {
4077
4024
  let deferred0_0;
4078
4025
  let deferred0_1;
4079
4026
  try {
@@ -4084,271 +4031,219 @@ function __wbg_get_imports() {
4084
4031
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
4085
4032
  }
4086
4033
  },
4087
- __wbg_error_9a7fe3f932034cde: function(arg0) {
4088
- console.error(arg0);
4089
- },
4090
- __wbg_error_e98e6aadd08e0b94: function(arg0) {
4034
+ __wbg_error_8c8dff942c7c4f11: function(arg0) {
4091
4035
  const ret = arg0.error;
4092
4036
  return ret;
4093
4037
  },
4094
- __wbg_executeBundles_8e6c0614da2805d4: function(arg0, arg1) {
4095
- arg0.executeBundles(arg1);
4096
- },
4097
- __wbg_features_1b464383ea8a7691: function(arg0) {
4098
- const ret = arg0.features;
4099
- return ret;
4100
- },
4101
- __wbg_features_e5fbbc2760867852: function(arg0) {
4102
- const ret = arg0.features;
4103
- return ret;
4104
- },
4105
- __wbg_fenceSync_c52a4e24eabfa0d3: function(arg0, arg1, arg2) {
4038
+ __wbg_fenceSync_13999b65854e9b9b: function(arg0, arg1, arg2) {
4106
4039
  const ret = arg0.fenceSync(arg1 >>> 0, arg2 >>> 0);
4107
4040
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4108
4041
  },
4109
- __wbg_finish_20711371c58df61c: function(arg0) {
4042
+ __wbg_finish_09ec094c10f41e7b: function(arg0) {
4110
4043
  const ret = arg0.finish();
4111
4044
  return ret;
4112
4045
  },
4113
- __wbg_finish_34b2c54329c8719f: function(arg0, arg1) {
4114
- const ret = arg0.finish(arg1);
4115
- return ret;
4046
+ __wbg_finish_0ce019eb398085de: function(arg0) {
4047
+ arg0.finish();
4116
4048
  },
4117
- __wbg_finish_a9ab917e756ea00c: function(arg0, arg1) {
4049
+ __wbg_finish_646a6b6ddc91f563: function(arg0) {
4050
+ arg0.finish();
4051
+ },
4052
+ __wbg_finish_ec1c191f66a895b1: function(arg0, arg1) {
4118
4053
  const ret = arg0.finish(arg1);
4119
4054
  return ret;
4120
4055
  },
4121
- __wbg_finish_e0a6c97c0622f843: function(arg0) {
4122
- const ret = arg0.finish();
4123
- return ret;
4056
+ __wbg_flush_824eea12383b8cca: function(arg0) {
4057
+ arg0.flush();
4058
+ },
4059
+ __wbg_flush_c4a6f752e79bfc53: function(arg0) {
4060
+ arg0.flush();
4124
4061
  },
4125
- __wbg_framebufferRenderbuffer_850811ed6e26475e: function(arg0, arg1, arg2, arg3, arg4) {
4062
+ __wbg_framebufferRenderbuffer_aa5275e6a52dc6bd: function(arg0, arg1, arg2, arg3, arg4) {
4126
4063
  arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
4127
4064
  },
4128
- __wbg_framebufferRenderbuffer_cd9d55a68a2300ea: function(arg0, arg1, arg2, arg3, arg4) {
4065
+ __wbg_framebufferRenderbuffer_f5e60406b8ee912e: function(arg0, arg1, arg2, arg3, arg4) {
4129
4066
  arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
4130
4067
  },
4131
- __wbg_framebufferTexture2D_8adf6bdfc3c56dee: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4068
+ __wbg_framebufferTexture2D_7a85448ff0ab4b2c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4132
4069
  arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
4133
4070
  },
4134
- __wbg_framebufferTexture2D_c283e928186aa542: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4071
+ __wbg_framebufferTexture2D_ee6a0d85fd7083aa: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4135
4072
  arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
4136
4073
  },
4137
- __wbg_framebufferTextureLayer_c8328828c8d5eb60: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4074
+ __wbg_framebufferTextureLayer_7c877ec2a0f9220b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4138
4075
  arg0.framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
4139
4076
  },
4140
- __wbg_framebufferTextureMultiviewOVR_16d049b41d692b91: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
4077
+ __wbg_framebufferTextureMultiviewOVR_64b070ac25c07833: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
4141
4078
  arg0.framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5, arg6);
4142
4079
  },
4143
- __wbg_frontFace_027e2ec7a7bc347c: function(arg0, arg1) {
4080
+ __wbg_frontFace_77f09a7664c8cd54: function(arg0, arg1) {
4144
4081
  arg0.frontFace(arg1 >>> 0);
4145
4082
  },
4146
- __wbg_frontFace_d4a6507ad2939b5c: function(arg0, arg1) {
4083
+ __wbg_frontFace_b3888c65efdb32fe: function(arg0, arg1) {
4147
4084
  arg0.frontFace(arg1 >>> 0);
4148
4085
  },
4149
- __wbg_getBindGroupLayout_4a94df6108ac6667: function(arg0, arg1) {
4150
- const ret = arg0.getBindGroupLayout(arg1 >>> 0);
4151
- return ret;
4152
- },
4153
- __wbg_getBindGroupLayout_80e803d942962f6a: function(arg0, arg1) {
4154
- const ret = arg0.getBindGroupLayout(arg1 >>> 0);
4155
- return ret;
4156
- },
4157
- __wbg_getBufferSubData_4fc54b4fbb1462d7: function(arg0, arg1, arg2, arg3) {
4086
+ __wbg_getBufferSubData_2c901ce3bd14301e: function(arg0, arg1, arg2, arg3) {
4158
4087
  arg0.getBufferSubData(arg1 >>> 0, arg2, arg3);
4159
4088
  },
4160
- __wbg_getCompilationInfo_2af3ecdfeda551a3: function(arg0) {
4161
- const ret = arg0.getCompilationInfo();
4162
- return ret;
4163
- },
4164
- __wbg_getContext_2966500392030d63: function() {
4165
- return handleError(function(arg0, arg1, arg2) {
4166
- const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
4089
+ __wbg_getContext_2c75bba1a1c9739b: function() {
4090
+ return handleError(function(arg0, arg1, arg2, arg3) {
4091
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
4167
4092
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4168
4093
  }, arguments);
4169
4094
  },
4170
- __wbg_getContext_2a5764d48600bc43: function() {
4095
+ __wbg_getContext_5ff6bd600503b094: function() {
4171
4096
  return handleError(function(arg0, arg1, arg2) {
4172
4097
  const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
4173
4098
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4174
4099
  }, arguments);
4175
4100
  },
4176
- __wbg_getContext_b28d2db7bd648242: function() {
4101
+ __wbg_getContext_db25e9527f2ccc08: function() {
4177
4102
  return handleError(function(arg0, arg1, arg2, arg3) {
4178
4103
  const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
4179
4104
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4180
4105
  }, arguments);
4181
4106
  },
4182
- __wbg_getContext_de810d9f187f29ca: function() {
4183
- return handleError(function(arg0, arg1, arg2, arg3) {
4184
- const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
4185
- return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4186
- }, arguments);
4187
- },
4188
- __wbg_getCurrentTexture_5a79cda2ff36e1ee: function(arg0) {
4189
- const ret = arg0.getCurrentTexture();
4190
- return ret;
4191
- },
4192
- __wbg_getExtension_3c0cb5ae01bb4b17: function() {
4107
+ __wbg_getExtension_112db5d69fdfc10f: function() {
4193
4108
  return handleError(function(arg0, arg1, arg2) {
4194
4109
  const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
4195
4110
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4196
4111
  }, arguments);
4197
4112
  },
4198
- __wbg_getIndexedParameter_ca1693c768bc4934: function() {
4113
+ __wbg_getIndexedParameter_d4437eb4ad4a0bfa: function() {
4199
4114
  return handleError(function(arg0, arg1, arg2) {
4200
4115
  const ret = arg0.getIndexedParameter(arg1 >>> 0, arg2 >>> 0);
4201
4116
  return ret;
4202
4117
  }, arguments);
4203
4118
  },
4204
- __wbg_getMappedRange_932dd043ae22ee0a: function(arg0, arg1, arg2) {
4205
- const ret = arg0.getMappedRange(arg1, arg2);
4206
- return ret;
4119
+ __wbg_getMappedRange_fb54c6327b2d8d20: function() {
4120
+ return handleError(function(arg0, arg1, arg2) {
4121
+ const ret = arg0.getMappedRange(arg1, arg2);
4122
+ return ret;
4123
+ }, arguments);
4207
4124
  },
4208
- __wbg_getParameter_1ecb910cfdd21f88: function() {
4125
+ __wbg_getParameter_031885c3618c2d0c: function() {
4209
4126
  return handleError(function(arg0, arg1) {
4210
4127
  const ret = arg0.getParameter(arg1 >>> 0);
4211
4128
  return ret;
4212
4129
  }, arguments);
4213
4130
  },
4214
- __wbg_getParameter_2e1f97ecaab76274: function() {
4131
+ __wbg_getParameter_7f269432cd46eb73: function() {
4215
4132
  return handleError(function(arg0, arg1) {
4216
4133
  const ret = arg0.getParameter(arg1 >>> 0);
4217
4134
  return ret;
4218
4135
  }, arguments);
4219
4136
  },
4220
- __wbg_getPreferredCanvasFormat_de73c02773a5209e: function(arg0) {
4221
- const ret = arg0.getPreferredCanvasFormat();
4222
- return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 96) - 1;
4223
- },
4224
- __wbg_getProgramInfoLog_2ffa30e3abb8b5c2: function(arg0, arg1, arg2) {
4137
+ __wbg_getProgramInfoLog_0e335b65673afba8: function(arg0, arg1, arg2) {
4225
4138
  const ret = arg1.getProgramInfoLog(arg2);
4226
4139
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4227
4140
  var len1 = WASM_VECTOR_LEN;
4228
4141
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4229
4142
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4230
4143
  },
4231
- __wbg_getProgramInfoLog_dbfda4b6e7eb1b37: function(arg0, arg1, arg2) {
4144
+ __wbg_getProgramInfoLog_82aa11c9d7e8d96e: function(arg0, arg1, arg2) {
4232
4145
  const ret = arg1.getProgramInfoLog(arg2);
4233
4146
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4234
4147
  var len1 = WASM_VECTOR_LEN;
4235
4148
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4236
4149
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4237
4150
  },
4238
- __wbg_getProgramParameter_43fbc6d2613c08b3: function(arg0, arg1, arg2) {
4151
+ __wbg_getProgramParameter_1a93fd2f4dcc0622: function(arg0, arg1, arg2) {
4239
4152
  const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
4240
4153
  return ret;
4241
4154
  },
4242
- __wbg_getProgramParameter_92e4540ca9da06b2: function(arg0, arg1, arg2) {
4155
+ __wbg_getProgramParameter_2a5860ab824690ec: function(arg0, arg1, arg2) {
4243
4156
  const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
4244
4157
  return ret;
4245
4158
  },
4246
- __wbg_getQueryParameter_5d6af051438ae479: function(arg0, arg1, arg2) {
4159
+ __wbg_getQueryParameter_145128cfab5de56d: function(arg0, arg1, arg2) {
4247
4160
  const ret = arg0.getQueryParameter(arg1, arg2 >>> 0);
4248
4161
  return ret;
4249
4162
  },
4250
- __wbg_getRandomValues_9c5c1b115e142bb8: function() {
4163
+ __wbg_getRandomValues_461aca49b5456fc4: function() {
4251
4164
  return handleError(function(arg0, arg1) {
4252
4165
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
4253
4166
  }, arguments);
4254
4167
  },
4255
- __wbg_getShaderInfoLog_9991e9e77b0c6805: function(arg0, arg1, arg2) {
4168
+ __wbg_getShaderInfoLog_416aea280f6fdf84: function(arg0, arg1, arg2) {
4256
4169
  const ret = arg1.getShaderInfoLog(arg2);
4257
4170
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4258
4171
  var len1 = WASM_VECTOR_LEN;
4259
4172
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4260
4173
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4261
4174
  },
4262
- __wbg_getShaderInfoLog_9e0b96da4b13ae49: function(arg0, arg1, arg2) {
4175
+ __wbg_getShaderInfoLog_e66ab6619bcd208d: function(arg0, arg1, arg2) {
4263
4176
  const ret = arg1.getShaderInfoLog(arg2);
4264
4177
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4265
4178
  var len1 = WASM_VECTOR_LEN;
4266
4179
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4267
4180
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4268
4181
  },
4269
- __wbg_getShaderParameter_786fd84f85720ca8: function(arg0, arg1, arg2) {
4182
+ __wbg_getShaderParameter_b19fb6adcff77066: function(arg0, arg1, arg2) {
4270
4183
  const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
4271
4184
  return ret;
4272
4185
  },
4273
- __wbg_getShaderParameter_afa4a3dd9dd397c1: function(arg0, arg1, arg2) {
4186
+ __wbg_getShaderParameter_d542b1412563ae42: function(arg0, arg1, arg2) {
4274
4187
  const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
4275
4188
  return ret;
4276
4189
  },
4277
- __wbg_getSupportedExtensions_57142a6b598d7787: function(arg0) {
4190
+ __wbg_getSupportedExtensions_67cde11dd49cad1a: function(arg0) {
4278
4191
  const ret = arg0.getSupportedExtensions();
4279
4192
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4280
4193
  },
4281
- __wbg_getSupportedProfiles_1f728bc32003c4d0: function(arg0) {
4194
+ __wbg_getSupportedProfiles_abd53cd63178e1e0: function(arg0) {
4282
4195
  const ret = arg0.getSupportedProfiles();
4283
4196
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4284
4197
  },
4285
- __wbg_getSyncParameter_7d11ab875b41617e: function(arg0, arg1, arg2) {
4198
+ __wbg_getSyncParameter_f4eeca8570f06af5: function(arg0, arg1, arg2) {
4286
4199
  const ret = arg0.getSyncParameter(arg1, arg2 >>> 0);
4287
4200
  return ret;
4288
4201
  },
4289
- __wbg_getUniformBlockIndex_1ee7e922e6d96d7e: function(arg0, arg1, arg2, arg3) {
4202
+ __wbg_getUniformBlockIndex_db57fe2d6ed6af2a: function(arg0, arg1, arg2, arg3) {
4290
4203
  const ret = arg0.getUniformBlockIndex(arg1, getStringFromWasm0(arg2, arg3));
4291
4204
  return ret;
4292
4205
  },
4293
- __wbg_getUniformLocation_71c070e6644669ad: function(arg0, arg1, arg2, arg3) {
4206
+ __wbg_getUniformLocation_03b9677a8f868582: function(arg0, arg1, arg2, arg3) {
4294
4207
  const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
4295
4208
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4296
4209
  },
4297
- __wbg_getUniformLocation_d06b3a5b3c60e95c: function(arg0, arg1, arg2, arg3) {
4210
+ __wbg_getUniformLocation_20bad5ce4a0aaae4: function(arg0, arg1, arg2, arg3) {
4298
4211
  const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
4299
4212
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4300
4213
  },
4301
- __wbg_get_9b94d73e6221f75c: function(arg0, arg1) {
4302
- const ret = arg0[arg1 >>> 0];
4303
- return ret;
4214
+ __wbg_get_6cf5a4d4d8ad3c5a: function() {
4215
+ return handleError(function(arg0, arg1) {
4216
+ const ret = Reflect.get(arg0, arg1);
4217
+ return ret;
4218
+ }, arguments);
4304
4219
  },
4305
- __wbg_get_b3ed3ad4be2bc8ac: function() {
4220
+ __wbg_get_989d0a1309644f2b: function() {
4306
4221
  return handleError(function(arg0, arg1) {
4307
4222
  const ret = Reflect.get(arg0, arg1);
4308
4223
  return ret;
4309
4224
  }, arguments);
4310
4225
  },
4311
- __wbg_get_d8db2ad31d529ff8: function(arg0, arg1) {
4226
+ __wbg_get_b1f0ab13c737f856: function(arg0, arg1) {
4312
4227
  const ret = arg0[arg1 >>> 0];
4313
- return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4314
- },
4315
- __wbg_get_with_ref_key_1dc361bd10053bfe: function(arg0, arg1) {
4316
- const ret = arg0[arg1];
4317
- return ret;
4318
- },
4319
- __wbg_gpu_87871e8f7ace8fee: function(arg0) {
4320
- const ret = arg0.gpu;
4321
- return ret;
4322
- },
4323
- __wbg_has_624cbf0451d880e8: function(arg0, arg1, arg2) {
4324
- const ret = arg0.has(getStringFromWasm0(arg1, arg2));
4325
- return ret;
4326
- },
4327
- __wbg_height_38750dc6de41ee75: function(arg0) {
4328
- const ret = arg0.height;
4329
- return ret;
4330
- },
4331
- __wbg_height_408f385de046f7e5: function(arg0) {
4332
- const ret = arg0.height;
4333
4228
  return ret;
4334
4229
  },
4335
- __wbg_height_87250db2be5164b9: function(arg0) {
4336
- const ret = arg0.height;
4230
+ __wbg_get_unchecked_363572bdd397d473: function(arg0, arg1) {
4231
+ const ret = arg0[arg1 >>> 0];
4337
4232
  return ret;
4338
4233
  },
4339
- __wbg_height_9a49d61734f6cf36: function(arg0) {
4340
- const ret = arg0.height;
4234
+ __wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
4235
+ const ret = arg0[arg1];
4341
4236
  return ret;
4342
4237
  },
4343
- __wbg_height_aceb0c14551ea27d: function(arg0) {
4344
- const ret = arg0.height;
4238
+ __wbg_gpu_afdd4387c7afe5f9: function(arg0) {
4239
+ const ret = arg0.gpu;
4345
4240
  return ret;
4346
4241
  },
4347
- __wbg_includes_32215c836f1cd3fb: function(arg0, arg1, arg2) {
4242
+ __wbg_includes_c0f578d8314b8dbf: function(arg0, arg1, arg2) {
4348
4243
  const ret = arg0.includes(arg1, arg2);
4349
4244
  return ret;
4350
4245
  },
4351
- __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: function(arg0) {
4246
+ __wbg_instanceof_ArrayBuffer_d4ff01f8247925ae: function(arg0) {
4352
4247
  let result;
4353
4248
  try {
4354
4249
  result = arg0 instanceof ArrayBuffer;
@@ -4358,37 +4253,7 @@ function __wbg_get_imports() {
4358
4253
  const ret = result;
4359
4254
  return ret;
4360
4255
  },
4361
- __wbg_instanceof_GpuAdapter_0731153d2b08720b: function(arg0) {
4362
- let result;
4363
- try {
4364
- result = arg0 instanceof GPUAdapter;
4365
- } catch (_) {
4366
- result = false;
4367
- }
4368
- const ret = result;
4369
- return ret;
4370
- },
4371
- __wbg_instanceof_GpuCanvasContext_d14121c7bd72fcef: function(arg0) {
4372
- let result;
4373
- try {
4374
- result = arg0 instanceof GPUCanvasContext;
4375
- } catch (_) {
4376
- result = false;
4377
- }
4378
- const ret = result;
4379
- return ret;
4380
- },
4381
- __wbg_instanceof_GpuDeviceLostInfo_a3677ebb8241d800: function(arg0) {
4382
- let result;
4383
- try {
4384
- result = arg0 instanceof GPUDeviceLostInfo;
4385
- } catch (_) {
4386
- result = false;
4387
- }
4388
- const ret = result;
4389
- return ret;
4390
- },
4391
- __wbg_instanceof_GpuOutOfMemoryError_391d9a08edbfa04b: function(arg0) {
4256
+ __wbg_instanceof_GpuOutOfMemoryError_5c3b8a2499f59adb: function(arg0) {
4392
4257
  let result;
4393
4258
  try {
4394
4259
  result = arg0 instanceof GPUOutOfMemoryError;
@@ -4398,7 +4263,7 @@ function __wbg_get_imports() {
4398
4263
  const ret = result;
4399
4264
  return ret;
4400
4265
  },
4401
- __wbg_instanceof_GpuValidationError_f4d803c383da3c92: function(arg0) {
4266
+ __wbg_instanceof_GpuValidationError_7659e07b12d4e184: function(arg0) {
4402
4267
  let result;
4403
4268
  try {
4404
4269
  result = arg0 instanceof GPUValidationError;
@@ -4408,7 +4273,7 @@ function __wbg_get_imports() {
4408
4273
  const ret = result;
4409
4274
  return ret;
4410
4275
  },
4411
- __wbg_instanceof_HtmlCanvasElement_3f2f6e1edb1c9792: function(arg0) {
4276
+ __wbg_instanceof_HtmlCanvasElement_4d7e131643d814c1: function(arg0) {
4412
4277
  let result;
4413
4278
  try {
4414
4279
  result = arg0 instanceof HTMLCanvasElement;
@@ -4418,7 +4283,7 @@ function __wbg_get_imports() {
4418
4283
  const ret = result;
4419
4284
  return ret;
4420
4285
  },
4421
- __wbg_instanceof_Map_53af74335dec57f4: function(arg0) {
4286
+ __wbg_instanceof_Map_1ff6a2b54c899f0d: function(arg0) {
4422
4287
  let result;
4423
4288
  try {
4424
4289
  result = arg0 instanceof Map;
@@ -4428,17 +4293,7 @@ function __wbg_get_imports() {
4428
4293
  const ret = result;
4429
4294
  return ret;
4430
4295
  },
4431
- __wbg_instanceof_Object_1c6af87502b733ed: function(arg0) {
4432
- let result;
4433
- try {
4434
- result = arg0 instanceof Object;
4435
- } catch (_) {
4436
- result = false;
4437
- }
4438
- const ret = result;
4439
- return ret;
4440
- },
4441
- __wbg_instanceof_Uint8Array_9b9075935c74707c: function(arg0) {
4296
+ __wbg_instanceof_Uint8Array_598adc0fef426aa8: function(arg0) {
4442
4297
  let result;
4443
4298
  try {
4444
4299
  result = arg0 instanceof Uint8Array;
@@ -4448,7 +4303,7 @@ function __wbg_get_imports() {
4448
4303
  const ret = result;
4449
4304
  return ret;
4450
4305
  },
4451
- __wbg_instanceof_WebGl2RenderingContext_4a08a94517ed5240: function(arg0) {
4306
+ __wbg_instanceof_WebGl2RenderingContext_015d221b904a3c7b: function(arg0) {
4452
4307
  let result;
4453
4308
  try {
4454
4309
  result = arg0 instanceof WebGL2RenderingContext;
@@ -4458,7 +4313,7 @@ function __wbg_get_imports() {
4458
4313
  const ret = result;
4459
4314
  return ret;
4460
4315
  },
4461
- __wbg_instanceof_Window_ed49b2db8df90359: function(arg0) {
4316
+ __wbg_instanceof_Window_a3b8566f0a9c5d1a: function(arg0) {
4462
4317
  let result;
4463
4318
  try {
4464
4319
  result = arg0 instanceof Window;
@@ -4468,244 +4323,224 @@ function __wbg_get_imports() {
4468
4323
  const ret = result;
4469
4324
  return ret;
4470
4325
  },
4471
- __wbg_invalidateFramebuffer_b17b7e1da3051745: function() {
4326
+ __wbg_invalidateFramebuffer_4538559f02a556ae: function() {
4472
4327
  return handleError(function(arg0, arg1, arg2) {
4473
4328
  arg0.invalidateFramebuffer(arg1 >>> 0, arg2);
4474
4329
  }, arguments);
4475
4330
  },
4476
- __wbg_isArray_d314bb98fcf08331: function(arg0) {
4331
+ __wbg_isArray_5674713bb7b79043: function(arg0) {
4477
4332
  const ret = Array.isArray(arg0);
4478
4333
  return ret;
4479
4334
  },
4480
- __wbg_isSafeInteger_bfbc7332a9768d2a: function(arg0) {
4335
+ __wbg_isSafeInteger_8f51c743827d1ec5: function(arg0) {
4481
4336
  const ret = Number.isSafeInteger(arg0);
4482
4337
  return ret;
4483
4338
  },
4484
- __wbg_is_f29129f676e5410c: function(arg0, arg1) {
4339
+ __wbg_is_61443cc073056436: function(arg0, arg1) {
4485
4340
  const ret = Object.is(arg0, arg1);
4486
4341
  return ret;
4487
4342
  },
4488
- __wbg_iterator_6ff6560ca1568e55: function() {
4343
+ __wbg_iterator_22ddeb808cf55a6f: function() {
4489
4344
  const ret = Symbol.iterator;
4490
4345
  return ret;
4491
4346
  },
4492
- __wbg_label_2082ab37d2ad170d: function(arg0, arg1) {
4347
+ __wbg_label_7add8cb37a6ef98f: function(arg0, arg1) {
4493
4348
  const ret = arg1.label;
4494
4349
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4495
4350
  const len1 = WASM_VECTOR_LEN;
4496
4351
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4497
4352
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4498
4353
  },
4499
- __wbg_length_32ed9a279acd054c: function(arg0) {
4354
+ __wbg_length_31bdaf014f5fbde2: function(arg0) {
4500
4355
  const ret = arg0.length;
4501
4356
  return ret;
4502
4357
  },
4503
- __wbg_length_35a7bace40f36eac: function(arg0) {
4358
+ __wbg_length_4e1adc0d42e23620: function(arg0) {
4504
4359
  const ret = arg0.length;
4505
4360
  return ret;
4506
4361
  },
4507
- __wbg_length_9df32f7add647235: function(arg0) {
4508
- const ret = arg0.length;
4509
- return ret;
4510
- },
4511
- __wbg_limits_2dd632c891786ddf: function(arg0) {
4362
+ __wbg_limits_601ad2e086ef8141: function(arg0) {
4512
4363
  const ret = arg0.limits;
4513
4364
  return ret;
4514
4365
  },
4515
- __wbg_limits_f6411f884b0b2d62: function(arg0) {
4516
- const ret = arg0.limits;
4517
- return ret;
4518
- },
4519
- __wbg_lineNum_0246de1e072ffe19: function(arg0) {
4520
- const ret = arg0.lineNum;
4521
- return ret;
4522
- },
4523
- __wbg_linkProgram_6600dd2c0863bbfd: function(arg0, arg1) {
4366
+ __wbg_linkProgram_794fd290a759542a: function(arg0, arg1) {
4524
4367
  arg0.linkProgram(arg1);
4525
4368
  },
4526
- __wbg_linkProgram_be6b825cf66d177b: function(arg0, arg1) {
4369
+ __wbg_linkProgram_e408ee5f93686f1f: function(arg0, arg1) {
4527
4370
  arg0.linkProgram(arg1);
4528
4371
  },
4529
- __wbg_log_6b5ca2e6124b2808: function(arg0) {
4372
+ __wbg_log_363d83b9114c8831: function(arg0) {
4530
4373
  console.log(arg0);
4531
4374
  },
4532
- __wbg_lost_6e4d29847ce2a34a: function(arg0) {
4533
- const ret = arg0.lost;
4375
+ __wbg_mapAsync_b0597127f5037286: function(arg0, arg1, arg2, arg3) {
4376
+ const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
4534
4377
  return ret;
4535
4378
  },
4536
- __wbg_mapAsync_37f5e03edf2e1352: function(arg0, arg1, arg2, arg3) {
4537
- const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
4379
+ __wbg_maxBindGroupsPlusVertexBuffers_52369f089736ef9d: function(arg0) {
4380
+ const ret = arg0.maxBindGroupsPlusVertexBuffers;
4538
4381
  return ret;
4539
4382
  },
4540
- __wbg_maxBindGroups_768ca5e8623bf450: function(arg0) {
4383
+ __wbg_maxBindGroups_4e424afe6ce86ca2: function(arg0) {
4541
4384
  const ret = arg0.maxBindGroups;
4542
4385
  return ret;
4543
4386
  },
4544
- __wbg_maxBindingsPerBindGroup_057972d600d69719: function(arg0) {
4387
+ __wbg_maxBindingsPerBindGroup_7d035da36821c44f: function(arg0) {
4545
4388
  const ret = arg0.maxBindingsPerBindGroup;
4546
4389
  return ret;
4547
4390
  },
4548
- __wbg_maxBufferSize_e237b44f19a5a62b: function(arg0) {
4391
+ __wbg_maxBufferSize_423f4a084e32a195: function(arg0) {
4549
4392
  const ret = arg0.maxBufferSize;
4550
4393
  return ret;
4551
4394
  },
4552
- __wbg_maxColorAttachmentBytesPerSample_d6c7b4051d22c6d6: function(arg0) {
4395
+ __wbg_maxColorAttachmentBytesPerSample_c4cd9126f6d287c6: function(arg0) {
4553
4396
  const ret = arg0.maxColorAttachmentBytesPerSample;
4554
4397
  return ret;
4555
4398
  },
4556
- __wbg_maxColorAttachments_7a18ba24c05edcfd: function(arg0) {
4399
+ __wbg_maxColorAttachments_d924670762b9e250: function(arg0) {
4557
4400
  const ret = arg0.maxColorAttachments;
4558
4401
  return ret;
4559
4402
  },
4560
- __wbg_maxComputeInvocationsPerWorkgroup_b99c2f3611633992: function(arg0) {
4403
+ __wbg_maxComputeInvocationsPerWorkgroup_707a3868f7cebb59: function(arg0) {
4561
4404
  const ret = arg0.maxComputeInvocationsPerWorkgroup;
4562
4405
  return ret;
4563
4406
  },
4564
- __wbg_maxComputeWorkgroupSizeX_adb26da9ed7f77f7: function(arg0) {
4407
+ __wbg_maxComputeWorkgroupSizeX_0a4d99463cbd6e5e: function(arg0) {
4565
4408
  const ret = arg0.maxComputeWorkgroupSizeX;
4566
4409
  return ret;
4567
4410
  },
4568
- __wbg_maxComputeWorkgroupSizeY_cc217559c98be33b: function(arg0) {
4411
+ __wbg_maxComputeWorkgroupSizeY_85123ea0587f7558: function(arg0) {
4569
4412
  const ret = arg0.maxComputeWorkgroupSizeY;
4570
4413
  return ret;
4571
4414
  },
4572
- __wbg_maxComputeWorkgroupSizeZ_66606a80e2cf2309: function(arg0) {
4415
+ __wbg_maxComputeWorkgroupSizeZ_a3186b4c5267d44f: function(arg0) {
4573
4416
  const ret = arg0.maxComputeWorkgroupSizeZ;
4574
4417
  return ret;
4575
4418
  },
4576
- __wbg_maxComputeWorkgroupStorageSize_cb6235497b8c4997: function(arg0) {
4419
+ __wbg_maxComputeWorkgroupStorageSize_57b297355cfb6204: function(arg0) {
4577
4420
  const ret = arg0.maxComputeWorkgroupStorageSize;
4578
4421
  return ret;
4579
4422
  },
4580
- __wbg_maxComputeWorkgroupsPerDimension_6bf550b5f21d57cf: function(arg0) {
4423
+ __wbg_maxComputeWorkgroupsPerDimension_4158f95e673d54c4: function(arg0) {
4581
4424
  const ret = arg0.maxComputeWorkgroupsPerDimension;
4582
4425
  return ret;
4583
4426
  },
4584
- __wbg_maxDynamicStorageBuffersPerPipelineLayout_c6ac20334e328b47: function(arg0) {
4427
+ __wbg_maxDynamicStorageBuffersPerPipelineLayout_226b0b70910aa16c: function(arg0) {
4585
4428
  const ret = arg0.maxDynamicStorageBuffersPerPipelineLayout;
4586
4429
  return ret;
4587
4430
  },
4588
- __wbg_maxDynamicUniformBuffersPerPipelineLayout_aa8f14a74b440f01: function(arg0) {
4431
+ __wbg_maxDynamicUniformBuffersPerPipelineLayout_0e835fda711fc7e6: function(arg0) {
4589
4432
  const ret = arg0.maxDynamicUniformBuffersPerPipelineLayout;
4590
4433
  return ret;
4591
4434
  },
4592
- __wbg_maxSampledTexturesPerShaderStage_db7c4922cc60144a: function(arg0) {
4435
+ __wbg_maxInterStageShaderVariables_8c4a1d727e2aa35a: function(arg0) {
4436
+ const ret = arg0.maxInterStageShaderVariables;
4437
+ return ret;
4438
+ },
4439
+ __wbg_maxSampledTexturesPerShaderStage_6675f5e91d9a728a: function(arg0) {
4593
4440
  const ret = arg0.maxSampledTexturesPerShaderStage;
4594
4441
  return ret;
4595
4442
  },
4596
- __wbg_maxSamplersPerShaderStage_538705fe2263e710: function(arg0) {
4443
+ __wbg_maxSamplersPerShaderStage_1910fa38a6ed1e1f: function(arg0) {
4597
4444
  const ret = arg0.maxSamplersPerShaderStage;
4598
4445
  return ret;
4599
4446
  },
4600
- __wbg_maxStorageBufferBindingSize_32178c0f5f7f85cb: function(arg0) {
4447
+ __wbg_maxStorageBufferBindingSize_2e244bded070b18d: function(arg0) {
4601
4448
  const ret = arg0.maxStorageBufferBindingSize;
4602
4449
  return ret;
4603
4450
  },
4604
- __wbg_maxStorageBuffersPerShaderStage_9f67e9eae0089f77: function(arg0) {
4451
+ __wbg_maxStorageBuffersPerShaderStage_a285f3ebca51ca0d: function(arg0) {
4605
4452
  const ret = arg0.maxStorageBuffersPerShaderStage;
4606
4453
  return ret;
4607
4454
  },
4608
- __wbg_maxStorageTexturesPerShaderStage_57239664936031cf: function(arg0) {
4455
+ __wbg_maxStorageTexturesPerShaderStage_7aa946f0fc322a2b: function(arg0) {
4609
4456
  const ret = arg0.maxStorageTexturesPerShaderStage;
4610
4457
  return ret;
4611
4458
  },
4612
- __wbg_maxTextureArrayLayers_db5d4e486c78ae04: function(arg0) {
4459
+ __wbg_maxTextureArrayLayers_0e699147ad00502d: function(arg0) {
4613
4460
  const ret = arg0.maxTextureArrayLayers;
4614
4461
  return ret;
4615
4462
  },
4616
- __wbg_maxTextureDimension1D_3475085ffacabbdc: function(arg0) {
4463
+ __wbg_maxTextureDimension1D_aabf6add54decfe2: function(arg0) {
4617
4464
  const ret = arg0.maxTextureDimension1D;
4618
4465
  return ret;
4619
4466
  },
4620
- __wbg_maxTextureDimension2D_7c8d5ecf09eb8519: function(arg0) {
4467
+ __wbg_maxTextureDimension2D_dd598b27e9c0c1c4: function(arg0) {
4621
4468
  const ret = arg0.maxTextureDimension2D;
4622
4469
  return ret;
4623
4470
  },
4624
- __wbg_maxTextureDimension3D_8bd976677a0f91d4: function(arg0) {
4471
+ __wbg_maxTextureDimension3D_f944266c65dfd1a9: function(arg0) {
4625
4472
  const ret = arg0.maxTextureDimension3D;
4626
4473
  return ret;
4627
4474
  },
4628
- __wbg_maxUniformBufferBindingSize_95b1a54e7e4a0f0f: function(arg0) {
4475
+ __wbg_maxUniformBufferBindingSize_59fa6be7cfbeeb53: function(arg0) {
4629
4476
  const ret = arg0.maxUniformBufferBindingSize;
4630
4477
  return ret;
4631
4478
  },
4632
- __wbg_maxUniformBuffersPerShaderStage_5f475d9a453af14d: function(arg0) {
4479
+ __wbg_maxUniformBuffersPerShaderStage_bee5f00a4d706c7f: function(arg0) {
4633
4480
  const ret = arg0.maxUniformBuffersPerShaderStage;
4634
4481
  return ret;
4635
4482
  },
4636
- __wbg_maxVertexAttributes_4c48ca2f5d32f860: function(arg0) {
4483
+ __wbg_maxVertexAttributes_5cf6392c4e9033fe: function(arg0) {
4637
4484
  const ret = arg0.maxVertexAttributes;
4638
4485
  return ret;
4639
4486
  },
4640
- __wbg_maxVertexBufferArrayStride_2233f6933ecc5a16: function(arg0) {
4487
+ __wbg_maxVertexBufferArrayStride_548baa887375d865: function(arg0) {
4641
4488
  const ret = arg0.maxVertexBufferArrayStride;
4642
4489
  return ret;
4643
4490
  },
4644
- __wbg_maxVertexBuffers_c47e508cd7348554: function(arg0) {
4491
+ __wbg_maxVertexBuffers_75d881156591f5da: function(arg0) {
4645
4492
  const ret = arg0.maxVertexBuffers;
4646
4493
  return ret;
4647
4494
  },
4648
- __wbg_message_0762358e59db7ed6: function(arg0, arg1) {
4649
- const ret = arg1.message;
4650
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4651
- const len1 = WASM_VECTOR_LEN;
4652
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4653
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4654
- },
4655
- __wbg_message_7957ab09f64c6822: function(arg0, arg1) {
4656
- const ret = arg1.message;
4657
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4658
- const len1 = WASM_VECTOR_LEN;
4659
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4660
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4661
- },
4662
- __wbg_message_b163994503433c9e: function(arg0, arg1) {
4495
+ __wbg_message_2aad50368e15e8f1: function(arg0, arg1) {
4663
4496
  const ret = arg1.message;
4664
4497
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4665
4498
  const len1 = WASM_VECTOR_LEN;
4666
4499
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4667
4500
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4668
4501
  },
4669
- __wbg_messages_da071582f72bc978: function(arg0) {
4670
- const ret = arg0.messages;
4671
- return ret;
4672
- },
4673
- __wbg_minStorageBufferOffsetAlignment_51b4801fac3a58de: function(arg0) {
4502
+ __wbg_minStorageBufferOffsetAlignment_5ba9b77792bdadb3: function(arg0) {
4674
4503
  const ret = arg0.minStorageBufferOffsetAlignment;
4675
4504
  return ret;
4676
4505
  },
4677
- __wbg_minUniformBufferOffsetAlignment_5d62a77924b2335f: function(arg0) {
4506
+ __wbg_minUniformBufferOffsetAlignment_ab7d52a5293b22bd: function(arg0) {
4678
4507
  const ret = arg0.minUniformBufferOffsetAlignment;
4679
4508
  return ret;
4680
4509
  },
4681
- __wbg_navigator_43be698ba96fc088: function(arg0) {
4510
+ __wbg_navigator_d217ca64c4bbff48: function(arg0) {
4682
4511
  const ret = arg0.navigator;
4683
4512
  return ret;
4684
4513
  },
4685
- __wbg_navigator_4478931f32ebca57: function(arg0) {
4514
+ __wbg_navigator_d25c0f071226f233: function(arg0) {
4686
4515
  const ret = arg0.navigator;
4687
4516
  return ret;
4688
4517
  },
4689
- __wbg_new_361308b2356cecd0: function() {
4690
- const ret = new Object();
4691
- return ret;
4518
+ __wbg_new_12e5d807044fbfe3: function() {
4519
+ return handleError(function(arg0, arg1) {
4520
+ const ret = new OffscreenCanvas(arg0 >>> 0, arg1 >>> 0);
4521
+ return ret;
4522
+ }, arguments);
4692
4523
  },
4693
- __wbg_new_3eb36ae241fe6f44: function() {
4694
- const ret = new Array();
4524
+ __wbg_new_1da3429bc3c4541c: function(arg0) {
4525
+ const ret = new Uint8Array(arg0);
4695
4526
  return ret;
4696
4527
  },
4697
- __wbg_new_8a6f238a6ece86ea: function() {
4528
+ __wbg_new_227d7c05414eb861: function() {
4698
4529
  const ret = new Error();
4699
4530
  return ret;
4700
4531
  },
4701
- __wbg_new_b5d9e2fb389fef91: function(arg0, arg1) {
4532
+ __wbg_new_8d36e20aa758e411: function() {
4533
+ const ret = /* @__PURE__ */ new Map();
4534
+ return ret;
4535
+ },
4536
+ __wbg_new_8f72ed7c652bf5a2: function(arg0, arg1) {
4702
4537
  try {
4703
4538
  var state0 = { a: arg0, b: arg1 };
4704
4539
  var cb0 = (arg02, arg12) => {
4705
4540
  const a = state0.a;
4706
4541
  state0.a = 0;
4707
4542
  try {
4708
- return wasm_bindgen_bf9fb98b009f27c1___convert__closures_____invoke___wasm_bindgen_bf9fb98b009f27c1___JsValue__wasm_bindgen_bf9fb98b009f27c1___JsValue_____(a, state0.b, arg02, arg12);
4543
+ return wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___js_sys_a7eb04f8bd1805db___Function_fn_wasm_bindgen_acf9c2f2c9dd69b6___JsValue_____wasm_bindgen_acf9c2f2c9dd69b6___sys__Undefined___js_sys_a7eb04f8bd1805db___Function_fn_wasm_bindgen_acf9c2f2c9dd69b6___JsValue_____wasm_bindgen_acf9c2f2c9dd69b6___sys__Undefined_______true_(a, state0.b, arg02, arg12);
4709
4544
  } finally {
4710
4545
  state0.a = a;
4711
4546
  }
@@ -4713,691 +4548,896 @@ function __wbg_get_imports() {
4713
4548
  const ret = new Promise(cb0);
4714
4549
  return ret;
4715
4550
  } finally {
4716
- state0.a = state0.b = 0;
4551
+ state0.a = 0;
4717
4552
  }
4718
4553
  },
4719
- __wbg_new_dca287b076112a51: function() {
4720
- const ret = /* @__PURE__ */ new Map();
4554
+ __wbg_new_bebc3f4757acf305: function() {
4555
+ const ret = new Object();
4721
4556
  return ret;
4722
4557
  },
4723
- __wbg_new_dd2b680c8bf6ae29: function(arg0) {
4724
- const ret = new Uint8Array(arg0);
4558
+ __wbg_new_ffa92086ea89f79c: function() {
4559
+ const ret = new Array();
4725
4560
  return ret;
4726
4561
  },
4727
- __wbg_new_from_slice_132ef6dc5072cf68: function(arg0, arg1) {
4562
+ __wbg_new_from_slice_2221cabb71753908: function(arg0, arg1) {
4728
4563
  const ret = new Float32Array(getArrayF32FromWasm0(arg0, arg1));
4729
4564
  return ret;
4730
4565
  },
4731
- __wbg_new_from_slice_19d21922ff3c0ae6: function(arg0, arg1) {
4732
- const ret = new Uint32Array(getArrayU32FromWasm0(arg0, arg1));
4566
+ __wbg_new_from_slice_4ee02165f9de919e: function(arg0, arg1) {
4567
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
4733
4568
  return ret;
4734
4569
  },
4735
- __wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
4736
- const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
4570
+ __wbg_new_from_slice_a500ec81601be48f: function(arg0, arg1) {
4571
+ const ret = new Uint32Array(getArrayU32FromWasm0(arg0, arg1));
4737
4572
  return ret;
4738
4573
  },
4739
- __wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
4740
- const ret = new Function(getStringFromWasm0(arg0, arg1));
4574
+ __wbg_new_typed_6f8b0d724fe26c07: function(arg0, arg1) {
4575
+ try {
4576
+ var state0 = { a: arg0, b: arg1 };
4577
+ var cb0 = (arg02, arg12) => {
4578
+ const a = state0.a;
4579
+ state0.a = 0;
4580
+ try {
4581
+ return wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___js_sys_a7eb04f8bd1805db___Function_fn_wasm_bindgen_acf9c2f2c9dd69b6___JsValue_____wasm_bindgen_acf9c2f2c9dd69b6___sys__Undefined___js_sys_a7eb04f8bd1805db___Function_fn_wasm_bindgen_acf9c2f2c9dd69b6___JsValue_____wasm_bindgen_acf9c2f2c9dd69b6___sys__Undefined_______true_(a, state0.b, arg02, arg12);
4582
+ } finally {
4583
+ state0.a = a;
4584
+ }
4585
+ };
4586
+ const ret = new Promise(cb0);
4587
+ return ret;
4588
+ } finally {
4589
+ state0.a = 0;
4590
+ }
4591
+ },
4592
+ __wbg_new_typed_7d4574ab4b8446c8: function() {
4593
+ const ret = new Object();
4741
4594
  return ret;
4742
4595
  },
4743
- __wbg_new_with_byte_offset_and_length_aa261d9c9da49eb1: function(arg0, arg1, arg2) {
4596
+ __wbg_new_with_byte_offset_and_length_492c969e8b5da8a4: function(arg0, arg1, arg2) {
4744
4597
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
4745
4598
  return ret;
4746
4599
  },
4747
- __wbg_new_with_length_1763c527b2923202: function(arg0) {
4600
+ __wbg_new_with_length_6a9fc3631737ef8c: function(arg0) {
4748
4601
  const ret = new Array(arg0 >>> 0);
4749
4602
  return ret;
4750
4603
  },
4751
- __wbg_next_3482f54c49e8af19: function() {
4604
+ __wbg_next_95053e306b1c3aed: function(arg0) {
4605
+ const ret = arg0.next;
4606
+ return ret;
4607
+ },
4608
+ __wbg_next_f31ecb8646d2c605: function() {
4752
4609
  return handleError(function(arg0) {
4753
4610
  const ret = arg0.next();
4754
4611
  return ret;
4755
4612
  }, arguments);
4756
4613
  },
4757
- __wbg_next_418f80d8f5303233: function(arg0) {
4758
- const ret = arg0.next;
4614
+ __wbg_now_d1fb6650485d7f3e: function() {
4615
+ const ret = Date.now();
4759
4616
  return ret;
4760
4617
  },
4761
- __wbg_now_9ff72f82c85bbbb5: function() {
4618
+ __wbg_now_db339b04e277a1fd: function() {
4762
4619
  const ret = performance.now();
4763
4620
  return ret;
4764
4621
  },
4765
- __wbg_now_a3af9a2f4bbaa4d1: function() {
4766
- const ret = Date.now();
4767
- return ret;
4768
- },
4769
- __wbg_of_f915f7cd925b21a5: function(arg0) {
4622
+ __wbg_of_1a3f47170341cefe: function(arg0) {
4770
4623
  const ret = Array.of(arg0);
4771
4624
  return ret;
4772
4625
  },
4773
- __wbg_offset_336f14c993863b76: function(arg0) {
4774
- const ret = arg0.offset;
4626
+ __wbg_onSubmittedWorkDone_1190213cee1ecf7e: function(arg0) {
4627
+ const ret = arg0.onSubmittedWorkDone();
4775
4628
  return ret;
4776
4629
  },
4777
- __wbg_pixelStorei_2a65936c11b710fe: function(arg0, arg1, arg2) {
4630
+ __wbg_pixelStorei_1bc7980b82e1ba4b: function(arg0, arg1, arg2) {
4778
4631
  arg0.pixelStorei(arg1 >>> 0, arg2);
4779
4632
  },
4780
- __wbg_pixelStorei_f7cc498f52d523f1: function(arg0, arg1, arg2) {
4633
+ __wbg_pixelStorei_d540c25aafa93789: function(arg0, arg1, arg2) {
4781
4634
  arg0.pixelStorei(arg1 >>> 0, arg2);
4782
4635
  },
4783
- __wbg_polygonOffset_24a8059deb03be92: function(arg0, arg1, arg2) {
4636
+ __wbg_polygonOffset_a97069c9fe385bff: function(arg0, arg1, arg2) {
4784
4637
  arg0.polygonOffset(arg1, arg2);
4785
4638
  },
4786
- __wbg_polygonOffset_4b3158d8ed028862: function(arg0, arg1, arg2) {
4639
+ __wbg_polygonOffset_f99887a0cc3d7df4: function(arg0, arg1, arg2) {
4787
4640
  arg0.polygonOffset(arg1, arg2);
4788
4641
  },
4789
- __wbg_popErrorScope_af0b22f136a861d6: function(arg0) {
4790
- const ret = arg0.popErrorScope();
4791
- return ret;
4792
- },
4793
- __wbg_prototypesetcall_bdcdcc5842e4d77d: function(arg0, arg1, arg2) {
4642
+ __wbg_prototypesetcall_ae9f5e7459250748: function(arg0, arg1, arg2) {
4794
4643
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
4795
4644
  },
4796
- __wbg_pushErrorScope_b52914ff10ba6ce3: function(arg0, arg1) {
4797
- arg0.pushErrorScope(__wbindgen_enum_GpuErrorFilter[arg1]);
4798
- },
4799
- __wbg_push_8ffdcb2063340ba5: function(arg0, arg1) {
4645
+ __wbg_push_bfdf956ba476f65b: function(arg0, arg1) {
4800
4646
  const ret = arg0.push(arg1);
4801
4647
  return ret;
4802
4648
  },
4803
- __wbg_queryCounterEXT_b578f07c30420446: function(arg0, arg1, arg2) {
4649
+ __wbg_queryCounterEXT_c9fb8ad39c35fdf6: function(arg0, arg1, arg2) {
4804
4650
  arg0.queryCounterEXT(arg1, arg2 >>> 0);
4805
4651
  },
4806
- __wbg_querySelectorAll_1283aae52043a951: function() {
4807
- return handleError(function(arg0, arg1, arg2) {
4808
- const ret = arg0.querySelectorAll(getStringFromWasm0(arg1, arg2));
4809
- return ret;
4810
- }, arguments);
4811
- },
4812
- __wbg_querySelector_c3b0df2d58eec220: function() {
4652
+ __wbg_querySelector_5b1d9ebad373dc9d: function() {
4813
4653
  return handleError(function(arg0, arg1, arg2) {
4814
4654
  const ret = arg0.querySelector(getStringFromWasm0(arg1, arg2));
4815
4655
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4816
4656
  }, arguments);
4817
4657
  },
4818
- __wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
4658
+ __wbg_queueMicrotask_85c90f6987555d65: function(arg0) {
4819
4659
  const ret = arg0.queueMicrotask;
4820
4660
  return ret;
4821
4661
  },
4822
- __wbg_queueMicrotask_5bb536982f78a56f: function(arg0) {
4662
+ __wbg_queueMicrotask_f6a1fa10b81d1fc0: function(arg0) {
4823
4663
  queueMicrotask(arg0);
4824
4664
  },
4825
- __wbg_queue_bea4017efaaf9904: function(arg0) {
4665
+ __wbg_queue_7b62c28143d44293: function(arg0) {
4826
4666
  const ret = arg0.queue;
4827
4667
  return ret;
4828
4668
  },
4829
- __wbg_readBuffer_9eb461d6857295f0: function(arg0, arg1) {
4669
+ __wbg_readBuffer_1679a4b6dcd78e30: function(arg0, arg1) {
4830
4670
  arg0.readBuffer(arg1 >>> 0);
4831
4671
  },
4832
- __wbg_readPixels_55b18304384e073d: function() {
4672
+ __wbg_readPixels_5d75a0ec1e2aab33: function() {
4833
4673
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
4834
4674
  arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
4835
4675
  }, arguments);
4836
4676
  },
4837
- __wbg_readPixels_6ea8e288a8673282: function() {
4677
+ __wbg_readPixels_c60bfe6126f65619: function() {
4838
4678
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
4839
4679
  arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
4840
4680
  }, arguments);
4841
4681
  },
4842
- __wbg_readPixels_95b2464a7bb863a2: function() {
4682
+ __wbg_readPixels_dcde619ca94b6296: function() {
4843
4683
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
4844
4684
  arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
4845
4685
  }, arguments);
4846
4686
  },
4847
- __wbg_reason_43acd39cce242b50: function(arg0) {
4848
- const ret = arg0.reason;
4849
- return (__wbindgen_enum_GpuDeviceLostReason.indexOf(ret) + 1 || 3) - 1;
4850
- },
4851
- __wbg_renderbufferStorageMultisample_bc0ae08a7abb887a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4687
+ __wbg_renderbufferStorageMultisample_5d9012ce50f133e3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4852
4688
  arg0.renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
4853
4689
  },
4854
- __wbg_renderbufferStorage_1bc02383614b76b2: function(arg0, arg1, arg2, arg3, arg4) {
4690
+ __wbg_renderbufferStorage_2b50da85624a8b73: function(arg0, arg1, arg2, arg3, arg4) {
4855
4691
  arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
4856
4692
  },
4857
- __wbg_renderbufferStorage_6348154d30979c44: function(arg0, arg1, arg2, arg3, arg4) {
4693
+ __wbg_renderbufferStorage_2eb3d4343d1a1c6e: function(arg0, arg1, arg2, arg3, arg4) {
4858
4694
  arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
4859
4695
  },
4860
- __wbg_requestAdapter_e6dcfac497cafa7a: function(arg0, arg1) {
4696
+ __wbg_requestAdapter_a539af006419f2e9: function(arg0, arg1) {
4861
4697
  const ret = arg0.requestAdapter(arg1);
4862
4698
  return ret;
4863
4699
  },
4864
- __wbg_requestDevice_03b802707d5a382c: function(arg0, arg1) {
4700
+ __wbg_requestDevice_5cb8a582e55d08cb: function(arg0, arg1) {
4865
4701
  const ret = arg0.requestDevice(arg1);
4866
4702
  return ret;
4867
4703
  },
4868
- __wbg_resolveQuerySet_811661fb23f3b699: function(arg0, arg1, arg2, arg3, arg4, arg5) {
4869
- arg0.resolveQuerySet(arg1, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
4870
- },
4871
- __wbg_resolve_002c4b7d9d8f6b64: function(arg0) {
4704
+ __wbg_resolve_35ec7e0c6af4c82c: function(arg0) {
4872
4705
  const ret = Promise.resolve(arg0);
4873
4706
  return ret;
4874
4707
  },
4875
- __wbg_samplerParameterf_f070d2b69b1e2d46: function(arg0, arg1, arg2, arg3) {
4708
+ __wbg_samplerParameterf_34605394359af7ae: function(arg0, arg1, arg2, arg3) {
4876
4709
  arg0.samplerParameterf(arg1, arg2 >>> 0, arg3);
4877
4710
  },
4878
- __wbg_samplerParameteri_8e4c4bcead0ee669: function(arg0, arg1, arg2, arg3) {
4711
+ __wbg_samplerParameteri_ff1f558c8f43a220: function(arg0, arg1, arg2, arg3) {
4879
4712
  arg0.samplerParameteri(arg1, arg2 >>> 0, arg3);
4880
4713
  },
4881
- __wbg_scissor_2ff8f18f05a6d408: function(arg0, arg1, arg2, arg3, arg4) {
4714
+ __wbg_scissor_c53448a6fa939bfb: function(arg0, arg1, arg2, arg3, arg4) {
4882
4715
  arg0.scissor(arg1, arg2, arg3, arg4);
4883
4716
  },
4884
- __wbg_scissor_b870b1434a9c25b4: function(arg0, arg1, arg2, arg3, arg4) {
4717
+ __wbg_scissor_d896348c98d0c9ac: function(arg0, arg1, arg2, arg3, arg4) {
4885
4718
  arg0.scissor(arg1, arg2, arg3, arg4);
4886
4719
  },
4887
- __wbg_setBindGroup_62a3045b0921e429: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
4888
- arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
4720
+ __wbg_setBindGroup_0b7c2a055ef1f314: function() {
4721
+ return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
4722
+ arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
4723
+ }, arguments);
4889
4724
  },
4890
- __wbg_setBindGroup_6c0fd18e9a53a945: function(arg0, arg1, arg2) {
4725
+ __wbg_setBindGroup_c83391351ce68826: function(arg0, arg1, arg2) {
4891
4726
  arg0.setBindGroup(arg1 >>> 0, arg2);
4892
4727
  },
4893
- __wbg_setBindGroup_7f3b61f1f482133b: function(arg0, arg1, arg2) {
4894
- arg0.setBindGroup(arg1 >>> 0, arg2);
4728
+ __wbg_setPipeline_5146f7b8d2b4af5c: function(arg0, arg1) {
4729
+ arg0.setPipeline(arg1);
4895
4730
  },
4896
- __wbg_setBindGroup_bf767a5aa46a33ce: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
4897
- arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
4731
+ __wbg_set_13d25b81ab403f5e: function(arg0, arg1, arg2) {
4732
+ arg0[arg1 >>> 0] = arg2;
4898
4733
  },
4899
- __wbg_setBindGroup_c4aaff14063226b4: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
4900
- arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
4734
+ __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
4735
+ arg0[arg1] = arg2;
4901
4736
  },
4902
- __wbg_setBindGroup_f82e771dc1b69093: function(arg0, arg1, arg2) {
4903
- arg0.setBindGroup(arg1 >>> 0, arg2);
4737
+ __wbg_set_9cfc0f17d60ff0af: function(arg0, arg1, arg2) {
4738
+ arg0.set(arg1, arg2 >>> 0);
4904
4739
  },
4905
- __wbg_setBlendConstant_016723821cfb3aa4: function(arg0, arg1) {
4906
- arg0.setBlendConstant(arg1);
4740
+ __wbg_set_a377297433dfea63: function() {
4741
+ return handleError(function(arg0, arg1, arg2) {
4742
+ const ret = Reflect.set(arg0, arg1, arg2);
4743
+ return ret;
4744
+ }, arguments);
4907
4745
  },
4908
- __wbg_setIndexBuffer_286a40afdff411b7: function(arg0, arg1, arg2, arg3) {
4909
- arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
4746
+ __wbg_set_access_a099cfbbeec9b96f: function(arg0, arg1) {
4747
+ arg0.access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
4910
4748
  },
4911
- __wbg_setIndexBuffer_7efd0b7a40c65fb9: function(arg0, arg1, arg2, arg3, arg4) {
4912
- arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
4749
+ __wbg_set_array_layer_count_22afa0a979e4ad55: function(arg0, arg1) {
4750
+ arg0.arrayLayerCount = arg1 >>> 0;
4913
4751
  },
4914
- __wbg_setIndexBuffer_e091a9673bb575e2: function(arg0, arg1, arg2, arg3) {
4915
- arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
4752
+ __wbg_set_aspect_a48d046965270281: function(arg0, arg1) {
4753
+ arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
4916
4754
  },
4917
- __wbg_setIndexBuffer_f0759f00036f615f: function(arg0, arg1, arg2, arg3, arg4) {
4918
- arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
4755
+ __wbg_set_aspect_b1a9909bf315433f: function(arg0, arg1) {
4756
+ arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
4919
4757
  },
4920
- __wbg_setPipeline_ba92070b8ee81cf9: function(arg0, arg1) {
4921
- arg0.setPipeline(arg1);
4758
+ __wbg_set_base_array_layer_2435ba92c80346ae: function(arg0, arg1) {
4759
+ arg0.baseArrayLayer = arg1 >>> 0;
4922
4760
  },
4923
- __wbg_setPipeline_c344f76bae58c4d6: function(arg0, arg1) {
4924
- arg0.setPipeline(arg1);
4761
+ __wbg_set_base_mip_level_8b6093e875e7c65d: function(arg0, arg1) {
4762
+ arg0.baseMipLevel = arg1 >>> 0;
4925
4763
  },
4926
- __wbg_setPipeline_d76451c50a121598: function(arg0, arg1) {
4927
- arg0.setPipeline(arg1);
4764
+ __wbg_set_beginning_of_pass_write_index_fa9ae10d5d2804ce: function(arg0, arg1) {
4765
+ arg0.beginningOfPassWriteIndex = arg1 >>> 0;
4928
4766
  },
4929
- __wbg_setScissorRect_0b6ee0852ef0b6b9: function(arg0, arg1, arg2, arg3, arg4) {
4930
- arg0.setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
4767
+ __wbg_set_bf6dde4923b9b059: function(arg0, arg1, arg2) {
4768
+ const ret = arg0.set(arg1, arg2);
4769
+ return ret;
4931
4770
  },
4932
- __wbg_setStencilReference_34fd3d59673a5a9d: function(arg0, arg1) {
4933
- arg0.setStencilReference(arg1 >>> 0);
4771
+ __wbg_set_bind_group_layouts_458c44ba55100b82: function(arg0, arg1, arg2) {
4772
+ arg0.bindGroupLayouts = getArrayJsValueViewFromWasm0(arg1, arg2);
4934
4773
  },
4935
- __wbg_setVertexBuffer_06a90dc78e1ad9c4: function(arg0, arg1, arg2, arg3, arg4) {
4936
- arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
4774
+ __wbg_set_binding_81b3fac7f7acaf8d: function(arg0, arg1) {
4775
+ arg0.binding = arg1 >>> 0;
4937
4776
  },
4938
- __wbg_setVertexBuffer_1540e9118b6c451d: function(arg0, arg1, arg2, arg3) {
4939
- arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
4777
+ __wbg_set_binding_b6cee57f35ac5190: function(arg0, arg1) {
4778
+ arg0.binding = arg1 >>> 0;
4940
4779
  },
4941
- __wbg_setVertexBuffer_5166eedc06450701: function(arg0, arg1, arg2, arg3, arg4) {
4942
- arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
4780
+ __wbg_set_buffer_1548ae88a9188037: function(arg0, arg1) {
4781
+ arg0.buffer = arg1;
4943
4782
  },
4944
- __wbg_setVertexBuffer_8621784e5014065b: function(arg0, arg1, arg2, arg3) {
4945
- arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
4783
+ __wbg_set_buffer_8d0ac64ad20dfc84: function(arg0, arg1) {
4784
+ arg0.buffer = arg1;
4946
4785
  },
4947
- __wbg_setViewport_731ad30abb13f744: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
4948
- arg0.setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
4786
+ __wbg_set_buffer_910a40a90f97cfca: function(arg0, arg1) {
4787
+ arg0.buffer = arg1;
4949
4788
  },
4950
- __wbg_set_1eb0999cf5d27fc8: function(arg0, arg1, arg2) {
4951
- const ret = arg0.set(arg1, arg2);
4952
- return ret;
4789
+ __wbg_set_bytes_per_row_1e824a5502b54b3d: function(arg0, arg1) {
4790
+ arg0.bytesPerRow = arg1 >>> 0;
4953
4791
  },
4954
- __wbg_set_25cf9deff6bf0ea8: function(arg0, arg1, arg2) {
4955
- arg0.set(arg1, arg2 >>> 0);
4792
+ __wbg_set_bytes_per_row_c28583f0063160f1: function(arg0, arg1) {
4793
+ arg0.bytesPerRow = arg1 >>> 0;
4956
4794
  },
4957
- __wbg_set_3f1d0b984ed272ed: function(arg0, arg1, arg2) {
4958
- arg0[arg1] = arg2;
4795
+ __wbg_set_code_5d5b0b9e2fd0dca7: function(arg0, arg1, arg2) {
4796
+ arg0.code = getStringFromWasm0(arg1, arg2);
4959
4797
  },
4960
- __wbg_set_6cb8631f80447a67: function() {
4961
- return handleError(function(arg0, arg1, arg2) {
4962
- const ret = Reflect.set(arg0, arg1, arg2);
4963
- return ret;
4964
- }, arguments);
4798
+ __wbg_set_compute_bc754d9e37f6e4c9: function(arg0, arg1) {
4799
+ arg0.compute = arg1;
4965
4800
  },
4966
- __wbg_set_f43e577aea94465b: function(arg0, arg1, arg2) {
4967
- arg0[arg1 >>> 0] = arg2;
4801
+ __wbg_set_depth_or_array_layers_e2f074a0284e4806: function(arg0, arg1) {
4802
+ arg0.depthOrArrayLayers = arg1 >>> 0;
4803
+ },
4804
+ __wbg_set_device_210484a77b675c9c: function(arg0, arg1) {
4805
+ arg0.device = arg1;
4806
+ },
4807
+ __wbg_set_dimension_3da9d03131a9f446: function(arg0, arg1) {
4808
+ arg0.dimension = __wbindgen_enum_GpuTextureDimension[arg1];
4809
+ },
4810
+ __wbg_set_dimension_56332450afa3e0c0: function(arg0, arg1) {
4811
+ arg0.dimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
4812
+ },
4813
+ __wbg_set_end_of_pass_write_index_b54a8e3802b9ae0d: function(arg0, arg1) {
4814
+ arg0.endOfPassWriteIndex = arg1 >>> 0;
4815
+ },
4816
+ __wbg_set_entries_6f866302103b81e9: function(arg0, arg1, arg2) {
4817
+ arg0.entries = getArrayJsValueViewFromWasm0(arg1, arg2);
4818
+ },
4819
+ __wbg_set_entries_f26b77ab9548e906: function(arg0, arg1, arg2) {
4820
+ arg0.entries = getArrayJsValueViewFromWasm0(arg1, arg2);
4821
+ },
4822
+ __wbg_set_entry_point_ac8db535971761fe: function(arg0, arg1, arg2) {
4823
+ arg0.entryPoint = getStringFromWasm0(arg1, arg2);
4824
+ },
4825
+ __wbg_set_external_texture_7f966c604c4f8098: function(arg0, arg1) {
4826
+ arg0.externalTexture = arg1;
4968
4827
  },
4969
- __wbg_set_height_b386c0f603610637: function(arg0, arg1) {
4828
+ __wbg_set_format_283dca56552f07a3: function(arg0, arg1) {
4829
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
4830
+ },
4831
+ __wbg_set_format_66735b94bd868ba2: function(arg0, arg1) {
4832
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
4833
+ },
4834
+ __wbg_set_format_92732ea75d3b79f5: function(arg0, arg1) {
4835
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
4836
+ },
4837
+ __wbg_set_format_f009e603f7d4c28e: function(arg0, arg1) {
4838
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
4839
+ },
4840
+ __wbg_set_has_dynamic_offset_0c72ffa900c5a269: function(arg0, arg1) {
4841
+ arg0.hasDynamicOffset = arg1 !== 0;
4842
+ },
4843
+ __wbg_set_height_1202ad0eab43cbe0: function(arg0, arg1) {
4844
+ arg0.height = arg1 >>> 0;
4845
+ },
4846
+ __wbg_set_height_698fb3b255bc1348: function(arg0, arg1) {
4970
4847
  arg0.height = arg1 >>> 0;
4971
4848
  },
4972
- __wbg_set_height_f21f985387070100: function(arg0, arg1) {
4849
+ __wbg_set_height_f6619158e5735877: function(arg0, arg1) {
4973
4850
  arg0.height = arg1 >>> 0;
4974
4851
  },
4975
- __wbg_set_onuncapturederror_19541466822d790b: function(arg0, arg1) {
4852
+ __wbg_set_label_09e2da5f8522dbe8: function(arg0, arg1, arg2) {
4853
+ arg0.label = getStringFromWasm0(arg1, arg2);
4854
+ },
4855
+ __wbg_set_label_17202740051e9722: function(arg0, arg1, arg2) {
4856
+ arg0.label = getStringFromWasm0(arg1, arg2);
4857
+ },
4858
+ __wbg_set_label_17b4858e1eef23dd: function(arg0, arg1, arg2) {
4859
+ arg0.label = getStringFromWasm0(arg1, arg2);
4860
+ },
4861
+ __wbg_set_label_2fefb39c0e0dbbe8: function(arg0, arg1, arg2) {
4862
+ arg0.label = getStringFromWasm0(arg1, arg2);
4863
+ },
4864
+ __wbg_set_label_3f2ccaafef5ff7c9: function(arg0, arg1, arg2) {
4865
+ arg0.label = getStringFromWasm0(arg1, arg2);
4866
+ },
4867
+ __wbg_set_label_612add98a4398f92: function(arg0, arg1, arg2) {
4868
+ arg0.label = getStringFromWasm0(arg1, arg2);
4869
+ },
4870
+ __wbg_set_label_70a09ee68d6b1b26: function(arg0, arg1, arg2) {
4871
+ arg0.label = getStringFromWasm0(arg1, arg2);
4872
+ },
4873
+ __wbg_set_label_92cd3811e96b487c: function(arg0, arg1, arg2) {
4874
+ arg0.label = getStringFromWasm0(arg1, arg2);
4875
+ },
4876
+ __wbg_set_label_c3eaf136aa464cba: function(arg0, arg1, arg2) {
4877
+ arg0.label = getStringFromWasm0(arg1, arg2);
4878
+ },
4879
+ __wbg_set_label_c7987704d29f284b: function(arg0, arg1, arg2) {
4880
+ arg0.label = getStringFromWasm0(arg1, arg2);
4881
+ },
4882
+ __wbg_set_label_cfe64bca8945ee30: function(arg0, arg1, arg2) {
4883
+ arg0.label = getStringFromWasm0(arg1, arg2);
4884
+ },
4885
+ __wbg_set_label_ee172cd5f6a96961: function(arg0, arg1, arg2) {
4886
+ arg0.label = getStringFromWasm0(arg1, arg2);
4887
+ },
4888
+ __wbg_set_layout_454e3a091b390cd4: function(arg0, arg1) {
4889
+ arg0.layout = arg1;
4890
+ },
4891
+ __wbg_set_layout_4b5d5b12fbb72a76: function(arg0, arg1) {
4892
+ arg0.layout = arg1;
4893
+ },
4894
+ __wbg_set_layout_gpu_auto_layout_mode_ee432e515c357fa8: function(arg0, arg1) {
4895
+ arg0.layout = __wbindgen_enum_GpuAutoLayoutMode[arg1];
4896
+ },
4897
+ __wbg_set_mapped_at_creation_3f320fef6761b02c: function(arg0, arg1) {
4898
+ arg0.mappedAtCreation = arg1 !== 0;
4899
+ },
4900
+ __wbg_set_min_binding_size_f64_897e3cd4496ddec9: function(arg0, arg1) {
4901
+ arg0.minBindingSize = arg1;
4902
+ },
4903
+ __wbg_set_mip_level_count_047936c630acee7b: function(arg0, arg1) {
4904
+ arg0.mipLevelCount = arg1 >>> 0;
4905
+ },
4906
+ __wbg_set_mip_level_count_44bc46a1ae6f6daa: function(arg0, arg1) {
4907
+ arg0.mipLevelCount = arg1 >>> 0;
4908
+ },
4909
+ __wbg_set_mip_level_f3745730372683d5: function(arg0, arg1) {
4910
+ arg0.mipLevel = arg1 >>> 0;
4911
+ },
4912
+ __wbg_set_module_c9946af218d23b53: function(arg0, arg1) {
4913
+ arg0.module = arg1;
4914
+ },
4915
+ __wbg_set_multisampled_039f032dc4b67367: function(arg0, arg1) {
4916
+ arg0.multisampled = arg1 !== 0;
4917
+ },
4918
+ __wbg_set_offset_f64_127e8a0aa5c5485a: function(arg0, arg1) {
4919
+ arg0.offset = arg1;
4920
+ },
4921
+ __wbg_set_offset_f64_a903425d5a8e5815: function(arg0, arg1) {
4922
+ arg0.offset = arg1;
4923
+ },
4924
+ __wbg_set_offset_f64_d1d115dd438165b5: function(arg0, arg1) {
4925
+ arg0.offset = arg1;
4926
+ },
4927
+ __wbg_set_onuncapturederror_bb813f1102da2296: function(arg0, arg1) {
4976
4928
  arg0.onuncapturederror = arg1;
4977
4929
  },
4978
- __wbg_set_width_7f07715a20503914: function(arg0, arg1) {
4930
+ __wbg_set_origin_gpu_origin_3d_dict_0619d4860adb4eb6: function(arg0, arg1) {
4931
+ arg0.origin = arg1;
4932
+ },
4933
+ __wbg_set_power_preference_b42d00a8facfbade: function(arg0, arg1) {
4934
+ arg0.powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
4935
+ },
4936
+ __wbg_set_query_set_f9a94586851fdba2: function(arg0, arg1) {
4937
+ arg0.querySet = arg1;
4938
+ },
4939
+ __wbg_set_required_features_bbab71414c45e621: function(arg0, arg1, arg2) {
4940
+ arg0.requiredFeatures = getArrayJsValueViewFromWasm0(arg1, arg2);
4941
+ },
4942
+ __wbg_set_required_limits_837f62d865e7cfac: function(arg0, arg1) {
4943
+ arg0.requiredLimits = arg1;
4944
+ },
4945
+ __wbg_set_resource_8fd8658b30d86ecf: function(arg0, arg1) {
4946
+ arg0.resource = arg1;
4947
+ },
4948
+ __wbg_set_resource_gpu_buffer_binding_33099b25da65b610: function(arg0, arg1) {
4949
+ arg0.resource = arg1;
4950
+ },
4951
+ __wbg_set_resource_gpu_texture_view_4cffe7bc7c8e5cbe: function(arg0, arg1) {
4952
+ arg0.resource = arg1;
4953
+ },
4954
+ __wbg_set_rows_per_image_c6d50d227e634379: function(arg0, arg1) {
4955
+ arg0.rowsPerImage = arg1 >>> 0;
4956
+ },
4957
+ __wbg_set_rows_per_image_deb456502f23c260: function(arg0, arg1) {
4958
+ arg0.rowsPerImage = arg1 >>> 0;
4959
+ },
4960
+ __wbg_set_sample_count_481c255a12054e1d: function(arg0, arg1) {
4961
+ arg0.sampleCount = arg1 >>> 0;
4962
+ },
4963
+ __wbg_set_sample_type_ebc5fcd029513bda: function(arg0, arg1) {
4964
+ arg0.sampleType = __wbindgen_enum_GpuTextureSampleType[arg1];
4965
+ },
4966
+ __wbg_set_sampler_89cb4a7efcfc6005: function(arg0, arg1) {
4967
+ arg0.sampler = arg1;
4968
+ },
4969
+ __wbg_set_size_f64_2f591b0654540477: function(arg0, arg1) {
4970
+ arg0.size = arg1;
4971
+ },
4972
+ __wbg_set_size_f64_e844c985b8f95261: function(arg0, arg1) {
4973
+ arg0.size = arg1;
4974
+ },
4975
+ __wbg_set_size_gpu_extent_3d_dict_adf57388ab1d4f18: function(arg0, arg1) {
4976
+ arg0.size = arg1;
4977
+ },
4978
+ __wbg_set_storage_texture_786aea7c5773b6c1: function(arg0, arg1) {
4979
+ arg0.storageTexture = arg1;
4980
+ },
4981
+ __wbg_set_texture_95f2bfdf7767e76f: function(arg0, arg1) {
4982
+ arg0.texture = arg1;
4983
+ },
4984
+ __wbg_set_texture_a33be3fe02ac6264: function(arg0, arg1) {
4985
+ arg0.texture = arg1;
4986
+ },
4987
+ __wbg_set_timestamp_writes_5f240bbaad97fcaf: function(arg0, arg1) {
4988
+ arg0.timestampWrites = arg1;
4989
+ },
4990
+ __wbg_set_type_43e0092f16775979: function(arg0, arg1) {
4991
+ arg0.type = __wbindgen_enum_GpuSamplerBindingType[arg1];
4992
+ },
4993
+ __wbg_set_type_79cec55caf4cdb6d: function(arg0, arg1) {
4994
+ arg0.type = __wbindgen_enum_GpuBufferBindingType[arg1];
4995
+ },
4996
+ __wbg_set_usage_1ee33d98267e787d: function(arg0, arg1) {
4997
+ arg0.usage = arg1 >>> 0;
4998
+ },
4999
+ __wbg_set_usage_d53ee6f0c7aedbfa: function(arg0, arg1) {
5000
+ arg0.usage = arg1 >>> 0;
5001
+ },
5002
+ __wbg_set_usage_f3e34822998d2147: function(arg0, arg1) {
5003
+ arg0.usage = arg1 >>> 0;
5004
+ },
5005
+ __wbg_set_view_dimension_893e2d16561e56e8: function(arg0, arg1) {
5006
+ arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
5007
+ },
5008
+ __wbg_set_view_dimension_f2c5fe4bf927c3fe: function(arg0, arg1) {
5009
+ arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
5010
+ },
5011
+ __wbg_set_view_formats_427069064d8b7139: function(arg0, arg1, arg2) {
5012
+ arg0.viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
5013
+ },
5014
+ __wbg_set_visibility_d8a6821789538c25: function(arg0, arg1) {
5015
+ arg0.visibility = arg1 >>> 0;
5016
+ },
5017
+ __wbg_set_width_4c3a2252e0dea033: function(arg0, arg1) {
4979
5018
  arg0.width = arg1 >>> 0;
4980
5019
  },
4981
- __wbg_set_width_d60bc4f2f20c56a4: function(arg0, arg1) {
5020
+ __wbg_set_width_b20525f5f4df4eb8: function(arg0, arg1) {
4982
5021
  arg0.width = arg1 >>> 0;
4983
5022
  },
4984
- __wbg_shaderSource_32425cfe6e5a1e52: function(arg0, arg1, arg2, arg3) {
4985
- arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
5023
+ __wbg_set_width_f52a20e39808b138: function(arg0, arg1) {
5024
+ arg0.width = arg1 >>> 0;
5025
+ },
5026
+ __wbg_set_x_f470b03dd54724cd: function(arg0, arg1) {
5027
+ arg0.x = arg1 >>> 0;
4986
5028
  },
4987
- __wbg_shaderSource_8f4bda03f70359df: function(arg0, arg1, arg2, arg3) {
5029
+ __wbg_set_y_4c44eb40ebca5bfc: function(arg0, arg1) {
5030
+ arg0.y = arg1 >>> 0;
5031
+ },
5032
+ __wbg_set_z_2e6820ef0f5821ed: function(arg0, arg1) {
5033
+ arg0.z = arg1 >>> 0;
5034
+ },
5035
+ __wbg_shaderSource_108c27c8694ef4c0: function(arg0, arg1, arg2, arg3) {
4988
5036
  arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
4989
5037
  },
4990
- __wbg_size_661bddb3f9898121: function(arg0) {
4991
- const ret = arg0.size;
4992
- return ret;
5038
+ __wbg_shaderSource_82a2cbfe223a86e0: function(arg0, arg1, arg2, arg3) {
5039
+ arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
4993
5040
  },
4994
- __wbg_stack_0ed75d68575b0f3c: function(arg0, arg1) {
5041
+ __wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
4995
5042
  const ret = arg1.stack;
4996
5043
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4997
5044
  const len1 = WASM_VECTOR_LEN;
4998
5045
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4999
5046
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5000
5047
  },
5001
- __wbg_static_accessor_GLOBAL_12837167ad935116: function() {
5048
+ __wbg_static_accessor_GLOBAL_8eb4cd83130a11a0: function() {
5002
5049
  const ret = typeof global === "undefined" ? null : global;
5003
5050
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
5004
5051
  },
5005
- __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f: function() {
5052
+ __wbg_static_accessor_GLOBAL_THIS_1e7044f654e934db: function() {
5006
5053
  const ret = typeof globalThis === "undefined" ? null : globalThis;
5007
5054
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
5008
5055
  },
5009
- __wbg_static_accessor_SELF_a621d3dfbb60d0ce: function() {
5056
+ __wbg_static_accessor_SELF_d8b50611246a6d92: function() {
5010
5057
  const ret = typeof self === "undefined" ? null : self;
5011
5058
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
5012
5059
  },
5013
- __wbg_static_accessor_WINDOW_f8727f0cf888e0bd: function() {
5060
+ __wbg_static_accessor_WINDOW_fd0bc376bf0f8b42: function() {
5014
5061
  const ret = typeof window === "undefined" ? null : window;
5015
5062
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
5016
5063
  },
5017
- __wbg_stencilFuncSeparate_10d043d0af14366f: function(arg0, arg1, arg2, arg3, arg4) {
5064
+ __wbg_stencilFuncSeparate_d7b5956ce3fe1272: function(arg0, arg1, arg2, arg3, arg4) {
5018
5065
  arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
5019
5066
  },
5020
- __wbg_stencilFuncSeparate_1798f5cca257f313: function(arg0, arg1, arg2, arg3, arg4) {
5067
+ __wbg_stencilFuncSeparate_fd17ac8961fd8359: function(arg0, arg1, arg2, arg3, arg4) {
5021
5068
  arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
5022
5069
  },
5023
- __wbg_stencilMaskSeparate_28d53625c02d9c7f: function(arg0, arg1, arg2) {
5070
+ __wbg_stencilMaskSeparate_5f3823dfe31289be: function(arg0, arg1, arg2) {
5024
5071
  arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
5025
5072
  },
5026
- __wbg_stencilMaskSeparate_c24c1a28b8dd8a63: function(arg0, arg1, arg2) {
5073
+ __wbg_stencilMaskSeparate_d0910e6d55b4605a: function(arg0, arg1, arg2) {
5027
5074
  arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
5028
5075
  },
5029
- __wbg_stencilMask_0eca090c4c47f8f7: function(arg0, arg1) {
5076
+ __wbg_stencilMask_4a8c4bda850006f1: function(arg0, arg1) {
5030
5077
  arg0.stencilMask(arg1 >>> 0);
5031
5078
  },
5032
- __wbg_stencilMask_732dcc5aada10e4c: function(arg0, arg1) {
5079
+ __wbg_stencilMask_cb69051e26a265bb: function(arg0, arg1) {
5033
5080
  arg0.stencilMask(arg1 >>> 0);
5034
5081
  },
5035
- __wbg_stencilOpSeparate_4657523b1d3b184f: function(arg0, arg1, arg2, arg3, arg4) {
5082
+ __wbg_stencilOpSeparate_3fe9feaf978f0a17: function(arg0, arg1, arg2, arg3, arg4) {
5036
5083
  arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
5037
5084
  },
5038
- __wbg_stencilOpSeparate_de257f3c29e604cd: function(arg0, arg1, arg2, arg3, arg4) {
5085
+ __wbg_stencilOpSeparate_cb0bb47587f022de: function(arg0, arg1, arg2, arg3, arg4) {
5039
5086
  arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
5040
5087
  },
5041
- __wbg_submit_f635072bb3d05faa: function(arg0, arg1) {
5042
- arg0.submit(arg1);
5088
+ __wbg_submit_077c85cc28e36892: function(arg0, arg1, arg2) {
5089
+ arg0.submit(getArrayJsValueViewFromWasm0(arg1, arg2));
5043
5090
  },
5044
- __wbg_texImage2D_087ef94df78081f0: function() {
5091
+ __wbg_texImage2D_1b8d273f15622f0e: function() {
5045
5092
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5046
5093
  arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5047
5094
  }, arguments);
5048
5095
  },
5049
- __wbg_texImage2D_e71049312f3172d9: function() {
5096
+ __wbg_texImage2D_6fca8c58ea7e4c8e: function() {
5050
5097
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5051
5098
  arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5052
5099
  }, arguments);
5053
5100
  },
5054
- __wbg_texImage3D_bd2b0bd2cfcdb278: function() {
5101
+ __wbg_texImage2D_8c5d6403fa51874d: function() {
5102
+ return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5103
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5104
+ }, arguments);
5105
+ },
5106
+ __wbg_texImage3D_2bba05e03e9def07: function() {
5107
+ return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
5108
+ arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
5109
+ }, arguments);
5110
+ },
5111
+ __wbg_texImage3D_3977c422ce82cf99: function() {
5055
5112
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
5056
5113
  arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
5057
5114
  }, arguments);
5058
5115
  },
5059
- __wbg_texParameteri_0d45be2c88d6bad8: function(arg0, arg1, arg2, arg3) {
5116
+ __wbg_texParameteri_1fea50207adbfd68: function(arg0, arg1, arg2, arg3) {
5060
5117
  arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
5061
5118
  },
5062
- __wbg_texParameteri_ec937d2161018946: function(arg0, arg1, arg2, arg3) {
5119
+ __wbg_texParameteri_e127aa385b821d68: function(arg0, arg1, arg2, arg3) {
5063
5120
  arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
5064
5121
  },
5065
- __wbg_texStorage2D_9504743abf5a986a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5122
+ __wbg_texStorage2D_eb27b3383d99c349: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5066
5123
  arg0.texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
5067
5124
  },
5068
- __wbg_texStorage3D_e9e1b58fee218abe: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
5125
+ __wbg_texStorage3D_cb53309842f2c8eb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
5069
5126
  arg0.texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6);
5070
5127
  },
5071
- __wbg_texSubImage2D_117d29278542feb0: function() {
5128
+ __wbg_texSubImage2D_0542ae723245dd04: function() {
5072
5129
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5073
5130
  arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5074
5131
  }, arguments);
5075
5132
  },
5076
- __wbg_texSubImage2D_19ae4cadb809f264: function() {
5133
+ __wbg_texSubImage2D_0721d9d910ecf097: function() {
5077
5134
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5078
5135
  arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5079
5136
  }, arguments);
5080
5137
  },
5081
- __wbg_texSubImage2D_5d270af600a7fc4a: function() {
5138
+ __wbg_texSubImage2D_11c39463147c9d38: function() {
5082
5139
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5083
5140
  arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5084
5141
  }, arguments);
5085
5142
  },
5086
- __wbg_texSubImage2D_bd034db2e58c352c: function() {
5143
+ __wbg_texSubImage2D_21b4316b692aa7bc: function() {
5087
5144
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5088
5145
  arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5089
5146
  }, arguments);
5090
5147
  },
5091
- __wbg_texSubImage2D_bf72e56edeeed376: function() {
5148
+ __wbg_texSubImage2D_339324fe86d9879e: function() {
5092
5149
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5093
5150
  arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5094
5151
  }, arguments);
5095
5152
  },
5096
- __wbg_texSubImage2D_d17a39cdec4a3495: function() {
5153
+ __wbg_texSubImage2D_6218009ef1e27c0e: function() {
5097
5154
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5098
5155
  arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5099
5156
  }, arguments);
5100
5157
  },
5101
- __wbg_texSubImage2D_e193f1d28439217c: function() {
5158
+ __wbg_texSubImage2D_79b4ac26a5580960: function() {
5102
5159
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5103
5160
  arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5104
5161
  }, arguments);
5105
5162
  },
5106
- __wbg_texSubImage2D_edf5bd70fda3feaf: function() {
5163
+ __wbg_texSubImage2D_892cfa51f196ee93: function() {
5107
5164
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
5108
5165
  arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
5109
5166
  }, arguments);
5110
5167
  },
5111
- __wbg_texSubImage3D_1102c12a20bf56d5: function() {
5168
+ __wbg_texSubImage3D_6458575ddb6df6b3: function() {
5112
5169
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
5113
5170
  arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
5114
5171
  }, arguments);
5115
5172
  },
5116
- __wbg_texSubImage3D_18d7f3c65567c885: function() {
5173
+ __wbg_texSubImage3D_747bc81ed2ed4116: function() {
5117
5174
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
5118
5175
  arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
5119
5176
  }, arguments);
5120
5177
  },
5121
- __wbg_texSubImage3D_3b653017c4c5d721: function() {
5178
+ __wbg_texSubImage3D_7a674dd9403f8be3: function() {
5122
5179
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
5123
5180
  arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
5124
5181
  }, arguments);
5125
5182
  },
5126
- __wbg_texSubImage3D_45591e5655d1ed5c: function() {
5183
+ __wbg_texSubImage3D_805532d56bdd814d: function() {
5127
5184
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
5128
5185
  arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
5129
5186
  }, arguments);
5130
5187
  },
5131
- __wbg_texSubImage3D_47643556a8a4bf86: function() {
5188
+ __wbg_texSubImage3D_ad76ff2925daf174: function() {
5132
5189
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
5133
5190
  arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
5134
5191
  }, arguments);
5135
5192
  },
5136
- __wbg_texSubImage3D_59b8e24fb05787aa: function() {
5193
+ __wbg_texSubImage3D_c65a616189ed3b19: function() {
5137
5194
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
5138
5195
  arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
5139
5196
  }, arguments);
5140
5197
  },
5141
- __wbg_texSubImage3D_eff5cd6ab84f44ee: function() {
5198
+ __wbg_texSubImage3D_f99458987d5b061a: function() {
5142
5199
  return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
5143
5200
  arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
5144
5201
  }, arguments);
5145
5202
  },
5146
- __wbg_then_0d9fe2c7b1857d32: function(arg0, arg1, arg2) {
5203
+ __wbg_then_7a850dae4493f353: function(arg0, arg1, arg2) {
5147
5204
  const ret = arg0.then(arg1, arg2);
5148
5205
  return ret;
5149
5206
  },
5150
- __wbg_then_b9e7b3b5f1a9e1b5: function(arg0, arg1) {
5207
+ __wbg_then_b830475380919203: function(arg0, arg1) {
5151
5208
  const ret = arg0.then(arg1);
5152
5209
  return ret;
5153
5210
  },
5154
- __wbg_type_c0d5d83032e9858a: function(arg0) {
5155
- const ret = arg0.type;
5156
- return (__wbindgen_enum_GpuCompilationMessageType.indexOf(ret) + 1 || 4) - 1;
5211
+ __wbg_unconfigure_835307f58dc68d80: function(arg0) {
5212
+ arg0.unconfigure();
5157
5213
  },
5158
- __wbg_uniform1f_b500ede5b612bea2: function(arg0, arg1, arg2) {
5214
+ __wbg_uniform1f_6067a9c69ed38c8b: function(arg0, arg1, arg2) {
5159
5215
  arg0.uniform1f(arg1, arg2);
5160
5216
  },
5161
- __wbg_uniform1f_c148eeaf4b531059: function(arg0, arg1, arg2) {
5217
+ __wbg_uniform1f_d08261cd87e412e0: function(arg0, arg1, arg2) {
5162
5218
  arg0.uniform1f(arg1, arg2);
5163
5219
  },
5164
- __wbg_uniform1i_9f3f72dbcb98ada9: function(arg0, arg1, arg2) {
5220
+ __wbg_uniform1i_25a3df9f69c2f765: function(arg0, arg1, arg2) {
5165
5221
  arg0.uniform1i(arg1, arg2);
5166
5222
  },
5167
- __wbg_uniform1i_e9aee4b9e7fe8c4b: function(arg0, arg1, arg2) {
5223
+ __wbg_uniform1i_89c631d199860f60: function(arg0, arg1, arg2) {
5168
5224
  arg0.uniform1i(arg1, arg2);
5169
5225
  },
5170
- __wbg_uniform1ui_a0f911ff174715d0: function(arg0, arg1, arg2) {
5226
+ __wbg_uniform1ui_58cbbe1a93e44a02: function(arg0, arg1, arg2) {
5171
5227
  arg0.uniform1ui(arg1, arg2 >>> 0);
5172
5228
  },
5173
- __wbg_uniform2fv_04c304b93cbf7f55: function(arg0, arg1, arg2, arg3) {
5229
+ __wbg_uniform2fv_6a494ce09154afdb: function(arg0, arg1, arg2, arg3) {
5174
5230
  arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
5175
5231
  },
5176
- __wbg_uniform2fv_2fb47cfe06330cc7: function(arg0, arg1, arg2, arg3) {
5232
+ __wbg_uniform2fv_f85b3b2779a6c2b9: function(arg0, arg1, arg2, arg3) {
5177
5233
  arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
5178
5234
  },
5179
- __wbg_uniform2iv_095baf208f172131: function(arg0, arg1, arg2, arg3) {
5235
+ __wbg_uniform2iv_5c591a2edfd26c45: function(arg0, arg1, arg2, arg3) {
5180
5236
  arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
5181
5237
  },
5182
- __wbg_uniform2iv_ccf2ed44ac8e602e: function(arg0, arg1, arg2, arg3) {
5238
+ __wbg_uniform2iv_63a2ba7206eaf2b3: function(arg0, arg1, arg2, arg3) {
5183
5239
  arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
5184
5240
  },
5185
- __wbg_uniform2uiv_3030d7e769f5e82a: function(arg0, arg1, arg2, arg3) {
5241
+ __wbg_uniform2uiv_aaa076c2f50b5c86: function(arg0, arg1, arg2, arg3) {
5186
5242
  arg0.uniform2uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
5187
5243
  },
5188
- __wbg_uniform3fv_aa35ef21e14d5469: function(arg0, arg1, arg2, arg3) {
5244
+ __wbg_uniform3fv_2e139d144894f1ec: function(arg0, arg1, arg2, arg3) {
5189
5245
  arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
5190
5246
  },
5191
- __wbg_uniform3fv_c0872003729939a5: function(arg0, arg1, arg2, arg3) {
5247
+ __wbg_uniform3fv_dfaba6b65cfc2c2b: function(arg0, arg1, arg2, arg3) {
5192
5248
  arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
5193
5249
  },
5194
- __wbg_uniform3iv_6aa2b0791e659d14: function(arg0, arg1, arg2, arg3) {
5250
+ __wbg_uniform3iv_700228c611ca323d: function(arg0, arg1, arg2, arg3) {
5195
5251
  arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
5196
5252
  },
5197
- __wbg_uniform3iv_e912f444d4ff8269: function(arg0, arg1, arg2, arg3) {
5253
+ __wbg_uniform3iv_f32512d7179442f8: function(arg0, arg1, arg2, arg3) {
5198
5254
  arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
5199
5255
  },
5200
- __wbg_uniform3uiv_86941e7eeb8ee0a3: function(arg0, arg1, arg2, arg3) {
5256
+ __wbg_uniform3uiv_c972de1ee5eb2b48: function(arg0, arg1, arg2, arg3) {
5201
5257
  arg0.uniform3uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
5202
5258
  },
5203
- __wbg_uniform4f_71ec75443e58cecc: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5259
+ __wbg_uniform4f_b5ea01e0388c425e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5204
5260
  arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
5205
5261
  },
5206
- __wbg_uniform4f_f6b5e2024636033a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5262
+ __wbg_uniform4f_b9880b3e743b1cf3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5207
5263
  arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
5208
5264
  },
5209
- __wbg_uniform4fv_498bd80dc5aa16ff: function(arg0, arg1, arg2, arg3) {
5265
+ __wbg_uniform4fv_0763a5cfb3d561c9: function(arg0, arg1, arg2, arg3) {
5210
5266
  arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
5211
5267
  },
5212
- __wbg_uniform4fv_e6c73702e9a3be5c: function(arg0, arg1, arg2, arg3) {
5268
+ __wbg_uniform4fv_95b1afba56301916: function(arg0, arg1, arg2, arg3) {
5213
5269
  arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
5214
5270
  },
5215
- __wbg_uniform4iv_375332584c65e61b: function(arg0, arg1, arg2, arg3) {
5271
+ __wbg_uniform4iv_1269cd3a3f01909d: function(arg0, arg1, arg2, arg3) {
5216
5272
  arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
5217
5273
  },
5218
- __wbg_uniform4iv_8a8219fda39dffd5: function(arg0, arg1, arg2, arg3) {
5274
+ __wbg_uniform4iv_84dc6c0b2ea09256: function(arg0, arg1, arg2, arg3) {
5219
5275
  arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
5220
5276
  },
5221
- __wbg_uniform4uiv_046ee400bb80547d: function(arg0, arg1, arg2, arg3) {
5277
+ __wbg_uniform4uiv_13ca9c250b538d85: function(arg0, arg1, arg2, arg3) {
5222
5278
  arg0.uniform4uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
5223
5279
  },
5224
- __wbg_uniformBlockBinding_1cf9fd2c49adf0f3: function(arg0, arg1, arg2, arg3) {
5280
+ __wbg_uniformBlockBinding_d97dbfc1886608c9: function(arg0, arg1, arg2, arg3) {
5225
5281
  arg0.uniformBlockBinding(arg1, arg2 >>> 0, arg3 >>> 0);
5226
5282
  },
5227
- __wbg_uniformMatrix2fv_24430076c7afb5e3: function(arg0, arg1, arg2, arg3, arg4) {
5283
+ __wbg_uniformMatrix2fv_4a95dd9315ceafce: function(arg0, arg1, arg2, arg3, arg4) {
5228
5284
  arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5229
5285
  },
5230
- __wbg_uniformMatrix2fv_e2806601f5b95102: function(arg0, arg1, arg2, arg3, arg4) {
5286
+ __wbg_uniformMatrix2fv_554c771038fd18e7: function(arg0, arg1, arg2, arg3, arg4) {
5231
5287
  arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5232
5288
  },
5233
- __wbg_uniformMatrix2x3fv_a377326104a8faf4: function(arg0, arg1, arg2, arg3, arg4) {
5289
+ __wbg_uniformMatrix2x3fv_18f2ff07b55f7458: function(arg0, arg1, arg2, arg3, arg4) {
5234
5290
  arg0.uniformMatrix2x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5235
5291
  },
5236
- __wbg_uniformMatrix2x4fv_b7a4d810e7a1cf7d: function(arg0, arg1, arg2, arg3, arg4) {
5292
+ __wbg_uniformMatrix2x4fv_2b66cdeb52233873: function(arg0, arg1, arg2, arg3, arg4) {
5237
5293
  arg0.uniformMatrix2x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5238
5294
  },
5239
- __wbg_uniformMatrix3fv_6f822361173d8046: function(arg0, arg1, arg2, arg3, arg4) {
5295
+ __wbg_uniformMatrix3fv_303d7eef53df7ed2: function(arg0, arg1, arg2, arg3, arg4) {
5240
5296
  arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5241
5297
  },
5242
- __wbg_uniformMatrix3fv_b94a764c63aa6468: function(arg0, arg1, arg2, arg3, arg4) {
5298
+ __wbg_uniformMatrix3fv_a9db97f34b3706b3: function(arg0, arg1, arg2, arg3, arg4) {
5243
5299
  arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5244
5300
  },
5245
- __wbg_uniformMatrix3x2fv_69a4cf0ce5b09f8b: function(arg0, arg1, arg2, arg3, arg4) {
5301
+ __wbg_uniformMatrix3x2fv_67c65614f0e122e8: function(arg0, arg1, arg2, arg3, arg4) {
5246
5302
  arg0.uniformMatrix3x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5247
5303
  },
5248
- __wbg_uniformMatrix3x4fv_cc72e31a1baaf9c9: function(arg0, arg1, arg2, arg3, arg4) {
5304
+ __wbg_uniformMatrix3x4fv_e3bd46b1bf5227ed: function(arg0, arg1, arg2, arg3, arg4) {
5249
5305
  arg0.uniformMatrix3x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5250
5306
  },
5251
- __wbg_uniformMatrix4fv_0e724dbebd372526: function(arg0, arg1, arg2, arg3, arg4) {
5307
+ __wbg_uniformMatrix4fv_db6f9ad4f00e3b76: function(arg0, arg1, arg2, arg3, arg4) {
5252
5308
  arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5253
5309
  },
5254
- __wbg_uniformMatrix4fv_923b55ad503fdc56: function(arg0, arg1, arg2, arg3, arg4) {
5310
+ __wbg_uniformMatrix4fv_e411faf4de6021c5: function(arg0, arg1, arg2, arg3, arg4) {
5255
5311
  arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5256
5312
  },
5257
- __wbg_uniformMatrix4x2fv_8c9fb646f3b90b63: function(arg0, arg1, arg2, arg3, arg4) {
5313
+ __wbg_uniformMatrix4x2fv_c59133281828fe8e: function(arg0, arg1, arg2, arg3, arg4) {
5258
5314
  arg0.uniformMatrix4x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5259
5315
  },
5260
- __wbg_uniformMatrix4x3fv_ee0bed9a1330400d: function(arg0, arg1, arg2, arg3, arg4) {
5316
+ __wbg_uniformMatrix4x3fv_dc85828b88505234: function(arg0, arg1, arg2, arg3, arg4) {
5261
5317
  arg0.uniformMatrix4x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
5262
5318
  },
5263
- __wbg_unmap_8c2e8131b2aaa844: function(arg0) {
5319
+ __wbg_unmap_6a96b14c9ef5f7f5: function(arg0) {
5264
5320
  arg0.unmap();
5265
5321
  },
5266
- __wbg_usage_13caa02888040e9f: function(arg0) {
5267
- const ret = arg0.usage;
5268
- return ret;
5269
- },
5270
- __wbg_useProgram_e82c1a5f87d81579: function(arg0, arg1) {
5322
+ __wbg_useProgram_7019ac9ef4bdbe96: function(arg0, arg1) {
5271
5323
  arg0.useProgram(arg1);
5272
5324
  },
5273
- __wbg_useProgram_fe720ade4d3b6edb: function(arg0, arg1) {
5325
+ __wbg_useProgram_fcab4319331e0094: function(arg0, arg1) {
5274
5326
  arg0.useProgram(arg1);
5275
5327
  },
5276
- __wbg_valueOf_3c28600026e653c4: function(arg0) {
5328
+ __wbg_valueOf_24fc886d85bf55b5: function(arg0) {
5277
5329
  const ret = arg0.valueOf();
5278
5330
  return ret;
5279
5331
  },
5280
- __wbg_value_0546255b415e96c1: function(arg0) {
5332
+ __wbg_value_c227f843d21da141: function(arg0) {
5281
5333
  const ret = arg0.value;
5282
5334
  return ret;
5283
5335
  },
5284
- __wbg_vertexAttribDivisorANGLE_eaa3c29423ea6da4: function(arg0, arg1, arg2) {
5336
+ __wbg_vertexAttribDivisorANGLE_5bebd4490e25d0f4: function(arg0, arg1, arg2) {
5285
5337
  arg0.vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
5286
5338
  },
5287
- __wbg_vertexAttribDivisor_744c0ca468594894: function(arg0, arg1, arg2) {
5339
+ __wbg_vertexAttribDivisor_e2a9ba8c397af61b: function(arg0, arg1, arg2) {
5288
5340
  arg0.vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
5289
5341
  },
5290
- __wbg_vertexAttribIPointer_b9020d0c2e759912: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5342
+ __wbg_vertexAttribIPointer_660e209bed7575ab: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5291
5343
  arg0.vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
5292
5344
  },
5293
- __wbg_vertexAttribPointer_75f6ff47f6c9f8cb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
5345
+ __wbg_vertexAttribPointer_b6db7a62b9bda090: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
5294
5346
  arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
5295
5347
  },
5296
- __wbg_vertexAttribPointer_adbd1853cce679ad: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
5348
+ __wbg_vertexAttribPointer_ed019b681b1aaacf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
5297
5349
  arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
5298
5350
  },
5299
- __wbg_videoHeight_a90b6b6ebd4132de: function(arg0) {
5300
- const ret = arg0.videoHeight;
5301
- return ret;
5302
- },
5303
- __wbg_videoWidth_4b450aa64c85eaa4: function(arg0) {
5304
- const ret = arg0.videoWidth;
5305
- return ret;
5306
- },
5307
- __wbg_viewport_174ae1c2209344ae: function(arg0, arg1, arg2, arg3, arg4) {
5351
+ __wbg_viewport_704a6159fb0395cb: function(arg0, arg1, arg2, arg3, arg4) {
5308
5352
  arg0.viewport(arg1, arg2, arg3, arg4);
5309
5353
  },
5310
- __wbg_viewport_df236eac68bc7467: function(arg0, arg1, arg2, arg3, arg4) {
5354
+ __wbg_viewport_f9d3214251b38c39: function(arg0, arg1, arg2, arg3, arg4) {
5311
5355
  arg0.viewport(arg1, arg2, arg3, arg4);
5312
5356
  },
5313
- __wbg_warn_f7ae1b2e66ccb930: function(arg0) {
5357
+ __wbg_warn_d3544c7814fab534: function(arg0) {
5314
5358
  console.warn(arg0);
5315
5359
  },
5316
- __wbg_width_5901d980713eb80b: function(arg0) {
5317
- const ret = arg0.width;
5318
- return ret;
5360
+ __wbg_writeBuffer_f4bb3f54adfe1330: function() {
5361
+ return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
5362
+ arg0.writeBuffer(arg1, arg2, getArrayU8FromWasm0(arg3, arg4), arg5, arg6);
5363
+ }, arguments);
5319
5364
  },
5320
- __wbg_width_5f66bde2e810fbde: function(arg0) {
5321
- const ret = arg0.width;
5322
- return ret;
5365
+ __wbg_writeTexture_30e592e8c061c3d9: function() {
5366
+ return handleError(function(arg0, arg1, arg2, arg3, arg4, arg5) {
5367
+ arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
5368
+ }, arguments);
5323
5369
  },
5324
- __wbg_width_75158459c067906d: function(arg0) {
5325
- const ret = arg0.width;
5370
+ __wbindgen_generic_0000000000000001: function(arg0, arg1) {
5371
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true_);
5326
5372
  return ret;
5327
5373
  },
5328
- __wbg_width_be8f36d66d37751f: function(arg0) {
5329
- const ret = arg0.width;
5374
+ __wbindgen_generic_0000000000000002: function(arg0, arg1) {
5375
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___sys__JsNullable_wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true_);
5330
5376
  return ret;
5331
5377
  },
5332
- __wbg_width_f12394c19964e4bb: function(arg0) {
5333
- const ret = arg0.width;
5378
+ __wbindgen_generic_0000000000000003: function(arg0, arg1) {
5379
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_);
5334
5380
  return ret;
5335
5381
  },
5336
- __wbg_writeBuffer_5ca4981365eb5ac0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5337
- arg0.writeBuffer(arg1, arg2, arg3, arg4, arg5);
5338
- },
5339
- __wbg_writeTexture_246118eb2f5a1592: function(arg0, arg1, arg2, arg3, arg4) {
5340
- arg0.writeTexture(arg1, arg2, arg3, arg4);
5341
- },
5342
- __wbindgen_cast_0000000000000001: function(arg0, arg1) {
5343
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_bf9fb98b009f27c1___closure__destroy___dyn_core_ed718c3d60ebd546___ops__function__FnMut__wgpu_7ff40e85e9cae613___backend__webgpu__webgpu_sys__gen_GpuUncapturedErrorEvent__GpuUncapturedErrorEvent____Output_______, wasm_bindgen_bf9fb98b009f27c1___convert__closures_____invoke___wgpu_7ff40e85e9cae613___backend__webgpu__webgpu_sys__gen_GpuUncapturedErrorEvent__GpuUncapturedErrorEvent_____);
5382
+ __wbindgen_generic_0000000000000004: function(arg0, arg1) {
5383
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___sys__JsNullable_wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true__440);
5344
5384
  return ret;
5345
5385
  },
5346
- __wbindgen_cast_0000000000000002: function(arg0, arg1) {
5347
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_bf9fb98b009f27c1___closure__destroy___dyn_core_ed718c3d60ebd546___ops__function__FnMut__wasm_bindgen_bf9fb98b009f27c1___JsValue____Output_______, wasm_bindgen_bf9fb98b009f27c1___convert__closures_____invoke___wasm_bindgen_bf9fb98b009f27c1___JsValue_____);
5386
+ __wbindgen_generic_0000000000000005: function(arg0, arg1) {
5387
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___sys__JsNullable_wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true__441);
5348
5388
  return ret;
5349
5389
  },
5350
- __wbindgen_cast_0000000000000003: function(arg0) {
5390
+ __wbindgen_generic_0000000000000006: function(arg0) {
5351
5391
  const ret = arg0;
5352
5392
  return ret;
5353
5393
  },
5354
- __wbindgen_cast_0000000000000004: function(arg0) {
5394
+ __wbindgen_generic_0000000000000007: function(arg0) {
5355
5395
  const ret = arg0;
5356
5396
  return ret;
5357
5397
  },
5358
- __wbindgen_cast_0000000000000005: function(arg0, arg1) {
5398
+ __wbindgen_generic_0000000000000008: function(arg0, arg1) {
5359
5399
  const ret = getArrayF32FromWasm0(arg0, arg1);
5360
5400
  return ret;
5361
5401
  },
5362
- __wbindgen_cast_0000000000000006: function(arg0, arg1) {
5402
+ __wbindgen_generic_0000000000000009: function(arg0, arg1) {
5363
5403
  const ret = getArrayI16FromWasm0(arg0, arg1);
5364
5404
  return ret;
5365
5405
  },
5366
- __wbindgen_cast_0000000000000007: function(arg0, arg1) {
5406
+ __wbindgen_generic_000000000000000a: function(arg0, arg1) {
5367
5407
  const ret = getArrayI32FromWasm0(arg0, arg1);
5368
5408
  return ret;
5369
5409
  },
5370
- __wbindgen_cast_0000000000000008: function(arg0, arg1) {
5410
+ __wbindgen_generic_000000000000000b: function(arg0, arg1) {
5371
5411
  const ret = getArrayI8FromWasm0(arg0, arg1);
5372
5412
  return ret;
5373
5413
  },
5374
- __wbindgen_cast_0000000000000009: function(arg0, arg1) {
5414
+ __wbindgen_generic_000000000000000c: function(arg0, arg1) {
5375
5415
  const ret = getArrayU16FromWasm0(arg0, arg1);
5376
5416
  return ret;
5377
5417
  },
5378
- __wbindgen_cast_000000000000000a: function(arg0, arg1) {
5418
+ __wbindgen_generic_000000000000000d: function(arg0, arg1) {
5379
5419
  const ret = getArrayU32FromWasm0(arg0, arg1);
5380
5420
  return ret;
5381
5421
  },
5382
- __wbindgen_cast_000000000000000b: function(arg0, arg1) {
5422
+ __wbindgen_generic_000000000000000e: function(arg0, arg1) {
5383
5423
  const ret = getArrayU8FromWasm0(arg0, arg1);
5384
5424
  return ret;
5385
5425
  },
5386
- __wbindgen_cast_000000000000000c: function(arg0, arg1) {
5426
+ __wbindgen_generic_000000000000000f: function(arg0, arg1) {
5387
5427
  const ret = getStringFromWasm0(arg0, arg1);
5388
5428
  return ret;
5389
5429
  },
5390
- __wbindgen_cast_000000000000000d: function(arg0) {
5430
+ __wbindgen_generic_0000000000000010: function(arg0) {
5391
5431
  const ret = BigInt.asUintN(64, arg0);
5392
5432
  return ret;
5393
5433
  },
5394
- __wbindgen_cast_000000000000000e: function(arg0, arg1) {
5434
+ __wbindgen_generic_0000000000000011: function(arg0, arg1) {
5395
5435
  var v0 = getArrayF32FromWasm0(arg0, arg1).slice();
5396
5436
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
5397
5437
  const ret = v0;
5398
5438
  return ret;
5399
5439
  },
5400
- __wbindgen_cast_000000000000000f: function(arg0, arg1) {
5440
+ __wbindgen_generic_0000000000000012: function(arg0, arg1) {
5401
5441
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
5402
5442
  wasm.__wbindgen_free(arg0, arg1 * 1, 1);
5403
5443
  const ret = v0;
@@ -5418,14 +5458,35 @@ function __wbg_get_imports() {
5418
5458
  "./vcad_kernel_wasm_bg.js": import0
5419
5459
  };
5420
5460
  }
5421
- function wasm_bindgen_bf9fb98b009f27c1___convert__closures_____invoke___wgpu_7ff40e85e9cae613___backend__webgpu__webgpu_sys__gen_GpuUncapturedErrorEvent__GpuUncapturedErrorEvent_____(arg0, arg1, arg2) {
5422
- wasm.wasm_bindgen_bf9fb98b009f27c1___convert__closures_____invoke___wgpu_7ff40e85e9cae613___backend__webgpu__webgpu_sys__gen_GpuUncapturedErrorEvent__GpuUncapturedErrorEvent_____(arg0, arg1, arg2);
5461
+ function wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2) {
5462
+ wasm.wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2);
5463
+ }
5464
+ function wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true_(arg0, arg1, arg2) {
5465
+ const ret = wasm.wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true_(arg0, arg1, arg2);
5466
+ if (ret[1]) {
5467
+ throw takeFromExternrefTable0(ret[0]);
5468
+ }
5469
+ }
5470
+ function wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___sys__JsNullable_wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true_(arg0, arg1, arg2) {
5471
+ const ret = wasm.wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___sys__JsNullable_wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true_(arg0, arg1, arg2);
5472
+ if (ret[1]) {
5473
+ throw takeFromExternrefTable0(ret[0]);
5474
+ }
5475
+ }
5476
+ function wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___sys__JsNullable_wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true__440(arg0, arg1, arg2) {
5477
+ const ret = wasm.wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___sys__JsNullable_wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true__440(arg0, arg1, arg2);
5478
+ if (ret[1]) {
5479
+ throw takeFromExternrefTable0(ret[0]);
5480
+ }
5423
5481
  }
5424
- function wasm_bindgen_bf9fb98b009f27c1___convert__closures_____invoke___wasm_bindgen_bf9fb98b009f27c1___JsValue_____(arg0, arg1, arg2) {
5425
- wasm.wasm_bindgen_bf9fb98b009f27c1___convert__closures_____invoke___wasm_bindgen_bf9fb98b009f27c1___JsValue_____(arg0, arg1, arg2);
5482
+ function wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___sys__JsNullable_wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true__441(arg0, arg1, arg2) {
5483
+ const ret = wasm.wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___wasm_bindgen_acf9c2f2c9dd69b6___sys__JsNullable_wgpu_13387fd488b29474___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_ed718c3d60ebd546___result__Result_____wasm_bindgen_acf9c2f2c9dd69b6___JsError___true__441(arg0, arg1, arg2);
5484
+ if (ret[1]) {
5485
+ throw takeFromExternrefTable0(ret[0]);
5486
+ }
5426
5487
  }
5427
- function wasm_bindgen_bf9fb98b009f27c1___convert__closures_____invoke___wasm_bindgen_bf9fb98b009f27c1___JsValue__wasm_bindgen_bf9fb98b009f27c1___JsValue_____(arg0, arg1, arg2, arg3) {
5428
- wasm.wasm_bindgen_bf9fb98b009f27c1___convert__closures_____invoke___wasm_bindgen_bf9fb98b009f27c1___JsValue__wasm_bindgen_bf9fb98b009f27c1___JsValue_____(arg0, arg1, arg2, arg3);
5488
+ function wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___js_sys_a7eb04f8bd1805db___Function_fn_wasm_bindgen_acf9c2f2c9dd69b6___JsValue_____wasm_bindgen_acf9c2f2c9dd69b6___sys__Undefined___js_sys_a7eb04f8bd1805db___Function_fn_wasm_bindgen_acf9c2f2c9dd69b6___JsValue_____wasm_bindgen_acf9c2f2c9dd69b6___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
5489
+ wasm.wasm_bindgen_acf9c2f2c9dd69b6___convert__closures_____invoke___js_sys_a7eb04f8bd1805db___Function_fn_wasm_bindgen_acf9c2f2c9dd69b6___JsValue_____wasm_bindgen_acf9c2f2c9dd69b6___sys__Undefined___js_sys_a7eb04f8bd1805db___Function_fn_wasm_bindgen_acf9c2f2c9dd69b6___JsValue_____wasm_bindgen_acf9c2f2c9dd69b6___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
5429
5490
  }
5430
5491
  function addToExternrefTable0(obj) {
5431
5492
  const idx = wasm.__externref_table_alloc();
@@ -5523,6 +5584,15 @@ function getArrayJsValueFromWasm0(ptr, len) {
5523
5584
  wasm.__externref_drop_slice(ptr, len);
5524
5585
  return result;
5525
5586
  }
5587
+ function getArrayJsValueViewFromWasm0(ptr, len) {
5588
+ ptr = ptr >>> 0;
5589
+ const mem = getDataViewMemory0();
5590
+ const result = [];
5591
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
5592
+ result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
5593
+ }
5594
+ return result;
5595
+ }
5526
5596
  function getArrayU16FromWasm0(ptr, len) {
5527
5597
  ptr = ptr >>> 0;
5528
5598
  return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
@@ -5572,8 +5642,7 @@ function getInt8ArrayMemory0() {
5572
5642
  return cachedInt8ArrayMemory0;
5573
5643
  }
5574
5644
  function getStringFromWasm0(ptr, len) {
5575
- ptr = ptr >>> 0;
5576
- return decodeText(ptr, len);
5645
+ return decodeText(ptr >>> 0, len);
5577
5646
  }
5578
5647
  function getUint16ArrayMemory0() {
5579
5648
  if (cachedUint16ArrayMemory0 === null || cachedUint16ArrayMemory0.byteLength === 0) {
@@ -5604,8 +5673,8 @@ function handleError(f, args) {
5604
5673
  function isLikeNone(x) {
5605
5674
  return x === void 0 || x === null;
5606
5675
  }
5607
- function makeMutClosure(arg0, arg1, dtor, f) {
5608
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
5676
+ function makeMutClosure(arg0, arg1, f) {
5677
+ const state = { a: arg0, b: arg1, cnt: 1 };
5609
5678
  const real = (...args) => {
5610
5679
  state.cnt++;
5611
5680
  const a = state.a;
@@ -5619,7 +5688,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
5619
5688
  };
5620
5689
  real._wbg_cb_unref = () => {
5621
5690
  if (--state.cnt === 0) {
5622
- state.dtor(state.a, state.b);
5691
+ wasm.__wbindgen_destroy_closure(state.a, state.b);
5623
5692
  state.a = 0;
5624
5693
  CLOSURE_DTORS.unregister(state);
5625
5694
  }
@@ -5705,6 +5774,7 @@ function decodeText(ptr, len) {
5705
5774
  return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
5706
5775
  }
5707
5776
  function __wbg_finalize_init(instance, module) {
5777
+ wasmInstance = instance;
5708
5778
  wasm = instance.exports;
5709
5779
  wasmModule = module;
5710
5780
  cachedDataViewMemory0 = null;
@@ -5721,11 +5791,14 @@ function __wbg_finalize_init(instance, module) {
5721
5791
  }
5722
5792
  async function __wbg_load(module, imports) {
5723
5793
  if (typeof Response === "function" && module instanceof Response) {
5794
+ if (!module.ok) {
5795
+ throw new Error(`failed to fetch Wasm: ${module.status} ${module.statusText} fetching '${module.url}'`);
5796
+ }
5724
5797
  if (typeof WebAssembly.instantiateStreaming === "function") {
5725
5798
  try {
5726
5799
  return await WebAssembly.instantiateStreaming(module, imports);
5727
5800
  } catch (e) {
5728
- const validResponse = module.ok && expectedResponseType(module.type);
5801
+ const validResponse = expectedResponseType(module.type);
5729
5802
  if (validResponse && module.headers.get("Content-Type") !== "application/wasm") {
5730
5803
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
5731
5804
  } else {
@@ -5792,7 +5865,7 @@ function __vcad_reset_wasm() {
5792
5865
  wasm = void 0;
5793
5866
  wasmModule = void 0;
5794
5867
  }
5795
- var CircuitSim, MdSim, PhysicsSim, RayTracer, SliceResult, SlicerSettings, Solid, WasmAnnotationLayer, WasmCamSettings, WasmDocumentEngine, WasmKeybindings, WasmSketchSession, __wbindgen_enum_GpuCompilationMessageType, __wbindgen_enum_GpuDeviceLostReason, __wbindgen_enum_GpuErrorFilter, __wbindgen_enum_GpuIndexFormat, __wbindgen_enum_GpuTextureFormat, CircuitSimFinalization, MdSimFinalization, PhysicsSimFinalization, RayTracerFinalization, SliceResultFinalization, SlicerSettingsFinalization, SolidFinalization, WasmAnnotationLayerFinalization, WasmCamSettingsFinalization, WasmDocumentEngineFinalization, WasmKeybindingsFinalization, WasmSketchSessionFinalization, CLOSURE_DTORS, cachedDataViewMemory0, cachedFloat32ArrayMemory0, cachedFloat64ArrayMemory0, cachedInt16ArrayMemory0, cachedInt32ArrayMemory0, cachedInt8ArrayMemory0, cachedUint16ArrayMemory0, cachedUint32ArrayMemory0, cachedUint8ArrayMemory0, cachedTextDecoder, MAX_SAFARI_DECODE_BYTES, numBytesDecoded, cachedTextEncoder, WASM_VECTOR_LEN, wasmModule, wasm;
5868
+ var CircuitSim, MdSim, PhysicsSim, RayTracer, SliceResult, SlicerSettings, Solid, WasmAnnotationLayer, WasmCamSettings, WasmDocumentEngine, WasmKeybindings, WasmSketchSession, __wbindgen_enum_GpuAutoLayoutMode, __wbindgen_enum_GpuBufferBindingType, __wbindgen_enum_GpuPowerPreference, __wbindgen_enum_GpuSamplerBindingType, __wbindgen_enum_GpuStorageTextureAccess, __wbindgen_enum_GpuTextureAspect, __wbindgen_enum_GpuTextureDimension, __wbindgen_enum_GpuTextureFormat, __wbindgen_enum_GpuTextureSampleType, __wbindgen_enum_GpuTextureViewDimension, CircuitSimFinalization, MdSimFinalization, PhysicsSimFinalization, RayTracerFinalization, SliceResultFinalization, SlicerSettingsFinalization, SolidFinalization, WasmAnnotationLayerFinalization, WasmCamSettingsFinalization, WasmDocumentEngineFinalization, WasmKeybindingsFinalization, WasmSketchSessionFinalization, CLOSURE_DTORS, cachedDataViewMemory0, cachedFloat32ArrayMemory0, cachedFloat64ArrayMemory0, cachedInt16ArrayMemory0, cachedInt32ArrayMemory0, cachedInt8ArrayMemory0, cachedUint16ArrayMemory0, cachedUint32ArrayMemory0, cachedUint8ArrayMemory0, cachedTextDecoder, MAX_SAFARI_DECODE_BYTES, numBytesDecoded, cachedTextEncoder, WASM_VECTOR_LEN, wasmModule, wasmInstance, wasm;
5796
5869
  var init_vcad_kernel_wasm = __esm({
5797
5870
  "../kernel-wasm/vcad_kernel_wasm.js"() {
5798
5871
  CircuitSim = class {
@@ -5825,7 +5898,7 @@ var init_vcad_kernel_wasm = __esm({
5825
5898
  if (ret[2]) {
5826
5899
  throw takeFromExternrefTable0(ret[1]);
5827
5900
  }
5828
- this.__wbg_ptr = ret[0] >>> 0;
5901
+ this.__wbg_ptr = ret[0];
5829
5902
  CircuitSimFinalization.register(this, this.__wbg_ptr, this);
5830
5903
  return this;
5831
5904
  }
@@ -5916,7 +5989,7 @@ var init_vcad_kernel_wasm = __esm({
5916
5989
  if (ret[2]) {
5917
5990
  throw takeFromExternrefTable0(ret[1]);
5918
5991
  }
5919
- this.__wbg_ptr = ret[0] >>> 0;
5992
+ this.__wbg_ptr = ret[0];
5920
5993
  MdSimFinalization.register(this, this.__wbg_ptr, this);
5921
5994
  return this;
5922
5995
  }
@@ -6018,7 +6091,7 @@ var init_vcad_kernel_wasm = __esm({
6018
6091
  */
6019
6092
  actuatedJointIds() {
6020
6093
  const ret = wasm.physicssim_actuatedJointIds(this.__wbg_ptr);
6021
- var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
6094
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
6022
6095
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
6023
6096
  return v1;
6024
6097
  }
@@ -6034,7 +6107,7 @@ var init_vcad_kernel_wasm = __esm({
6034
6107
  */
6035
6108
  jointIds() {
6036
6109
  const ret = wasm.physicssim_jointIds(this.__wbg_ptr);
6037
- var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
6110
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
6038
6111
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
6039
6112
  return v1;
6040
6113
  }
@@ -6082,11 +6155,11 @@ var init_vcad_kernel_wasm = __esm({
6082
6155
  const len1 = WASM_VECTOR_LEN;
6083
6156
  var ptr2 = isLikeNone(config_json) ? 0 : passStringToWasm0(config_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6084
6157
  var len2 = WASM_VECTOR_LEN;
6085
- const ret = wasm.physicssim_new(ptr0, len0, ptr1, len1, isLikeNone(dt) ? 4294967297 : Math.fround(dt), isLikeNone(substeps) ? 4294967297 : substeps >>> 0, ptr2, len2, isLikeNone(ground_enabled) ? 16777215 : ground_enabled ? 1 : 0, !isLikeNone(ground_height), isLikeNone(ground_height) ? 0 : ground_height, !isLikeNone(ground_friction), isLikeNone(ground_friction) ? 0 : ground_friction, !isLikeNone(ground_restitution), isLikeNone(ground_restitution) ? 0 : ground_restitution);
6158
+ const ret = wasm.physicssim_new(ptr0, len0, ptr1, len1, isLikeNone(dt) ? Number.MAX_SAFE_INTEGER : Math.fround(dt), isLikeNone(substeps) ? Number.MAX_SAFE_INTEGER : substeps >>> 0, ptr2, len2, isLikeNone(ground_enabled) ? 16777215 : ground_enabled ? 1 : 0, !isLikeNone(ground_height), isLikeNone(ground_height) ? 0 : ground_height, !isLikeNone(ground_friction), isLikeNone(ground_friction) ? 0 : ground_friction, !isLikeNone(ground_restitution), isLikeNone(ground_restitution) ? 0 : ground_restitution);
6086
6159
  if (ret[2]) {
6087
6160
  throw takeFromExternrefTable0(ret[1]);
6088
6161
  }
6089
- this.__wbg_ptr = ret[0] >>> 0;
6162
+ this.__wbg_ptr = ret[0];
6090
6163
  PhysicsSimFinalization.register(this, this.__wbg_ptr, this);
6091
6164
  return this;
6092
6165
  }
@@ -6116,16 +6189,6 @@ var init_vcad_kernel_wasm = __esm({
6116
6189
  const ret = wasm.physicssim_observe(this.__wbg_ptr);
6117
6190
  return ret;
6118
6191
  }
6119
- /**
6120
- * Reset the environment to initial state.
6121
- *
6122
- * Returns the initial observation as JSON.
6123
- * @returns {any}
6124
- */
6125
- reset() {
6126
- const ret = wasm.physicssim_reset(this.__wbg_ptr);
6127
- return ret;
6128
- }
6129
6192
  /**
6130
6193
  * Reset with a new seed: re-seeds the domain-randomization stream
6131
6194
  * (episode counter rewinds to 0) and resets. Returns the initial
@@ -6137,6 +6200,16 @@ var init_vcad_kernel_wasm = __esm({
6137
6200
  const ret = wasm.physicssim_resetSeeded(this.__wbg_ptr, seed);
6138
6201
  return ret;
6139
6202
  }
6203
+ /**
6204
+ * Reset the environment to initial state.
6205
+ *
6206
+ * Returns the initial observation as JSON.
6207
+ * @returns {any}
6208
+ */
6209
+ reset() {
6210
+ const ret = wasm.physicssim_reset(this.__wbg_ptr);
6211
+ return ret;
6212
+ }
6140
6213
  /**
6141
6214
  * Set explicit per-joint PD gains, overriding the inertia-scaled
6142
6215
  * defaults for position and velocity servos.
@@ -6222,7 +6295,6 @@ var init_vcad_kernel_wasm = __esm({
6222
6295
  if (Symbol.dispose) PhysicsSim.prototype[Symbol.dispose] = PhysicsSim.prototype.free;
6223
6296
  RayTracer = class _RayTracer {
6224
6297
  static __wrap(ptr) {
6225
- ptr = ptr >>> 0;
6226
6298
  const obj = Object.create(_RayTracer.prototype);
6227
6299
  obj.__wbg_ptr = ptr;
6228
6300
  RayTracerFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6443,19 +6515,6 @@ var init_vcad_kernel_wasm = __esm({
6443
6515
  setEdgeStyle(enable_silhouette, enable_crease, enable_boundary, silhouette_r, silhouette_g, silhouette_b, silhouette_a, crease_r, crease_g, crease_b, crease_a, boundary_r, boundary_g, boundary_b, boundary_a, silhouette_width, crease_width, boundary_width, edge_softness) {
6444
6516
  wasm.raytracer_setEdgeStyle(this.__wbg_ptr, enable_silhouette, enable_crease, enable_boundary, silhouette_r, silhouette_g, silhouette_b, silhouette_a, crease_r, crease_g, crease_b, crease_a, boundary_r, boundary_g, boundary_b, boundary_a, silhouette_width, crease_width, boundary_width, edge_softness);
6445
6517
  }
6446
- /**
6447
- * @param {number} r
6448
- * @param {number} g
6449
- * @param {number} b
6450
- * @param {number} metallic
6451
- * @param {number} roughness
6452
- */
6453
- setMaterial(r, g, b, metallic, roughness) {
6454
- const ret = wasm.raytracer_setMaterial(this.__wbg_ptr, r, g, b, metallic, roughness);
6455
- if (ret[1]) {
6456
- throw takeFromExternrefTable0(ret[0]);
6457
- }
6458
- }
6459
6518
  /**
6460
6519
  * Set the material for all faces in the scene.
6461
6520
  *
@@ -6469,7 +6528,7 @@ var init_vcad_kernel_wasm = __esm({
6469
6528
  * roughness, so clearcoat, IOR and anisotropy never reached the viewport
6470
6529
  * and a brushed or lacquered part shaded differently here than under
6471
6530
  * `vcad-render --photoreal`. This runs the SAME derivation the CPU
6472
- * renderer uses (`Pbr::from_material_def`), so both agree by construction.
6531
+ * renderer uses (`pathtrace::from_material_def`), so both agree by construction.
6473
6532
  *
6474
6533
  * `json` is a `MaterialDef` object; pass `null`/empty to fall back to the
6475
6534
  * optional `tint` (linear RGB) or the neutral default.
@@ -6486,6 +6545,19 @@ var init_vcad_kernel_wasm = __esm({
6486
6545
  throw takeFromExternrefTable0(ret[0]);
6487
6546
  }
6488
6547
  }
6548
+ /**
6549
+ * @param {number} r
6550
+ * @param {number} g
6551
+ * @param {number} b
6552
+ * @param {number} metallic
6553
+ * @param {number} roughness
6554
+ */
6555
+ setMaterial(r, g, b, metallic, roughness) {
6556
+ const ret = wasm.raytracer_setMaterial(this.__wbg_ptr, r, g, b, metallic, roughness);
6557
+ if (ret[1]) {
6558
+ throw takeFromExternrefTable0(ret[0]);
6559
+ }
6560
+ }
6489
6561
  /**
6490
6562
  * Set the path tracer's quality ceiling and stylisation mode.
6491
6563
  *
@@ -6527,22 +6599,6 @@ var init_vcad_kernel_wasm = __esm({
6527
6599
  setTheme(theme) {
6528
6600
  wasm.raytracer_setTheme(this.__wbg_ptr, theme);
6529
6601
  }
6530
- /**
6531
- * Upload a solid's BRep representation for ray tracing.
6532
- *
6533
- * First call after clearScene seeds the GPU scene. Subsequent calls
6534
- * merge into the existing scene — surfaces/faces/BVH from each new
6535
- * solid are unified under a fresh root, so multi-part scenes render
6536
- * in a single ray-trace pass.
6537
- * @param {Solid} solid
6538
- */
6539
- uploadSolid(solid) {
6540
- _assertClass(solid, Solid);
6541
- const ret = wasm.raytracer_uploadSolid(this.__wbg_ptr, solid.__wbg_ptr);
6542
- if (ret[1]) {
6543
- throw takeFromExternrefTable0(ret[0]);
6544
- }
6545
- }
6546
6602
  /**
6547
6603
  * Upload a solid with its own material. Each uploaded solid's faces
6548
6604
  * keep a distinct material slot (`GpuScene::merge` offsets material
@@ -6561,11 +6617,26 @@ var init_vcad_kernel_wasm = __esm({
6561
6617
  throw takeFromExternrefTable0(ret[0]);
6562
6618
  }
6563
6619
  }
6620
+ /**
6621
+ * Upload a solid's BRep representation for ray tracing.
6622
+ *
6623
+ * First call after clearScene seeds the GPU scene. Subsequent calls
6624
+ * merge into the existing scene — surfaces/faces/BVH from each new
6625
+ * solid are unified under a fresh root, so multi-part scenes render
6626
+ * in a single ray-trace pass.
6627
+ * @param {Solid} solid
6628
+ */
6629
+ uploadSolid(solid) {
6630
+ _assertClass(solid, Solid);
6631
+ const ret = wasm.raytracer_uploadSolid(this.__wbg_ptr, solid.__wbg_ptr);
6632
+ if (ret[1]) {
6633
+ throw takeFromExternrefTable0(ret[0]);
6634
+ }
6635
+ }
6564
6636
  };
6565
6637
  if (Symbol.dispose) RayTracer.prototype[Symbol.dispose] = RayTracer.prototype.free;
6566
6638
  SliceResult = class _SliceResult {
6567
6639
  static __wrap(ptr) {
6568
- ptr = ptr >>> 0;
6569
6640
  const obj = Object.create(_SliceResult.prototype);
6570
6641
  obj.__wbg_ptr = ptr;
6571
6642
  SliceResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6652,7 +6723,6 @@ var init_vcad_kernel_wasm = __esm({
6652
6723
  if (Symbol.dispose) SliceResult.prototype[Symbol.dispose] = SliceResult.prototype.free;
6653
6724
  SlicerSettings = class _SlicerSettings {
6654
6725
  static __wrap(ptr) {
6655
- ptr = ptr >>> 0;
6656
6726
  const obj = Object.create(_SlicerSettings.prototype);
6657
6727
  obj.__wbg_ptr = ptr;
6658
6728
  SlicerSettingsFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6822,7 +6892,7 @@ var init_vcad_kernel_wasm = __esm({
6822
6892
  */
6823
6893
  constructor() {
6824
6894
  const ret = wasm.slicersettings_new();
6825
- this.__wbg_ptr = ret >>> 0;
6895
+ this.__wbg_ptr = ret;
6826
6896
  SlicerSettingsFinalization.register(this, this.__wbg_ptr, this);
6827
6897
  return this;
6828
6898
  }
@@ -6830,7 +6900,6 @@ var init_vcad_kernel_wasm = __esm({
6830
6900
  if (Symbol.dispose) SlicerSettings.prototype[Symbol.dispose] = SlicerSettings.prototype.free;
6831
6901
  Solid = class _Solid {
6832
6902
  static __wrap(ptr) {
6833
- ptr = ptr >>> 0;
6834
6903
  const obj = Object.create(_Solid.prototype);
6835
6904
  obj.__wbg_ptr = ptr;
6836
6905
  SolidFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6858,7 +6927,7 @@ var init_vcad_kernel_wasm = __esm({
6858
6927
  * @returns {Float32Array}
6859
6928
  */
6860
6929
  boundaryEdges(segments) {
6861
- const ret = wasm.solid_boundaryEdges(this.__wbg_ptr, isLikeNone(segments) ? 4294967297 : segments >>> 0);
6930
+ const ret = wasm.solid_boundaryEdges(this.__wbg_ptr, isLikeNone(segments) ? Number.MAX_SAFE_INTEGER : segments >>> 0);
6862
6931
  var v1 = getArrayF32FromWasm0(ret[0], ret[1]).slice();
6863
6932
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
6864
6933
  return v1;
@@ -6929,7 +6998,7 @@ var init_vcad_kernel_wasm = __esm({
6929
6998
  * @returns {Solid}
6930
6999
  */
6931
7000
  circularPattern(axis_origin_x, axis_origin_y, axis_origin_z, axis_dir_x, axis_dir_y, axis_dir_z, count, angle_deg) {
6932
- const ret = wasm.op_circular_pattern(this.__wbg_ptr, axis_origin_x, axis_origin_y, axis_origin_z, axis_dir_x, axis_dir_y, axis_dir_z, count, angle_deg);
7001
+ const ret = wasm.solid_circularPattern(this.__wbg_ptr, axis_origin_x, axis_origin_y, axis_origin_z, axis_dir_x, axis_dir_y, axis_dir_z, count, angle_deg);
6933
7002
  return _Solid.__wrap(ret);
6934
7003
  }
6935
7004
  /**
@@ -6955,7 +7024,7 @@ var init_vcad_kernel_wasm = __esm({
6955
7024
  * @returns {Solid}
6956
7025
  */
6957
7026
  static cone(radius_bottom, radius_top, height, segments) {
6958
- const ret = wasm.solid_cone(radius_bottom, radius_top, height, isLikeNone(segments) ? 4294967297 : segments >>> 0);
7027
+ const ret = wasm.solid_cone(radius_bottom, radius_top, height, isLikeNone(segments) ? Number.MAX_SAFE_INTEGER : segments >>> 0);
6959
7028
  return _Solid.__wrap(ret);
6960
7029
  }
6961
7030
  /**
@@ -6977,7 +7046,7 @@ var init_vcad_kernel_wasm = __esm({
6977
7046
  * @returns {Solid}
6978
7047
  */
6979
7048
  static cylinder(radius, height, segments) {
6980
- const ret = wasm.solid_cylinder(radius, height, isLikeNone(segments) ? 4294967297 : segments >>> 0);
7049
+ const ret = wasm.solid_cylinder(radius, height, isLikeNone(segments) ? Number.MAX_SAFE_INTEGER : segments >>> 0);
6981
7050
  return _Solid.__wrap(ret);
6982
7051
  }
6983
7052
  /**
@@ -7023,41 +7092,41 @@ var init_vcad_kernel_wasm = __esm({
7023
7092
  return _Solid.__wrap(ret);
7024
7093
  }
7025
7094
  /**
7026
- * Create a solid by extruding a 2D sketch profile.
7095
+ * Create a solid by extruding a 2D sketch profile with twist and/or scale.
7027
7096
  *
7028
- * Takes a sketch profile and extrusion direction as JS objects.
7097
+ * Takes a sketch profile, extrusion direction, twist angle (radians),
7098
+ * and scale factor at the end (1.0 = no taper).
7029
7099
  * @param {string} profile_json
7030
7100
  * @param {Float64Array} direction
7101
+ * @param {number} twist_angle
7102
+ * @param {number} scale_end
7031
7103
  * @returns {Solid}
7032
7104
  */
7033
- static extrude(profile_json, direction) {
7105
+ static extrudeWithOptions(profile_json, direction, twist_angle, scale_end) {
7034
7106
  const ptr0 = passStringToWasm0(profile_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7035
7107
  const len0 = WASM_VECTOR_LEN;
7036
7108
  const ptr1 = passArrayF64ToWasm0(direction, wasm.__wbindgen_malloc);
7037
7109
  const len1 = WASM_VECTOR_LEN;
7038
- const ret = wasm.solid_extrude(ptr0, len0, ptr1, len1);
7110
+ const ret = wasm.solid_extrudeWithOptions(ptr0, len0, ptr1, len1, twist_angle, scale_end);
7039
7111
  if (ret[2]) {
7040
7112
  throw takeFromExternrefTable0(ret[1]);
7041
7113
  }
7042
7114
  return _Solid.__wrap(ret[0]);
7043
7115
  }
7044
7116
  /**
7045
- * Create a solid by extruding a 2D sketch profile with twist and/or scale.
7117
+ * Create a solid by extruding a 2D sketch profile.
7046
7118
  *
7047
- * Takes a sketch profile, extrusion direction, twist angle (radians),
7048
- * and scale factor at the end (1.0 = no taper).
7119
+ * Takes a sketch profile and extrusion direction as JS objects.
7049
7120
  * @param {string} profile_json
7050
7121
  * @param {Float64Array} direction
7051
- * @param {number} twist_angle
7052
- * @param {number} scale_end
7053
7122
  * @returns {Solid}
7054
7123
  */
7055
- static extrudeWithOptions(profile_json, direction, twist_angle, scale_end) {
7124
+ static extrude(profile_json, direction) {
7056
7125
  const ptr0 = passStringToWasm0(profile_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7057
7126
  const len0 = WASM_VECTOR_LEN;
7058
7127
  const ptr1 = passArrayF64ToWasm0(direction, wasm.__wbindgen_malloc);
7059
7128
  const len1 = WASM_VECTOR_LEN;
7060
- const ret = wasm.solid_extrudeWithOptions(ptr0, len0, ptr1, len1, twist_angle, scale_end);
7129
+ const ret = wasm.solid_extrude(ptr0, len0, ptr1, len1);
7061
7130
  if (ret[2]) {
7062
7131
  throw takeFromExternrefTable0(ret[1]);
7063
7132
  }
@@ -7098,7 +7167,7 @@ var init_vcad_kernel_wasm = __esm({
7098
7167
  static fromRegisteredStep(path, solid_index) {
7099
7168
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7100
7169
  const len0 = WASM_VECTOR_LEN;
7101
- const ret = wasm.solid_fromRegisteredStep(ptr0, len0, isLikeNone(solid_index) ? 4294967297 : solid_index >>> 0);
7170
+ const ret = wasm.solid_fromRegisteredStep(ptr0, len0, isLikeNone(solid_index) ? Number.MAX_SAFE_INTEGER : solid_index >>> 0);
7102
7171
  if (ret[2]) {
7103
7172
  throw takeFromExternrefTable0(ret[1]);
7104
7173
  }
@@ -7118,7 +7187,7 @@ var init_vcad_kernel_wasm = __esm({
7118
7187
  * @returns {any}
7119
7188
  */
7120
7189
  getMesh(segments) {
7121
- const ret = wasm.solid_getMesh(this.__wbg_ptr, isLikeNone(segments) ? 4294967297 : segments >>> 0);
7190
+ const ret = wasm.solid_getMesh(this.__wbg_ptr, isLikeNone(segments) ? Number.MAX_SAFE_INTEGER : segments >>> 0);
7122
7191
  return ret;
7123
7192
  }
7124
7193
  /**
@@ -7132,7 +7201,7 @@ var init_vcad_kernel_wasm = __esm({
7132
7201
  * @returns {any}
7133
7202
  */
7134
7203
  horizontalSection(z, hatch_spacing, hatch_angle, segments) {
7135
- const ret = wasm.solid_horizontalSection(this.__wbg_ptr, z, !isLikeNone(hatch_spacing), isLikeNone(hatch_spacing) ? 0 : hatch_spacing, !isLikeNone(hatch_angle), isLikeNone(hatch_angle) ? 0 : hatch_angle, isLikeNone(segments) ? 4294967297 : segments >>> 0);
7204
+ const ret = wasm.solid_horizontalSection(this.__wbg_ptr, z, !isLikeNone(hatch_spacing), isLikeNone(hatch_spacing) ? 0 : hatch_spacing, !isLikeNone(hatch_angle), isLikeNone(hatch_angle) ? 0 : hatch_angle, isLikeNone(segments) ? Number.MAX_SAFE_INTEGER : segments >>> 0);
7136
7205
  return ret;
7137
7206
  }
7138
7207
  /**
@@ -7175,7 +7244,7 @@ var init_vcad_kernel_wasm = __esm({
7175
7244
  * @returns {Solid}
7176
7245
  */
7177
7246
  linearPattern(dir_x, dir_y, dir_z, count, spacing) {
7178
- const ret = wasm.op_linear_pattern(this.__wbg_ptr, dir_x, dir_y, dir_z, count, spacing);
7247
+ const ret = wasm.solid_linearPattern(this.__wbg_ptr, dir_x, dir_y, dir_z, count, spacing);
7179
7248
  return _Solid.__wrap(ret);
7180
7249
  }
7181
7250
  /**
@@ -7246,7 +7315,7 @@ var init_vcad_kernel_wasm = __esm({
7246
7315
  projectView(view_direction, segments) {
7247
7316
  const ptr0 = passStringToWasm0(view_direction, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7248
7317
  const len0 = WASM_VECTOR_LEN;
7249
- const ret = wasm.solid_projectView(this.__wbg_ptr, ptr0, len0, isLikeNone(segments) ? 4294967297 : segments >>> 0);
7318
+ const ret = wasm.solid_projectView(this.__wbg_ptr, ptr0, len0, isLikeNone(segments) ? Number.MAX_SAFE_INTEGER : segments >>> 0);
7250
7319
  return ret;
7251
7320
  }
7252
7321
  /**
@@ -7354,7 +7423,7 @@ var init_vcad_kernel_wasm = __esm({
7354
7423
  const len0 = WASM_VECTOR_LEN;
7355
7424
  var ptr1 = isLikeNone(hatch_json) ? 0 : passStringToWasm0(hatch_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7356
7425
  var len1 = WASM_VECTOR_LEN;
7357
- const ret = wasm.solid_sectionView(this.__wbg_ptr, ptr0, len0, ptr1, len1, isLikeNone(segments) ? 4294967297 : segments >>> 0);
7426
+ const ret = wasm.solid_sectionView(this.__wbg_ptr, ptr0, len0, ptr1, len1, isLikeNone(segments) ? Number.MAX_SAFE_INTEGER : segments >>> 0);
7358
7427
  return ret;
7359
7428
  }
7360
7429
  /**
@@ -7376,7 +7445,7 @@ var init_vcad_kernel_wasm = __esm({
7376
7445
  * @returns {Solid}
7377
7446
  */
7378
7447
  static sphere(radius, segments) {
7379
- const ret = wasm.solid_sphere(radius, isLikeNone(segments) ? 4294967297 : segments >>> 0);
7448
+ const ret = wasm.solid_sphere(radius, isLikeNone(segments) ? Number.MAX_SAFE_INTEGER : segments >>> 0);
7380
7449
  return _Solid.__wrap(ret);
7381
7450
  }
7382
7451
  /**
@@ -7407,7 +7476,7 @@ var init_vcad_kernel_wasm = __esm({
7407
7476
  static sweepHelix(profile_json, radius, pitch, height, turns, twist_angle, scale_start, scale_end, path_segments, arc_segments, orientation) {
7408
7477
  const ptr0 = passStringToWasm0(profile_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7409
7478
  const len0 = WASM_VECTOR_LEN;
7410
- const ret = wasm.solid_sweepHelix(ptr0, len0, radius, pitch, height, turns, !isLikeNone(twist_angle), isLikeNone(twist_angle) ? 0 : twist_angle, !isLikeNone(scale_start), isLikeNone(scale_start) ? 0 : scale_start, !isLikeNone(scale_end), isLikeNone(scale_end) ? 0 : scale_end, isLikeNone(path_segments) ? 4294967297 : path_segments >>> 0, isLikeNone(arc_segments) ? 4294967297 : arc_segments >>> 0, !isLikeNone(orientation), isLikeNone(orientation) ? 0 : orientation);
7479
+ const ret = wasm.solid_sweepHelix(ptr0, len0, radius, pitch, height, turns, !isLikeNone(twist_angle), isLikeNone(twist_angle) ? 0 : twist_angle, !isLikeNone(scale_start), isLikeNone(scale_start) ? 0 : scale_start, !isLikeNone(scale_end), isLikeNone(scale_end) ? 0 : scale_end, isLikeNone(path_segments) ? Number.MAX_SAFE_INTEGER : path_segments >>> 0, isLikeNone(arc_segments) ? Number.MAX_SAFE_INTEGER : arc_segments >>> 0, !isLikeNone(orientation), isLikeNone(orientation) ? 0 : orientation);
7411
7480
  if (ret[2]) {
7412
7481
  throw takeFromExternrefTable0(ret[1]);
7413
7482
  }
@@ -7517,7 +7586,7 @@ var init_vcad_kernel_wasm = __esm({
7517
7586
  * @returns {Solid}
7518
7587
  */
7519
7588
  static torus(major_radius, minor_radius, segments) {
7520
- const ret = wasm.solid_torus(major_radius, minor_radius, isLikeNone(segments) ? 4294967297 : segments >>> 0);
7589
+ const ret = wasm.solid_torus(major_radius, minor_radius, isLikeNone(segments) ? Number.MAX_SAFE_INTEGER : segments >>> 0);
7521
7590
  return _Solid.__wrap(ret);
7522
7591
  }
7523
7592
  /**
@@ -7707,7 +7776,7 @@ var init_vcad_kernel_wasm = __esm({
7707
7776
  */
7708
7777
  constructor() {
7709
7778
  const ret = wasm.wasmannotationlayer_new();
7710
- this.__wbg_ptr = ret >>> 0;
7779
+ this.__wbg_ptr = ret;
7711
7780
  WasmAnnotationLayerFinalization.register(this, this.__wbg_ptr, this);
7712
7781
  return this;
7713
7782
  }
@@ -7735,7 +7804,6 @@ var init_vcad_kernel_wasm = __esm({
7735
7804
  if (Symbol.dispose) WasmAnnotationLayer.prototype[Symbol.dispose] = WasmAnnotationLayer.prototype.free;
7736
7805
  WasmCamSettings = class _WasmCamSettings {
7737
7806
  static __wrap(ptr) {
7738
- ptr = ptr >>> 0;
7739
7807
  const obj = Object.create(_WasmCamSettings.prototype);
7740
7808
  obj.__wbg_ptr = ptr;
7741
7809
  WasmCamSettingsFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7875,7 +7943,7 @@ var init_vcad_kernel_wasm = __esm({
7875
7943
  */
7876
7944
  constructor() {
7877
7945
  const ret = wasm.wasmcamsettings_new();
7878
- this.__wbg_ptr = ret >>> 0;
7946
+ this.__wbg_ptr = ret;
7879
7947
  WasmCamSettingsFinalization.register(this, this.__wbg_ptr, this);
7880
7948
  return this;
7881
7949
  }
@@ -7883,7 +7951,6 @@ var init_vcad_kernel_wasm = __esm({
7883
7951
  if (Symbol.dispose) WasmCamSettings.prototype[Symbol.dispose] = WasmCamSettings.prototype.free;
7884
7952
  WasmDocumentEngine = class _WasmDocumentEngine {
7885
7953
  static __wrap(ptr) {
7886
- ptr = ptr >>> 0;
7887
7954
  const obj = Object.create(_WasmDocumentEngine.prototype);
7888
7955
  obj.__wbg_ptr = ptr;
7889
7956
  WasmDocumentEngineFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8145,7 +8212,7 @@ var init_vcad_kernel_wasm = __esm({
8145
8212
  */
8146
8213
  constructor() {
8147
8214
  const ret = wasm.wasmdocumentengine_new();
8148
- this.__wbg_ptr = ret >>> 0;
8215
+ this.__wbg_ptr = ret;
8149
8216
  WasmDocumentEngineFinalization.register(this, this.__wbg_ptr, this);
8150
8217
  return this;
8151
8218
  }
@@ -8351,7 +8418,7 @@ var init_vcad_kernel_wasm = __esm({
8351
8418
  const ret = wasm.wasmkeybindings_chordFor(this.__wbg_ptr, ptr0, len0);
8352
8419
  let v2;
8353
8420
  if (ret[0] !== 0) {
8354
- v2 = getStringFromWasm0(ret[0], ret[1]).slice();
8421
+ v2 = getStringFromWasm0(ret[0], ret[1]);
8355
8422
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
8356
8423
  }
8357
8424
  return v2;
@@ -8416,7 +8483,7 @@ var init_vcad_kernel_wasm = __esm({
8416
8483
  */
8417
8484
  constructor() {
8418
8485
  const ret = wasm.wasmkeybindings_new();
8419
- this.__wbg_ptr = ret >>> 0;
8486
+ this.__wbg_ptr = ret;
8420
8487
  WasmKeybindingsFinalization.register(this, this.__wbg_ptr, this);
8421
8488
  return this;
8422
8489
  }
@@ -8450,7 +8517,7 @@ var init_vcad_kernel_wasm = __esm({
8450
8517
  const ret = wasm.wasmkeybindings_resolve(this.__wbg_ptr, ptr0, len0, ptr1, len1, ctx_bits);
8451
8518
  let v3;
8452
8519
  if (ret[0] !== 0) {
8453
- v3 = getStringFromWasm0(ret[0], ret[1]).slice();
8520
+ v3 = getStringFromWasm0(ret[0], ret[1]);
8454
8521
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
8455
8522
  }
8456
8523
  return v3;
@@ -8545,18 +8612,18 @@ var init_vcad_kernel_wasm = __esm({
8545
8612
  cancelPending() {
8546
8613
  wasm.wasmsketchsession_cancelPending(this.__wbg_ptr);
8547
8614
  }
8548
- /**
8549
- * Clear every entity and constraint.
8550
- */
8551
- clear() {
8552
- wasm.wasmsketchsession_clear(this.__wbg_ptr);
8553
- }
8554
8615
  /**
8555
8616
  * Clear the selection.
8556
8617
  */
8557
8618
  clearSelection() {
8558
8619
  wasm.wasmsketchsession_clearSelection(this.__wbg_ptr);
8559
8620
  }
8621
+ /**
8622
+ * Clear every entity and constraint.
8623
+ */
8624
+ clear() {
8625
+ wasm.wasmsketchsession_clear(this.__wbg_ptr);
8626
+ }
8560
8627
  /**
8561
8628
  * Construct a new session on the given plane.
8562
8629
  *
@@ -8571,7 +8638,7 @@ var init_vcad_kernel_wasm = __esm({
8571
8638
  if (ret[2]) {
8572
8639
  throw takeFromExternrefTable0(ret[1]);
8573
8640
  }
8574
- this.__wbg_ptr = ret[0] >>> 0;
8641
+ this.__wbg_ptr = ret[0];
8575
8642
  WasmSketchSessionFinalization.register(this, this.__wbg_ptr, this);
8576
8643
  return this;
8577
8644
  }
@@ -8708,50 +8775,55 @@ var init_vcad_kernel_wasm = __esm({
8708
8775
  }
8709
8776
  };
8710
8777
  if (Symbol.dispose) WasmSketchSession.prototype[Symbol.dispose] = WasmSketchSession.prototype.free;
8711
- __wbindgen_enum_GpuCompilationMessageType = ["error", "warning", "info"];
8712
- __wbindgen_enum_GpuDeviceLostReason = ["unknown", "destroyed"];
8713
- __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
8714
- __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
8715
- __wbindgen_enum_GpuTextureFormat = ["r8unorm", "r8snorm", "r8uint", "r8sint", "r16uint", "r16sint", "r16float", "rg8unorm", "rg8snorm", "rg8uint", "rg8sint", "r32uint", "r32sint", "r32float", "rg16uint", "rg16sint", "rg16float", "rgba8unorm", "rgba8unorm-srgb", "rgba8snorm", "rgba8uint", "rgba8sint", "bgra8unorm", "bgra8unorm-srgb", "rgb9e5ufloat", "rgb10a2uint", "rgb10a2unorm", "rg11b10ufloat", "rg32uint", "rg32sint", "rg32float", "rgba16uint", "rgba16sint", "rgba16float", "rgba32uint", "rgba32sint", "rgba32float", "stencil8", "depth16unorm", "depth24plus", "depth24plus-stencil8", "depth32float", "depth32float-stencil8", "bc1-rgba-unorm", "bc1-rgba-unorm-srgb", "bc2-rgba-unorm", "bc2-rgba-unorm-srgb", "bc3-rgba-unorm", "bc3-rgba-unorm-srgb", "bc4-r-unorm", "bc4-r-snorm", "bc5-rg-unorm", "bc5-rg-snorm", "bc6h-rgb-ufloat", "bc6h-rgb-float", "bc7-rgba-unorm", "bc7-rgba-unorm-srgb", "etc2-rgb8unorm", "etc2-rgb8unorm-srgb", "etc2-rgb8a1unorm", "etc2-rgb8a1unorm-srgb", "etc2-rgba8unorm", "etc2-rgba8unorm-srgb", "eac-r11unorm", "eac-r11snorm", "eac-rg11unorm", "eac-rg11snorm", "astc-4x4-unorm", "astc-4x4-unorm-srgb", "astc-5x4-unorm", "astc-5x4-unorm-srgb", "astc-5x5-unorm", "astc-5x5-unorm-srgb", "astc-6x5-unorm", "astc-6x5-unorm-srgb", "astc-6x6-unorm", "astc-6x6-unorm-srgb", "astc-8x5-unorm", "astc-8x5-unorm-srgb", "astc-8x6-unorm", "astc-8x6-unorm-srgb", "astc-8x8-unorm", "astc-8x8-unorm-srgb", "astc-10x5-unorm", "astc-10x5-unorm-srgb", "astc-10x6-unorm", "astc-10x6-unorm-srgb", "astc-10x8-unorm", "astc-10x8-unorm-srgb", "astc-10x10-unorm", "astc-10x10-unorm-srgb", "astc-12x10-unorm", "astc-12x10-unorm-srgb", "astc-12x12-unorm", "astc-12x12-unorm-srgb"];
8778
+ __wbindgen_enum_GpuAutoLayoutMode = ["auto"];
8779
+ __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
8780
+ __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
8781
+ __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
8782
+ __wbindgen_enum_GpuStorageTextureAccess = ["write-only", "read-only", "read-write"];
8783
+ __wbindgen_enum_GpuTextureAspect = ["all", "stencil-only", "depth-only"];
8784
+ __wbindgen_enum_GpuTextureDimension = ["1d", "2d", "3d"];
8785
+ __wbindgen_enum_GpuTextureFormat = ["r8unorm", "r8snorm", "r8uint", "r8sint", "r16unorm", "r16snorm", "r16uint", "r16sint", "r16float", "rg8unorm", "rg8snorm", "rg8uint", "rg8sint", "r32uint", "r32sint", "r32float", "rg16unorm", "rg16snorm", "rg16uint", "rg16sint", "rg16float", "rgba8unorm", "rgba8unorm-srgb", "rgba8snorm", "rgba8uint", "rgba8sint", "bgra8unorm", "bgra8unorm-srgb", "rgb9e5ufloat", "rgb10a2uint", "rgb10a2unorm", "rg11b10ufloat", "rg32uint", "rg32sint", "rg32float", "rgba16unorm", "rgba16snorm", "rgba16uint", "rgba16sint", "rgba16float", "rgba32uint", "rgba32sint", "rgba32float", "stencil8", "depth16unorm", "depth24plus", "depth24plus-stencil8", "depth32float", "depth32float-stencil8", "bc1-rgba-unorm", "bc1-rgba-unorm-srgb", "bc2-rgba-unorm", "bc2-rgba-unorm-srgb", "bc3-rgba-unorm", "bc3-rgba-unorm-srgb", "bc4-r-unorm", "bc4-r-snorm", "bc5-rg-unorm", "bc5-rg-snorm", "bc6h-rgb-ufloat", "bc6h-rgb-float", "bc7-rgba-unorm", "bc7-rgba-unorm-srgb", "etc2-rgb8unorm", "etc2-rgb8unorm-srgb", "etc2-rgb8a1unorm", "etc2-rgb8a1unorm-srgb", "etc2-rgba8unorm", "etc2-rgba8unorm-srgb", "eac-r11unorm", "eac-r11snorm", "eac-rg11unorm", "eac-rg11snorm", "astc-4x4-unorm", "astc-4x4-unorm-srgb", "astc-5x4-unorm", "astc-5x4-unorm-srgb", "astc-5x5-unorm", "astc-5x5-unorm-srgb", "astc-6x5-unorm", "astc-6x5-unorm-srgb", "astc-6x6-unorm", "astc-6x6-unorm-srgb", "astc-8x5-unorm", "astc-8x5-unorm-srgb", "astc-8x6-unorm", "astc-8x6-unorm-srgb", "astc-8x8-unorm", "astc-8x8-unorm-srgb", "astc-10x5-unorm", "astc-10x5-unorm-srgb", "astc-10x6-unorm", "astc-10x6-unorm-srgb", "astc-10x8-unorm", "astc-10x8-unorm-srgb", "astc-10x10-unorm", "astc-10x10-unorm-srgb", "astc-12x10-unorm", "astc-12x10-unorm-srgb", "astc-12x12-unorm", "astc-12x12-unorm-srgb"];
8786
+ __wbindgen_enum_GpuTextureSampleType = ["float", "unfilterable-float", "depth", "sint", "uint"];
8787
+ __wbindgen_enum_GpuTextureViewDimension = ["1d", "2d", "2d-array", "cube", "cube-array", "3d"];
8716
8788
  CircuitSimFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8717
8789
  }, unregister: () => {
8718
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_circuitsim_free(ptr >>> 0, 1));
8790
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_circuitsim_free(ptr, 1));
8719
8791
  MdSimFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8720
8792
  }, unregister: () => {
8721
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_mdsim_free(ptr >>> 0, 1));
8793
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_mdsim_free(ptr, 1));
8722
8794
  PhysicsSimFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8723
8795
  }, unregister: () => {
8724
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_physicssim_free(ptr >>> 0, 1));
8796
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_physicssim_free(ptr, 1));
8725
8797
  RayTracerFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8726
8798
  }, unregister: () => {
8727
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_raytracer_free(ptr >>> 0, 1));
8799
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_raytracer_free(ptr, 1));
8728
8800
  SliceResultFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8729
8801
  }, unregister: () => {
8730
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_sliceresult_free(ptr >>> 0, 1));
8802
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_sliceresult_free(ptr, 1));
8731
8803
  SlicerSettingsFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8732
8804
  }, unregister: () => {
8733
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_slicersettings_free(ptr >>> 0, 1));
8805
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_slicersettings_free(ptr, 1));
8734
8806
  SolidFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8735
8807
  }, unregister: () => {
8736
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_solid_free(ptr >>> 0, 1));
8808
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_solid_free(ptr, 1));
8737
8809
  WasmAnnotationLayerFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8738
8810
  }, unregister: () => {
8739
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_wasmannotationlayer_free(ptr >>> 0, 1));
8811
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_wasmannotationlayer_free(ptr, 1));
8740
8812
  WasmCamSettingsFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8741
8813
  }, unregister: () => {
8742
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_wasmcamsettings_free(ptr >>> 0, 1));
8814
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_wasmcamsettings_free(ptr, 1));
8743
8815
  WasmDocumentEngineFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8744
8816
  }, unregister: () => {
8745
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_wasmdocumentengine_free(ptr >>> 0, 1));
8817
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_wasmdocumentengine_free(ptr, 1));
8746
8818
  WasmKeybindingsFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8747
8819
  }, unregister: () => {
8748
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_wasmkeybindings_free(ptr >>> 0, 1));
8820
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_wasmkeybindings_free(ptr, 1));
8749
8821
  WasmSketchSessionFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
8750
8822
  }, unregister: () => {
8751
- } } : new FinalizationRegistry((ptr) => wasm.__wbg_wasmsketchsession_free(ptr >>> 0, 1));
8823
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_wasmsketchsession_free(ptr, 1));
8752
8824
  CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: () => {
8753
8825
  }, unregister: () => {
8754
- } } : new FinalizationRegistry((state) => state.dtor(state.a, state.b));
8826
+ } } : new FinalizationRegistry((state) => wasm.__wbindgen_destroy_closure(state.a, state.b));
8755
8827
  cachedDataViewMemory0 = null;
8756
8828
  cachedFloat32ArrayMemory0 = null;
8757
8829
  cachedFloat64ArrayMemory0 = null;
@@ -41641,6 +41713,20 @@ var init_CHANGELOG = __esm({
41641
41713
  CHANGELOG_default = {
41642
41714
  $schema: "./changelog.schema.json",
41643
41715
  entries: [
41716
+ {
41717
+ id: "2026-09-09-release-0-10-0",
41718
+ version: "0.10.0",
41719
+ date: "2026-09-09",
41720
+ category: "feat",
41721
+ title: "0.10.0: wgpu 30, kosm-render, a publishable closure",
41722
+ summary: "The GPU stack moves to wgpu 30, the ray tracer's renderer moves out to kosm-render, and the whole crate closure vcad and kosm consume is publishable on crates.io.",
41723
+ details: "Three changes make up 0.10.0. The GPU crates are on wgpu 30, so vcad-kernel-gpu and vcad-kernel-raytrace share one wgpu with the rest of the stack. The renderer itself left vcad: vcad-kernel-raytrace now consumes kosm-render (tag kosm-render-v0.2.0, version 0.2), with vcad a client of it rather than its home. And the 56-crate dependency closure that vcad and kosm consume is publishable \u2014 nine crates that were publish = false (vcad-eval, vcad-render, vcad-gdsii, vcad-kernel-cost, vcad-kernel-dfm, vcad-ecad-{package,pcb,schematic,sim}) now carry readme, keywords, categories and include lists, sibling deps carry a version alongside their interim git source, and the committed path [patch] tables are gone. vcad-loon stays unpublished until loon ships. scripts/publish.sh walks the topological order in docs/publishing.md.",
41724
+ features: [
41725
+ "kernel",
41726
+ "render",
41727
+ "gpu"
41728
+ ]
41729
+ },
41644
41730
  {
41645
41731
  id: "2026-09-06-dfm-hobby-3axis-mill",
41646
41732
  version: "0.9.4",
@@ -84412,8 +84498,8 @@ var init_server3 = __esm({
84412
84498
  init_order_feed();
84413
84499
  init_animate();
84414
84500
  PKG_VERSION = (() => {
84415
- if ("0.9.4-main.84") {
84416
- return "0.9.4-main.84";
84501
+ if ("0.10.0-main.85") {
84502
+ return "0.10.0-main.85";
84417
84503
  }
84418
84504
  try {
84419
84505
  const req = createRequire2(import.meta.url);
@@ -84422,8 +84508,8 @@ var init_server3 = __esm({
84422
84508
  return "0.0.0";
84423
84509
  }
84424
84510
  })();
84425
- BUILD_SHA = "8b6a3964b8323df1b9f2ed5eb23e12a4c43972e3";
84426
- BUILD_TIME = "2026-09-06T21:01:58.107Z";
84511
+ BUILD_SHA = "ca0a882a5f9c78102fdd5d961907c90d5ca0976e";
84512
+ BUILD_TIME = "2026-09-09T19:32:13.970Z";
84427
84513
  SHORT_SHA = BUILD_SHA === "unknown" ? "unknown" : BUILD_SHA.slice(0, 7);
84428
84514
  VERSION_WITH_BUILD = SHORT_SHA === "unknown" ? PKG_VERSION : `${PKG_VERSION}+${SHORT_SHA}`;
84429
84515
  INSTANCE_ID = randomUUID7().slice(0, 8);