@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/README.md +1 -1
- package/index.mjs +989 -903
- package/package.json +3 -3
- package/vcad_kernel_wasm_bg.wasm +0 -0
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) ?
|
|
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) ?
|
|
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])
|
|
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
|
-
|
|
3443
|
+
__wbg_Error_67e7344beaa85059: function(arg0, arg1) {
|
|
3444
3444
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
3445
3445
|
return ret;
|
|
3446
3446
|
},
|
|
3447
|
-
|
|
3447
|
+
__wbg_Number_c54e7112a3fa7e3e: function(arg0) {
|
|
3448
3448
|
const ret = Number(arg0);
|
|
3449
3449
|
return ret;
|
|
3450
3450
|
},
|
|
3451
|
-
|
|
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
|
-
|
|
3458
|
+
__wbg_Window_a2a6c4d665047b14: function(arg0) {
|
|
3459
3459
|
const ret = arg0.Window;
|
|
3460
3460
|
return ret;
|
|
3461
3461
|
},
|
|
3462
|
-
|
|
3462
|
+
__wbg_WorkerGlobalScope_2664448a7c667d67: function(arg0) {
|
|
3463
3463
|
const ret = arg0.WorkerGlobalScope;
|
|
3464
3464
|
return ret;
|
|
3465
3465
|
},
|
|
3466
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3484
|
+
__wbg___wbindgen_in_50072d4d6e45c193: function(arg0, arg1) {
|
|
3485
3485
|
const ret = arg0 in arg1;
|
|
3486
3486
|
return ret;
|
|
3487
3487
|
},
|
|
3488
|
-
|
|
3488
|
+
__wbg___wbindgen_is_bigint_60fc0336cb14f5d7: function(arg0) {
|
|
3489
3489
|
const ret = typeof arg0 === "bigint";
|
|
3490
3490
|
return ret;
|
|
3491
3491
|
},
|
|
3492
|
-
|
|
3492
|
+
__wbg___wbindgen_is_function_fcda5e3902d732fe: function(arg0) {
|
|
3493
3493
|
const ret = typeof arg0 === "function";
|
|
3494
3494
|
return ret;
|
|
3495
3495
|
},
|
|
3496
|
-
|
|
3496
|
+
__wbg___wbindgen_is_null_5160b3e381865372: function(arg0) {
|
|
3497
3497
|
const ret = arg0 === null;
|
|
3498
3498
|
return ret;
|
|
3499
3499
|
},
|
|
3500
|
-
|
|
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
|
-
|
|
3505
|
+
__wbg___wbindgen_is_string_c4f7cb494a2a21f1: function(arg0) {
|
|
3506
3506
|
const ret = typeof arg0 === "string";
|
|
3507
3507
|
return ret;
|
|
3508
3508
|
},
|
|
3509
|
-
|
|
3509
|
+
__wbg___wbindgen_is_undefined_8c687d0b90d5b524: function(arg0) {
|
|
3510
3510
|
const ret = arg0 === void 0;
|
|
3511
3511
|
return ret;
|
|
3512
3512
|
},
|
|
3513
|
-
|
|
3513
|
+
__wbg___wbindgen_jsval_eq_9fdcd3c0a860dd3b: function(arg0, arg1) {
|
|
3514
3514
|
const ret = arg0 === arg1;
|
|
3515
3515
|
return ret;
|
|
3516
3516
|
},
|
|
3517
|
-
|
|
3517
|
+
__wbg___wbindgen_jsval_loose_eq_3c30021c243b64cd: function(arg0, arg1) {
|
|
3518
3518
|
const ret = arg0 == arg1;
|
|
3519
3519
|
return ret;
|
|
3520
3520
|
},
|
|
3521
|
-
|
|
3521
|
+
__wbg___wbindgen_module_c2aeeb3b14bad631: function() {
|
|
3522
3522
|
const ret = wasmModule;
|
|
3523
3523
|
return ret;
|
|
3524
3524
|
},
|
|
3525
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3539
|
+
__wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
|
|
3540
3540
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
3541
3541
|
},
|
|
3542
|
-
|
|
3542
|
+
__wbg__wbg_cb_unref_997e73d32238e655: function(arg0) {
|
|
3543
3543
|
arg0._wbg_cb_unref();
|
|
3544
3544
|
},
|
|
3545
|
-
|
|
3545
|
+
__wbg_activeTexture_79f1f4662ee9ed93: function(arg0, arg1) {
|
|
3546
3546
|
arg0.activeTexture(arg1 >>> 0);
|
|
3547
3547
|
},
|
|
3548
|
-
|
|
3548
|
+
__wbg_activeTexture_e6dac82eb23d9409: function(arg0, arg1) {
|
|
3549
3549
|
arg0.activeTexture(arg1 >>> 0);
|
|
3550
3550
|
},
|
|
3551
|
-
|
|
3551
|
+
__wbg_attachShader_74ecf95efc73ee58: function(arg0, arg1, arg2) {
|
|
3552
3552
|
arg0.attachShader(arg1, arg2);
|
|
3553
3553
|
},
|
|
3554
|
-
|
|
3554
|
+
__wbg_attachShader_bfb57af27e3c4a25: function(arg0, arg1, arg2) {
|
|
3555
3555
|
arg0.attachShader(arg1, arg2);
|
|
3556
3556
|
},
|
|
3557
|
-
|
|
3557
|
+
__wbg_beginComputePass_b9a325184985e6ff: function(arg0, arg1) {
|
|
3558
3558
|
const ret = arg0.beginComputePass(arg1);
|
|
3559
3559
|
return ret;
|
|
3560
3560
|
},
|
|
3561
|
-
|
|
3561
|
+
__wbg_beginQuery_8c123fa7e7aec2a4: function(arg0, arg1, arg2) {
|
|
3562
3562
|
arg0.beginQuery(arg1 >>> 0, arg2);
|
|
3563
3563
|
},
|
|
3564
|
-
|
|
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
|
-
|
|
3567
|
+
__wbg_bindAttribLocation_f97028966e63a9a0: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3572
3568
|
arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
3573
3569
|
},
|
|
3574
|
-
|
|
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
|
-
|
|
3573
|
+
__wbg_bindBuffer_24fab2b14c509d6f: function(arg0, arg1, arg2) {
|
|
3578
3574
|
arg0.bindBuffer(arg1 >>> 0, arg2);
|
|
3579
3575
|
},
|
|
3580
|
-
|
|
3576
|
+
__wbg_bindBuffer_f1f33e087b91687c: function(arg0, arg1, arg2) {
|
|
3581
3577
|
arg0.bindBuffer(arg1 >>> 0, arg2);
|
|
3582
3578
|
},
|
|
3583
|
-
|
|
3579
|
+
__wbg_bindFramebuffer_6c6a9caf742c2cdb: function(arg0, arg1, arg2) {
|
|
3584
3580
|
arg0.bindFramebuffer(arg1 >>> 0, arg2);
|
|
3585
3581
|
},
|
|
3586
|
-
|
|
3582
|
+
__wbg_bindFramebuffer_dc00cdd13fca80a8: function(arg0, arg1, arg2) {
|
|
3587
3583
|
arg0.bindFramebuffer(arg1 >>> 0, arg2);
|
|
3588
3584
|
},
|
|
3589
|
-
|
|
3585
|
+
__wbg_bindRenderbuffer_27f21bc7608d07e3: function(arg0, arg1, arg2) {
|
|
3590
3586
|
arg0.bindRenderbuffer(arg1 >>> 0, arg2);
|
|
3591
3587
|
},
|
|
3592
|
-
|
|
3588
|
+
__wbg_bindRenderbuffer_a5af5373faa4fb14: function(arg0, arg1, arg2) {
|
|
3593
3589
|
arg0.bindRenderbuffer(arg1 >>> 0, arg2);
|
|
3594
3590
|
},
|
|
3595
|
-
|
|
3591
|
+
__wbg_bindSampler_06a184f24b4f473a: function(arg0, arg1, arg2) {
|
|
3596
3592
|
arg0.bindSampler(arg1 >>> 0, arg2);
|
|
3597
3593
|
},
|
|
3598
|
-
|
|
3594
|
+
__wbg_bindTexture_7858cc136e95ec24: function(arg0, arg1, arg2) {
|
|
3599
3595
|
arg0.bindTexture(arg1 >>> 0, arg2);
|
|
3600
3596
|
},
|
|
3601
|
-
|
|
3597
|
+
__wbg_bindTexture_e8a625bf5d240b0f: function(arg0, arg1, arg2) {
|
|
3602
3598
|
arg0.bindTexture(arg1 >>> 0, arg2);
|
|
3603
3599
|
},
|
|
3604
|
-
|
|
3600
|
+
__wbg_bindVertexArrayOES_c947f00135eda668: function(arg0, arg1) {
|
|
3605
3601
|
arg0.bindVertexArrayOES(arg1);
|
|
3606
3602
|
},
|
|
3607
|
-
|
|
3603
|
+
__wbg_bindVertexArray_4687bb1e8b327fc9: function(arg0, arg1) {
|
|
3608
3604
|
arg0.bindVertexArray(arg1);
|
|
3609
3605
|
},
|
|
3610
|
-
|
|
3606
|
+
__wbg_blendColor_25f3208af2a1a86f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3611
3607
|
arg0.blendColor(arg1, arg2, arg3, arg4);
|
|
3612
3608
|
},
|
|
3613
|
-
|
|
3609
|
+
__wbg_blendColor_7b3873c65a61b8a7: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3614
3610
|
arg0.blendColor(arg1, arg2, arg3, arg4);
|
|
3615
3611
|
},
|
|
3616
|
-
|
|
3612
|
+
__wbg_blendEquationSeparate_7255a352fb614ccb: function(arg0, arg1, arg2) {
|
|
3617
3613
|
arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
3618
3614
|
},
|
|
3619
|
-
|
|
3615
|
+
__wbg_blendEquationSeparate_a63d5c1a833c1137: function(arg0, arg1, arg2) {
|
|
3620
3616
|
arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
3621
3617
|
},
|
|
3622
|
-
|
|
3618
|
+
__wbg_blendEquation_1636f14afa7d37d0: function(arg0, arg1) {
|
|
3623
3619
|
arg0.blendEquation(arg1 >>> 0);
|
|
3624
3620
|
},
|
|
3625
|
-
|
|
3621
|
+
__wbg_blendEquation_9a5ca6936a9438b3: function(arg0, arg1) {
|
|
3626
3622
|
arg0.blendEquation(arg1 >>> 0);
|
|
3627
3623
|
},
|
|
3628
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3630
|
+
__wbg_blendFunc_041c4d7dc50ac8c9: function(arg0, arg1, arg2) {
|
|
3635
3631
|
arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
3636
3632
|
},
|
|
3637
|
-
|
|
3633
|
+
__wbg_blendFunc_ad7d043180d4f86a: function(arg0, arg1, arg2) {
|
|
3638
3634
|
arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
3639
3635
|
},
|
|
3640
|
-
|
|
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
|
-
|
|
3639
|
+
__wbg_bufferData_5d0d376bd14d58f3: function(arg0, arg1, arg2, arg3) {
|
|
3644
3640
|
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3645
3641
|
},
|
|
3646
|
-
|
|
3642
|
+
__wbg_bufferData_9ce5cb209386d279: function(arg0, arg1, arg2, arg3) {
|
|
3647
3643
|
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3648
3644
|
},
|
|
3649
|
-
|
|
3645
|
+
__wbg_bufferData_b58d3ee720ef8b13: function(arg0, arg1, arg2, arg3) {
|
|
3650
3646
|
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3651
3647
|
},
|
|
3652
|
-
|
|
3648
|
+
__wbg_bufferData_c074912da5a8e8c2: function(arg0, arg1, arg2, arg3) {
|
|
3653
3649
|
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3654
3650
|
},
|
|
3655
|
-
|
|
3651
|
+
__wbg_bufferSubData_1210904a130da787: function(arg0, arg1, arg2, arg3) {
|
|
3656
3652
|
arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
|
|
3657
3653
|
},
|
|
3658
|
-
|
|
3654
|
+
__wbg_bufferSubData_bb3556faa77ce63a: function(arg0, arg1, arg2, arg3) {
|
|
3659
3655
|
arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
|
|
3660
3656
|
},
|
|
3661
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3678
|
+
__wbg_clearBufferiv_a6017e170f127402: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3693
3679
|
arg0.clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
|
|
3694
3680
|
},
|
|
3695
|
-
|
|
3681
|
+
__wbg_clearBufferuiv_a7ff44fb5a19e886: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3696
3682
|
arg0.clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4));
|
|
3697
3683
|
},
|
|
3698
|
-
|
|
3684
|
+
__wbg_clearDepth_a4e9a96e0b87fadb: function(arg0, arg1) {
|
|
3699
3685
|
arg0.clearDepth(arg1);
|
|
3700
3686
|
},
|
|
3701
|
-
|
|
3687
|
+
__wbg_clearDepth_ea9081c357d405be: function(arg0, arg1) {
|
|
3702
3688
|
arg0.clearDepth(arg1);
|
|
3703
3689
|
},
|
|
3704
|
-
|
|
3690
|
+
__wbg_clearStencil_8c03daa5a936cf97: function(arg0, arg1) {
|
|
3705
3691
|
arg0.clearStencil(arg1);
|
|
3706
3692
|
},
|
|
3707
|
-
|
|
3693
|
+
__wbg_clearStencil_bd3508b2e4a055c8: function(arg0, arg1) {
|
|
3708
3694
|
arg0.clearStencil(arg1);
|
|
3709
3695
|
},
|
|
3710
|
-
|
|
3696
|
+
__wbg_clear_55f5d5ab26fe80b4: function(arg0, arg1) {
|
|
3711
3697
|
arg0.clear(arg1 >>> 0);
|
|
3712
3698
|
},
|
|
3713
|
-
|
|
3699
|
+
__wbg_clear_faad852996d5b5ca: function(arg0, arg1) {
|
|
3714
3700
|
arg0.clear(arg1 >>> 0);
|
|
3715
3701
|
},
|
|
3716
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3712
|
+
__wbg_compileShader_cabeb4aa8cb42914: function(arg0, arg1) {
|
|
3727
3713
|
arg0.compileShader(arg1);
|
|
3728
3714
|
},
|
|
3729
|
-
|
|
3715
|
+
__wbg_compileShader_dada15a718167c7f: function(arg0, arg1) {
|
|
3730
3716
|
arg0.compileShader(arg1);
|
|
3731
3717
|
},
|
|
3732
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3748
|
-
arg0
|
|
3733
|
+
__wbg_configure_1e2c1c9edad07d26: function() {
|
|
3734
|
+
return handleError(function(arg0, arg1) {
|
|
3735
|
+
arg0.configure(arg1);
|
|
3736
|
+
}, arguments);
|
|
3749
3737
|
},
|
|
3750
|
-
|
|
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
|
-
|
|
3754
|
-
arg0
|
|
3755
|
-
|
|
3756
|
-
|
|
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
|
-
|
|
3760
|
-
arg0
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3772
|
-
arg0
|
|
3773
|
-
|
|
3774
|
-
|
|
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
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
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
|
-
|
|
3771
|
+
__wbg_createBindGroup_f539b26ca341308f: function(arg0, arg1) {
|
|
3782
3772
|
const ret = arg0.createBindGroup(arg1);
|
|
3783
3773
|
return ret;
|
|
3784
3774
|
},
|
|
3785
|
-
|
|
3775
|
+
__wbg_createBuffer_77a9a8580e5123cc: function(arg0) {
|
|
3786
3776
|
const ret = arg0.createBuffer();
|
|
3787
3777
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3788
3778
|
},
|
|
3789
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3793
|
+
__wbg_createComputePipeline_224fa2618d9948a0: function(arg0, arg1) {
|
|
3802
3794
|
const ret = arg0.createComputePipeline(arg1);
|
|
3803
3795
|
return ret;
|
|
3804
3796
|
},
|
|
3805
|
-
|
|
3797
|
+
__wbg_createFramebuffer_aa440c781a6c7da2: function(arg0) {
|
|
3806
3798
|
const ret = arg0.createFramebuffer();
|
|
3807
3799
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3808
3800
|
},
|
|
3809
|
-
|
|
3801
|
+
__wbg_createFramebuffer_ac4ca0fc2cfc1bd1: function(arg0) {
|
|
3810
3802
|
const ret = arg0.createFramebuffer();
|
|
3811
3803
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3812
3804
|
},
|
|
3813
|
-
|
|
3805
|
+
__wbg_createPipelineLayout_6eab52c327118937: function(arg0, arg1) {
|
|
3814
3806
|
const ret = arg0.createPipelineLayout(arg1);
|
|
3815
3807
|
return ret;
|
|
3816
3808
|
},
|
|
3817
|
-
|
|
3809
|
+
__wbg_createProgram_89a2bb21dab7e222: function(arg0) {
|
|
3818
3810
|
const ret = arg0.createProgram();
|
|
3819
3811
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3820
3812
|
},
|
|
3821
|
-
|
|
3813
|
+
__wbg_createProgram_e43ace4085d1086d: function(arg0) {
|
|
3822
3814
|
const ret = arg0.createProgram();
|
|
3823
3815
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3824
3816
|
},
|
|
3825
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3825
|
+
__wbg_createRenderbuffer_42eeb481e4c92ff2: function(arg0) {
|
|
3846
3826
|
const ret = arg0.createRenderbuffer();
|
|
3847
3827
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3848
3828
|
},
|
|
3849
|
-
|
|
3829
|
+
__wbg_createSampler_ebfb34feb26878f1: function(arg0) {
|
|
3850
3830
|
const ret = arg0.createSampler();
|
|
3851
3831
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3852
3832
|
},
|
|
3853
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3849
|
+
__wbg_createTexture_ecccbb9df64e8c81: function(arg0) {
|
|
3878
3850
|
const ret = arg0.createTexture();
|
|
3879
3851
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3880
3852
|
},
|
|
3881
|
-
|
|
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
|
-
|
|
3863
|
+
__wbg_createVertexArray_9411e94d2ee6864e: function(arg0) {
|
|
3886
3864
|
const ret = arg0.createVertexArray();
|
|
3887
3865
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3888
3866
|
},
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
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
|
-
|
|
3873
|
+
__wbg_cullFace_3e14866a0c370004: function(arg0, arg1) {
|
|
3894
3874
|
arg0.cullFace(arg1 >>> 0);
|
|
3895
3875
|
},
|
|
3896
|
-
|
|
3876
|
+
__wbg_cullFace_b64f84debd112644: function(arg0, arg1) {
|
|
3897
3877
|
arg0.cullFace(arg1 >>> 0);
|
|
3898
3878
|
},
|
|
3899
|
-
|
|
3879
|
+
__wbg_deleteBuffer_54e287dbecb17d6e: function(arg0, arg1) {
|
|
3900
3880
|
arg0.deleteBuffer(arg1);
|
|
3901
3881
|
},
|
|
3902
|
-
|
|
3882
|
+
__wbg_deleteBuffer_c9dc22cdbb93ffbc: function(arg0, arg1) {
|
|
3903
3883
|
arg0.deleteBuffer(arg1);
|
|
3904
3884
|
},
|
|
3905
|
-
|
|
3885
|
+
__wbg_deleteFramebuffer_6c3b62109b65e8de: function(arg0, arg1) {
|
|
3906
3886
|
arg0.deleteFramebuffer(arg1);
|
|
3907
3887
|
},
|
|
3908
|
-
|
|
3888
|
+
__wbg_deleteFramebuffer_977fae88c7df1c6f: function(arg0, arg1) {
|
|
3909
3889
|
arg0.deleteFramebuffer(arg1);
|
|
3910
3890
|
},
|
|
3911
|
-
|
|
3891
|
+
__wbg_deleteProgram_16fe8b000141443c: function(arg0, arg1) {
|
|
3912
3892
|
arg0.deleteProgram(arg1);
|
|
3913
3893
|
},
|
|
3914
|
-
|
|
3894
|
+
__wbg_deleteProgram_c990794adb74a326: function(arg0, arg1) {
|
|
3915
3895
|
arg0.deleteProgram(arg1);
|
|
3916
3896
|
},
|
|
3917
|
-
|
|
3897
|
+
__wbg_deleteQuery_670219eac170c9fb: function(arg0, arg1) {
|
|
3918
3898
|
arg0.deleteQuery(arg1);
|
|
3919
3899
|
},
|
|
3920
|
-
|
|
3900
|
+
__wbg_deleteRenderbuffer_1066bd086097d9c0: function(arg0, arg1) {
|
|
3921
3901
|
arg0.deleteRenderbuffer(arg1);
|
|
3922
3902
|
},
|
|
3923
|
-
|
|
3903
|
+
__wbg_deleteRenderbuffer_be22a49b59807a79: function(arg0, arg1) {
|
|
3924
3904
|
arg0.deleteRenderbuffer(arg1);
|
|
3925
3905
|
},
|
|
3926
|
-
|
|
3906
|
+
__wbg_deleteSampler_a7f5bf9c8096d80a: function(arg0, arg1) {
|
|
3927
3907
|
arg0.deleteSampler(arg1);
|
|
3928
3908
|
},
|
|
3929
|
-
|
|
3909
|
+
__wbg_deleteShader_7169f1760153b284: function(arg0, arg1) {
|
|
3930
3910
|
arg0.deleteShader(arg1);
|
|
3931
3911
|
},
|
|
3932
|
-
|
|
3912
|
+
__wbg_deleteShader_9b34ccd212c66de7: function(arg0, arg1) {
|
|
3933
3913
|
arg0.deleteShader(arg1);
|
|
3934
3914
|
},
|
|
3935
|
-
|
|
3915
|
+
__wbg_deleteSync_5f19ce0564df8ade: function(arg0, arg1) {
|
|
3936
3916
|
arg0.deleteSync(arg1);
|
|
3937
3917
|
},
|
|
3938
|
-
|
|
3918
|
+
__wbg_deleteTexture_4cc3a009d8de3629: function(arg0, arg1) {
|
|
3939
3919
|
arg0.deleteTexture(arg1);
|
|
3940
3920
|
},
|
|
3941
|
-
|
|
3921
|
+
__wbg_deleteTexture_5f176c5fb10209e7: function(arg0, arg1) {
|
|
3942
3922
|
arg0.deleteTexture(arg1);
|
|
3943
3923
|
},
|
|
3944
|
-
|
|
3924
|
+
__wbg_deleteVertexArrayOES_8ddbff0c3c4bd01b: function(arg0, arg1) {
|
|
3945
3925
|
arg0.deleteVertexArrayOES(arg1);
|
|
3946
3926
|
},
|
|
3947
|
-
|
|
3927
|
+
__wbg_deleteVertexArray_a810728c9f325e4c: function(arg0, arg1) {
|
|
3948
3928
|
arg0.deleteVertexArray(arg1);
|
|
3949
3929
|
},
|
|
3950
|
-
|
|
3930
|
+
__wbg_depthFunc_e3cb63d0ea760f4f: function(arg0, arg1) {
|
|
3951
3931
|
arg0.depthFunc(arg1 >>> 0);
|
|
3952
3932
|
},
|
|
3953
|
-
|
|
3933
|
+
__wbg_depthFunc_fc1a3d2fde41ec92: function(arg0, arg1) {
|
|
3954
3934
|
arg0.depthFunc(arg1 >>> 0);
|
|
3955
3935
|
},
|
|
3956
|
-
|
|
3936
|
+
__wbg_depthMask_77fed42fc2117471: function(arg0, arg1) {
|
|
3957
3937
|
arg0.depthMask(arg1 !== 0);
|
|
3958
3938
|
},
|
|
3959
|
-
|
|
3939
|
+
__wbg_depthMask_e85b064c1ee5147d: function(arg0, arg1) {
|
|
3960
3940
|
arg0.depthMask(arg1 !== 0);
|
|
3961
3941
|
},
|
|
3962
|
-
|
|
3942
|
+
__wbg_depthRange_2b6920405cfb1e3d: function(arg0, arg1, arg2) {
|
|
3963
3943
|
arg0.depthRange(arg1, arg2);
|
|
3964
3944
|
},
|
|
3965
|
-
|
|
3945
|
+
__wbg_depthRange_6e341dd878a6597d: function(arg0, arg1, arg2) {
|
|
3966
3946
|
arg0.depthRange(arg1, arg2);
|
|
3967
3947
|
},
|
|
3968
|
-
|
|
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
|
-
|
|
3951
|
+
__wbg_disableVertexAttribArray_45e2fd394cde8686: function(arg0, arg1) {
|
|
3978
3952
|
arg0.disableVertexAttribArray(arg1 >>> 0);
|
|
3979
3953
|
},
|
|
3980
|
-
|
|
3954
|
+
__wbg_disableVertexAttribArray_b985896436c82562: function(arg0, arg1) {
|
|
3981
3955
|
arg0.disableVertexAttribArray(arg1 >>> 0);
|
|
3982
3956
|
},
|
|
3983
|
-
|
|
3957
|
+
__wbg_disable_6907c683adc38e04: function(arg0, arg1) {
|
|
3984
3958
|
arg0.disable(arg1 >>> 0);
|
|
3985
3959
|
},
|
|
3986
|
-
|
|
3960
|
+
__wbg_disable_71ea0d3d0529f100: function(arg0, arg1) {
|
|
3987
3961
|
arg0.disable(arg1 >>> 0);
|
|
3988
3962
|
},
|
|
3989
|
-
|
|
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
|
-
|
|
3966
|
+
__wbg_document_c7f486c52d63d24e: function(arg0) {
|
|
3996
3967
|
const ret = arg0.document;
|
|
3997
3968
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3998
3969
|
},
|
|
3999
|
-
|
|
3970
|
+
__wbg_done_cffed884d87aa22e: function(arg0) {
|
|
4000
3971
|
const ret = arg0.done;
|
|
4001
3972
|
return ret;
|
|
4002
3973
|
},
|
|
4003
|
-
|
|
3974
|
+
__wbg_drawArraysInstancedANGLE_1161faf698564d6d: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4004
3975
|
arg0.drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
|
|
4005
3976
|
},
|
|
4006
|
-
|
|
3977
|
+
__wbg_drawArraysInstanced_0ef1fbcdba111c38: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4007
3978
|
arg0.drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
|
|
4008
3979
|
},
|
|
4009
|
-
|
|
3980
|
+
__wbg_drawArrays_983f352c9e94d800: function(arg0, arg1, arg2, arg3) {
|
|
4010
3981
|
arg0.drawArrays(arg1 >>> 0, arg2, arg3);
|
|
4011
3982
|
},
|
|
4012
|
-
|
|
3983
|
+
__wbg_drawArrays_bc085b67da45ec03: function(arg0, arg1, arg2, arg3) {
|
|
4013
3984
|
arg0.drawArrays(arg1 >>> 0, arg2, arg3);
|
|
4014
3985
|
},
|
|
4015
|
-
|
|
3986
|
+
__wbg_drawBuffersWEBGL_6cfb1b5e064e9ed2: function(arg0, arg1) {
|
|
4016
3987
|
arg0.drawBuffersWEBGL(arg1);
|
|
4017
3988
|
},
|
|
4018
|
-
|
|
3989
|
+
__wbg_drawBuffers_9b22ea9d8f6a15f0: function(arg0, arg1) {
|
|
4019
3990
|
arg0.drawBuffers(arg1);
|
|
4020
3991
|
},
|
|
4021
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4001
|
+
__wbg_enableVertexAttribArray_db5eef27f6b32c4a: function(arg0, arg1) {
|
|
4055
4002
|
arg0.enableVertexAttribArray(arg1 >>> 0);
|
|
4056
4003
|
},
|
|
4057
|
-
|
|
4004
|
+
__wbg_enable_9fb8e4de75a17155: function(arg0, arg1) {
|
|
4058
4005
|
arg0.enable(arg1 >>> 0);
|
|
4059
4006
|
},
|
|
4060
|
-
|
|
4007
|
+
__wbg_enable_9fca6962aca10f48: function(arg0, arg1) {
|
|
4061
4008
|
arg0.enable(arg1 >>> 0);
|
|
4062
4009
|
},
|
|
4063
|
-
|
|
4010
|
+
__wbg_endQuery_4eea0267f103b625: function(arg0, arg1) {
|
|
4064
4011
|
arg0.endQuery(arg1 >>> 0);
|
|
4065
4012
|
},
|
|
4066
|
-
|
|
4067
|
-
arg0.end();
|
|
4068
|
-
},
|
|
4069
|
-
__wbg_end_6f776519f1faa582: function(arg0) {
|
|
4013
|
+
__wbg_end_82fd0c12ba185009: function(arg0) {
|
|
4070
4014
|
arg0.end();
|
|
4071
4015
|
},
|
|
4072
|
-
|
|
4016
|
+
__wbg_entries_972a87586902cf87: function(arg0) {
|
|
4073
4017
|
const ret = Object.entries(arg0);
|
|
4074
4018
|
return ret;
|
|
4075
4019
|
},
|
|
4076
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4042
|
+
__wbg_finish_09ec094c10f41e7b: function(arg0) {
|
|
4110
4043
|
const ret = arg0.finish();
|
|
4111
4044
|
return ret;
|
|
4112
4045
|
},
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
return ret;
|
|
4046
|
+
__wbg_finish_0ce019eb398085de: function(arg0) {
|
|
4047
|
+
arg0.finish();
|
|
4116
4048
|
},
|
|
4117
|
-
|
|
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
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4056
|
+
__wbg_flush_824eea12383b8cca: function(arg0) {
|
|
4057
|
+
arg0.flush();
|
|
4058
|
+
},
|
|
4059
|
+
__wbg_flush_c4a6f752e79bfc53: function(arg0) {
|
|
4060
|
+
arg0.flush();
|
|
4124
4061
|
},
|
|
4125
|
-
|
|
4062
|
+
__wbg_framebufferRenderbuffer_aa5275e6a52dc6bd: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4126
4063
|
arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
4127
4064
|
},
|
|
4128
|
-
|
|
4065
|
+
__wbg_framebufferRenderbuffer_f5e60406b8ee912e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4129
4066
|
arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
4130
4067
|
},
|
|
4131
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4080
|
+
__wbg_frontFace_77f09a7664c8cd54: function(arg0, arg1) {
|
|
4144
4081
|
arg0.frontFace(arg1 >>> 0);
|
|
4145
4082
|
},
|
|
4146
|
-
|
|
4083
|
+
__wbg_frontFace_b3888c65efdb32fe: function(arg0, arg1) {
|
|
4147
4084
|
arg0.frontFace(arg1 >>> 0);
|
|
4148
4085
|
},
|
|
4149
|
-
|
|
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
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4151
|
+
__wbg_getProgramParameter_1a93fd2f4dcc0622: function(arg0, arg1, arg2) {
|
|
4239
4152
|
const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
|
|
4240
4153
|
return ret;
|
|
4241
4154
|
},
|
|
4242
|
-
|
|
4155
|
+
__wbg_getProgramParameter_2a5860ab824690ec: function(arg0, arg1, arg2) {
|
|
4243
4156
|
const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
|
|
4244
4157
|
return ret;
|
|
4245
4158
|
},
|
|
4246
|
-
|
|
4159
|
+
__wbg_getQueryParameter_145128cfab5de56d: function(arg0, arg1, arg2) {
|
|
4247
4160
|
const ret = arg0.getQueryParameter(arg1, arg2 >>> 0);
|
|
4248
4161
|
return ret;
|
|
4249
4162
|
},
|
|
4250
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4182
|
+
__wbg_getShaderParameter_b19fb6adcff77066: function(arg0, arg1, arg2) {
|
|
4270
4183
|
const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
|
|
4271
4184
|
return ret;
|
|
4272
4185
|
},
|
|
4273
|
-
|
|
4186
|
+
__wbg_getShaderParameter_d542b1412563ae42: function(arg0, arg1, arg2) {
|
|
4274
4187
|
const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
|
|
4275
4188
|
return ret;
|
|
4276
4189
|
},
|
|
4277
|
-
|
|
4190
|
+
__wbg_getSupportedExtensions_67cde11dd49cad1a: function(arg0) {
|
|
4278
4191
|
const ret = arg0.getSupportedExtensions();
|
|
4279
4192
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4280
4193
|
},
|
|
4281
|
-
|
|
4194
|
+
__wbg_getSupportedProfiles_abd53cd63178e1e0: function(arg0) {
|
|
4282
4195
|
const ret = arg0.getSupportedProfiles();
|
|
4283
4196
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4284
4197
|
},
|
|
4285
|
-
|
|
4198
|
+
__wbg_getSyncParameter_f4eeca8570f06af5: function(arg0, arg1, arg2) {
|
|
4286
4199
|
const ret = arg0.getSyncParameter(arg1, arg2 >>> 0);
|
|
4287
4200
|
return ret;
|
|
4288
4201
|
},
|
|
4289
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4336
|
-
const ret = arg0
|
|
4230
|
+
__wbg_get_unchecked_363572bdd397d473: function(arg0, arg1) {
|
|
4231
|
+
const ret = arg0[arg1 >>> 0];
|
|
4337
4232
|
return ret;
|
|
4338
4233
|
},
|
|
4339
|
-
|
|
4340
|
-
const ret = arg0
|
|
4234
|
+
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
4235
|
+
const ret = arg0[arg1];
|
|
4341
4236
|
return ret;
|
|
4342
4237
|
},
|
|
4343
|
-
|
|
4344
|
-
const ret = arg0.
|
|
4238
|
+
__wbg_gpu_afdd4387c7afe5f9: function(arg0) {
|
|
4239
|
+
const ret = arg0.gpu;
|
|
4345
4240
|
return ret;
|
|
4346
4241
|
},
|
|
4347
|
-
|
|
4242
|
+
__wbg_includes_c0f578d8314b8dbf: function(arg0, arg1, arg2) {
|
|
4348
4243
|
const ret = arg0.includes(arg1, arg2);
|
|
4349
4244
|
return ret;
|
|
4350
4245
|
},
|
|
4351
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4331
|
+
__wbg_isArray_5674713bb7b79043: function(arg0) {
|
|
4477
4332
|
const ret = Array.isArray(arg0);
|
|
4478
4333
|
return ret;
|
|
4479
4334
|
},
|
|
4480
|
-
|
|
4335
|
+
__wbg_isSafeInteger_8f51c743827d1ec5: function(arg0) {
|
|
4481
4336
|
const ret = Number.isSafeInteger(arg0);
|
|
4482
4337
|
return ret;
|
|
4483
4338
|
},
|
|
4484
|
-
|
|
4339
|
+
__wbg_is_61443cc073056436: function(arg0, arg1) {
|
|
4485
4340
|
const ret = Object.is(arg0, arg1);
|
|
4486
4341
|
return ret;
|
|
4487
4342
|
},
|
|
4488
|
-
|
|
4343
|
+
__wbg_iterator_22ddeb808cf55a6f: function() {
|
|
4489
4344
|
const ret = Symbol.iterator;
|
|
4490
4345
|
return ret;
|
|
4491
4346
|
},
|
|
4492
|
-
|
|
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
|
-
|
|
4354
|
+
__wbg_length_31bdaf014f5fbde2: function(arg0) {
|
|
4500
4355
|
const ret = arg0.length;
|
|
4501
4356
|
return ret;
|
|
4502
4357
|
},
|
|
4503
|
-
|
|
4358
|
+
__wbg_length_4e1adc0d42e23620: function(arg0) {
|
|
4504
4359
|
const ret = arg0.length;
|
|
4505
4360
|
return ret;
|
|
4506
4361
|
},
|
|
4507
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4369
|
+
__wbg_linkProgram_e408ee5f93686f1f: function(arg0, arg1) {
|
|
4527
4370
|
arg0.linkProgram(arg1);
|
|
4528
4371
|
},
|
|
4529
|
-
|
|
4372
|
+
__wbg_log_363d83b9114c8831: function(arg0) {
|
|
4530
4373
|
console.log(arg0);
|
|
4531
4374
|
},
|
|
4532
|
-
|
|
4533
|
-
const ret = arg0.
|
|
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
|
-
|
|
4537
|
-
const ret = arg0.
|
|
4379
|
+
__wbg_maxBindGroupsPlusVertexBuffers_52369f089736ef9d: function(arg0) {
|
|
4380
|
+
const ret = arg0.maxBindGroupsPlusVertexBuffers;
|
|
4538
4381
|
return ret;
|
|
4539
4382
|
},
|
|
4540
|
-
|
|
4383
|
+
__wbg_maxBindGroups_4e424afe6ce86ca2: function(arg0) {
|
|
4541
4384
|
const ret = arg0.maxBindGroups;
|
|
4542
4385
|
return ret;
|
|
4543
4386
|
},
|
|
4544
|
-
|
|
4387
|
+
__wbg_maxBindingsPerBindGroup_7d035da36821c44f: function(arg0) {
|
|
4545
4388
|
const ret = arg0.maxBindingsPerBindGroup;
|
|
4546
4389
|
return ret;
|
|
4547
4390
|
},
|
|
4548
|
-
|
|
4391
|
+
__wbg_maxBufferSize_423f4a084e32a195: function(arg0) {
|
|
4549
4392
|
const ret = arg0.maxBufferSize;
|
|
4550
4393
|
return ret;
|
|
4551
4394
|
},
|
|
4552
|
-
|
|
4395
|
+
__wbg_maxColorAttachmentBytesPerSample_c4cd9126f6d287c6: function(arg0) {
|
|
4553
4396
|
const ret = arg0.maxColorAttachmentBytesPerSample;
|
|
4554
4397
|
return ret;
|
|
4555
4398
|
},
|
|
4556
|
-
|
|
4399
|
+
__wbg_maxColorAttachments_d924670762b9e250: function(arg0) {
|
|
4557
4400
|
const ret = arg0.maxColorAttachments;
|
|
4558
4401
|
return ret;
|
|
4559
4402
|
},
|
|
4560
|
-
|
|
4403
|
+
__wbg_maxComputeInvocationsPerWorkgroup_707a3868f7cebb59: function(arg0) {
|
|
4561
4404
|
const ret = arg0.maxComputeInvocationsPerWorkgroup;
|
|
4562
4405
|
return ret;
|
|
4563
4406
|
},
|
|
4564
|
-
|
|
4407
|
+
__wbg_maxComputeWorkgroupSizeX_0a4d99463cbd6e5e: function(arg0) {
|
|
4565
4408
|
const ret = arg0.maxComputeWorkgroupSizeX;
|
|
4566
4409
|
return ret;
|
|
4567
4410
|
},
|
|
4568
|
-
|
|
4411
|
+
__wbg_maxComputeWorkgroupSizeY_85123ea0587f7558: function(arg0) {
|
|
4569
4412
|
const ret = arg0.maxComputeWorkgroupSizeY;
|
|
4570
4413
|
return ret;
|
|
4571
4414
|
},
|
|
4572
|
-
|
|
4415
|
+
__wbg_maxComputeWorkgroupSizeZ_a3186b4c5267d44f: function(arg0) {
|
|
4573
4416
|
const ret = arg0.maxComputeWorkgroupSizeZ;
|
|
4574
4417
|
return ret;
|
|
4575
4418
|
},
|
|
4576
|
-
|
|
4419
|
+
__wbg_maxComputeWorkgroupStorageSize_57b297355cfb6204: function(arg0) {
|
|
4577
4420
|
const ret = arg0.maxComputeWorkgroupStorageSize;
|
|
4578
4421
|
return ret;
|
|
4579
4422
|
},
|
|
4580
|
-
|
|
4423
|
+
__wbg_maxComputeWorkgroupsPerDimension_4158f95e673d54c4: function(arg0) {
|
|
4581
4424
|
const ret = arg0.maxComputeWorkgroupsPerDimension;
|
|
4582
4425
|
return ret;
|
|
4583
4426
|
},
|
|
4584
|
-
|
|
4427
|
+
__wbg_maxDynamicStorageBuffersPerPipelineLayout_226b0b70910aa16c: function(arg0) {
|
|
4585
4428
|
const ret = arg0.maxDynamicStorageBuffersPerPipelineLayout;
|
|
4586
4429
|
return ret;
|
|
4587
4430
|
},
|
|
4588
|
-
|
|
4431
|
+
__wbg_maxDynamicUniformBuffersPerPipelineLayout_0e835fda711fc7e6: function(arg0) {
|
|
4589
4432
|
const ret = arg0.maxDynamicUniformBuffersPerPipelineLayout;
|
|
4590
4433
|
return ret;
|
|
4591
4434
|
},
|
|
4592
|
-
|
|
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
|
-
|
|
4443
|
+
__wbg_maxSamplersPerShaderStage_1910fa38a6ed1e1f: function(arg0) {
|
|
4597
4444
|
const ret = arg0.maxSamplersPerShaderStage;
|
|
4598
4445
|
return ret;
|
|
4599
4446
|
},
|
|
4600
|
-
|
|
4447
|
+
__wbg_maxStorageBufferBindingSize_2e244bded070b18d: function(arg0) {
|
|
4601
4448
|
const ret = arg0.maxStorageBufferBindingSize;
|
|
4602
4449
|
return ret;
|
|
4603
4450
|
},
|
|
4604
|
-
|
|
4451
|
+
__wbg_maxStorageBuffersPerShaderStage_a285f3ebca51ca0d: function(arg0) {
|
|
4605
4452
|
const ret = arg0.maxStorageBuffersPerShaderStage;
|
|
4606
4453
|
return ret;
|
|
4607
4454
|
},
|
|
4608
|
-
|
|
4455
|
+
__wbg_maxStorageTexturesPerShaderStage_7aa946f0fc322a2b: function(arg0) {
|
|
4609
4456
|
const ret = arg0.maxStorageTexturesPerShaderStage;
|
|
4610
4457
|
return ret;
|
|
4611
4458
|
},
|
|
4612
|
-
|
|
4459
|
+
__wbg_maxTextureArrayLayers_0e699147ad00502d: function(arg0) {
|
|
4613
4460
|
const ret = arg0.maxTextureArrayLayers;
|
|
4614
4461
|
return ret;
|
|
4615
4462
|
},
|
|
4616
|
-
|
|
4463
|
+
__wbg_maxTextureDimension1D_aabf6add54decfe2: function(arg0) {
|
|
4617
4464
|
const ret = arg0.maxTextureDimension1D;
|
|
4618
4465
|
return ret;
|
|
4619
4466
|
},
|
|
4620
|
-
|
|
4467
|
+
__wbg_maxTextureDimension2D_dd598b27e9c0c1c4: function(arg0) {
|
|
4621
4468
|
const ret = arg0.maxTextureDimension2D;
|
|
4622
4469
|
return ret;
|
|
4623
4470
|
},
|
|
4624
|
-
|
|
4471
|
+
__wbg_maxTextureDimension3D_f944266c65dfd1a9: function(arg0) {
|
|
4625
4472
|
const ret = arg0.maxTextureDimension3D;
|
|
4626
4473
|
return ret;
|
|
4627
4474
|
},
|
|
4628
|
-
|
|
4475
|
+
__wbg_maxUniformBufferBindingSize_59fa6be7cfbeeb53: function(arg0) {
|
|
4629
4476
|
const ret = arg0.maxUniformBufferBindingSize;
|
|
4630
4477
|
return ret;
|
|
4631
4478
|
},
|
|
4632
|
-
|
|
4479
|
+
__wbg_maxUniformBuffersPerShaderStage_bee5f00a4d706c7f: function(arg0) {
|
|
4633
4480
|
const ret = arg0.maxUniformBuffersPerShaderStage;
|
|
4634
4481
|
return ret;
|
|
4635
4482
|
},
|
|
4636
|
-
|
|
4483
|
+
__wbg_maxVertexAttributes_5cf6392c4e9033fe: function(arg0) {
|
|
4637
4484
|
const ret = arg0.maxVertexAttributes;
|
|
4638
4485
|
return ret;
|
|
4639
4486
|
},
|
|
4640
|
-
|
|
4487
|
+
__wbg_maxVertexBufferArrayStride_548baa887375d865: function(arg0) {
|
|
4641
4488
|
const ret = arg0.maxVertexBufferArrayStride;
|
|
4642
4489
|
return ret;
|
|
4643
4490
|
},
|
|
4644
|
-
|
|
4491
|
+
__wbg_maxVertexBuffers_75d881156591f5da: function(arg0) {
|
|
4645
4492
|
const ret = arg0.maxVertexBuffers;
|
|
4646
4493
|
return ret;
|
|
4647
4494
|
},
|
|
4648
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4506
|
+
__wbg_minUniformBufferOffsetAlignment_ab7d52a5293b22bd: function(arg0) {
|
|
4678
4507
|
const ret = arg0.minUniformBufferOffsetAlignment;
|
|
4679
4508
|
return ret;
|
|
4680
4509
|
},
|
|
4681
|
-
|
|
4510
|
+
__wbg_navigator_d217ca64c4bbff48: function(arg0) {
|
|
4682
4511
|
const ret = arg0.navigator;
|
|
4683
4512
|
return ret;
|
|
4684
4513
|
},
|
|
4685
|
-
|
|
4514
|
+
__wbg_navigator_d25c0f071226f233: function(arg0) {
|
|
4686
4515
|
const ret = arg0.navigator;
|
|
4687
4516
|
return ret;
|
|
4688
4517
|
},
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
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
|
-
|
|
4694
|
-
const ret = new
|
|
4524
|
+
__wbg_new_1da3429bc3c4541c: function(arg0) {
|
|
4525
|
+
const ret = new Uint8Array(arg0);
|
|
4695
4526
|
return ret;
|
|
4696
4527
|
},
|
|
4697
|
-
|
|
4528
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
4698
4529
|
const ret = new Error();
|
|
4699
4530
|
return ret;
|
|
4700
4531
|
},
|
|
4701
|
-
|
|
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
|
|
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 =
|
|
4551
|
+
state0.a = 0;
|
|
4717
4552
|
}
|
|
4718
4553
|
},
|
|
4719
|
-
|
|
4720
|
-
const ret =
|
|
4554
|
+
__wbg_new_bebc3f4757acf305: function() {
|
|
4555
|
+
const ret = new Object();
|
|
4721
4556
|
return ret;
|
|
4722
4557
|
},
|
|
4723
|
-
|
|
4724
|
-
const ret = new
|
|
4558
|
+
__wbg_new_ffa92086ea89f79c: function() {
|
|
4559
|
+
const ret = new Array();
|
|
4725
4560
|
return ret;
|
|
4726
4561
|
},
|
|
4727
|
-
|
|
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
|
-
|
|
4732
|
-
const ret = new
|
|
4566
|
+
__wbg_new_from_slice_4ee02165f9de919e: function(arg0, arg1) {
|
|
4567
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
4733
4568
|
return ret;
|
|
4734
4569
|
},
|
|
4735
|
-
|
|
4736
|
-
const ret = new
|
|
4570
|
+
__wbg_new_from_slice_a500ec81601be48f: function(arg0, arg1) {
|
|
4571
|
+
const ret = new Uint32Array(getArrayU32FromWasm0(arg0, arg1));
|
|
4737
4572
|
return ret;
|
|
4738
4573
|
},
|
|
4739
|
-
|
|
4740
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4600
|
+
__wbg_new_with_length_6a9fc3631737ef8c: function(arg0) {
|
|
4748
4601
|
const ret = new Array(arg0 >>> 0);
|
|
4749
4602
|
return ret;
|
|
4750
4603
|
},
|
|
4751
|
-
|
|
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
|
-
|
|
4758
|
-
const ret =
|
|
4614
|
+
__wbg_now_d1fb6650485d7f3e: function() {
|
|
4615
|
+
const ret = Date.now();
|
|
4759
4616
|
return ret;
|
|
4760
4617
|
},
|
|
4761
|
-
|
|
4618
|
+
__wbg_now_db339b04e277a1fd: function() {
|
|
4762
4619
|
const ret = performance.now();
|
|
4763
4620
|
return ret;
|
|
4764
4621
|
},
|
|
4765
|
-
|
|
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
|
-
|
|
4774
|
-
const ret = arg0.
|
|
4626
|
+
__wbg_onSubmittedWorkDone_1190213cee1ecf7e: function(arg0) {
|
|
4627
|
+
const ret = arg0.onSubmittedWorkDone();
|
|
4775
4628
|
return ret;
|
|
4776
4629
|
},
|
|
4777
|
-
|
|
4630
|
+
__wbg_pixelStorei_1bc7980b82e1ba4b: function(arg0, arg1, arg2) {
|
|
4778
4631
|
arg0.pixelStorei(arg1 >>> 0, arg2);
|
|
4779
4632
|
},
|
|
4780
|
-
|
|
4633
|
+
__wbg_pixelStorei_d540c25aafa93789: function(arg0, arg1, arg2) {
|
|
4781
4634
|
arg0.pixelStorei(arg1 >>> 0, arg2);
|
|
4782
4635
|
},
|
|
4783
|
-
|
|
4636
|
+
__wbg_polygonOffset_a97069c9fe385bff: function(arg0, arg1, arg2) {
|
|
4784
4637
|
arg0.polygonOffset(arg1, arg2);
|
|
4785
4638
|
},
|
|
4786
|
-
|
|
4639
|
+
__wbg_polygonOffset_f99887a0cc3d7df4: function(arg0, arg1, arg2) {
|
|
4787
4640
|
arg0.polygonOffset(arg1, arg2);
|
|
4788
4641
|
},
|
|
4789
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4649
|
+
__wbg_queryCounterEXT_c9fb8ad39c35fdf6: function(arg0, arg1, arg2) {
|
|
4804
4650
|
arg0.queryCounterEXT(arg1, arg2 >>> 0);
|
|
4805
4651
|
},
|
|
4806
|
-
|
|
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
|
-
|
|
4658
|
+
__wbg_queueMicrotask_85c90f6987555d65: function(arg0) {
|
|
4819
4659
|
const ret = arg0.queueMicrotask;
|
|
4820
4660
|
return ret;
|
|
4821
4661
|
},
|
|
4822
|
-
|
|
4662
|
+
__wbg_queueMicrotask_f6a1fa10b81d1fc0: function(arg0) {
|
|
4823
4663
|
queueMicrotask(arg0);
|
|
4824
4664
|
},
|
|
4825
|
-
|
|
4665
|
+
__wbg_queue_7b62c28143d44293: function(arg0) {
|
|
4826
4666
|
const ret = arg0.queue;
|
|
4827
4667
|
return ret;
|
|
4828
4668
|
},
|
|
4829
|
-
|
|
4669
|
+
__wbg_readBuffer_1679a4b6dcd78e30: function(arg0, arg1) {
|
|
4830
4670
|
arg0.readBuffer(arg1 >>> 0);
|
|
4831
4671
|
},
|
|
4832
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4690
|
+
__wbg_renderbufferStorage_2b50da85624a8b73: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4855
4691
|
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
4856
4692
|
},
|
|
4857
|
-
|
|
4693
|
+
__wbg_renderbufferStorage_2eb3d4343d1a1c6e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4858
4694
|
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
4859
4695
|
},
|
|
4860
|
-
|
|
4696
|
+
__wbg_requestAdapter_a539af006419f2e9: function(arg0, arg1) {
|
|
4861
4697
|
const ret = arg0.requestAdapter(arg1);
|
|
4862
4698
|
return ret;
|
|
4863
4699
|
},
|
|
4864
|
-
|
|
4700
|
+
__wbg_requestDevice_5cb8a582e55d08cb: function(arg0, arg1) {
|
|
4865
4701
|
const ret = arg0.requestDevice(arg1);
|
|
4866
4702
|
return ret;
|
|
4867
4703
|
},
|
|
4868
|
-
|
|
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
|
-
|
|
4708
|
+
__wbg_samplerParameterf_34605394359af7ae: function(arg0, arg1, arg2, arg3) {
|
|
4876
4709
|
arg0.samplerParameterf(arg1, arg2 >>> 0, arg3);
|
|
4877
4710
|
},
|
|
4878
|
-
|
|
4711
|
+
__wbg_samplerParameteri_ff1f558c8f43a220: function(arg0, arg1, arg2, arg3) {
|
|
4879
4712
|
arg0.samplerParameteri(arg1, arg2 >>> 0, arg3);
|
|
4880
4713
|
},
|
|
4881
|
-
|
|
4714
|
+
__wbg_scissor_c53448a6fa939bfb: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4882
4715
|
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
4883
4716
|
},
|
|
4884
|
-
|
|
4717
|
+
__wbg_scissor_d896348c98d0c9ac: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4885
4718
|
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
4886
4719
|
},
|
|
4887
|
-
|
|
4888
|
-
arg0
|
|
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
|
-
|
|
4725
|
+
__wbg_setBindGroup_c83391351ce68826: function(arg0, arg1, arg2) {
|
|
4891
4726
|
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
4892
4727
|
},
|
|
4893
|
-
|
|
4894
|
-
arg0.
|
|
4728
|
+
__wbg_setPipeline_5146f7b8d2b4af5c: function(arg0, arg1) {
|
|
4729
|
+
arg0.setPipeline(arg1);
|
|
4895
4730
|
},
|
|
4896
|
-
|
|
4897
|
-
arg0
|
|
4731
|
+
__wbg_set_13d25b81ab403f5e: function(arg0, arg1, arg2) {
|
|
4732
|
+
arg0[arg1 >>> 0] = arg2;
|
|
4898
4733
|
},
|
|
4899
|
-
|
|
4900
|
-
arg0
|
|
4734
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
4735
|
+
arg0[arg1] = arg2;
|
|
4901
4736
|
},
|
|
4902
|
-
|
|
4903
|
-
arg0.
|
|
4737
|
+
__wbg_set_9cfc0f17d60ff0af: function(arg0, arg1, arg2) {
|
|
4738
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
4904
4739
|
},
|
|
4905
|
-
|
|
4906
|
-
arg0
|
|
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
|
-
|
|
4909
|
-
arg0.
|
|
4746
|
+
__wbg_set_access_a099cfbbeec9b96f: function(arg0, arg1) {
|
|
4747
|
+
arg0.access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
|
|
4910
4748
|
},
|
|
4911
|
-
|
|
4912
|
-
arg0.
|
|
4749
|
+
__wbg_set_array_layer_count_22afa0a979e4ad55: function(arg0, arg1) {
|
|
4750
|
+
arg0.arrayLayerCount = arg1 >>> 0;
|
|
4913
4751
|
},
|
|
4914
|
-
|
|
4915
|
-
arg0.
|
|
4752
|
+
__wbg_set_aspect_a48d046965270281: function(arg0, arg1) {
|
|
4753
|
+
arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
4916
4754
|
},
|
|
4917
|
-
|
|
4918
|
-
arg0.
|
|
4755
|
+
__wbg_set_aspect_b1a9909bf315433f: function(arg0, arg1) {
|
|
4756
|
+
arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
4919
4757
|
},
|
|
4920
|
-
|
|
4921
|
-
arg0.
|
|
4758
|
+
__wbg_set_base_array_layer_2435ba92c80346ae: function(arg0, arg1) {
|
|
4759
|
+
arg0.baseArrayLayer = arg1 >>> 0;
|
|
4922
4760
|
},
|
|
4923
|
-
|
|
4924
|
-
arg0.
|
|
4761
|
+
__wbg_set_base_mip_level_8b6093e875e7c65d: function(arg0, arg1) {
|
|
4762
|
+
arg0.baseMipLevel = arg1 >>> 0;
|
|
4925
4763
|
},
|
|
4926
|
-
|
|
4927
|
-
arg0.
|
|
4764
|
+
__wbg_set_beginning_of_pass_write_index_fa9ae10d5d2804ce: function(arg0, arg1) {
|
|
4765
|
+
arg0.beginningOfPassWriteIndex = arg1 >>> 0;
|
|
4928
4766
|
},
|
|
4929
|
-
|
|
4930
|
-
arg0.
|
|
4767
|
+
__wbg_set_bf6dde4923b9b059: function(arg0, arg1, arg2) {
|
|
4768
|
+
const ret = arg0.set(arg1, arg2);
|
|
4769
|
+
return ret;
|
|
4931
4770
|
},
|
|
4932
|
-
|
|
4933
|
-
arg0.
|
|
4771
|
+
__wbg_set_bind_group_layouts_458c44ba55100b82: function(arg0, arg1, arg2) {
|
|
4772
|
+
arg0.bindGroupLayouts = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
4934
4773
|
},
|
|
4935
|
-
|
|
4936
|
-
arg0.
|
|
4774
|
+
__wbg_set_binding_81b3fac7f7acaf8d: function(arg0, arg1) {
|
|
4775
|
+
arg0.binding = arg1 >>> 0;
|
|
4937
4776
|
},
|
|
4938
|
-
|
|
4939
|
-
arg0.
|
|
4777
|
+
__wbg_set_binding_b6cee57f35ac5190: function(arg0, arg1) {
|
|
4778
|
+
arg0.binding = arg1 >>> 0;
|
|
4940
4779
|
},
|
|
4941
|
-
|
|
4942
|
-
arg0.
|
|
4780
|
+
__wbg_set_buffer_1548ae88a9188037: function(arg0, arg1) {
|
|
4781
|
+
arg0.buffer = arg1;
|
|
4943
4782
|
},
|
|
4944
|
-
|
|
4945
|
-
arg0.
|
|
4783
|
+
__wbg_set_buffer_8d0ac64ad20dfc84: function(arg0, arg1) {
|
|
4784
|
+
arg0.buffer = arg1;
|
|
4946
4785
|
},
|
|
4947
|
-
|
|
4948
|
-
arg0.
|
|
4786
|
+
__wbg_set_buffer_910a40a90f97cfca: function(arg0, arg1) {
|
|
4787
|
+
arg0.buffer = arg1;
|
|
4949
4788
|
},
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
return ret;
|
|
4789
|
+
__wbg_set_bytes_per_row_1e824a5502b54b3d: function(arg0, arg1) {
|
|
4790
|
+
arg0.bytesPerRow = arg1 >>> 0;
|
|
4953
4791
|
},
|
|
4954
|
-
|
|
4955
|
-
arg0.
|
|
4792
|
+
__wbg_set_bytes_per_row_c28583f0063160f1: function(arg0, arg1) {
|
|
4793
|
+
arg0.bytesPerRow = arg1 >>> 0;
|
|
4956
4794
|
},
|
|
4957
|
-
|
|
4958
|
-
arg0
|
|
4795
|
+
__wbg_set_code_5d5b0b9e2fd0dca7: function(arg0, arg1, arg2) {
|
|
4796
|
+
arg0.code = getStringFromWasm0(arg1, arg2);
|
|
4959
4797
|
},
|
|
4960
|
-
|
|
4961
|
-
|
|
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
|
-
|
|
4967
|
-
arg0
|
|
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
|
-
|
|
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
|
-
|
|
4849
|
+
__wbg_set_height_f6619158e5735877: function(arg0, arg1) {
|
|
4973
4850
|
arg0.height = arg1 >>> 0;
|
|
4974
4851
|
},
|
|
4975
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5020
|
+
__wbg_set_width_b20525f5f4df4eb8: function(arg0, arg1) {
|
|
4982
5021
|
arg0.width = arg1 >>> 0;
|
|
4983
5022
|
},
|
|
4984
|
-
|
|
4985
|
-
arg0.
|
|
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
|
-
|
|
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
|
-
|
|
4991
|
-
|
|
4992
|
-
return ret;
|
|
5038
|
+
__wbg_shaderSource_82a2cbfe223a86e0: function(arg0, arg1, arg2, arg3) {
|
|
5039
|
+
arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
|
|
4993
5040
|
},
|
|
4994
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5064
|
+
__wbg_stencilFuncSeparate_d7b5956ce3fe1272: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5018
5065
|
arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
5019
5066
|
},
|
|
5020
|
-
|
|
5067
|
+
__wbg_stencilFuncSeparate_fd17ac8961fd8359: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5021
5068
|
arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
5022
5069
|
},
|
|
5023
|
-
|
|
5070
|
+
__wbg_stencilMaskSeparate_5f3823dfe31289be: function(arg0, arg1, arg2) {
|
|
5024
5071
|
arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
5025
5072
|
},
|
|
5026
|
-
|
|
5073
|
+
__wbg_stencilMaskSeparate_d0910e6d55b4605a: function(arg0, arg1, arg2) {
|
|
5027
5074
|
arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
5028
5075
|
},
|
|
5029
|
-
|
|
5076
|
+
__wbg_stencilMask_4a8c4bda850006f1: function(arg0, arg1) {
|
|
5030
5077
|
arg0.stencilMask(arg1 >>> 0);
|
|
5031
5078
|
},
|
|
5032
|
-
|
|
5079
|
+
__wbg_stencilMask_cb69051e26a265bb: function(arg0, arg1) {
|
|
5033
5080
|
arg0.stencilMask(arg1 >>> 0);
|
|
5034
5081
|
},
|
|
5035
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5042
|
-
arg0.submit(arg1);
|
|
5088
|
+
__wbg_submit_077c85cc28e36892: function(arg0, arg1, arg2) {
|
|
5089
|
+
arg0.submit(getArrayJsValueViewFromWasm0(arg1, arg2));
|
|
5043
5090
|
},
|
|
5044
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5116
|
+
__wbg_texParameteri_1fea50207adbfd68: function(arg0, arg1, arg2, arg3) {
|
|
5060
5117
|
arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
5061
5118
|
},
|
|
5062
|
-
|
|
5119
|
+
__wbg_texParameteri_e127aa385b821d68: function(arg0, arg1, arg2, arg3) {
|
|
5063
5120
|
arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
5064
5121
|
},
|
|
5065
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5203
|
+
__wbg_then_7a850dae4493f353: function(arg0, arg1, arg2) {
|
|
5147
5204
|
const ret = arg0.then(arg1, arg2);
|
|
5148
5205
|
return ret;
|
|
5149
5206
|
},
|
|
5150
|
-
|
|
5207
|
+
__wbg_then_b830475380919203: function(arg0, arg1) {
|
|
5151
5208
|
const ret = arg0.then(arg1);
|
|
5152
5209
|
return ret;
|
|
5153
5210
|
},
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
return (__wbindgen_enum_GpuCompilationMessageType.indexOf(ret) + 1 || 4) - 1;
|
|
5211
|
+
__wbg_unconfigure_835307f58dc68d80: function(arg0) {
|
|
5212
|
+
arg0.unconfigure();
|
|
5157
5213
|
},
|
|
5158
|
-
|
|
5214
|
+
__wbg_uniform1f_6067a9c69ed38c8b: function(arg0, arg1, arg2) {
|
|
5159
5215
|
arg0.uniform1f(arg1, arg2);
|
|
5160
5216
|
},
|
|
5161
|
-
|
|
5217
|
+
__wbg_uniform1f_d08261cd87e412e0: function(arg0, arg1, arg2) {
|
|
5162
5218
|
arg0.uniform1f(arg1, arg2);
|
|
5163
5219
|
},
|
|
5164
|
-
|
|
5220
|
+
__wbg_uniform1i_25a3df9f69c2f765: function(arg0, arg1, arg2) {
|
|
5165
5221
|
arg0.uniform1i(arg1, arg2);
|
|
5166
5222
|
},
|
|
5167
|
-
|
|
5223
|
+
__wbg_uniform1i_89c631d199860f60: function(arg0, arg1, arg2) {
|
|
5168
5224
|
arg0.uniform1i(arg1, arg2);
|
|
5169
5225
|
},
|
|
5170
|
-
|
|
5226
|
+
__wbg_uniform1ui_58cbbe1a93e44a02: function(arg0, arg1, arg2) {
|
|
5171
5227
|
arg0.uniform1ui(arg1, arg2 >>> 0);
|
|
5172
5228
|
},
|
|
5173
|
-
|
|
5229
|
+
__wbg_uniform2fv_6a494ce09154afdb: function(arg0, arg1, arg2, arg3) {
|
|
5174
5230
|
arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5175
5231
|
},
|
|
5176
|
-
|
|
5232
|
+
__wbg_uniform2fv_f85b3b2779a6c2b9: function(arg0, arg1, arg2, arg3) {
|
|
5177
5233
|
arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5178
5234
|
},
|
|
5179
|
-
|
|
5235
|
+
__wbg_uniform2iv_5c591a2edfd26c45: function(arg0, arg1, arg2, arg3) {
|
|
5180
5236
|
arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5181
5237
|
},
|
|
5182
|
-
|
|
5238
|
+
__wbg_uniform2iv_63a2ba7206eaf2b3: function(arg0, arg1, arg2, arg3) {
|
|
5183
5239
|
arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5184
5240
|
},
|
|
5185
|
-
|
|
5241
|
+
__wbg_uniform2uiv_aaa076c2f50b5c86: function(arg0, arg1, arg2, arg3) {
|
|
5186
5242
|
arg0.uniform2uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
5187
5243
|
},
|
|
5188
|
-
|
|
5244
|
+
__wbg_uniform3fv_2e139d144894f1ec: function(arg0, arg1, arg2, arg3) {
|
|
5189
5245
|
arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5190
5246
|
},
|
|
5191
|
-
|
|
5247
|
+
__wbg_uniform3fv_dfaba6b65cfc2c2b: function(arg0, arg1, arg2, arg3) {
|
|
5192
5248
|
arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5193
5249
|
},
|
|
5194
|
-
|
|
5250
|
+
__wbg_uniform3iv_700228c611ca323d: function(arg0, arg1, arg2, arg3) {
|
|
5195
5251
|
arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5196
5252
|
},
|
|
5197
|
-
|
|
5253
|
+
__wbg_uniform3iv_f32512d7179442f8: function(arg0, arg1, arg2, arg3) {
|
|
5198
5254
|
arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5199
5255
|
},
|
|
5200
|
-
|
|
5256
|
+
__wbg_uniform3uiv_c972de1ee5eb2b48: function(arg0, arg1, arg2, arg3) {
|
|
5201
5257
|
arg0.uniform3uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
5202
5258
|
},
|
|
5203
|
-
|
|
5259
|
+
__wbg_uniform4f_b5ea01e0388c425e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5204
5260
|
arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
|
|
5205
5261
|
},
|
|
5206
|
-
|
|
5262
|
+
__wbg_uniform4f_b9880b3e743b1cf3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5207
5263
|
arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
|
|
5208
5264
|
},
|
|
5209
|
-
|
|
5265
|
+
__wbg_uniform4fv_0763a5cfb3d561c9: function(arg0, arg1, arg2, arg3) {
|
|
5210
5266
|
arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5211
5267
|
},
|
|
5212
|
-
|
|
5268
|
+
__wbg_uniform4fv_95b1afba56301916: function(arg0, arg1, arg2, arg3) {
|
|
5213
5269
|
arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5214
5270
|
},
|
|
5215
|
-
|
|
5271
|
+
__wbg_uniform4iv_1269cd3a3f01909d: function(arg0, arg1, arg2, arg3) {
|
|
5216
5272
|
arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5217
5273
|
},
|
|
5218
|
-
|
|
5274
|
+
__wbg_uniform4iv_84dc6c0b2ea09256: function(arg0, arg1, arg2, arg3) {
|
|
5219
5275
|
arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5220
5276
|
},
|
|
5221
|
-
|
|
5277
|
+
__wbg_uniform4uiv_13ca9c250b538d85: function(arg0, arg1, arg2, arg3) {
|
|
5222
5278
|
arg0.uniform4uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
5223
5279
|
},
|
|
5224
|
-
|
|
5280
|
+
__wbg_uniformBlockBinding_d97dbfc1886608c9: function(arg0, arg1, arg2, arg3) {
|
|
5225
5281
|
arg0.uniformBlockBinding(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
5226
5282
|
},
|
|
5227
|
-
|
|
5283
|
+
__wbg_uniformMatrix2fv_4a95dd9315ceafce: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5228
5284
|
arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5229
5285
|
},
|
|
5230
|
-
|
|
5286
|
+
__wbg_uniformMatrix2fv_554c771038fd18e7: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5231
5287
|
arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5232
5288
|
},
|
|
5233
|
-
|
|
5289
|
+
__wbg_uniformMatrix2x3fv_18f2ff07b55f7458: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5234
5290
|
arg0.uniformMatrix2x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5235
5291
|
},
|
|
5236
|
-
|
|
5292
|
+
__wbg_uniformMatrix2x4fv_2b66cdeb52233873: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5237
5293
|
arg0.uniformMatrix2x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5238
5294
|
},
|
|
5239
|
-
|
|
5295
|
+
__wbg_uniformMatrix3fv_303d7eef53df7ed2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5240
5296
|
arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5241
5297
|
},
|
|
5242
|
-
|
|
5298
|
+
__wbg_uniformMatrix3fv_a9db97f34b3706b3: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5243
5299
|
arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5244
5300
|
},
|
|
5245
|
-
|
|
5301
|
+
__wbg_uniformMatrix3x2fv_67c65614f0e122e8: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5246
5302
|
arg0.uniformMatrix3x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5247
5303
|
},
|
|
5248
|
-
|
|
5304
|
+
__wbg_uniformMatrix3x4fv_e3bd46b1bf5227ed: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5249
5305
|
arg0.uniformMatrix3x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5250
5306
|
},
|
|
5251
|
-
|
|
5307
|
+
__wbg_uniformMatrix4fv_db6f9ad4f00e3b76: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5252
5308
|
arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5253
5309
|
},
|
|
5254
|
-
|
|
5310
|
+
__wbg_uniformMatrix4fv_e411faf4de6021c5: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5255
5311
|
arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5256
5312
|
},
|
|
5257
|
-
|
|
5313
|
+
__wbg_uniformMatrix4x2fv_c59133281828fe8e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5258
5314
|
arg0.uniformMatrix4x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5259
5315
|
},
|
|
5260
|
-
|
|
5316
|
+
__wbg_uniformMatrix4x3fv_dc85828b88505234: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5261
5317
|
arg0.uniformMatrix4x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5262
5318
|
},
|
|
5263
|
-
|
|
5319
|
+
__wbg_unmap_6a96b14c9ef5f7f5: function(arg0) {
|
|
5264
5320
|
arg0.unmap();
|
|
5265
5321
|
},
|
|
5266
|
-
|
|
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
|
-
|
|
5325
|
+
__wbg_useProgram_fcab4319331e0094: function(arg0, arg1) {
|
|
5274
5326
|
arg0.useProgram(arg1);
|
|
5275
5327
|
},
|
|
5276
|
-
|
|
5328
|
+
__wbg_valueOf_24fc886d85bf55b5: function(arg0) {
|
|
5277
5329
|
const ret = arg0.valueOf();
|
|
5278
5330
|
return ret;
|
|
5279
5331
|
},
|
|
5280
|
-
|
|
5332
|
+
__wbg_value_c227f843d21da141: function(arg0) {
|
|
5281
5333
|
const ret = arg0.value;
|
|
5282
5334
|
return ret;
|
|
5283
5335
|
},
|
|
5284
|
-
|
|
5336
|
+
__wbg_vertexAttribDivisorANGLE_5bebd4490e25d0f4: function(arg0, arg1, arg2) {
|
|
5285
5337
|
arg0.vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
|
|
5286
5338
|
},
|
|
5287
|
-
|
|
5339
|
+
__wbg_vertexAttribDivisor_e2a9ba8c397af61b: function(arg0, arg1, arg2) {
|
|
5288
5340
|
arg0.vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
|
|
5289
5341
|
},
|
|
5290
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5354
|
+
__wbg_viewport_f9d3214251b38c39: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5311
5355
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
5312
5356
|
},
|
|
5313
|
-
|
|
5357
|
+
__wbg_warn_d3544c7814fab534: function(arg0) {
|
|
5314
5358
|
console.warn(arg0);
|
|
5315
5359
|
},
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
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
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
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
|
-
|
|
5325
|
-
const ret = arg0
|
|
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
|
-
|
|
5329
|
-
const ret = arg0
|
|
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
|
-
|
|
5333
|
-
const ret = arg0
|
|
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
|
-
|
|
5337
|
-
|
|
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
|
-
|
|
5347
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
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
|
-
|
|
5390
|
+
__wbindgen_generic_0000000000000006: function(arg0) {
|
|
5351
5391
|
const ret = arg0;
|
|
5352
5392
|
return ret;
|
|
5353
5393
|
},
|
|
5354
|
-
|
|
5394
|
+
__wbindgen_generic_0000000000000007: function(arg0) {
|
|
5355
5395
|
const ret = arg0;
|
|
5356
5396
|
return ret;
|
|
5357
5397
|
},
|
|
5358
|
-
|
|
5398
|
+
__wbindgen_generic_0000000000000008: function(arg0, arg1) {
|
|
5359
5399
|
const ret = getArrayF32FromWasm0(arg0, arg1);
|
|
5360
5400
|
return ret;
|
|
5361
5401
|
},
|
|
5362
|
-
|
|
5402
|
+
__wbindgen_generic_0000000000000009: function(arg0, arg1) {
|
|
5363
5403
|
const ret = getArrayI16FromWasm0(arg0, arg1);
|
|
5364
5404
|
return ret;
|
|
5365
5405
|
},
|
|
5366
|
-
|
|
5406
|
+
__wbindgen_generic_000000000000000a: function(arg0, arg1) {
|
|
5367
5407
|
const ret = getArrayI32FromWasm0(arg0, arg1);
|
|
5368
5408
|
return ret;
|
|
5369
5409
|
},
|
|
5370
|
-
|
|
5410
|
+
__wbindgen_generic_000000000000000b: function(arg0, arg1) {
|
|
5371
5411
|
const ret = getArrayI8FromWasm0(arg0, arg1);
|
|
5372
5412
|
return ret;
|
|
5373
5413
|
},
|
|
5374
|
-
|
|
5414
|
+
__wbindgen_generic_000000000000000c: function(arg0, arg1) {
|
|
5375
5415
|
const ret = getArrayU16FromWasm0(arg0, arg1);
|
|
5376
5416
|
return ret;
|
|
5377
5417
|
},
|
|
5378
|
-
|
|
5418
|
+
__wbindgen_generic_000000000000000d: function(arg0, arg1) {
|
|
5379
5419
|
const ret = getArrayU32FromWasm0(arg0, arg1);
|
|
5380
5420
|
return ret;
|
|
5381
5421
|
},
|
|
5382
|
-
|
|
5422
|
+
__wbindgen_generic_000000000000000e: function(arg0, arg1) {
|
|
5383
5423
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5384
5424
|
return ret;
|
|
5385
5425
|
},
|
|
5386
|
-
|
|
5426
|
+
__wbindgen_generic_000000000000000f: function(arg0, arg1) {
|
|
5387
5427
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
5388
5428
|
return ret;
|
|
5389
5429
|
},
|
|
5390
|
-
|
|
5430
|
+
__wbindgen_generic_0000000000000010: function(arg0) {
|
|
5391
5431
|
const ret = BigInt.asUintN(64, arg0);
|
|
5392
5432
|
return ret;
|
|
5393
5433
|
},
|
|
5394
|
-
|
|
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
|
-
|
|
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
|
|
5422
|
-
wasm.
|
|
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
|
|
5425
|
-
wasm.
|
|
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
|
|
5428
|
-
wasm.
|
|
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
|
-
|
|
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,
|
|
5608
|
-
const state = { a: arg0, b: arg1, cnt: 1
|
|
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
|
-
|
|
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 =
|
|
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,
|
|
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]
|
|
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]
|
|
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])
|
|
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])
|
|
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) ?
|
|
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]
|
|
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 (`
|
|
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
|
|
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) ?
|
|
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.
|
|
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) ?
|
|
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) ?
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
7117
|
+
* Create a solid by extruding a 2D sketch profile.
|
|
7046
7118
|
*
|
|
7047
|
-
* Takes a sketch profile
|
|
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
|
|
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.
|
|
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) ?
|
|
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) ?
|
|
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) ?
|
|
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.
|
|
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) ?
|
|
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) ?
|
|
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) ?
|
|
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) ?
|
|
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) ?
|
|
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
|
|
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
|
|
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
|
|
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])
|
|
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
|
|
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])
|
|
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]
|
|
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
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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) =>
|
|
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.
|
|
84416
|
-
return "0.
|
|
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 = "
|
|
84426
|
-
BUILD_TIME = "2026-09-
|
|
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);
|