@vulfram/transport-wasm 0.5.8-alpha → 0.16.10-alpha
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 +5 -0
- package/lib/vulfram_core.d.ts +2 -2
- package/lib/vulfram_core.js +109 -358
- package/lib/vulfram_core_bg.wasm +0 -0
- package/lib/vulfram_core_bg.wasm.d.ts +2 -2
- package/package.json +3 -3
package/README.md
ADDED
package/lib/vulfram_core.d.ts
CHANGED
|
@@ -62,8 +62,8 @@ export interface InitOutput {
|
|
|
62
62
|
readonly vulfram_send_queue: (a: number, b: number) => number;
|
|
63
63
|
readonly vulfram_tick: (a: number, b: number) => number;
|
|
64
64
|
readonly vulfram_upload_buffer: (a: bigint, b: number, c: number, d: number) => number;
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
65
|
+
readonly __wasm_bindgen_func_elem_1291: (a: number, b: number, c: number) => void;
|
|
66
|
+
readonly __wasm_bindgen_func_elem_1290: (a: number, b: number) => void;
|
|
67
67
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
68
68
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
69
69
|
readonly __wbindgen_export3: (a: number) => void;
|
package/lib/vulfram_core.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
const lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : (typeof webkitAudioContext !== 'undefined' ? webkitAudioContext : undefined));
|
|
1
2
|
let wasm;
|
|
2
3
|
|
|
3
4
|
function addHeapObject(obj) {
|
|
@@ -84,11 +85,6 @@ function dropObject(idx) {
|
|
|
84
85
|
heap_next = idx;
|
|
85
86
|
}
|
|
86
87
|
|
|
87
|
-
function getArrayU32FromWasm0(ptr, len) {
|
|
88
|
-
ptr = ptr >>> 0;
|
|
89
|
-
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
88
|
function getArrayU8FromWasm0(ptr, len) {
|
|
93
89
|
ptr = ptr >>> 0;
|
|
94
90
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
@@ -107,14 +103,6 @@ function getStringFromWasm0(ptr, len) {
|
|
|
107
103
|
return decodeText(ptr, len);
|
|
108
104
|
}
|
|
109
105
|
|
|
110
|
-
let cachedUint32ArrayMemory0 = null;
|
|
111
|
-
function getUint32ArrayMemory0() {
|
|
112
|
-
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
113
|
-
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
114
|
-
}
|
|
115
|
-
return cachedUint32ArrayMemory0;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
106
|
let cachedUint8ArrayMemory0 = null;
|
|
119
107
|
function getUint8ArrayMemory0() {
|
|
120
108
|
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
@@ -249,48 +237,30 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
249
237
|
|
|
250
238
|
let WASM_VECTOR_LEN = 0;
|
|
251
239
|
|
|
252
|
-
function
|
|
253
|
-
wasm.
|
|
240
|
+
function __wasm_bindgen_func_elem_1291(arg0, arg1, arg2) {
|
|
241
|
+
wasm.__wasm_bindgen_func_elem_1291(arg0, arg1, addHeapObject(arg2));
|
|
254
242
|
}
|
|
255
243
|
|
|
256
244
|
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
|
|
257
245
|
|
|
258
|
-
const __wbindgen_enum_GpuBlendFactor = ["zero", "one", "src", "one-minus-src", "src-alpha", "one-minus-src-alpha", "dst", "one-minus-dst", "dst-alpha", "one-minus-dst-alpha", "src-alpha-saturated", "constant", "one-minus-constant", "src1", "one-minus-src1", "src1-alpha", "one-minus-src1-alpha"];
|
|
259
|
-
|
|
260
|
-
const __wbindgen_enum_GpuBlendOperation = ["add", "subtract", "reverse-subtract", "min", "max"];
|
|
261
|
-
|
|
262
246
|
const __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
|
|
263
247
|
|
|
264
248
|
const __wbindgen_enum_GpuCanvasAlphaMode = ["opaque", "premultiplied"];
|
|
265
249
|
|
|
266
250
|
const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equal", "greater", "not-equal", "greater-equal", "always"];
|
|
267
251
|
|
|
268
|
-
const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
|
|
269
|
-
|
|
270
252
|
const __wbindgen_enum_GpuFilterMode = ["nearest", "linear"];
|
|
271
253
|
|
|
272
|
-
const __wbindgen_enum_GpuFrontFace = ["ccw", "cw"];
|
|
273
|
-
|
|
274
|
-
const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
|
|
275
|
-
|
|
276
|
-
const __wbindgen_enum_GpuLoadOp = ["load", "clear"];
|
|
277
|
-
|
|
278
254
|
const __wbindgen_enum_GpuMipmapFilterMode = ["nearest", "linear"];
|
|
279
255
|
|
|
280
256
|
const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
|
|
281
257
|
|
|
282
|
-
const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
|
|
283
|
-
|
|
284
258
|
const __wbindgen_enum_GpuQueryType = ["occlusion", "timestamp"];
|
|
285
259
|
|
|
286
260
|
const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
|
|
287
261
|
|
|
288
|
-
const __wbindgen_enum_GpuStencilOperation = ["keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap"];
|
|
289
|
-
|
|
290
262
|
const __wbindgen_enum_GpuStorageTextureAccess = ["write-only", "read-only", "read-write"];
|
|
291
263
|
|
|
292
|
-
const __wbindgen_enum_GpuStoreOp = ["store", "discard"];
|
|
293
|
-
|
|
294
264
|
const __wbindgen_enum_GpuTextureAspect = ["all", "stencil-only", "depth-only"];
|
|
295
265
|
|
|
296
266
|
const __wbindgen_enum_GpuTextureDimension = ["1d", "2d", "3d"];
|
|
@@ -301,10 +271,6 @@ const __wbindgen_enum_GpuTextureSampleType = ["float", "unfilterable-float", "de
|
|
|
301
271
|
|
|
302
272
|
const __wbindgen_enum_GpuTextureViewDimension = ["1d", "2d", "2d-array", "cube", "cube-array", "3d"];
|
|
303
273
|
|
|
304
|
-
const __wbindgen_enum_GpuVertexFormat = ["uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra"];
|
|
305
|
-
|
|
306
|
-
const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
|
|
307
|
-
|
|
308
274
|
const BufferResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
309
275
|
? { register: () => {}, unregister: () => {} }
|
|
310
276
|
: new FinalizationRegistry(ptr => wasm.__wbg_bufferresult_free(ptr >>> 0, 1));
|
|
@@ -543,14 +509,6 @@ function __wbg_get_imports() {
|
|
|
543
509
|
const ret = getObject(arg0).axes;
|
|
544
510
|
return addHeapObject(ret);
|
|
545
511
|
};
|
|
546
|
-
imports.wbg.__wbg_beginComputePass_8971ad8382254094 = function(arg0, arg1) {
|
|
547
|
-
const ret = getObject(arg0).beginComputePass(getObject(arg1));
|
|
548
|
-
return addHeapObject(ret);
|
|
549
|
-
};
|
|
550
|
-
imports.wbg.__wbg_beginRenderPass_599b98d9a6ba5692 = function() { return handleError(function (arg0, arg1) {
|
|
551
|
-
const ret = getObject(arg0).beginRenderPass(getObject(arg1));
|
|
552
|
-
return addHeapObject(ret);
|
|
553
|
-
}, arguments) };
|
|
554
512
|
imports.wbg.__wbg_buffer_6cb2fecb1f253d71 = function(arg0) {
|
|
555
513
|
const ret = getObject(arg0).buffer;
|
|
556
514
|
return addHeapObject(ret);
|
|
@@ -563,10 +521,18 @@ function __wbg_get_imports() {
|
|
|
563
521
|
const ret = getObject(arg0).buttons;
|
|
564
522
|
return addHeapObject(ret);
|
|
565
523
|
};
|
|
524
|
+
imports.wbg.__wbg_call_3020136f7a2d6e44 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
525
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
526
|
+
return addHeapObject(ret);
|
|
527
|
+
}, arguments) };
|
|
566
528
|
imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) {
|
|
567
529
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
568
530
|
return addHeapObject(ret);
|
|
569
531
|
}, arguments) };
|
|
532
|
+
imports.wbg.__wbg_call_c8baa5c5e72d274e = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
533
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
534
|
+
return addHeapObject(ret);
|
|
535
|
+
}, arguments) };
|
|
570
536
|
imports.wbg.__wbg_clientHeight_2554d64d9b2dfc4f = function(arg0) {
|
|
571
537
|
const ret = getObject(arg0).clientHeight;
|
|
572
538
|
return ret;
|
|
@@ -593,6 +559,10 @@ function __wbg_get_imports() {
|
|
|
593
559
|
imports.wbg.__wbg_configure_bee5e0250d8526d5 = function() { return handleError(function (arg0, arg1) {
|
|
594
560
|
getObject(arg0).configure(getObject(arg1));
|
|
595
561
|
}, arguments) };
|
|
562
|
+
imports.wbg.__wbg_connect_f28a2db518e02462 = function() { return handleError(function (arg0, arg1) {
|
|
563
|
+
const ret = getObject(arg0).connect(getObject(arg1));
|
|
564
|
+
return addHeapObject(ret);
|
|
565
|
+
}, arguments) };
|
|
596
566
|
imports.wbg.__wbg_connected_6a7990d03eaa4de0 = function(arg0) {
|
|
597
567
|
const ret = getObject(arg0).connected;
|
|
598
568
|
return ret;
|
|
@@ -607,10 +577,10 @@ function __wbg_get_imports() {
|
|
|
607
577
|
const ret = getObject(arg0).createBindGroupLayout(getObject(arg1));
|
|
608
578
|
return addHeapObject(ret);
|
|
609
579
|
}, arguments) };
|
|
610
|
-
imports.wbg.
|
|
611
|
-
const ret = getObject(arg0).
|
|
580
|
+
imports.wbg.__wbg_createBufferSource_156317138619c7b0 = function() { return handleError(function (arg0) {
|
|
581
|
+
const ret = getObject(arg0).createBufferSource();
|
|
612
582
|
return addHeapObject(ret);
|
|
613
|
-
};
|
|
583
|
+
}, arguments) };
|
|
614
584
|
imports.wbg.__wbg_createBuffer_6e69283608e8f98f = function() { return handleError(function (arg0, arg1) {
|
|
615
585
|
const ret = getObject(arg0).createBuffer(getObject(arg1));
|
|
616
586
|
return addHeapObject(ret);
|
|
@@ -619,10 +589,14 @@ function __wbg_get_imports() {
|
|
|
619
589
|
const ret = getObject(arg0).createCommandEncoder(getObject(arg1));
|
|
620
590
|
return addHeapObject(ret);
|
|
621
591
|
};
|
|
622
|
-
imports.wbg.
|
|
623
|
-
const ret = getObject(arg0).
|
|
592
|
+
imports.wbg.__wbg_createGain_d5704df14f1e271f = function() { return handleError(function (arg0) {
|
|
593
|
+
const ret = getObject(arg0).createGain();
|
|
624
594
|
return addHeapObject(ret);
|
|
625
|
-
};
|
|
595
|
+
}, arguments) };
|
|
596
|
+
imports.wbg.__wbg_createPanner_6eee78ff41c322ef = function() { return handleError(function (arg0) {
|
|
597
|
+
const ret = getObject(arg0).createPanner();
|
|
598
|
+
return addHeapObject(ret);
|
|
599
|
+
}, arguments) };
|
|
626
600
|
imports.wbg.__wbg_createPipelineLayout_0f960a922b66be56 = function(arg0, arg1) {
|
|
627
601
|
const ret = getObject(arg0).createPipelineLayout(getObject(arg1));
|
|
628
602
|
return addHeapObject(ret);
|
|
@@ -631,10 +605,6 @@ function __wbg_get_imports() {
|
|
|
631
605
|
const ret = getObject(arg0).createQuerySet(getObject(arg1));
|
|
632
606
|
return addHeapObject(ret);
|
|
633
607
|
}, arguments) };
|
|
634
|
-
imports.wbg.__wbg_createRenderPipeline_725209221f17f288 = function() { return handleError(function (arg0, arg1) {
|
|
635
|
-
const ret = getObject(arg0).createRenderPipeline(getObject(arg1));
|
|
636
|
-
return addHeapObject(ret);
|
|
637
|
-
}, arguments) };
|
|
638
608
|
imports.wbg.__wbg_createSampler_36aca895fb724d8b = function(arg0, arg1) {
|
|
639
609
|
const ret = getObject(arg0).createSampler(getObject(arg1));
|
|
640
610
|
return addHeapObject(ret);
|
|
@@ -655,6 +625,14 @@ function __wbg_get_imports() {
|
|
|
655
625
|
const ret = getObject(arg0).ctrlKey;
|
|
656
626
|
return ret;
|
|
657
627
|
};
|
|
628
|
+
imports.wbg.__wbg_currentTime_7d6df02e29507923 = function(arg0) {
|
|
629
|
+
const ret = getObject(arg0).currentTime;
|
|
630
|
+
return ret;
|
|
631
|
+
};
|
|
632
|
+
imports.wbg.__wbg_decodeAudioData_42d949aa93be0811 = function() { return handleError(function (arg0, arg1) {
|
|
633
|
+
const ret = getObject(arg0).decodeAudioData(getObject(arg1));
|
|
634
|
+
return addHeapObject(ret);
|
|
635
|
+
}, arguments) };
|
|
658
636
|
imports.wbg.__wbg_deltaMode_d74ec093e23ffeec = function(arg0) {
|
|
659
637
|
const ret = getObject(arg0).deltaMode;
|
|
660
638
|
return ret;
|
|
@@ -667,24 +645,17 @@ function __wbg_get_imports() {
|
|
|
667
645
|
const ret = getObject(arg0).deltaY;
|
|
668
646
|
return ret;
|
|
669
647
|
};
|
|
670
|
-
imports.wbg.
|
|
671
|
-
getObject(arg0).
|
|
648
|
+
imports.wbg.__wbg_destination_1dd37feba0c0cab6 = function(arg0) {
|
|
649
|
+
const ret = getObject(arg0).destination;
|
|
650
|
+
return addHeapObject(ret);
|
|
672
651
|
};
|
|
673
652
|
imports.wbg.__wbg_document_5b745e82ba551ca5 = function(arg0) {
|
|
674
653
|
const ret = getObject(arg0).document;
|
|
675
654
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
676
655
|
};
|
|
677
|
-
imports.wbg.
|
|
678
|
-
getObject(arg0).
|
|
679
|
-
|
|
680
|
-
imports.wbg.__wbg_draw_3f782f0d09a907da = function(arg0, arg1, arg2, arg3, arg4) {
|
|
681
|
-
getObject(arg0).draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
682
|
-
};
|
|
683
|
-
imports.wbg.__wbg_end_8bb194afb9988691 = function(arg0) {
|
|
684
|
-
getObject(arg0).end();
|
|
685
|
-
};
|
|
686
|
-
imports.wbg.__wbg_end_ae98f313507234ce = function(arg0) {
|
|
687
|
-
getObject(arg0).end();
|
|
656
|
+
imports.wbg.__wbg_duration_d18723c667e9564a = function(arg0) {
|
|
657
|
+
const ret = getObject(arg0).duration;
|
|
658
|
+
return ret;
|
|
688
659
|
};
|
|
689
660
|
imports.wbg.__wbg_features_5d2c2677affa352d = function(arg0) {
|
|
690
661
|
const ret = getObject(arg0).features;
|
|
@@ -702,6 +673,10 @@ function __wbg_get_imports() {
|
|
|
702
673
|
const ret = Array.from(getObject(arg0));
|
|
703
674
|
return addHeapObject(ret);
|
|
704
675
|
};
|
|
676
|
+
imports.wbg.__wbg_gain_435505e65fb96146 = function(arg0) {
|
|
677
|
+
const ret = getObject(arg0).gain;
|
|
678
|
+
return addHeapObject(ret);
|
|
679
|
+
};
|
|
705
680
|
imports.wbg.__wbg_getBoundingClientRect_25e44a78507968b0 = function(arg0) {
|
|
706
681
|
const ret = getObject(arg0).getBoundingClientRect();
|
|
707
682
|
return addHeapObject(ret);
|
|
@@ -710,10 +685,6 @@ function __wbg_get_imports() {
|
|
|
710
685
|
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
|
|
711
686
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
712
687
|
}, arguments) };
|
|
713
|
-
imports.wbg.__wbg_getCurrentTexture_6dc4d0ea8555e374 = function() { return handleError(function (arg0) {
|
|
714
|
-
const ret = getObject(arg0).getCurrentTexture();
|
|
715
|
-
return addHeapObject(ret);
|
|
716
|
-
}, arguments) };
|
|
717
688
|
imports.wbg.__wbg_getElementById_e05488d2143c2b21 = function(arg0, arg1, arg2) {
|
|
718
689
|
const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
|
|
719
690
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
@@ -730,10 +701,18 @@ function __wbg_get_imports() {
|
|
|
730
701
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
731
702
|
return addHeapObject(ret);
|
|
732
703
|
};
|
|
704
|
+
imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) {
|
|
705
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
706
|
+
return addHeapObject(ret);
|
|
707
|
+
}, arguments) };
|
|
733
708
|
imports.wbg.__wbg_gpu_653e59c6ae8028a8 = function(arg0) {
|
|
734
709
|
const ret = getObject(arg0).gpu;
|
|
735
710
|
return addHeapObject(ret);
|
|
736
711
|
};
|
|
712
|
+
imports.wbg.__wbg_hasFocus_7d4687baa7939850 = function() { return handleError(function (arg0) {
|
|
713
|
+
const ret = getObject(arg0).hasFocus();
|
|
714
|
+
return ret;
|
|
715
|
+
}, arguments) };
|
|
737
716
|
imports.wbg.__wbg_has_f1efef5b257eade8 = function(arg0, arg1, arg2) {
|
|
738
717
|
const ret = getObject(arg0).has(getStringFromWasm0(arg1, arg2));
|
|
739
718
|
return ret;
|
|
@@ -745,6 +724,16 @@ function __wbg_get_imports() {
|
|
|
745
724
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
746
725
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
747
726
|
};
|
|
727
|
+
imports.wbg.__wbg_instanceof_AudioBuffer_e4cd61a20e97eab0 = function(arg0) {
|
|
728
|
+
let result;
|
|
729
|
+
try {
|
|
730
|
+
result = getObject(arg0) instanceof AudioBuffer;
|
|
731
|
+
} catch (_) {
|
|
732
|
+
result = false;
|
|
733
|
+
}
|
|
734
|
+
const ret = result;
|
|
735
|
+
return ret;
|
|
736
|
+
};
|
|
748
737
|
imports.wbg.__wbg_instanceof_GamepadButton_c6cd27aa389ac695 = function(arg0) {
|
|
749
738
|
let result;
|
|
750
739
|
try {
|
|
@@ -861,6 +850,10 @@ function __wbg_get_imports() {
|
|
|
861
850
|
const ret = getObject(arg0).limits;
|
|
862
851
|
return addHeapObject(ret);
|
|
863
852
|
};
|
|
853
|
+
imports.wbg.__wbg_listener_809b6806968e08f8 = function(arg0) {
|
|
854
|
+
const ret = getObject(arg0).listener;
|
|
855
|
+
return addHeapObject(ret);
|
|
856
|
+
};
|
|
864
857
|
imports.wbg.__wbg_location_0ef648bbeb3e599c = function(arg0) {
|
|
865
858
|
const ret = getObject(arg0).location;
|
|
866
859
|
return ret;
|
|
@@ -1005,6 +998,10 @@ function __wbg_get_imports() {
|
|
|
1005
998
|
const ret = new Array();
|
|
1006
999
|
return addHeapObject(ret);
|
|
1007
1000
|
};
|
|
1001
|
+
imports.wbg.__wbg_new_5e542c992f14cb6f = function() { return handleError(function () {
|
|
1002
|
+
const ret = new lAudioContext();
|
|
1003
|
+
return addHeapObject(ret);
|
|
1004
|
+
}, arguments) };
|
|
1008
1005
|
imports.wbg.__wbg_new_from_slice_f9c22b9153b26992 = function(arg0, arg1) {
|
|
1009
1006
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1010
1007
|
return addHeapObject(ret);
|
|
@@ -1021,6 +1018,10 @@ function __wbg_get_imports() {
|
|
|
1021
1018
|
const ret = getObject(arg0).onSubmittedWorkDone();
|
|
1022
1019
|
return addHeapObject(ret);
|
|
1023
1020
|
};
|
|
1021
|
+
imports.wbg.__wbg_playbackRate_422af96f0434a11e = function(arg0) {
|
|
1022
|
+
const ret = getObject(arg0).playbackRate;
|
|
1023
|
+
return addHeapObject(ret);
|
|
1024
|
+
};
|
|
1024
1025
|
imports.wbg.__wbg_pointerId_bf4326e151df1474 = function(arg0) {
|
|
1025
1026
|
const ret = getObject(arg0).pointerId;
|
|
1026
1027
|
return ret;
|
|
@@ -1051,6 +1052,9 @@ function __wbg_get_imports() {
|
|
|
1051
1052
|
const ret = getObject(arg0).queue;
|
|
1052
1053
|
return addHeapObject(ret);
|
|
1053
1054
|
};
|
|
1055
|
+
imports.wbg.__wbg_removeEventListener_565e273024b68b75 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1056
|
+
getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
1057
|
+
}, arguments) };
|
|
1054
1058
|
imports.wbg.__wbg_repeat_3733d1d584bf0e38 = function(arg0) {
|
|
1055
1059
|
const ret = getObject(arg0).repeat;
|
|
1056
1060
|
return ret;
|
|
@@ -1067,40 +1071,22 @@ function __wbg_get_imports() {
|
|
|
1067
1071
|
const ret = Promise.resolve(getObject(arg0));
|
|
1068
1072
|
return addHeapObject(ret);
|
|
1069
1073
|
};
|
|
1070
|
-
imports.wbg.
|
|
1071
|
-
getObject(arg0).
|
|
1072
|
-
};
|
|
1073
|
-
imports.wbg.__wbg_setBindGroup_bf7233e51ee0fd56 = function(arg0, arg1, arg2) {
|
|
1074
|
-
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
|
|
1075
|
-
};
|
|
1076
|
-
imports.wbg.__wbg_setBindGroup_c532d9e80c3b863a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1077
|
-
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2), getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
1078
|
-
}, arguments) };
|
|
1079
|
-
imports.wbg.__wbg_setIndexBuffer_d6851b016152211a = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1080
|
-
getObject(arg0).setIndexBuffer(getObject(arg1), __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
1074
|
+
imports.wbg.__wbg_setOrientation_b1947815d07c384d = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1075
|
+
getObject(arg0).setOrientation(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
1081
1076
|
};
|
|
1082
|
-
imports.wbg.
|
|
1083
|
-
getObject(arg0).
|
|
1077
|
+
imports.wbg.__wbg_setOrientation_edf6d9270c35af16 = function(arg0, arg1, arg2, arg3) {
|
|
1078
|
+
getObject(arg0).setOrientation(arg1, arg2, arg3);
|
|
1084
1079
|
};
|
|
1085
|
-
imports.wbg.
|
|
1086
|
-
getObject(arg0).
|
|
1080
|
+
imports.wbg.__wbg_setPosition_96fcdcaf9ef69feb = function(arg0, arg1, arg2, arg3) {
|
|
1081
|
+
getObject(arg0).setPosition(arg1, arg2, arg3);
|
|
1087
1082
|
};
|
|
1088
|
-
imports.wbg.
|
|
1089
|
-
getObject(arg0).
|
|
1090
|
-
};
|
|
1091
|
-
imports.wbg.__wbg_setVertexBuffer_c8234139ead62a61 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1092
|
-
getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3, arg4);
|
|
1093
|
-
};
|
|
1094
|
-
imports.wbg.__wbg_setViewport_b25340c5cfc5e64f = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1095
|
-
getObject(arg0).setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
1083
|
+
imports.wbg.__wbg_setPosition_e30bf00b6eb1505f = function(arg0, arg1, arg2, arg3) {
|
|
1084
|
+
getObject(arg0).setPosition(arg1, arg2, arg3);
|
|
1096
1085
|
};
|
|
1097
1086
|
imports.wbg.__wbg_set_781438a03c0c3c81 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1098
1087
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
1099
1088
|
return ret;
|
|
1100
1089
|
}, arguments) };
|
|
1101
|
-
imports.wbg.__wbg_set_a_e87a2053d5fccb4c = function(arg0, arg1) {
|
|
1102
|
-
getObject(arg0).a = arg1;
|
|
1103
|
-
};
|
|
1104
1090
|
imports.wbg.__wbg_set_access_69d91e9d4e4ceac2 = function(arg0, arg1) {
|
|
1105
1091
|
getObject(arg0).access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
|
|
1106
1092
|
};
|
|
@@ -1113,135 +1099,60 @@ function __wbg_get_imports() {
|
|
|
1113
1099
|
imports.wbg.__wbg_set_address_mode_w_2445963d0feae757 = function(arg0, arg1) {
|
|
1114
1100
|
getObject(arg0).addressModeW = __wbindgen_enum_GpuAddressMode[arg1];
|
|
1115
1101
|
};
|
|
1116
|
-
imports.wbg.__wbg_set_alpha_a7a68e5ec04efe77 = function(arg0, arg1) {
|
|
1117
|
-
getObject(arg0).alpha = getObject(arg1);
|
|
1118
|
-
};
|
|
1119
1102
|
imports.wbg.__wbg_set_alpha_mode_60f87267fa3d95d0 = function(arg0, arg1) {
|
|
1120
1103
|
getObject(arg0).alphaMode = __wbindgen_enum_GpuCanvasAlphaMode[arg1];
|
|
1121
1104
|
};
|
|
1122
|
-
imports.wbg.__wbg_set_alpha_to_coverage_enabled_67782b8fff854d06 = function(arg0, arg1) {
|
|
1123
|
-
getObject(arg0).alphaToCoverageEnabled = arg1 !== 0;
|
|
1124
|
-
};
|
|
1125
1105
|
imports.wbg.__wbg_set_array_layer_count_2bd74e56899b603a = function(arg0, arg1) {
|
|
1126
1106
|
getObject(arg0).arrayLayerCount = arg1 >>> 0;
|
|
1127
1107
|
};
|
|
1128
|
-
imports.wbg.__wbg_set_array_stride_acb85bd3848529a6 = function(arg0, arg1) {
|
|
1129
|
-
getObject(arg0).arrayStride = arg1;
|
|
1130
|
-
};
|
|
1131
1108
|
imports.wbg.__wbg_set_aspect_82ca9caa27a4c533 = function(arg0, arg1) {
|
|
1132
1109
|
getObject(arg0).aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
1133
1110
|
};
|
|
1134
1111
|
imports.wbg.__wbg_set_aspect_b78bd0b34ebfe19b = function(arg0, arg1) {
|
|
1135
1112
|
getObject(arg0).aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
1136
1113
|
};
|
|
1137
|
-
imports.wbg.__wbg_set_attributes_4d5de6c80e3a7e73 = function(arg0, arg1) {
|
|
1138
|
-
getObject(arg0).attributes = getObject(arg1);
|
|
1139
|
-
};
|
|
1140
|
-
imports.wbg.__wbg_set_b_87725d82ac69a631 = function(arg0, arg1) {
|
|
1141
|
-
getObject(arg0).b = arg1;
|
|
1142
|
-
};
|
|
1143
1114
|
imports.wbg.__wbg_set_base_array_layer_064977086530f2e7 = function(arg0, arg1) {
|
|
1144
1115
|
getObject(arg0).baseArrayLayer = arg1 >>> 0;
|
|
1145
1116
|
};
|
|
1146
1117
|
imports.wbg.__wbg_set_base_mip_level_845abe28a57bd901 = function(arg0, arg1) {
|
|
1147
1118
|
getObject(arg0).baseMipLevel = arg1 >>> 0;
|
|
1148
1119
|
};
|
|
1149
|
-
imports.wbg.__wbg_set_beginning_of_pass_write_index_18bb7ab9fb16de02 = function(arg0, arg1) {
|
|
1150
|
-
getObject(arg0).beginningOfPassWriteIndex = arg1 >>> 0;
|
|
1151
|
-
};
|
|
1152
1120
|
imports.wbg.__wbg_set_bind_group_layouts_db65f9787380e242 = function(arg0, arg1) {
|
|
1153
1121
|
getObject(arg0).bindGroupLayouts = getObject(arg1);
|
|
1154
1122
|
};
|
|
1155
1123
|
imports.wbg.__wbg_set_binding_35fa28beda49ff83 = function(arg0, arg1) {
|
|
1156
1124
|
getObject(arg0).binding = arg1 >>> 0;
|
|
1157
1125
|
};
|
|
1158
|
-
imports.wbg.
|
|
1159
|
-
getObject(arg0).binding = arg1 >>> 0;
|
|
1160
|
-
};
|
|
1161
|
-
imports.wbg.__wbg_set_blend_21337ec514ad2280 = function(arg0, arg1) {
|
|
1162
|
-
getObject(arg0).blend = getObject(arg1);
|
|
1163
|
-
};
|
|
1164
|
-
imports.wbg.__wbg_set_buffer_a9223dfcc0e34853 = function(arg0, arg1) {
|
|
1126
|
+
imports.wbg.__wbg_set_buffer_25c70ce663d1667c = function(arg0, arg1) {
|
|
1165
1127
|
getObject(arg0).buffer = getObject(arg1);
|
|
1166
1128
|
};
|
|
1167
1129
|
imports.wbg.__wbg_set_buffer_d49e95bb5349d827 = function(arg0, arg1) {
|
|
1168
1130
|
getObject(arg0).buffer = getObject(arg1);
|
|
1169
1131
|
};
|
|
1170
|
-
imports.wbg.__wbg_set_buffers_68609a5d48c31b27 = function(arg0, arg1) {
|
|
1171
|
-
getObject(arg0).buffers = getObject(arg1);
|
|
1172
|
-
};
|
|
1173
1132
|
imports.wbg.__wbg_set_bytes_per_row_4a52bbf4cdbfe78b = function(arg0, arg1) {
|
|
1174
1133
|
getObject(arg0).bytesPerRow = arg1 >>> 0;
|
|
1175
1134
|
};
|
|
1176
|
-
imports.wbg.__wbg_set_clear_value_8fc3623594df71b2 = function(arg0, arg1) {
|
|
1177
|
-
getObject(arg0).clearValue = getObject(arg1);
|
|
1178
|
-
};
|
|
1179
1135
|
imports.wbg.__wbg_set_code_20093e29960281f8 = function(arg0, arg1, arg2) {
|
|
1180
1136
|
getObject(arg0).code = getStringFromWasm0(arg1, arg2);
|
|
1181
1137
|
};
|
|
1182
|
-
imports.wbg.__wbg_set_color_64a633bf7b4cf6fe = function(arg0, arg1) {
|
|
1183
|
-
getObject(arg0).color = getObject(arg1);
|
|
1184
|
-
};
|
|
1185
|
-
imports.wbg.__wbg_set_color_attachments_4d4c71d7eeba8e2f = function(arg0, arg1) {
|
|
1186
|
-
getObject(arg0).colorAttachments = getObject(arg1);
|
|
1187
|
-
};
|
|
1188
1138
|
imports.wbg.__wbg_set_compare_0376672b0c0bbfd8 = function(arg0, arg1) {
|
|
1189
1139
|
getObject(arg0).compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
1190
1140
|
};
|
|
1191
|
-
imports.wbg.
|
|
1192
|
-
getObject(arg0).
|
|
1141
|
+
imports.wbg.__wbg_set_coneInnerAngle_af42eec2f168ddc5 = function(arg0, arg1) {
|
|
1142
|
+
getObject(arg0).coneInnerAngle = arg1;
|
|
1193
1143
|
};
|
|
1194
|
-
imports.wbg.
|
|
1195
|
-
getObject(arg0).
|
|
1144
|
+
imports.wbg.__wbg_set_coneOuterAngle_c2878fcc34175281 = function(arg0, arg1) {
|
|
1145
|
+
getObject(arg0).coneOuterAngle = arg1;
|
|
1196
1146
|
};
|
|
1197
|
-
imports.wbg.
|
|
1198
|
-
getObject(arg0).
|
|
1147
|
+
imports.wbg.__wbg_set_coneOuterGain_7d35d8bf8e95a699 = function(arg0, arg1) {
|
|
1148
|
+
getObject(arg0).coneOuterGain = arg1;
|
|
1199
1149
|
};
|
|
1200
|
-
imports.wbg.
|
|
1150
|
+
imports.wbg.__wbg_set_count_6f4f66c8eedc9bba = function(arg0, arg1) {
|
|
1201
1151
|
getObject(arg0).count = arg1 >>> 0;
|
|
1202
1152
|
};
|
|
1203
|
-
imports.wbg.__wbg_set_cull_mode_41c12526410d3e05 = function(arg0, arg1) {
|
|
1204
|
-
getObject(arg0).cullMode = __wbindgen_enum_GpuCullMode[arg1];
|
|
1205
|
-
};
|
|
1206
|
-
imports.wbg.__wbg_set_depth_bias_31554aeaaa675954 = function(arg0, arg1) {
|
|
1207
|
-
getObject(arg0).depthBias = arg1;
|
|
1208
|
-
};
|
|
1209
|
-
imports.wbg.__wbg_set_depth_bias_clamp_8cf5f4f0d80e8cba = function(arg0, arg1) {
|
|
1210
|
-
getObject(arg0).depthBiasClamp = arg1;
|
|
1211
|
-
};
|
|
1212
|
-
imports.wbg.__wbg_set_depth_bias_slope_scale_310ae406f2d3a055 = function(arg0, arg1) {
|
|
1213
|
-
getObject(arg0).depthBiasSlopeScale = arg1;
|
|
1214
|
-
};
|
|
1215
|
-
imports.wbg.__wbg_set_depth_clear_value_8760aafb583d5312 = function(arg0, arg1) {
|
|
1216
|
-
getObject(arg0).depthClearValue = arg1;
|
|
1217
|
-
};
|
|
1218
|
-
imports.wbg.__wbg_set_depth_compare_8831904ce3173063 = function(arg0, arg1) {
|
|
1219
|
-
getObject(arg0).depthCompare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
1220
|
-
};
|
|
1221
|
-
imports.wbg.__wbg_set_depth_fail_op_62ec602580477afc = function(arg0, arg1) {
|
|
1222
|
-
getObject(arg0).depthFailOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
1223
|
-
};
|
|
1224
|
-
imports.wbg.__wbg_set_depth_load_op_102d57f3ddf95461 = function(arg0, arg1) {
|
|
1225
|
-
getObject(arg0).depthLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
1226
|
-
};
|
|
1227
1153
|
imports.wbg.__wbg_set_depth_or_array_layers_d7b93db07c5da69d = function(arg0, arg1) {
|
|
1228
1154
|
getObject(arg0).depthOrArrayLayers = arg1 >>> 0;
|
|
1229
1155
|
};
|
|
1230
|
-
imports.wbg.__wbg_set_depth_read_only_aebc24a542debafd = function(arg0, arg1) {
|
|
1231
|
-
getObject(arg0).depthReadOnly = arg1 !== 0;
|
|
1232
|
-
};
|
|
1233
|
-
imports.wbg.__wbg_set_depth_stencil_5627e73aaf33912c = function(arg0, arg1) {
|
|
1234
|
-
getObject(arg0).depthStencil = getObject(arg1);
|
|
1235
|
-
};
|
|
1236
|
-
imports.wbg.__wbg_set_depth_stencil_attachment_04b936535778e362 = function(arg0, arg1) {
|
|
1237
|
-
getObject(arg0).depthStencilAttachment = getObject(arg1);
|
|
1238
|
-
};
|
|
1239
|
-
imports.wbg.__wbg_set_depth_store_op_610b0a50dbb00eb8 = function(arg0, arg1) {
|
|
1240
|
-
getObject(arg0).depthStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
1241
|
-
};
|
|
1242
|
-
imports.wbg.__wbg_set_depth_write_enabled_f94217df9ff2d60c = function(arg0, arg1) {
|
|
1243
|
-
getObject(arg0).depthWriteEnabled = arg1 !== 0;
|
|
1244
|
-
};
|
|
1245
1156
|
imports.wbg.__wbg_set_device_dab18ead7bfc077b = function(arg0, arg1) {
|
|
1246
1157
|
getObject(arg0).device = getObject(arg1);
|
|
1247
1158
|
};
|
|
@@ -1251,33 +1162,12 @@ function __wbg_get_imports() {
|
|
|
1251
1162
|
imports.wbg.__wbg_set_dimension_a3c50fb6d43f6cec = function(arg0, arg1) {
|
|
1252
1163
|
getObject(arg0).dimension = __wbindgen_enum_GpuTextureDimension[arg1];
|
|
1253
1164
|
};
|
|
1254
|
-
imports.wbg.__wbg_set_dst_factor_cf872fec841747ac = function(arg0, arg1) {
|
|
1255
|
-
getObject(arg0).dstFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
1256
|
-
};
|
|
1257
|
-
imports.wbg.__wbg_set_end_of_pass_write_index_02ee5189026c1d3a = function(arg0, arg1) {
|
|
1258
|
-
getObject(arg0).endOfPassWriteIndex = arg1 >>> 0;
|
|
1259
|
-
};
|
|
1260
|
-
imports.wbg.__wbg_set_entries_1472deaee7053fb7 = function(arg0, arg1) {
|
|
1261
|
-
getObject(arg0).entries = getObject(arg1);
|
|
1262
|
-
};
|
|
1263
1165
|
imports.wbg.__wbg_set_entries_b2258b5ef29810b0 = function(arg0, arg1) {
|
|
1264
1166
|
getObject(arg0).entries = getObject(arg1);
|
|
1265
1167
|
};
|
|
1266
|
-
imports.wbg.__wbg_set_entry_point_11f912102ade99b1 = function(arg0, arg1, arg2) {
|
|
1267
|
-
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
1268
|
-
};
|
|
1269
|
-
imports.wbg.__wbg_set_entry_point_7f546bbf1e63e58d = function(arg0, arg1, arg2) {
|
|
1270
|
-
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
1271
|
-
};
|
|
1272
|
-
imports.wbg.__wbg_set_entry_point_f9224cdb29cbe5df = function(arg0, arg1, arg2) {
|
|
1273
|
-
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
1274
|
-
};
|
|
1275
1168
|
imports.wbg.__wbg_set_external_texture_613e4434100d63ee = function(arg0, arg1) {
|
|
1276
1169
|
getObject(arg0).externalTexture = getObject(arg1);
|
|
1277
1170
|
};
|
|
1278
|
-
imports.wbg.__wbg_set_fail_op_73a4e194f4bc914a = function(arg0, arg1) {
|
|
1279
|
-
getObject(arg0).failOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
1280
|
-
};
|
|
1281
1171
|
imports.wbg.__wbg_set_format_1670e760e18ac001 = function(arg0, arg1) {
|
|
1282
1172
|
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1283
1173
|
};
|
|
@@ -1287,27 +1177,9 @@ function __wbg_get_imports() {
|
|
|
1287
1177
|
imports.wbg.__wbg_set_format_25e4aacc74949e38 = function(arg0, arg1) {
|
|
1288
1178
|
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1289
1179
|
};
|
|
1290
|
-
imports.wbg.__wbg_set_format_3f7008e9e568f0fc = function(arg0, arg1) {
|
|
1291
|
-
getObject(arg0).format = __wbindgen_enum_GpuVertexFormat[arg1];
|
|
1292
|
-
};
|
|
1293
|
-
imports.wbg.__wbg_set_format_4a4fccdfc45bc409 = function(arg0, arg1) {
|
|
1294
|
-
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1295
|
-
};
|
|
1296
1180
|
imports.wbg.__wbg_set_format_7696f8290da8a36b = function(arg0, arg1) {
|
|
1297
1181
|
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1298
1182
|
};
|
|
1299
|
-
imports.wbg.__wbg_set_format_974a01725f579c5d = function(arg0, arg1) {
|
|
1300
|
-
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1301
|
-
};
|
|
1302
|
-
imports.wbg.__wbg_set_fragment_f7ce64feaf1cd7dc = function(arg0, arg1) {
|
|
1303
|
-
getObject(arg0).fragment = getObject(arg1);
|
|
1304
|
-
};
|
|
1305
|
-
imports.wbg.__wbg_set_front_face_09e32557f8852301 = function(arg0, arg1) {
|
|
1306
|
-
getObject(arg0).frontFace = __wbindgen_enum_GpuFrontFace[arg1];
|
|
1307
|
-
};
|
|
1308
|
-
imports.wbg.__wbg_set_g_c31c959457596456 = function(arg0, arg1) {
|
|
1309
|
-
getObject(arg0).g = arg1;
|
|
1310
|
-
};
|
|
1311
1183
|
imports.wbg.__wbg_set_has_dynamic_offset_fbc1bb343939ed0b = function(arg0, arg1) {
|
|
1312
1184
|
getObject(arg0).hasDynamicOffset = arg1 !== 0;
|
|
1313
1185
|
};
|
|
@@ -1326,9 +1198,6 @@ function __wbg_get_imports() {
|
|
|
1326
1198
|
imports.wbg.__wbg_set_label_0ec13ba975f77124 = function(arg0, arg1, arg2) {
|
|
1327
1199
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1328
1200
|
};
|
|
1329
|
-
imports.wbg.__wbg_set_label_3b658d9ce970552c = function(arg0, arg1, arg2) {
|
|
1330
|
-
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1331
|
-
};
|
|
1332
1201
|
imports.wbg.__wbg_set_label_48883f5f49e4ec47 = function(arg0, arg1, arg2) {
|
|
1333
1202
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1334
1203
|
};
|
|
@@ -1338,59 +1207,38 @@ function __wbg_get_imports() {
|
|
|
1338
1207
|
imports.wbg.__wbg_set_label_4f4264b0041180e2 = function(arg0, arg1, arg2) {
|
|
1339
1208
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1340
1209
|
};
|
|
1341
|
-
imports.wbg.__wbg_set_label_5b46e419b9e88c5e = function(arg0, arg1, arg2) {
|
|
1342
|
-
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1343
|
-
};
|
|
1344
1210
|
imports.wbg.__wbg_set_label_95423cd2e1f4b5dd = function(arg0, arg1, arg2) {
|
|
1345
1211
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1346
1212
|
};
|
|
1347
|
-
imports.wbg.__wbg_set_label_ad0f2c69b41c3483 = function(arg0, arg1, arg2) {
|
|
1348
|
-
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1349
|
-
};
|
|
1350
1213
|
imports.wbg.__wbg_set_label_c3fc0a66f4ecc82b = function(arg0, arg1, arg2) {
|
|
1351
1214
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1352
1215
|
};
|
|
1353
1216
|
imports.wbg.__wbg_set_label_c857f45a8485236a = function(arg0, arg1, arg2) {
|
|
1354
1217
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1355
1218
|
};
|
|
1356
|
-
imports.wbg.__wbg_set_label_d0fd4d4810525bf2 = function(arg0, arg1, arg2) {
|
|
1357
|
-
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1358
|
-
};
|
|
1359
1219
|
imports.wbg.__wbg_set_label_dc8df9969898889c = function(arg0, arg1, arg2) {
|
|
1360
1220
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1361
1221
|
};
|
|
1362
1222
|
imports.wbg.__wbg_set_label_e3709fe3e82429b5 = function(arg0, arg1, arg2) {
|
|
1363
1223
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1364
1224
|
};
|
|
1365
|
-
imports.wbg.__wbg_set_label_fb5d28b3ba7af11f = function(arg0, arg1, arg2) {
|
|
1366
|
-
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1367
|
-
};
|
|
1368
|
-
imports.wbg.__wbg_set_layout_170ec6b8aa37178f = function(arg0, arg1) {
|
|
1369
|
-
getObject(arg0).layout = getObject(arg1);
|
|
1370
|
-
};
|
|
1371
|
-
imports.wbg.__wbg_set_layout_7f76289be3294b4a = function(arg0, arg1) {
|
|
1372
|
-
getObject(arg0).layout = getObject(arg1);
|
|
1373
|
-
};
|
|
1374
|
-
imports.wbg.__wbg_set_layout_c20d48b352b24c1b = function(arg0, arg1) {
|
|
1375
|
-
getObject(arg0).layout = getObject(arg1);
|
|
1376
|
-
};
|
|
1377
|
-
imports.wbg.__wbg_set_load_op_c71d200e998908b0 = function(arg0, arg1) {
|
|
1378
|
-
getObject(arg0).loadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
1379
|
-
};
|
|
1380
1225
|
imports.wbg.__wbg_set_lod_max_clamp_aaac5daaecca96d4 = function(arg0, arg1) {
|
|
1381
1226
|
getObject(arg0).lodMaxClamp = arg1;
|
|
1382
1227
|
};
|
|
1383
1228
|
imports.wbg.__wbg_set_lod_min_clamp_ed2162d4b198abba = function(arg0, arg1) {
|
|
1384
1229
|
getObject(arg0).lodMinClamp = arg1;
|
|
1385
1230
|
};
|
|
1231
|
+
imports.wbg.__wbg_set_loop_8096808d7e93a3af = function(arg0, arg1) {
|
|
1232
|
+
getObject(arg0).loop = arg1 !== 0;
|
|
1233
|
+
};
|
|
1386
1234
|
imports.wbg.__wbg_set_mag_filter_c8a8c1218cd38da6 = function(arg0, arg1) {
|
|
1387
1235
|
getObject(arg0).magFilter = __wbindgen_enum_GpuFilterMode[arg1];
|
|
1388
1236
|
};
|
|
1389
1237
|
imports.wbg.__wbg_set_mapped_at_creation_2d003ce549611385 = function(arg0, arg1) {
|
|
1390
1238
|
getObject(arg0).mappedAtCreation = arg1 !== 0;
|
|
1391
1239
|
};
|
|
1392
|
-
imports.wbg.
|
|
1393
|
-
getObject(arg0).
|
|
1240
|
+
imports.wbg.__wbg_set_maxDistance_6e90d383a13ce970 = function(arg0, arg1) {
|
|
1241
|
+
getObject(arg0).maxDistance = arg1;
|
|
1394
1242
|
};
|
|
1395
1243
|
imports.wbg.__wbg_set_max_anisotropy_fb4bae64cb5acf57 = function(arg0, arg1) {
|
|
1396
1244
|
getObject(arg0).maxAnisotropy = arg1;
|
|
@@ -1413,59 +1261,26 @@ function __wbg_get_imports() {
|
|
|
1413
1261
|
imports.wbg.__wbg_set_mipmap_filter_79f552c459e63aa6 = function(arg0, arg1) {
|
|
1414
1262
|
getObject(arg0).mipmapFilter = __wbindgen_enum_GpuMipmapFilterMode[arg1];
|
|
1415
1263
|
};
|
|
1416
|
-
imports.wbg.__wbg_set_module_18d541838665d831 = function(arg0, arg1) {
|
|
1417
|
-
getObject(arg0).module = getObject(arg1);
|
|
1418
|
-
};
|
|
1419
|
-
imports.wbg.__wbg_set_module_20641353ebb28712 = function(arg0, arg1) {
|
|
1420
|
-
getObject(arg0).module = getObject(arg1);
|
|
1421
|
-
};
|
|
1422
|
-
imports.wbg.__wbg_set_module_6ece909be28666dd = function(arg0, arg1) {
|
|
1423
|
-
getObject(arg0).module = getObject(arg1);
|
|
1424
|
-
};
|
|
1425
|
-
imports.wbg.__wbg_set_multisample_e0f310ea9e40c2d9 = function(arg0, arg1) {
|
|
1426
|
-
getObject(arg0).multisample = getObject(arg1);
|
|
1427
|
-
};
|
|
1428
1264
|
imports.wbg.__wbg_set_multisampled_cd50d8f6709cea1a = function(arg0, arg1) {
|
|
1429
1265
|
getObject(arg0).multisampled = arg1 !== 0;
|
|
1430
1266
|
};
|
|
1431
|
-
imports.wbg.__wbg_set_offset_2e78915f5d65d704 = function(arg0, arg1) {
|
|
1432
|
-
getObject(arg0).offset = arg1;
|
|
1433
|
-
};
|
|
1434
|
-
imports.wbg.__wbg_set_offset_405017033a936d89 = function(arg0, arg1) {
|
|
1435
|
-
getObject(arg0).offset = arg1;
|
|
1436
|
-
};
|
|
1437
1267
|
imports.wbg.__wbg_set_offset_e7ce8b8eaaf46b95 = function(arg0, arg1) {
|
|
1438
1268
|
getObject(arg0).offset = arg1;
|
|
1439
1269
|
};
|
|
1440
|
-
imports.wbg.__wbg_set_operation_b96fabca3716aaa3 = function(arg0, arg1) {
|
|
1441
|
-
getObject(arg0).operation = __wbindgen_enum_GpuBlendOperation[arg1];
|
|
1442
|
-
};
|
|
1443
1270
|
imports.wbg.__wbg_set_origin_c5f017d3f09ad7ff = function(arg0, arg1) {
|
|
1444
1271
|
getObject(arg0).origin = getObject(arg1);
|
|
1445
1272
|
};
|
|
1446
|
-
imports.wbg.__wbg_set_pass_op_765be90bb2f27220 = function(arg0, arg1) {
|
|
1447
|
-
getObject(arg0).passOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
1448
|
-
};
|
|
1449
1273
|
imports.wbg.__wbg_set_power_preference_39b347bf0d236ce6 = function(arg0, arg1) {
|
|
1450
1274
|
getObject(arg0).powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
|
|
1451
1275
|
};
|
|
1452
|
-
imports.wbg.
|
|
1453
|
-
getObject(arg0).
|
|
1454
|
-
};
|
|
1455
|
-
imports.wbg.__wbg_set_query_set_20ecd7f9a16f3ec6 = function(arg0, arg1) {
|
|
1456
|
-
getObject(arg0).querySet = getObject(arg1);
|
|
1457
|
-
};
|
|
1458
|
-
imports.wbg.__wbg_set_r_07bd987697069496 = function(arg0, arg1) {
|
|
1459
|
-
getObject(arg0).r = arg1;
|
|
1276
|
+
imports.wbg.__wbg_set_refDistance_0cb593d4e4e1273f = function(arg0, arg1) {
|
|
1277
|
+
getObject(arg0).refDistance = arg1;
|
|
1460
1278
|
};
|
|
1461
1279
|
imports.wbg.__wbg_set_required_features_650c9e5dafbaa395 = function(arg0, arg1) {
|
|
1462
1280
|
getObject(arg0).requiredFeatures = getObject(arg1);
|
|
1463
1281
|
};
|
|
1464
|
-
imports.wbg.
|
|
1465
|
-
getObject(arg0).
|
|
1466
|
-
};
|
|
1467
|
-
imports.wbg.__wbg_set_resource_8cea0fe2c8745c3e = function(arg0, arg1) {
|
|
1468
|
-
getObject(arg0).resource = getObject(arg1);
|
|
1282
|
+
imports.wbg.__wbg_set_rolloffFactor_d99bd3cbca2a952c = function(arg0, arg1) {
|
|
1283
|
+
getObject(arg0).rolloffFactor = arg1;
|
|
1469
1284
|
};
|
|
1470
1285
|
imports.wbg.__wbg_set_rows_per_image_2f7969031c71f0d8 = function(arg0, arg1) {
|
|
1471
1286
|
getObject(arg0).rowsPerImage = arg1 >>> 0;
|
|
@@ -1479,72 +1294,21 @@ function __wbg_get_imports() {
|
|
|
1479
1294
|
imports.wbg.__wbg_set_sampler_1a2729c0aa194081 = function(arg0, arg1) {
|
|
1480
1295
|
getObject(arg0).sampler = getObject(arg1);
|
|
1481
1296
|
};
|
|
1482
|
-
imports.wbg.__wbg_set_shader_location_bdcfdc1009d351b1 = function(arg0, arg1) {
|
|
1483
|
-
getObject(arg0).shaderLocation = arg1 >>> 0;
|
|
1484
|
-
};
|
|
1485
|
-
imports.wbg.__wbg_set_size_7a392ee585f87da8 = function(arg0, arg1) {
|
|
1486
|
-
getObject(arg0).size = arg1;
|
|
1487
|
-
};
|
|
1488
1297
|
imports.wbg.__wbg_set_size_c6bf409f70f4420f = function(arg0, arg1) {
|
|
1489
1298
|
getObject(arg0).size = getObject(arg1);
|
|
1490
1299
|
};
|
|
1491
1300
|
imports.wbg.__wbg_set_size_f902b266d636bf6e = function(arg0, arg1) {
|
|
1492
1301
|
getObject(arg0).size = arg1;
|
|
1493
1302
|
};
|
|
1494
|
-
imports.wbg.__wbg_set_src_factor_50cef27aa8aece91 = function(arg0, arg1) {
|
|
1495
|
-
getObject(arg0).srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
1496
|
-
};
|
|
1497
|
-
imports.wbg.__wbg_set_stencil_back_e740415a5c0b637a = function(arg0, arg1) {
|
|
1498
|
-
getObject(arg0).stencilBack = getObject(arg1);
|
|
1499
|
-
};
|
|
1500
|
-
imports.wbg.__wbg_set_stencil_clear_value_6be76b512040398d = function(arg0, arg1) {
|
|
1501
|
-
getObject(arg0).stencilClearValue = arg1 >>> 0;
|
|
1502
|
-
};
|
|
1503
|
-
imports.wbg.__wbg_set_stencil_front_03185e1c3bafa411 = function(arg0, arg1) {
|
|
1504
|
-
getObject(arg0).stencilFront = getObject(arg1);
|
|
1505
|
-
};
|
|
1506
|
-
imports.wbg.__wbg_set_stencil_load_op_084f44352b978b3d = function(arg0, arg1) {
|
|
1507
|
-
getObject(arg0).stencilLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
1508
|
-
};
|
|
1509
|
-
imports.wbg.__wbg_set_stencil_read_mask_e2736fc4af9399e4 = function(arg0, arg1) {
|
|
1510
|
-
getObject(arg0).stencilReadMask = arg1 >>> 0;
|
|
1511
|
-
};
|
|
1512
|
-
imports.wbg.__wbg_set_stencil_read_only_31f3d99299373c12 = function(arg0, arg1) {
|
|
1513
|
-
getObject(arg0).stencilReadOnly = arg1 !== 0;
|
|
1514
|
-
};
|
|
1515
|
-
imports.wbg.__wbg_set_stencil_store_op_428fb4955e4899d6 = function(arg0, arg1) {
|
|
1516
|
-
getObject(arg0).stencilStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
1517
|
-
};
|
|
1518
|
-
imports.wbg.__wbg_set_stencil_write_mask_b1d3e1655305a187 = function(arg0, arg1) {
|
|
1519
|
-
getObject(arg0).stencilWriteMask = arg1 >>> 0;
|
|
1520
|
-
};
|
|
1521
|
-
imports.wbg.__wbg_set_step_mode_98e49f7877daf1c5 = function(arg0, arg1) {
|
|
1522
|
-
getObject(arg0).stepMode = __wbindgen_enum_GpuVertexStepMode[arg1];
|
|
1523
|
-
};
|
|
1524
1303
|
imports.wbg.__wbg_set_storage_texture_6ee0cbeb50698110 = function(arg0, arg1) {
|
|
1525
1304
|
getObject(arg0).storageTexture = getObject(arg1);
|
|
1526
1305
|
};
|
|
1527
|
-
imports.wbg.__wbg_set_store_op_e761080d541a10cc = function(arg0, arg1) {
|
|
1528
|
-
getObject(arg0).storeOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
1529
|
-
};
|
|
1530
|
-
imports.wbg.__wbg_set_strip_index_format_16df9e33c7aa97e6 = function(arg0, arg1) {
|
|
1531
|
-
getObject(arg0).stripIndexFormat = __wbindgen_enum_GpuIndexFormat[arg1];
|
|
1532
|
-
};
|
|
1533
|
-
imports.wbg.__wbg_set_targets_9fd1ec0b8edc895c = function(arg0, arg1) {
|
|
1534
|
-
getObject(arg0).targets = getObject(arg1);
|
|
1535
|
-
};
|
|
1536
1306
|
imports.wbg.__wbg_set_texture_f03807916f70dcc6 = function(arg0, arg1) {
|
|
1537
1307
|
getObject(arg0).texture = getObject(arg1);
|
|
1538
1308
|
};
|
|
1539
1309
|
imports.wbg.__wbg_set_texture_f8ae0bb4bb159354 = function(arg0, arg1) {
|
|
1540
1310
|
getObject(arg0).texture = getObject(arg1);
|
|
1541
1311
|
};
|
|
1542
|
-
imports.wbg.__wbg_set_timestamp_writes_3998dbfa21e48dbe = function(arg0, arg1) {
|
|
1543
|
-
getObject(arg0).timestampWrites = getObject(arg1);
|
|
1544
|
-
};
|
|
1545
|
-
imports.wbg.__wbg_set_topology_036632318a24227d = function(arg0, arg1) {
|
|
1546
|
-
getObject(arg0).topology = __wbindgen_enum_GpuPrimitiveTopology[arg1];
|
|
1547
|
-
};
|
|
1548
1312
|
imports.wbg.__wbg_set_type_0cb4cdb5eff87f31 = function(arg0, arg1) {
|
|
1549
1313
|
getObject(arg0).type = __wbindgen_enum_GpuBufferBindingType[arg1];
|
|
1550
1314
|
};
|
|
@@ -1554,9 +1318,6 @@ function __wbg_get_imports() {
|
|
|
1554
1318
|
imports.wbg.__wbg_set_type_d05fa8415ad0761f = function(arg0, arg1) {
|
|
1555
1319
|
getObject(arg0).type = __wbindgen_enum_GpuSamplerBindingType[arg1];
|
|
1556
1320
|
};
|
|
1557
|
-
imports.wbg.__wbg_set_unclipped_depth_17a5ab83d4e7cadc = function(arg0, arg1) {
|
|
1558
|
-
getObject(arg0).unclippedDepth = arg1 !== 0;
|
|
1559
|
-
};
|
|
1560
1321
|
imports.wbg.__wbg_set_usage_3d569e7b02227032 = function(arg0, arg1) {
|
|
1561
1322
|
getObject(arg0).usage = arg1 >>> 0;
|
|
1562
1323
|
};
|
|
@@ -1569,14 +1330,8 @@ function __wbg_get_imports() {
|
|
|
1569
1330
|
imports.wbg.__wbg_set_usage_fe13088353b65bee = function(arg0, arg1) {
|
|
1570
1331
|
getObject(arg0).usage = arg1 >>> 0;
|
|
1571
1332
|
};
|
|
1572
|
-
imports.wbg.
|
|
1573
|
-
getObject(arg0).
|
|
1574
|
-
};
|
|
1575
|
-
imports.wbg.__wbg_set_view_1ef41eeb26eaf718 = function(arg0, arg1) {
|
|
1576
|
-
getObject(arg0).view = getObject(arg1);
|
|
1577
|
-
};
|
|
1578
|
-
imports.wbg.__wbg_set_view_46b654a12649c6f6 = function(arg0, arg1) {
|
|
1579
|
-
getObject(arg0).view = getObject(arg1);
|
|
1333
|
+
imports.wbg.__wbg_set_value_9b29412dd286d5d4 = function(arg0, arg1) {
|
|
1334
|
+
getObject(arg0).value = arg1;
|
|
1580
1335
|
};
|
|
1581
1336
|
imports.wbg.__wbg_set_view_dimension_12c332494a2697dc = function(arg0, arg1) {
|
|
1582
1337
|
getObject(arg0).viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
@@ -1602,9 +1357,6 @@ function __wbg_get_imports() {
|
|
|
1602
1357
|
imports.wbg.__wbg_set_width_7ff7a22c6e9f423e = function(arg0, arg1) {
|
|
1603
1358
|
getObject(arg0).width = arg1 >>> 0;
|
|
1604
1359
|
};
|
|
1605
|
-
imports.wbg.__wbg_set_write_mask_c92743022356850e = function(arg0, arg1) {
|
|
1606
|
-
getObject(arg0).writeMask = arg1 >>> 0;
|
|
1607
|
-
};
|
|
1608
1360
|
imports.wbg.__wbg_set_x_0771b0f86d56cdf9 = function(arg0, arg1) {
|
|
1609
1361
|
getObject(arg0).x = arg1 >>> 0;
|
|
1610
1362
|
};
|
|
@@ -1664,14 +1416,14 @@ function __wbg_get_imports() {
|
|
|
1664
1416
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1665
1417
|
return addHeapObject(ret);
|
|
1666
1418
|
};
|
|
1667
|
-
imports.wbg.
|
|
1668
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1669
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1419
|
+
imports.wbg.__wbindgen_cast_27d8f2a9ce018ee0 = function(arg0, arg1) {
|
|
1420
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1421
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1290, __wasm_bindgen_func_elem_1291);
|
|
1670
1422
|
return addHeapObject(ret);
|
|
1671
1423
|
};
|
|
1672
|
-
imports.wbg.
|
|
1673
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1674
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1424
|
+
imports.wbg.__wbindgen_cast_c821b8d28ac8e93b = function(arg0, arg1) {
|
|
1425
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1426
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1290, __wasm_bindgen_func_elem_1291);
|
|
1675
1427
|
return addHeapObject(ret);
|
|
1676
1428
|
};
|
|
1677
1429
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
@@ -1694,7 +1446,6 @@ function __wbg_finalize_init(instance, module) {
|
|
|
1694
1446
|
wasm = instance.exports;
|
|
1695
1447
|
__wbg_init.__wbindgen_wasm_module = module;
|
|
1696
1448
|
cachedDataViewMemory0 = null;
|
|
1697
|
-
cachedUint32ArrayMemory0 = null;
|
|
1698
1449
|
cachedUint8ArrayMemory0 = null;
|
|
1699
1450
|
|
|
1700
1451
|
|
package/lib/vulfram_core_bg.wasm
CHANGED
|
Binary file
|
|
@@ -12,8 +12,8 @@ export const vulfram_receive_queue: () => number;
|
|
|
12
12
|
export const vulfram_send_queue: (a: number, b: number) => number;
|
|
13
13
|
export const vulfram_tick: (a: number, b: number) => number;
|
|
14
14
|
export const vulfram_upload_buffer: (a: bigint, b: number, c: number, d: number) => number;
|
|
15
|
-
export const
|
|
16
|
-
export const
|
|
15
|
+
export const __wasm_bindgen_func_elem_1291: (a: number, b: number, c: number) => void;
|
|
16
|
+
export const __wasm_bindgen_func_elem_1290: (a: number, b: number) => void;
|
|
17
17
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
18
18
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
19
19
|
export const __wbindgen_export3: (a: number) => void;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vulfram/transport-wasm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.10-alpha",
|
|
4
4
|
"module": "src/index.ts",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@vulfram/transport-types": "^0.2.
|
|
9
|
+
"@vulfram/transport-types": "^0.2.5"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@types/bun": "^1.3.
|
|
12
|
+
"@types/bun": "^1.3.9"
|
|
13
13
|
}
|
|
14
14
|
}
|