@vulfram/transport-wasm 0.16.10-alpha → 0.17.2-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/lib/vulfram_core.d.ts +2 -2
- package/lib/vulfram_core.js +403 -15
- package/lib/vulfram_core_bg.wasm +0 -0
- package/lib/vulfram_core_bg.wasm.d.ts +2 -2
- package/package.json +6 -3
- package/src/index.ts +1 -1
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_991: (a: number, b: number, c: number) => void;
|
|
66
|
+
readonly __wasm_bindgen_func_elem_990: (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
|
@@ -85,6 +85,11 @@ function dropObject(idx) {
|
|
|
85
85
|
heap_next = idx;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
function getArrayU32FromWasm0(ptr, len) {
|
|
89
|
+
ptr = ptr >>> 0;
|
|
90
|
+
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
91
|
+
}
|
|
92
|
+
|
|
88
93
|
function getArrayU8FromWasm0(ptr, len) {
|
|
89
94
|
ptr = ptr >>> 0;
|
|
90
95
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
@@ -103,6 +108,14 @@ function getStringFromWasm0(ptr, len) {
|
|
|
103
108
|
return decodeText(ptr, len);
|
|
104
109
|
}
|
|
105
110
|
|
|
111
|
+
let cachedUint32ArrayMemory0 = null;
|
|
112
|
+
function getUint32ArrayMemory0() {
|
|
113
|
+
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
114
|
+
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
115
|
+
}
|
|
116
|
+
return cachedUint32ArrayMemory0;
|
|
117
|
+
}
|
|
118
|
+
|
|
106
119
|
let cachedUint8ArrayMemory0 = null;
|
|
107
120
|
function getUint8ArrayMemory0() {
|
|
108
121
|
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
@@ -237,30 +250,48 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
237
250
|
|
|
238
251
|
let WASM_VECTOR_LEN = 0;
|
|
239
252
|
|
|
240
|
-
function
|
|
241
|
-
wasm.
|
|
253
|
+
function __wasm_bindgen_func_elem_991(arg0, arg1, arg2) {
|
|
254
|
+
wasm.__wasm_bindgen_func_elem_991(arg0, arg1, addHeapObject(arg2));
|
|
242
255
|
}
|
|
243
256
|
|
|
244
257
|
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
|
|
245
258
|
|
|
259
|
+
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"];
|
|
260
|
+
|
|
261
|
+
const __wbindgen_enum_GpuBlendOperation = ["add", "subtract", "reverse-subtract", "min", "max"];
|
|
262
|
+
|
|
246
263
|
const __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
|
|
247
264
|
|
|
248
265
|
const __wbindgen_enum_GpuCanvasAlphaMode = ["opaque", "premultiplied"];
|
|
249
266
|
|
|
250
267
|
const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equal", "greater", "not-equal", "greater-equal", "always"];
|
|
251
268
|
|
|
269
|
+
const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
|
|
270
|
+
|
|
252
271
|
const __wbindgen_enum_GpuFilterMode = ["nearest", "linear"];
|
|
253
272
|
|
|
273
|
+
const __wbindgen_enum_GpuFrontFace = ["ccw", "cw"];
|
|
274
|
+
|
|
275
|
+
const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
|
|
276
|
+
|
|
277
|
+
const __wbindgen_enum_GpuLoadOp = ["load", "clear"];
|
|
278
|
+
|
|
254
279
|
const __wbindgen_enum_GpuMipmapFilterMode = ["nearest", "linear"];
|
|
255
280
|
|
|
256
281
|
const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
|
|
257
282
|
|
|
283
|
+
const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
|
|
284
|
+
|
|
258
285
|
const __wbindgen_enum_GpuQueryType = ["occlusion", "timestamp"];
|
|
259
286
|
|
|
260
287
|
const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
|
|
261
288
|
|
|
289
|
+
const __wbindgen_enum_GpuStencilOperation = ["keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap"];
|
|
290
|
+
|
|
262
291
|
const __wbindgen_enum_GpuStorageTextureAccess = ["write-only", "read-only", "read-write"];
|
|
263
292
|
|
|
293
|
+
const __wbindgen_enum_GpuStoreOp = ["store", "discard"];
|
|
294
|
+
|
|
264
295
|
const __wbindgen_enum_GpuTextureAspect = ["all", "stencil-only", "depth-only"];
|
|
265
296
|
|
|
266
297
|
const __wbindgen_enum_GpuTextureDimension = ["1d", "2d", "3d"];
|
|
@@ -271,6 +302,10 @@ const __wbindgen_enum_GpuTextureSampleType = ["float", "unfilterable-float", "de
|
|
|
271
302
|
|
|
272
303
|
const __wbindgen_enum_GpuTextureViewDimension = ["1d", "2d", "2d-array", "cube", "cube-array", "3d"];
|
|
273
304
|
|
|
305
|
+
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"];
|
|
306
|
+
|
|
307
|
+
const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
|
|
308
|
+
|
|
274
309
|
const BufferResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
275
310
|
? { register: () => {}, unregister: () => {} }
|
|
276
311
|
: new FinalizationRegistry(ptr => wasm.__wbg_bufferresult_free(ptr >>> 0, 1));
|
|
@@ -509,6 +544,14 @@ function __wbg_get_imports() {
|
|
|
509
544
|
const ret = getObject(arg0).axes;
|
|
510
545
|
return addHeapObject(ret);
|
|
511
546
|
};
|
|
547
|
+
imports.wbg.__wbg_beginComputePass_8971ad8382254094 = function(arg0, arg1) {
|
|
548
|
+
const ret = getObject(arg0).beginComputePass(getObject(arg1));
|
|
549
|
+
return addHeapObject(ret);
|
|
550
|
+
};
|
|
551
|
+
imports.wbg.__wbg_beginRenderPass_599b98d9a6ba5692 = function() { return handleError(function (arg0, arg1) {
|
|
552
|
+
const ret = getObject(arg0).beginRenderPass(getObject(arg1));
|
|
553
|
+
return addHeapObject(ret);
|
|
554
|
+
}, arguments) };
|
|
512
555
|
imports.wbg.__wbg_buffer_6cb2fecb1f253d71 = function(arg0) {
|
|
513
556
|
const ret = getObject(arg0).buffer;
|
|
514
557
|
return addHeapObject(ret);
|
|
@@ -577,6 +620,10 @@ function __wbg_get_imports() {
|
|
|
577
620
|
const ret = getObject(arg0).createBindGroupLayout(getObject(arg1));
|
|
578
621
|
return addHeapObject(ret);
|
|
579
622
|
}, arguments) };
|
|
623
|
+
imports.wbg.__wbg_createBindGroup_06db01d96df151a7 = function(arg0, arg1) {
|
|
624
|
+
const ret = getObject(arg0).createBindGroup(getObject(arg1));
|
|
625
|
+
return addHeapObject(ret);
|
|
626
|
+
};
|
|
580
627
|
imports.wbg.__wbg_createBufferSource_156317138619c7b0 = function() { return handleError(function (arg0) {
|
|
581
628
|
const ret = getObject(arg0).createBufferSource();
|
|
582
629
|
return addHeapObject(ret);
|
|
@@ -589,6 +636,10 @@ function __wbg_get_imports() {
|
|
|
589
636
|
const ret = getObject(arg0).createCommandEncoder(getObject(arg1));
|
|
590
637
|
return addHeapObject(ret);
|
|
591
638
|
};
|
|
639
|
+
imports.wbg.__wbg_createComputePipeline_d24ca7b211444394 = function(arg0, arg1) {
|
|
640
|
+
const ret = getObject(arg0).createComputePipeline(getObject(arg1));
|
|
641
|
+
return addHeapObject(ret);
|
|
642
|
+
};
|
|
592
643
|
imports.wbg.__wbg_createGain_d5704df14f1e271f = function() { return handleError(function (arg0) {
|
|
593
644
|
const ret = getObject(arg0).createGain();
|
|
594
645
|
return addHeapObject(ret);
|
|
@@ -605,6 +656,10 @@ function __wbg_get_imports() {
|
|
|
605
656
|
const ret = getObject(arg0).createQuerySet(getObject(arg1));
|
|
606
657
|
return addHeapObject(ret);
|
|
607
658
|
}, arguments) };
|
|
659
|
+
imports.wbg.__wbg_createRenderPipeline_725209221f17f288 = function() { return handleError(function (arg0, arg1) {
|
|
660
|
+
const ret = getObject(arg0).createRenderPipeline(getObject(arg1));
|
|
661
|
+
return addHeapObject(ret);
|
|
662
|
+
}, arguments) };
|
|
608
663
|
imports.wbg.__wbg_createSampler_36aca895fb724d8b = function(arg0, arg1) {
|
|
609
664
|
const ret = getObject(arg0).createSampler(getObject(arg1));
|
|
610
665
|
return addHeapObject(ret);
|
|
@@ -649,14 +704,29 @@ function __wbg_get_imports() {
|
|
|
649
704
|
const ret = getObject(arg0).destination;
|
|
650
705
|
return addHeapObject(ret);
|
|
651
706
|
};
|
|
707
|
+
imports.wbg.__wbg_dispatchWorkgroups_d63caaf66ad5bbb0 = function(arg0, arg1, arg2, arg3) {
|
|
708
|
+
getObject(arg0).dispatchWorkgroups(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
709
|
+
};
|
|
652
710
|
imports.wbg.__wbg_document_5b745e82ba551ca5 = function(arg0) {
|
|
653
711
|
const ret = getObject(arg0).document;
|
|
654
712
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
655
713
|
};
|
|
714
|
+
imports.wbg.__wbg_drawIndexed_c47b56e3bafadecb = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
715
|
+
getObject(arg0).drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
716
|
+
};
|
|
717
|
+
imports.wbg.__wbg_draw_3f782f0d09a907da = function(arg0, arg1, arg2, arg3, arg4) {
|
|
718
|
+
getObject(arg0).draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
719
|
+
};
|
|
656
720
|
imports.wbg.__wbg_duration_d18723c667e9564a = function(arg0) {
|
|
657
721
|
const ret = getObject(arg0).duration;
|
|
658
722
|
return ret;
|
|
659
723
|
};
|
|
724
|
+
imports.wbg.__wbg_end_8bb194afb9988691 = function(arg0) {
|
|
725
|
+
getObject(arg0).end();
|
|
726
|
+
};
|
|
727
|
+
imports.wbg.__wbg_end_ae98f313507234ce = function(arg0) {
|
|
728
|
+
getObject(arg0).end();
|
|
729
|
+
};
|
|
660
730
|
imports.wbg.__wbg_features_5d2c2677affa352d = function(arg0) {
|
|
661
731
|
const ret = getObject(arg0).features;
|
|
662
732
|
return addHeapObject(ret);
|
|
@@ -685,6 +755,10 @@ function __wbg_get_imports() {
|
|
|
685
755
|
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
|
|
686
756
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
687
757
|
}, arguments) };
|
|
758
|
+
imports.wbg.__wbg_getCurrentTexture_6dc4d0ea8555e374 = function() { return handleError(function (arg0) {
|
|
759
|
+
const ret = getObject(arg0).getCurrentTexture();
|
|
760
|
+
return addHeapObject(ret);
|
|
761
|
+
}, arguments) };
|
|
688
762
|
imports.wbg.__wbg_getElementById_e05488d2143c2b21 = function(arg0, arg1, arg2) {
|
|
689
763
|
const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
|
|
690
764
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
@@ -693,6 +767,10 @@ function __wbg_get_imports() {
|
|
|
693
767
|
const ret = getObject(arg0).getGamepads();
|
|
694
768
|
return addHeapObject(ret);
|
|
695
769
|
}, arguments) };
|
|
770
|
+
imports.wbg.__wbg_getMappedRange_3cb6354f7963e27e = function() { return handleError(function (arg0, arg1, arg2) {
|
|
771
|
+
const ret = getObject(arg0).getMappedRange(arg1, arg2);
|
|
772
|
+
return addHeapObject(ret);
|
|
773
|
+
}, arguments) };
|
|
696
774
|
imports.wbg.__wbg_getPreferredCanvasFormat_06854455b835cf40 = function(arg0) {
|
|
697
775
|
const ret = getObject(arg0).getPreferredCanvasFormat();
|
|
698
776
|
return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 96) - 1;
|
|
@@ -709,10 +787,6 @@ function __wbg_get_imports() {
|
|
|
709
787
|
const ret = getObject(arg0).gpu;
|
|
710
788
|
return addHeapObject(ret);
|
|
711
789
|
};
|
|
712
|
-
imports.wbg.__wbg_hasFocus_7d4687baa7939850 = function() { return handleError(function (arg0) {
|
|
713
|
-
const ret = getObject(arg0).hasFocus();
|
|
714
|
-
return ret;
|
|
715
|
-
}, arguments) };
|
|
716
790
|
imports.wbg.__wbg_has_f1efef5b257eade8 = function(arg0, arg1, arg2) {
|
|
717
791
|
const ret = getObject(arg0).has(getStringFromWasm0(arg1, arg2));
|
|
718
792
|
return ret;
|
|
@@ -842,6 +916,10 @@ function __wbg_get_imports() {
|
|
|
842
916
|
const ret = getObject(arg0).left;
|
|
843
917
|
return ret;
|
|
844
918
|
};
|
|
919
|
+
imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) {
|
|
920
|
+
const ret = getObject(arg0).length;
|
|
921
|
+
return ret;
|
|
922
|
+
};
|
|
845
923
|
imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) {
|
|
846
924
|
const ret = getObject(arg0).length;
|
|
847
925
|
return ret;
|
|
@@ -1010,6 +1088,10 @@ function __wbg_get_imports() {
|
|
|
1010
1088
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1011
1089
|
return addHeapObject(ret);
|
|
1012
1090
|
};
|
|
1091
|
+
imports.wbg.__wbg_new_with_byte_offset_and_length_d85c3da1fd8df149 = function(arg0, arg1, arg2) {
|
|
1092
|
+
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
1093
|
+
return addHeapObject(ret);
|
|
1094
|
+
};
|
|
1013
1095
|
imports.wbg.__wbg_now_69d776cd24f5215b = function() {
|
|
1014
1096
|
const ret = Date.now();
|
|
1015
1097
|
return ret;
|
|
@@ -1037,6 +1119,9 @@ function __wbg_get_imports() {
|
|
|
1037
1119
|
const ret = getObject(arg0).pressed;
|
|
1038
1120
|
return ret;
|
|
1039
1121
|
};
|
|
1122
|
+
imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
|
|
1123
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
1124
|
+
};
|
|
1040
1125
|
imports.wbg.__wbg_push_7d9be8f38fc13975 = function(arg0, arg1) {
|
|
1041
1126
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
1042
1127
|
return ret;
|
|
@@ -1052,9 +1137,6 @@ function __wbg_get_imports() {
|
|
|
1052
1137
|
const ret = getObject(arg0).queue;
|
|
1053
1138
|
return addHeapObject(ret);
|
|
1054
1139
|
};
|
|
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) };
|
|
1058
1140
|
imports.wbg.__wbg_repeat_3733d1d584bf0e38 = function(arg0) {
|
|
1059
1141
|
const ret = getObject(arg0).repeat;
|
|
1060
1142
|
return ret;
|
|
@@ -1067,26 +1149,59 @@ function __wbg_get_imports() {
|
|
|
1067
1149
|
const ret = getObject(arg0).requestDevice(getObject(arg1));
|
|
1068
1150
|
return addHeapObject(ret);
|
|
1069
1151
|
};
|
|
1152
|
+
imports.wbg.__wbg_resolveQuerySet_58d78db4578ebdb5 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1153
|
+
getObject(arg0).resolveQuerySet(getObject(arg1), arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5 >>> 0);
|
|
1154
|
+
};
|
|
1070
1155
|
imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) {
|
|
1071
1156
|
const ret = Promise.resolve(getObject(arg0));
|
|
1072
1157
|
return addHeapObject(ret);
|
|
1073
1158
|
};
|
|
1159
|
+
imports.wbg.__wbg_setBindGroup_ae93a2ba8c665826 = function(arg0, arg1, arg2) {
|
|
1160
|
+
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
|
|
1161
|
+
};
|
|
1162
|
+
imports.wbg.__wbg_setBindGroup_bf7233e51ee0fd56 = function(arg0, arg1, arg2) {
|
|
1163
|
+
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
|
|
1164
|
+
};
|
|
1165
|
+
imports.wbg.__wbg_setBindGroup_c532d9e80c3b863a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1166
|
+
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2), getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
1167
|
+
}, arguments) };
|
|
1168
|
+
imports.wbg.__wbg_setIndexBuffer_d6851b016152211a = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1169
|
+
getObject(arg0).setIndexBuffer(getObject(arg1), __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
1170
|
+
};
|
|
1074
1171
|
imports.wbg.__wbg_setOrientation_b1947815d07c384d = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1075
1172
|
getObject(arg0).setOrientation(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
1076
1173
|
};
|
|
1077
1174
|
imports.wbg.__wbg_setOrientation_edf6d9270c35af16 = function(arg0, arg1, arg2, arg3) {
|
|
1078
1175
|
getObject(arg0).setOrientation(arg1, arg2, arg3);
|
|
1079
1176
|
};
|
|
1177
|
+
imports.wbg.__wbg_setPipeline_6d9bb386aa5ee85f = function(arg0, arg1) {
|
|
1178
|
+
getObject(arg0).setPipeline(getObject(arg1));
|
|
1179
|
+
};
|
|
1180
|
+
imports.wbg.__wbg_setPipeline_b632e313f54b1cb1 = function(arg0, arg1) {
|
|
1181
|
+
getObject(arg0).setPipeline(getObject(arg1));
|
|
1182
|
+
};
|
|
1080
1183
|
imports.wbg.__wbg_setPosition_96fcdcaf9ef69feb = function(arg0, arg1, arg2, arg3) {
|
|
1081
1184
|
getObject(arg0).setPosition(arg1, arg2, arg3);
|
|
1082
1185
|
};
|
|
1083
1186
|
imports.wbg.__wbg_setPosition_e30bf00b6eb1505f = function(arg0, arg1, arg2, arg3) {
|
|
1084
1187
|
getObject(arg0).setPosition(arg1, arg2, arg3);
|
|
1085
1188
|
};
|
|
1189
|
+
imports.wbg.__wbg_setScissorRect_13be2665184d6e20 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1190
|
+
getObject(arg0).setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1191
|
+
};
|
|
1192
|
+
imports.wbg.__wbg_setVertexBuffer_c8234139ead62a61 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1193
|
+
getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3, arg4);
|
|
1194
|
+
};
|
|
1195
|
+
imports.wbg.__wbg_setViewport_b25340c5cfc5e64f = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1196
|
+
getObject(arg0).setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
1197
|
+
};
|
|
1086
1198
|
imports.wbg.__wbg_set_781438a03c0c3c81 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1087
1199
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
1088
1200
|
return ret;
|
|
1089
1201
|
}, arguments) };
|
|
1202
|
+
imports.wbg.__wbg_set_a_e87a2053d5fccb4c = function(arg0, arg1) {
|
|
1203
|
+
getObject(arg0).a = arg1;
|
|
1204
|
+
};
|
|
1090
1205
|
imports.wbg.__wbg_set_access_69d91e9d4e4ceac2 = function(arg0, arg1) {
|
|
1091
1206
|
getObject(arg0).access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
|
|
1092
1207
|
};
|
|
@@ -1099,45 +1214,93 @@ function __wbg_get_imports() {
|
|
|
1099
1214
|
imports.wbg.__wbg_set_address_mode_w_2445963d0feae757 = function(arg0, arg1) {
|
|
1100
1215
|
getObject(arg0).addressModeW = __wbindgen_enum_GpuAddressMode[arg1];
|
|
1101
1216
|
};
|
|
1217
|
+
imports.wbg.__wbg_set_alpha_a7a68e5ec04efe77 = function(arg0, arg1) {
|
|
1218
|
+
getObject(arg0).alpha = getObject(arg1);
|
|
1219
|
+
};
|
|
1102
1220
|
imports.wbg.__wbg_set_alpha_mode_60f87267fa3d95d0 = function(arg0, arg1) {
|
|
1103
1221
|
getObject(arg0).alphaMode = __wbindgen_enum_GpuCanvasAlphaMode[arg1];
|
|
1104
1222
|
};
|
|
1223
|
+
imports.wbg.__wbg_set_alpha_to_coverage_enabled_67782b8fff854d06 = function(arg0, arg1) {
|
|
1224
|
+
getObject(arg0).alphaToCoverageEnabled = arg1 !== 0;
|
|
1225
|
+
};
|
|
1105
1226
|
imports.wbg.__wbg_set_array_layer_count_2bd74e56899b603a = function(arg0, arg1) {
|
|
1106
1227
|
getObject(arg0).arrayLayerCount = arg1 >>> 0;
|
|
1107
1228
|
};
|
|
1229
|
+
imports.wbg.__wbg_set_array_stride_acb85bd3848529a6 = function(arg0, arg1) {
|
|
1230
|
+
getObject(arg0).arrayStride = arg1;
|
|
1231
|
+
};
|
|
1108
1232
|
imports.wbg.__wbg_set_aspect_82ca9caa27a4c533 = function(arg0, arg1) {
|
|
1109
1233
|
getObject(arg0).aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
1110
1234
|
};
|
|
1111
1235
|
imports.wbg.__wbg_set_aspect_b78bd0b34ebfe19b = function(arg0, arg1) {
|
|
1112
1236
|
getObject(arg0).aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
1113
1237
|
};
|
|
1238
|
+
imports.wbg.__wbg_set_attributes_4d5de6c80e3a7e73 = function(arg0, arg1) {
|
|
1239
|
+
getObject(arg0).attributes = getObject(arg1);
|
|
1240
|
+
};
|
|
1241
|
+
imports.wbg.__wbg_set_b_87725d82ac69a631 = function(arg0, arg1) {
|
|
1242
|
+
getObject(arg0).b = arg1;
|
|
1243
|
+
};
|
|
1114
1244
|
imports.wbg.__wbg_set_base_array_layer_064977086530f2e7 = function(arg0, arg1) {
|
|
1115
1245
|
getObject(arg0).baseArrayLayer = arg1 >>> 0;
|
|
1116
1246
|
};
|
|
1117
1247
|
imports.wbg.__wbg_set_base_mip_level_845abe28a57bd901 = function(arg0, arg1) {
|
|
1118
1248
|
getObject(arg0).baseMipLevel = arg1 >>> 0;
|
|
1119
1249
|
};
|
|
1250
|
+
imports.wbg.__wbg_set_bc3a432bdcd60886 = function(arg0, arg1, arg2) {
|
|
1251
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
1252
|
+
};
|
|
1253
|
+
imports.wbg.__wbg_set_beginning_of_pass_write_index_18bb7ab9fb16de02 = function(arg0, arg1) {
|
|
1254
|
+
getObject(arg0).beginningOfPassWriteIndex = arg1 >>> 0;
|
|
1255
|
+
};
|
|
1120
1256
|
imports.wbg.__wbg_set_bind_group_layouts_db65f9787380e242 = function(arg0, arg1) {
|
|
1121
1257
|
getObject(arg0).bindGroupLayouts = getObject(arg1);
|
|
1122
1258
|
};
|
|
1123
1259
|
imports.wbg.__wbg_set_binding_35fa28beda49ff83 = function(arg0, arg1) {
|
|
1124
1260
|
getObject(arg0).binding = arg1 >>> 0;
|
|
1125
1261
|
};
|
|
1262
|
+
imports.wbg.__wbg_set_binding_3b4abee15b11f6ec = function(arg0, arg1) {
|
|
1263
|
+
getObject(arg0).binding = arg1 >>> 0;
|
|
1264
|
+
};
|
|
1265
|
+
imports.wbg.__wbg_set_blend_21337ec514ad2280 = function(arg0, arg1) {
|
|
1266
|
+
getObject(arg0).blend = getObject(arg1);
|
|
1267
|
+
};
|
|
1126
1268
|
imports.wbg.__wbg_set_buffer_25c70ce663d1667c = function(arg0, arg1) {
|
|
1127
1269
|
getObject(arg0).buffer = getObject(arg1);
|
|
1128
1270
|
};
|
|
1271
|
+
imports.wbg.__wbg_set_buffer_a9223dfcc0e34853 = function(arg0, arg1) {
|
|
1272
|
+
getObject(arg0).buffer = getObject(arg1);
|
|
1273
|
+
};
|
|
1129
1274
|
imports.wbg.__wbg_set_buffer_d49e95bb5349d827 = function(arg0, arg1) {
|
|
1130
1275
|
getObject(arg0).buffer = getObject(arg1);
|
|
1131
1276
|
};
|
|
1277
|
+
imports.wbg.__wbg_set_buffers_68609a5d48c31b27 = function(arg0, arg1) {
|
|
1278
|
+
getObject(arg0).buffers = getObject(arg1);
|
|
1279
|
+
};
|
|
1132
1280
|
imports.wbg.__wbg_set_bytes_per_row_4a52bbf4cdbfe78b = function(arg0, arg1) {
|
|
1133
1281
|
getObject(arg0).bytesPerRow = arg1 >>> 0;
|
|
1134
1282
|
};
|
|
1283
|
+
imports.wbg.__wbg_set_clear_value_8fc3623594df71b2 = function(arg0, arg1) {
|
|
1284
|
+
getObject(arg0).clearValue = getObject(arg1);
|
|
1285
|
+
};
|
|
1135
1286
|
imports.wbg.__wbg_set_code_20093e29960281f8 = function(arg0, arg1, arg2) {
|
|
1136
1287
|
getObject(arg0).code = getStringFromWasm0(arg1, arg2);
|
|
1137
1288
|
};
|
|
1289
|
+
imports.wbg.__wbg_set_color_64a633bf7b4cf6fe = function(arg0, arg1) {
|
|
1290
|
+
getObject(arg0).color = getObject(arg1);
|
|
1291
|
+
};
|
|
1292
|
+
imports.wbg.__wbg_set_color_attachments_4d4c71d7eeba8e2f = function(arg0, arg1) {
|
|
1293
|
+
getObject(arg0).colorAttachments = getObject(arg1);
|
|
1294
|
+
};
|
|
1138
1295
|
imports.wbg.__wbg_set_compare_0376672b0c0bbfd8 = function(arg0, arg1) {
|
|
1139
1296
|
getObject(arg0).compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
1140
1297
|
};
|
|
1298
|
+
imports.wbg.__wbg_set_compare_f3fb77a9bf3f0f7e = function(arg0, arg1) {
|
|
1299
|
+
getObject(arg0).compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
1300
|
+
};
|
|
1301
|
+
imports.wbg.__wbg_set_compute_937f4ee700e465ff = function(arg0, arg1) {
|
|
1302
|
+
getObject(arg0).compute = getObject(arg1);
|
|
1303
|
+
};
|
|
1141
1304
|
imports.wbg.__wbg_set_coneInnerAngle_af42eec2f168ddc5 = function(arg0, arg1) {
|
|
1142
1305
|
getObject(arg0).coneInnerAngle = arg1;
|
|
1143
1306
|
};
|
|
@@ -1150,9 +1313,51 @@ function __wbg_get_imports() {
|
|
|
1150
1313
|
imports.wbg.__wbg_set_count_6f4f66c8eedc9bba = function(arg0, arg1) {
|
|
1151
1314
|
getObject(arg0).count = arg1 >>> 0;
|
|
1152
1315
|
};
|
|
1316
|
+
imports.wbg.__wbg_set_count_8cf9a3dd1ffc7b7d = function(arg0, arg1) {
|
|
1317
|
+
getObject(arg0).count = arg1 >>> 0;
|
|
1318
|
+
};
|
|
1319
|
+
imports.wbg.__wbg_set_cull_mode_41c12526410d3e05 = function(arg0, arg1) {
|
|
1320
|
+
getObject(arg0).cullMode = __wbindgen_enum_GpuCullMode[arg1];
|
|
1321
|
+
};
|
|
1322
|
+
imports.wbg.__wbg_set_depth_bias_31554aeaaa675954 = function(arg0, arg1) {
|
|
1323
|
+
getObject(arg0).depthBias = arg1;
|
|
1324
|
+
};
|
|
1325
|
+
imports.wbg.__wbg_set_depth_bias_clamp_8cf5f4f0d80e8cba = function(arg0, arg1) {
|
|
1326
|
+
getObject(arg0).depthBiasClamp = arg1;
|
|
1327
|
+
};
|
|
1328
|
+
imports.wbg.__wbg_set_depth_bias_slope_scale_310ae406f2d3a055 = function(arg0, arg1) {
|
|
1329
|
+
getObject(arg0).depthBiasSlopeScale = arg1;
|
|
1330
|
+
};
|
|
1331
|
+
imports.wbg.__wbg_set_depth_clear_value_8760aafb583d5312 = function(arg0, arg1) {
|
|
1332
|
+
getObject(arg0).depthClearValue = arg1;
|
|
1333
|
+
};
|
|
1334
|
+
imports.wbg.__wbg_set_depth_compare_8831904ce3173063 = function(arg0, arg1) {
|
|
1335
|
+
getObject(arg0).depthCompare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
1336
|
+
};
|
|
1337
|
+
imports.wbg.__wbg_set_depth_fail_op_62ec602580477afc = function(arg0, arg1) {
|
|
1338
|
+
getObject(arg0).depthFailOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
1339
|
+
};
|
|
1340
|
+
imports.wbg.__wbg_set_depth_load_op_102d57f3ddf95461 = function(arg0, arg1) {
|
|
1341
|
+
getObject(arg0).depthLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
1342
|
+
};
|
|
1153
1343
|
imports.wbg.__wbg_set_depth_or_array_layers_d7b93db07c5da69d = function(arg0, arg1) {
|
|
1154
1344
|
getObject(arg0).depthOrArrayLayers = arg1 >>> 0;
|
|
1155
1345
|
};
|
|
1346
|
+
imports.wbg.__wbg_set_depth_read_only_aebc24a542debafd = function(arg0, arg1) {
|
|
1347
|
+
getObject(arg0).depthReadOnly = arg1 !== 0;
|
|
1348
|
+
};
|
|
1349
|
+
imports.wbg.__wbg_set_depth_stencil_5627e73aaf33912c = function(arg0, arg1) {
|
|
1350
|
+
getObject(arg0).depthStencil = getObject(arg1);
|
|
1351
|
+
};
|
|
1352
|
+
imports.wbg.__wbg_set_depth_stencil_attachment_04b936535778e362 = function(arg0, arg1) {
|
|
1353
|
+
getObject(arg0).depthStencilAttachment = getObject(arg1);
|
|
1354
|
+
};
|
|
1355
|
+
imports.wbg.__wbg_set_depth_store_op_610b0a50dbb00eb8 = function(arg0, arg1) {
|
|
1356
|
+
getObject(arg0).depthStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
1357
|
+
};
|
|
1358
|
+
imports.wbg.__wbg_set_depth_write_enabled_f94217df9ff2d60c = function(arg0, arg1) {
|
|
1359
|
+
getObject(arg0).depthWriteEnabled = arg1 !== 0;
|
|
1360
|
+
};
|
|
1156
1361
|
imports.wbg.__wbg_set_device_dab18ead7bfc077b = function(arg0, arg1) {
|
|
1157
1362
|
getObject(arg0).device = getObject(arg1);
|
|
1158
1363
|
};
|
|
@@ -1162,12 +1367,33 @@ function __wbg_get_imports() {
|
|
|
1162
1367
|
imports.wbg.__wbg_set_dimension_a3c50fb6d43f6cec = function(arg0, arg1) {
|
|
1163
1368
|
getObject(arg0).dimension = __wbindgen_enum_GpuTextureDimension[arg1];
|
|
1164
1369
|
};
|
|
1370
|
+
imports.wbg.__wbg_set_dst_factor_cf872fec841747ac = function(arg0, arg1) {
|
|
1371
|
+
getObject(arg0).dstFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
1372
|
+
};
|
|
1373
|
+
imports.wbg.__wbg_set_end_of_pass_write_index_02ee5189026c1d3a = function(arg0, arg1) {
|
|
1374
|
+
getObject(arg0).endOfPassWriteIndex = arg1 >>> 0;
|
|
1375
|
+
};
|
|
1376
|
+
imports.wbg.__wbg_set_entries_1472deaee7053fb7 = function(arg0, arg1) {
|
|
1377
|
+
getObject(arg0).entries = getObject(arg1);
|
|
1378
|
+
};
|
|
1165
1379
|
imports.wbg.__wbg_set_entries_b2258b5ef29810b0 = function(arg0, arg1) {
|
|
1166
1380
|
getObject(arg0).entries = getObject(arg1);
|
|
1167
1381
|
};
|
|
1382
|
+
imports.wbg.__wbg_set_entry_point_11f912102ade99b1 = function(arg0, arg1, arg2) {
|
|
1383
|
+
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
1384
|
+
};
|
|
1385
|
+
imports.wbg.__wbg_set_entry_point_7f546bbf1e63e58d = function(arg0, arg1, arg2) {
|
|
1386
|
+
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
1387
|
+
};
|
|
1388
|
+
imports.wbg.__wbg_set_entry_point_f9224cdb29cbe5df = function(arg0, arg1, arg2) {
|
|
1389
|
+
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
1390
|
+
};
|
|
1168
1391
|
imports.wbg.__wbg_set_external_texture_613e4434100d63ee = function(arg0, arg1) {
|
|
1169
1392
|
getObject(arg0).externalTexture = getObject(arg1);
|
|
1170
1393
|
};
|
|
1394
|
+
imports.wbg.__wbg_set_fail_op_73a4e194f4bc914a = function(arg0, arg1) {
|
|
1395
|
+
getObject(arg0).failOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
1396
|
+
};
|
|
1171
1397
|
imports.wbg.__wbg_set_format_1670e760e18ac001 = function(arg0, arg1) {
|
|
1172
1398
|
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1173
1399
|
};
|
|
@@ -1177,9 +1403,27 @@ function __wbg_get_imports() {
|
|
|
1177
1403
|
imports.wbg.__wbg_set_format_25e4aacc74949e38 = function(arg0, arg1) {
|
|
1178
1404
|
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1179
1405
|
};
|
|
1406
|
+
imports.wbg.__wbg_set_format_3f7008e9e568f0fc = function(arg0, arg1) {
|
|
1407
|
+
getObject(arg0).format = __wbindgen_enum_GpuVertexFormat[arg1];
|
|
1408
|
+
};
|
|
1409
|
+
imports.wbg.__wbg_set_format_4a4fccdfc45bc409 = function(arg0, arg1) {
|
|
1410
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1411
|
+
};
|
|
1180
1412
|
imports.wbg.__wbg_set_format_7696f8290da8a36b = function(arg0, arg1) {
|
|
1181
1413
|
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1182
1414
|
};
|
|
1415
|
+
imports.wbg.__wbg_set_format_974a01725f579c5d = function(arg0, arg1) {
|
|
1416
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1417
|
+
};
|
|
1418
|
+
imports.wbg.__wbg_set_fragment_f7ce64feaf1cd7dc = function(arg0, arg1) {
|
|
1419
|
+
getObject(arg0).fragment = getObject(arg1);
|
|
1420
|
+
};
|
|
1421
|
+
imports.wbg.__wbg_set_front_face_09e32557f8852301 = function(arg0, arg1) {
|
|
1422
|
+
getObject(arg0).frontFace = __wbindgen_enum_GpuFrontFace[arg1];
|
|
1423
|
+
};
|
|
1424
|
+
imports.wbg.__wbg_set_g_c31c959457596456 = function(arg0, arg1) {
|
|
1425
|
+
getObject(arg0).g = arg1;
|
|
1426
|
+
};
|
|
1183
1427
|
imports.wbg.__wbg_set_has_dynamic_offset_fbc1bb343939ed0b = function(arg0, arg1) {
|
|
1184
1428
|
getObject(arg0).hasDynamicOffset = arg1 !== 0;
|
|
1185
1429
|
};
|
|
@@ -1198,6 +1442,9 @@ function __wbg_get_imports() {
|
|
|
1198
1442
|
imports.wbg.__wbg_set_label_0ec13ba975f77124 = function(arg0, arg1, arg2) {
|
|
1199
1443
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1200
1444
|
};
|
|
1445
|
+
imports.wbg.__wbg_set_label_3b658d9ce970552c = function(arg0, arg1, arg2) {
|
|
1446
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1447
|
+
};
|
|
1201
1448
|
imports.wbg.__wbg_set_label_48883f5f49e4ec47 = function(arg0, arg1, arg2) {
|
|
1202
1449
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1203
1450
|
};
|
|
@@ -1207,21 +1454,45 @@ function __wbg_get_imports() {
|
|
|
1207
1454
|
imports.wbg.__wbg_set_label_4f4264b0041180e2 = function(arg0, arg1, arg2) {
|
|
1208
1455
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1209
1456
|
};
|
|
1457
|
+
imports.wbg.__wbg_set_label_5b46e419b9e88c5e = function(arg0, arg1, arg2) {
|
|
1458
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1459
|
+
};
|
|
1210
1460
|
imports.wbg.__wbg_set_label_95423cd2e1f4b5dd = function(arg0, arg1, arg2) {
|
|
1211
1461
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1212
1462
|
};
|
|
1463
|
+
imports.wbg.__wbg_set_label_ad0f2c69b41c3483 = function(arg0, arg1, arg2) {
|
|
1464
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1465
|
+
};
|
|
1213
1466
|
imports.wbg.__wbg_set_label_c3fc0a66f4ecc82b = function(arg0, arg1, arg2) {
|
|
1214
1467
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1215
1468
|
};
|
|
1216
1469
|
imports.wbg.__wbg_set_label_c857f45a8485236a = function(arg0, arg1, arg2) {
|
|
1217
1470
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1218
1471
|
};
|
|
1472
|
+
imports.wbg.__wbg_set_label_d0fd4d4810525bf2 = function(arg0, arg1, arg2) {
|
|
1473
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1474
|
+
};
|
|
1219
1475
|
imports.wbg.__wbg_set_label_dc8df9969898889c = function(arg0, arg1, arg2) {
|
|
1220
1476
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1221
1477
|
};
|
|
1222
1478
|
imports.wbg.__wbg_set_label_e3709fe3e82429b5 = function(arg0, arg1, arg2) {
|
|
1223
1479
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1224
1480
|
};
|
|
1481
|
+
imports.wbg.__wbg_set_label_fb5d28b3ba7af11f = function(arg0, arg1, arg2) {
|
|
1482
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1483
|
+
};
|
|
1484
|
+
imports.wbg.__wbg_set_layout_170ec6b8aa37178f = function(arg0, arg1) {
|
|
1485
|
+
getObject(arg0).layout = getObject(arg1);
|
|
1486
|
+
};
|
|
1487
|
+
imports.wbg.__wbg_set_layout_7f76289be3294b4a = function(arg0, arg1) {
|
|
1488
|
+
getObject(arg0).layout = getObject(arg1);
|
|
1489
|
+
};
|
|
1490
|
+
imports.wbg.__wbg_set_layout_c20d48b352b24c1b = function(arg0, arg1) {
|
|
1491
|
+
getObject(arg0).layout = getObject(arg1);
|
|
1492
|
+
};
|
|
1493
|
+
imports.wbg.__wbg_set_load_op_c71d200e998908b0 = function(arg0, arg1) {
|
|
1494
|
+
getObject(arg0).loadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
1495
|
+
};
|
|
1225
1496
|
imports.wbg.__wbg_set_lod_max_clamp_aaac5daaecca96d4 = function(arg0, arg1) {
|
|
1226
1497
|
getObject(arg0).lodMaxClamp = arg1;
|
|
1227
1498
|
};
|
|
@@ -1237,6 +1508,9 @@ function __wbg_get_imports() {
|
|
|
1237
1508
|
imports.wbg.__wbg_set_mapped_at_creation_2d003ce549611385 = function(arg0, arg1) {
|
|
1238
1509
|
getObject(arg0).mappedAtCreation = arg1 !== 0;
|
|
1239
1510
|
};
|
|
1511
|
+
imports.wbg.__wbg_set_mask_a933ba2e61c7610a = function(arg0, arg1) {
|
|
1512
|
+
getObject(arg0).mask = arg1 >>> 0;
|
|
1513
|
+
};
|
|
1240
1514
|
imports.wbg.__wbg_set_maxDistance_6e90d383a13ce970 = function(arg0, arg1) {
|
|
1241
1515
|
getObject(arg0).maxDistance = arg1;
|
|
1242
1516
|
};
|
|
@@ -1261,24 +1535,63 @@ function __wbg_get_imports() {
|
|
|
1261
1535
|
imports.wbg.__wbg_set_mipmap_filter_79f552c459e63aa6 = function(arg0, arg1) {
|
|
1262
1536
|
getObject(arg0).mipmapFilter = __wbindgen_enum_GpuMipmapFilterMode[arg1];
|
|
1263
1537
|
};
|
|
1538
|
+
imports.wbg.__wbg_set_module_18d541838665d831 = function(arg0, arg1) {
|
|
1539
|
+
getObject(arg0).module = getObject(arg1);
|
|
1540
|
+
};
|
|
1541
|
+
imports.wbg.__wbg_set_module_20641353ebb28712 = function(arg0, arg1) {
|
|
1542
|
+
getObject(arg0).module = getObject(arg1);
|
|
1543
|
+
};
|
|
1544
|
+
imports.wbg.__wbg_set_module_6ece909be28666dd = function(arg0, arg1) {
|
|
1545
|
+
getObject(arg0).module = getObject(arg1);
|
|
1546
|
+
};
|
|
1547
|
+
imports.wbg.__wbg_set_multisample_e0f310ea9e40c2d9 = function(arg0, arg1) {
|
|
1548
|
+
getObject(arg0).multisample = getObject(arg1);
|
|
1549
|
+
};
|
|
1264
1550
|
imports.wbg.__wbg_set_multisampled_cd50d8f6709cea1a = function(arg0, arg1) {
|
|
1265
1551
|
getObject(arg0).multisampled = arg1 !== 0;
|
|
1266
1552
|
};
|
|
1553
|
+
imports.wbg.__wbg_set_offset_2e78915f5d65d704 = function(arg0, arg1) {
|
|
1554
|
+
getObject(arg0).offset = arg1;
|
|
1555
|
+
};
|
|
1556
|
+
imports.wbg.__wbg_set_offset_405017033a936d89 = function(arg0, arg1) {
|
|
1557
|
+
getObject(arg0).offset = arg1;
|
|
1558
|
+
};
|
|
1267
1559
|
imports.wbg.__wbg_set_offset_e7ce8b8eaaf46b95 = function(arg0, arg1) {
|
|
1268
1560
|
getObject(arg0).offset = arg1;
|
|
1269
1561
|
};
|
|
1562
|
+
imports.wbg.__wbg_set_operation_b96fabca3716aaa3 = function(arg0, arg1) {
|
|
1563
|
+
getObject(arg0).operation = __wbindgen_enum_GpuBlendOperation[arg1];
|
|
1564
|
+
};
|
|
1270
1565
|
imports.wbg.__wbg_set_origin_c5f017d3f09ad7ff = function(arg0, arg1) {
|
|
1271
1566
|
getObject(arg0).origin = getObject(arg1);
|
|
1272
1567
|
};
|
|
1568
|
+
imports.wbg.__wbg_set_pass_op_765be90bb2f27220 = function(arg0, arg1) {
|
|
1569
|
+
getObject(arg0).passOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
1570
|
+
};
|
|
1273
1571
|
imports.wbg.__wbg_set_power_preference_39b347bf0d236ce6 = function(arg0, arg1) {
|
|
1274
1572
|
getObject(arg0).powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
|
|
1275
1573
|
};
|
|
1574
|
+
imports.wbg.__wbg_set_primitive_d6456d7efe6b4fe5 = function(arg0, arg1) {
|
|
1575
|
+
getObject(arg0).primitive = getObject(arg1);
|
|
1576
|
+
};
|
|
1577
|
+
imports.wbg.__wbg_set_query_set_20ecd7f9a16f3ec6 = function(arg0, arg1) {
|
|
1578
|
+
getObject(arg0).querySet = getObject(arg1);
|
|
1579
|
+
};
|
|
1580
|
+
imports.wbg.__wbg_set_r_07bd987697069496 = function(arg0, arg1) {
|
|
1581
|
+
getObject(arg0).r = arg1;
|
|
1582
|
+
};
|
|
1276
1583
|
imports.wbg.__wbg_set_refDistance_0cb593d4e4e1273f = function(arg0, arg1) {
|
|
1277
1584
|
getObject(arg0).refDistance = arg1;
|
|
1278
1585
|
};
|
|
1279
1586
|
imports.wbg.__wbg_set_required_features_650c9e5dafbaa395 = function(arg0, arg1) {
|
|
1280
1587
|
getObject(arg0).requiredFeatures = getObject(arg1);
|
|
1281
1588
|
};
|
|
1589
|
+
imports.wbg.__wbg_set_resolve_target_c18cd4048765732a = function(arg0, arg1) {
|
|
1590
|
+
getObject(arg0).resolveTarget = getObject(arg1);
|
|
1591
|
+
};
|
|
1592
|
+
imports.wbg.__wbg_set_resource_8cea0fe2c8745c3e = function(arg0, arg1) {
|
|
1593
|
+
getObject(arg0).resource = getObject(arg1);
|
|
1594
|
+
};
|
|
1282
1595
|
imports.wbg.__wbg_set_rolloffFactor_d99bd3cbca2a952c = function(arg0, arg1) {
|
|
1283
1596
|
getObject(arg0).rolloffFactor = arg1;
|
|
1284
1597
|
};
|
|
@@ -1294,21 +1607,72 @@ function __wbg_get_imports() {
|
|
|
1294
1607
|
imports.wbg.__wbg_set_sampler_1a2729c0aa194081 = function(arg0, arg1) {
|
|
1295
1608
|
getObject(arg0).sampler = getObject(arg1);
|
|
1296
1609
|
};
|
|
1610
|
+
imports.wbg.__wbg_set_shader_location_bdcfdc1009d351b1 = function(arg0, arg1) {
|
|
1611
|
+
getObject(arg0).shaderLocation = arg1 >>> 0;
|
|
1612
|
+
};
|
|
1613
|
+
imports.wbg.__wbg_set_size_7a392ee585f87da8 = function(arg0, arg1) {
|
|
1614
|
+
getObject(arg0).size = arg1;
|
|
1615
|
+
};
|
|
1297
1616
|
imports.wbg.__wbg_set_size_c6bf409f70f4420f = function(arg0, arg1) {
|
|
1298
1617
|
getObject(arg0).size = getObject(arg1);
|
|
1299
1618
|
};
|
|
1300
1619
|
imports.wbg.__wbg_set_size_f902b266d636bf6e = function(arg0, arg1) {
|
|
1301
1620
|
getObject(arg0).size = arg1;
|
|
1302
1621
|
};
|
|
1622
|
+
imports.wbg.__wbg_set_src_factor_50cef27aa8aece91 = function(arg0, arg1) {
|
|
1623
|
+
getObject(arg0).srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
1624
|
+
};
|
|
1625
|
+
imports.wbg.__wbg_set_stencil_back_e740415a5c0b637a = function(arg0, arg1) {
|
|
1626
|
+
getObject(arg0).stencilBack = getObject(arg1);
|
|
1627
|
+
};
|
|
1628
|
+
imports.wbg.__wbg_set_stencil_clear_value_6be76b512040398d = function(arg0, arg1) {
|
|
1629
|
+
getObject(arg0).stencilClearValue = arg1 >>> 0;
|
|
1630
|
+
};
|
|
1631
|
+
imports.wbg.__wbg_set_stencil_front_03185e1c3bafa411 = function(arg0, arg1) {
|
|
1632
|
+
getObject(arg0).stencilFront = getObject(arg1);
|
|
1633
|
+
};
|
|
1634
|
+
imports.wbg.__wbg_set_stencil_load_op_084f44352b978b3d = function(arg0, arg1) {
|
|
1635
|
+
getObject(arg0).stencilLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
1636
|
+
};
|
|
1637
|
+
imports.wbg.__wbg_set_stencil_read_mask_e2736fc4af9399e4 = function(arg0, arg1) {
|
|
1638
|
+
getObject(arg0).stencilReadMask = arg1 >>> 0;
|
|
1639
|
+
};
|
|
1640
|
+
imports.wbg.__wbg_set_stencil_read_only_31f3d99299373c12 = function(arg0, arg1) {
|
|
1641
|
+
getObject(arg0).stencilReadOnly = arg1 !== 0;
|
|
1642
|
+
};
|
|
1643
|
+
imports.wbg.__wbg_set_stencil_store_op_428fb4955e4899d6 = function(arg0, arg1) {
|
|
1644
|
+
getObject(arg0).stencilStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
1645
|
+
};
|
|
1646
|
+
imports.wbg.__wbg_set_stencil_write_mask_b1d3e1655305a187 = function(arg0, arg1) {
|
|
1647
|
+
getObject(arg0).stencilWriteMask = arg1 >>> 0;
|
|
1648
|
+
};
|
|
1649
|
+
imports.wbg.__wbg_set_step_mode_98e49f7877daf1c5 = function(arg0, arg1) {
|
|
1650
|
+
getObject(arg0).stepMode = __wbindgen_enum_GpuVertexStepMode[arg1];
|
|
1651
|
+
};
|
|
1303
1652
|
imports.wbg.__wbg_set_storage_texture_6ee0cbeb50698110 = function(arg0, arg1) {
|
|
1304
1653
|
getObject(arg0).storageTexture = getObject(arg1);
|
|
1305
1654
|
};
|
|
1655
|
+
imports.wbg.__wbg_set_store_op_e761080d541a10cc = function(arg0, arg1) {
|
|
1656
|
+
getObject(arg0).storeOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
1657
|
+
};
|
|
1658
|
+
imports.wbg.__wbg_set_strip_index_format_16df9e33c7aa97e6 = function(arg0, arg1) {
|
|
1659
|
+
getObject(arg0).stripIndexFormat = __wbindgen_enum_GpuIndexFormat[arg1];
|
|
1660
|
+
};
|
|
1661
|
+
imports.wbg.__wbg_set_targets_9fd1ec0b8edc895c = function(arg0, arg1) {
|
|
1662
|
+
getObject(arg0).targets = getObject(arg1);
|
|
1663
|
+
};
|
|
1306
1664
|
imports.wbg.__wbg_set_texture_f03807916f70dcc6 = function(arg0, arg1) {
|
|
1307
1665
|
getObject(arg0).texture = getObject(arg1);
|
|
1308
1666
|
};
|
|
1309
1667
|
imports.wbg.__wbg_set_texture_f8ae0bb4bb159354 = function(arg0, arg1) {
|
|
1310
1668
|
getObject(arg0).texture = getObject(arg1);
|
|
1311
1669
|
};
|
|
1670
|
+
imports.wbg.__wbg_set_timestamp_writes_3998dbfa21e48dbe = function(arg0, arg1) {
|
|
1671
|
+
getObject(arg0).timestampWrites = getObject(arg1);
|
|
1672
|
+
};
|
|
1673
|
+
imports.wbg.__wbg_set_topology_036632318a24227d = function(arg0, arg1) {
|
|
1674
|
+
getObject(arg0).topology = __wbindgen_enum_GpuPrimitiveTopology[arg1];
|
|
1675
|
+
};
|
|
1312
1676
|
imports.wbg.__wbg_set_type_0cb4cdb5eff87f31 = function(arg0, arg1) {
|
|
1313
1677
|
getObject(arg0).type = __wbindgen_enum_GpuBufferBindingType[arg1];
|
|
1314
1678
|
};
|
|
@@ -1318,6 +1682,9 @@ function __wbg_get_imports() {
|
|
|
1318
1682
|
imports.wbg.__wbg_set_type_d05fa8415ad0761f = function(arg0, arg1) {
|
|
1319
1683
|
getObject(arg0).type = __wbindgen_enum_GpuSamplerBindingType[arg1];
|
|
1320
1684
|
};
|
|
1685
|
+
imports.wbg.__wbg_set_unclipped_depth_17a5ab83d4e7cadc = function(arg0, arg1) {
|
|
1686
|
+
getObject(arg0).unclippedDepth = arg1 !== 0;
|
|
1687
|
+
};
|
|
1321
1688
|
imports.wbg.__wbg_set_usage_3d569e7b02227032 = function(arg0, arg1) {
|
|
1322
1689
|
getObject(arg0).usage = arg1 >>> 0;
|
|
1323
1690
|
};
|
|
@@ -1333,6 +1700,15 @@ function __wbg_get_imports() {
|
|
|
1333
1700
|
imports.wbg.__wbg_set_value_9b29412dd286d5d4 = function(arg0, arg1) {
|
|
1334
1701
|
getObject(arg0).value = arg1;
|
|
1335
1702
|
};
|
|
1703
|
+
imports.wbg.__wbg_set_vertex_76b7ac4bdfbb06f4 = function(arg0, arg1) {
|
|
1704
|
+
getObject(arg0).vertex = getObject(arg1);
|
|
1705
|
+
};
|
|
1706
|
+
imports.wbg.__wbg_set_view_1ef41eeb26eaf718 = function(arg0, arg1) {
|
|
1707
|
+
getObject(arg0).view = getObject(arg1);
|
|
1708
|
+
};
|
|
1709
|
+
imports.wbg.__wbg_set_view_46b654a12649c6f6 = function(arg0, arg1) {
|
|
1710
|
+
getObject(arg0).view = getObject(arg1);
|
|
1711
|
+
};
|
|
1336
1712
|
imports.wbg.__wbg_set_view_dimension_12c332494a2697dc = function(arg0, arg1) {
|
|
1337
1713
|
getObject(arg0).viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
1338
1714
|
};
|
|
@@ -1357,6 +1733,9 @@ function __wbg_get_imports() {
|
|
|
1357
1733
|
imports.wbg.__wbg_set_width_7ff7a22c6e9f423e = function(arg0, arg1) {
|
|
1358
1734
|
getObject(arg0).width = arg1 >>> 0;
|
|
1359
1735
|
};
|
|
1736
|
+
imports.wbg.__wbg_set_write_mask_c92743022356850e = function(arg0, arg1) {
|
|
1737
|
+
getObject(arg0).writeMask = arg1 >>> 0;
|
|
1738
|
+
};
|
|
1360
1739
|
imports.wbg.__wbg_set_x_0771b0f86d56cdf9 = function(arg0, arg1) {
|
|
1361
1740
|
getObject(arg0).x = arg1 >>> 0;
|
|
1362
1741
|
};
|
|
@@ -1401,6 +1780,9 @@ function __wbg_get_imports() {
|
|
|
1401
1780
|
const ret = getObject(arg0).top;
|
|
1402
1781
|
return ret;
|
|
1403
1782
|
};
|
|
1783
|
+
imports.wbg.__wbg_unmap_ab94ab04cfb14bee = function(arg0) {
|
|
1784
|
+
getObject(arg0).unmap();
|
|
1785
|
+
};
|
|
1404
1786
|
imports.wbg.__wbg_value_ee261c29fa562a8d = function(arg0) {
|
|
1405
1787
|
const ret = getObject(arg0).value;
|
|
1406
1788
|
return ret;
|
|
@@ -1416,14 +1798,19 @@ function __wbg_get_imports() {
|
|
|
1416
1798
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1417
1799
|
return addHeapObject(ret);
|
|
1418
1800
|
};
|
|
1419
|
-
imports.wbg.
|
|
1420
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1421
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1801
|
+
imports.wbg.__wbindgen_cast_66889d8aaddc848b = function(arg0, arg1) {
|
|
1802
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 38, function: Function { arguments: [Externref], shim_idx: 39, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1803
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_990, __wasm_bindgen_func_elem_991);
|
|
1804
|
+
return addHeapObject(ret);
|
|
1805
|
+
};
|
|
1806
|
+
imports.wbg.__wbindgen_cast_c092c68d0311afcd = function(arg0, arg1) {
|
|
1807
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 38, function: Function { arguments: [NamedExternref("Event")], shim_idx: 39, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1808
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_990, __wasm_bindgen_func_elem_991);
|
|
1422
1809
|
return addHeapObject(ret);
|
|
1423
1810
|
};
|
|
1424
|
-
imports.wbg.
|
|
1425
|
-
// Cast intrinsic for `
|
|
1426
|
-
const ret =
|
|
1811
|
+
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
1812
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1813
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1427
1814
|
return addHeapObject(ret);
|
|
1428
1815
|
};
|
|
1429
1816
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
@@ -1446,6 +1833,7 @@ function __wbg_finalize_init(instance, module) {
|
|
|
1446
1833
|
wasm = instance.exports;
|
|
1447
1834
|
__wbg_init.__wbindgen_wasm_module = module;
|
|
1448
1835
|
cachedDataViewMemory0 = null;
|
|
1836
|
+
cachedUint32ArrayMemory0 = null;
|
|
1449
1837
|
cachedUint8ArrayMemory0 = null;
|
|
1450
1838
|
|
|
1451
1839
|
|
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_991: (a: number, b: number, c: number) => void;
|
|
16
|
+
export const __wasm_bindgen_func_elem_990: (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,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vulfram/transport-wasm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.2-alpha",
|
|
4
4
|
"module": "src/index.ts",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
8
11
|
"dependencies": {
|
|
9
|
-
"@vulfram/transport-types": "^0.2.
|
|
12
|
+
"@vulfram/transport-types": "^0.2.6"
|
|
10
13
|
},
|
|
11
14
|
"devDependencies": {
|
|
12
|
-
"@types/bun": "^1.3.
|
|
15
|
+
"@types/bun": "^1.3.10"
|
|
13
16
|
}
|
|
14
17
|
}
|
package/src/index.ts
CHANGED
|
@@ -37,7 +37,7 @@ function unwrapBufferResult(result: WasmBufferResult): {
|
|
|
37
37
|
buffer: Uint8Array;
|
|
38
38
|
result: number;
|
|
39
39
|
} {
|
|
40
|
-
const buffer = result.
|
|
40
|
+
const buffer = result.takeBuffer();
|
|
41
41
|
const code = result.result;
|
|
42
42
|
result.free();
|
|
43
43
|
return { buffer, result: code };
|