@pencil-lang/figure 0.0.6 → 0.0.7
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 +33 -11
- package/package.json +1 -1
- package/pkg/pencil-figure.min.js +24 -19
- package/pkg/pencil_web.js +507 -349
- package/pkg/pencil_web_bg.wasm +0 -0
- package/src/controls.js +75 -43
- package/src/element.js +163 -51
- package/src/host.js +5 -0
- package/src/wiring.js +93 -8
package/pkg/pencil_web.js
CHANGED
|
@@ -157,44 +157,14 @@ export class Player {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
* @param {string} doc
|
|
164
|
-
* @param {string[]} sheets
|
|
165
|
-
* @param {string[]} names
|
|
166
|
-
* @param {any} files
|
|
167
|
-
*/
|
|
168
|
-
load(doc, sheets, names, files) {
|
|
169
|
-
let ptr0, len0, ptr1, len1, ptr2, len2;
|
|
170
|
-
try {
|
|
171
|
-
ptr0 = passStringToWasm0(doc, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
172
|
-
len0 = WASM_VECTOR_LEN;
|
|
173
|
-
ptr1 = passArrayJsValueToWasm0(sheets, wasm.__wbindgen_malloc);
|
|
174
|
-
len1 = WASM_VECTOR_LEN;
|
|
175
|
-
ptr2 = passArrayJsValueToWasm0(names, wasm.__wbindgen_malloc);
|
|
176
|
-
len2 = WASM_VECTOR_LEN;
|
|
177
|
-
} catch (e) {
|
|
178
|
-
if (ptr2) { wasm.__externref_drop_slice(ptr2, len2); wasm.__wbindgen_free(ptr2, len2 * 4, 4); }
|
|
179
|
-
if (ptr1) { wasm.__externref_drop_slice(ptr1, len1); wasm.__wbindgen_free(ptr1, len1 * 4, 4); }
|
|
180
|
-
if (ptr0) { wasm.__wbindgen_free(ptr0, len0 * 1, 1); }
|
|
181
|
-
throw e;
|
|
182
|
-
}
|
|
183
|
-
const ret = wasm.player_load(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, files);
|
|
184
|
-
if (ret[1]) {
|
|
185
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Takes a figure that `pencil compile` wrote, in place of sources: nothing is parsed. A
|
|
190
|
-
* file from another build of Pencil is an error that says to compile it again, and as with
|
|
191
|
-
* `load`, the previous figure stays on screen.
|
|
192
|
-
* @param {Uint8Array | number[]} bytes
|
|
160
|
+
* Puts a figure `prepare` made on screen, in place of the one there. One made for another
|
|
161
|
+
* player, which can't draw on this one's device, is an error.
|
|
162
|
+
* @param {PreparedFigure} figure
|
|
193
163
|
*/
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
const ret = wasm.
|
|
164
|
+
install(figure) {
|
|
165
|
+
_assertClass(figure, PreparedFigure);
|
|
166
|
+
var ptr0 = figure.__destroy_into_raw();
|
|
167
|
+
const ret = wasm.player_install(this.__wbg_ptr, ptr0);
|
|
198
168
|
if (ret[1]) {
|
|
199
169
|
throw takeFromExternrefTable0(ret[0]);
|
|
200
170
|
}
|
|
@@ -242,6 +212,56 @@ export class Player {
|
|
|
242
212
|
on_lost(callback) {
|
|
243
213
|
wasm.player_on_lost(this.__wbg_ptr, callback);
|
|
244
214
|
}
|
|
215
|
+
/**
|
|
216
|
+
* Compiles new sources for this player, and makes their pipelines, which `install` then puts
|
|
217
|
+
* on screen: `player.install(await player.prepare(doc, sheets, names, files))`. A compile
|
|
218
|
+
* error is thrown at once, and says where it is (see `compile_error`). The promise resolves
|
|
219
|
+
* once the GPU has compiled the figure's shaders, which on WebGPU is done off the thread that
|
|
220
|
+
* composites the page, and rejects with the GPU's error, starting "GPU error:". Either way
|
|
221
|
+
* the previous figure stays on screen until `install`, so a half-typed edit doesn't blank the
|
|
222
|
+
* canvas. Nothing waits holding the player, which draws on meanwhile.
|
|
223
|
+
* @param {string} doc
|
|
224
|
+
* @param {string[]} sheets
|
|
225
|
+
* @param {string[]} names
|
|
226
|
+
* @param {any} files
|
|
227
|
+
* @returns {Promise<any>}
|
|
228
|
+
*/
|
|
229
|
+
prepare(doc, sheets, names, files) {
|
|
230
|
+
let ptr0, len0, ptr1, len1, ptr2, len2;
|
|
231
|
+
try {
|
|
232
|
+
ptr0 = passStringToWasm0(doc, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
233
|
+
len0 = WASM_VECTOR_LEN;
|
|
234
|
+
ptr1 = passArrayJsValueToWasm0(sheets, wasm.__wbindgen_malloc);
|
|
235
|
+
len1 = WASM_VECTOR_LEN;
|
|
236
|
+
ptr2 = passArrayJsValueToWasm0(names, wasm.__wbindgen_malloc);
|
|
237
|
+
len2 = WASM_VECTOR_LEN;
|
|
238
|
+
} catch (e) {
|
|
239
|
+
if (ptr2) { wasm.__externref_drop_slice(ptr2, len2); wasm.__wbindgen_free(ptr2, len2 * 4, 4); }
|
|
240
|
+
if (ptr1) { wasm.__externref_drop_slice(ptr1, len1); wasm.__wbindgen_free(ptr1, len1 * 4, 4); }
|
|
241
|
+
if (ptr0) { wasm.__wbindgen_free(ptr0, len0 * 1, 1); }
|
|
242
|
+
throw e;
|
|
243
|
+
}
|
|
244
|
+
const ret = wasm.player_prepare(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, files);
|
|
245
|
+
if (ret[2]) {
|
|
246
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
247
|
+
}
|
|
248
|
+
return takeFromExternrefTable0(ret[0]);
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* As `prepare`, from a figure that `pencil compile` wrote, in place of sources: nothing is
|
|
252
|
+
* parsed. A file from another build of Pencil is an error that says to compile it again.
|
|
253
|
+
* @param {Uint8Array | number[]} bytes
|
|
254
|
+
* @returns {Promise<any>}
|
|
255
|
+
*/
|
|
256
|
+
prepare_compiled(bytes) {
|
|
257
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
258
|
+
const len0 = WASM_VECTOR_LEN;
|
|
259
|
+
const ret = wasm.player_prepare_compiled(this.__wbg_ptr, ptr0, len0);
|
|
260
|
+
if (ret[2]) {
|
|
261
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
262
|
+
}
|
|
263
|
+
return takeFromExternrefTable0(ret[0]);
|
|
264
|
+
}
|
|
245
265
|
/**
|
|
246
266
|
* Computes the CPU side of a frame without drawing, to measure that cost. Returns
|
|
247
267
|
* the number of stroke segments.
|
|
@@ -416,6 +436,31 @@ export class Player {
|
|
|
416
436
|
}
|
|
417
437
|
if (Symbol.dispose) Player.prototype[Symbol.dispose] = Player.prototype.free;
|
|
418
438
|
|
|
439
|
+
/**
|
|
440
|
+
* A figure compiled and with its pipelines made, by `Player.prepare`, for that player's `install`.
|
|
441
|
+
* Free one that's not installed, as when a newer figure took its place, to let go of its GPU
|
|
442
|
+
* resources at once.
|
|
443
|
+
*/
|
|
444
|
+
export class PreparedFigure {
|
|
445
|
+
static __wrap(ptr) {
|
|
446
|
+
const obj = Object.create(PreparedFigure.prototype);
|
|
447
|
+
obj.__wbg_ptr = ptr;
|
|
448
|
+
PreparedFigureFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
449
|
+
return obj;
|
|
450
|
+
}
|
|
451
|
+
__destroy_into_raw() {
|
|
452
|
+
const ptr = this.__wbg_ptr;
|
|
453
|
+
this.__wbg_ptr = 0;
|
|
454
|
+
PreparedFigureFinalization.unregister(this);
|
|
455
|
+
return ptr;
|
|
456
|
+
}
|
|
457
|
+
free() {
|
|
458
|
+
const ptr = this.__destroy_into_raw();
|
|
459
|
+
wasm.__wbg_preparedfigure_free(ptr, 0);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
if (Symbol.dispose) PreparedFigure.prototype[Symbol.dispose] = PreparedFigure.prototype.free;
|
|
463
|
+
|
|
419
464
|
/**
|
|
420
465
|
* A document's design size, as JSON `[width, height]`, to shape its canvas before a player
|
|
421
466
|
* exists to draw on it.
|
|
@@ -689,11 +734,11 @@ function __wbg_get_imports() {
|
|
|
689
734
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
690
735
|
return ret;
|
|
691
736
|
},
|
|
692
|
-
|
|
737
|
+
__wbg_Window_fef571b39b470387: function(arg0) {
|
|
693
738
|
const ret = arg0.Window;
|
|
694
739
|
return ret;
|
|
695
740
|
},
|
|
696
|
-
|
|
741
|
+
__wbg_WorkerGlobalScope_3ed6dee4573270f6: function(arg0) {
|
|
697
742
|
const ret = arg0.WorkerGlobalScope;
|
|
698
743
|
return ret;
|
|
699
744
|
},
|
|
@@ -751,6 +796,9 @@ function __wbg_get_imports() {
|
|
|
751
796
|
__wbg_activeTexture_89cef8c297ad0698: function(arg0, arg1) {
|
|
752
797
|
arg0.activeTexture(arg1 >>> 0);
|
|
753
798
|
},
|
|
799
|
+
__wbg_addEventListener_847fd86b8c33ec43: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
800
|
+
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
801
|
+
}, arguments); },
|
|
754
802
|
__wbg_attachShader_3ed301cc92db59f6: function(arg0, arg1, arg2) {
|
|
755
803
|
arg0.attachShader(arg1, arg2);
|
|
756
804
|
},
|
|
@@ -760,7 +808,7 @@ function __wbg_get_imports() {
|
|
|
760
808
|
__wbg_beginQuery_f800947e639433e8: function(arg0, arg1, arg2) {
|
|
761
809
|
arg0.beginQuery(arg1 >>> 0, arg2);
|
|
762
810
|
},
|
|
763
|
-
|
|
811
|
+
__wbg_beginRenderPass_a4373284aaed4f43: function() { return handleError(function (arg0, arg1) {
|
|
764
812
|
const ret = arg0.beginRenderPass(arg1);
|
|
765
813
|
return ret;
|
|
766
814
|
}, arguments); },
|
|
@@ -923,9 +971,13 @@ function __wbg_get_imports() {
|
|
|
923
971
|
__wbg_compressedTexSubImage3D_e1d361485803b713: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
924
972
|
arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10);
|
|
925
973
|
},
|
|
926
|
-
|
|
974
|
+
__wbg_configure_31516cc3b0858ec8: function() { return handleError(function (arg0, arg1) {
|
|
927
975
|
arg0.configure(arg1);
|
|
928
976
|
}, arguments); },
|
|
977
|
+
__wbg_constructor_76ad3e2c50d259de: function(arg0) {
|
|
978
|
+
const ret = arg0.constructor;
|
|
979
|
+
return ret;
|
|
980
|
+
},
|
|
929
981
|
__wbg_copyBufferSubData_b10635982222cbc4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
930
982
|
arg0.copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
931
983
|
},
|
|
@@ -938,11 +990,11 @@ function __wbg_get_imports() {
|
|
|
938
990
|
__wbg_copyTexSubImage3D_e35f615c7c8244ba: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
939
991
|
arg0.copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
|
|
940
992
|
},
|
|
941
|
-
|
|
993
|
+
__wbg_createBindGroupLayout_4f241660bcf17970: function() { return handleError(function (arg0, arg1) {
|
|
942
994
|
const ret = arg0.createBindGroupLayout(arg1);
|
|
943
995
|
return ret;
|
|
944
996
|
}, arguments); },
|
|
945
|
-
|
|
997
|
+
__wbg_createBindGroup_655c6e6c0258530e: function(arg0, arg1) {
|
|
946
998
|
const ret = arg0.createBindGroup(arg1);
|
|
947
999
|
return ret;
|
|
948
1000
|
},
|
|
@@ -950,7 +1002,7 @@ function __wbg_get_imports() {
|
|
|
950
1002
|
const ret = arg0.createBuffer();
|
|
951
1003
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
952
1004
|
},
|
|
953
|
-
|
|
1005
|
+
__wbg_createBuffer_6cf1a721b324813a: function() { return handleError(function (arg0, arg1) {
|
|
954
1006
|
const ret = arg0.createBuffer(arg1);
|
|
955
1007
|
return ret;
|
|
956
1008
|
}, arguments); },
|
|
@@ -958,7 +1010,7 @@ function __wbg_get_imports() {
|
|
|
958
1010
|
const ret = arg0.createBuffer();
|
|
959
1011
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
960
1012
|
},
|
|
961
|
-
|
|
1013
|
+
__wbg_createCommandEncoder_ec1f40f0cb4d09df: function(arg0, arg1) {
|
|
962
1014
|
const ret = arg0.createCommandEncoder(arg1);
|
|
963
1015
|
return ret;
|
|
964
1016
|
},
|
|
@@ -970,7 +1022,7 @@ function __wbg_get_imports() {
|
|
|
970
1022
|
const ret = arg0.createFramebuffer();
|
|
971
1023
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
972
1024
|
},
|
|
973
|
-
|
|
1025
|
+
__wbg_createPipelineLayout_2c8cd4528b06c108: function(arg0, arg1) {
|
|
974
1026
|
const ret = arg0.createPipelineLayout(arg1);
|
|
975
1027
|
return ret;
|
|
976
1028
|
},
|
|
@@ -986,10 +1038,10 @@ function __wbg_get_imports() {
|
|
|
986
1038
|
const ret = arg0.createQuery();
|
|
987
1039
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
988
1040
|
},
|
|
989
|
-
|
|
990
|
-
const ret = arg0.
|
|
1041
|
+
__wbg_createRenderPipelineAsync_eecad1e54ef27acf: function(arg0, arg1) {
|
|
1042
|
+
const ret = arg0.createRenderPipelineAsync(arg1);
|
|
991
1043
|
return ret;
|
|
992
|
-
},
|
|
1044
|
+
},
|
|
993
1045
|
__wbg_createRenderbuffer_19c2eec619a37a15: function(arg0) {
|
|
994
1046
|
const ret = arg0.createRenderbuffer();
|
|
995
1047
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -1002,7 +1054,7 @@ function __wbg_get_imports() {
|
|
|
1002
1054
|
const ret = arg0.createSampler();
|
|
1003
1055
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1004
1056
|
},
|
|
1005
|
-
|
|
1057
|
+
__wbg_createShaderModule_2e44fc7677c6288b: function(arg0, arg1) {
|
|
1006
1058
|
const ret = arg0.createShaderModule(arg1);
|
|
1007
1059
|
return ret;
|
|
1008
1060
|
},
|
|
@@ -1014,7 +1066,7 @@ function __wbg_get_imports() {
|
|
|
1014
1066
|
const ret = arg0.createShader(arg1 >>> 0);
|
|
1015
1067
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1016
1068
|
},
|
|
1017
|
-
|
|
1069
|
+
__wbg_createTexture_0550382a3890c559: function() { return handleError(function (arg0, arg1) {
|
|
1018
1070
|
const ret = arg0.createTexture(arg1);
|
|
1019
1071
|
return ret;
|
|
1020
1072
|
}, arguments); },
|
|
@@ -1034,7 +1086,7 @@ function __wbg_get_imports() {
|
|
|
1034
1086
|
const ret = arg0.createVertexArray();
|
|
1035
1087
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1036
1088
|
},
|
|
1037
|
-
|
|
1089
|
+
__wbg_createView_472059ff382a2e65: function() { return handleError(function (arg0, arg1) {
|
|
1038
1090
|
const ret = arg0.createView(arg1);
|
|
1039
1091
|
return ret;
|
|
1040
1092
|
}, arguments); },
|
|
@@ -1113,17 +1165,14 @@ function __wbg_get_imports() {
|
|
|
1113
1165
|
__wbg_depthRange_942825e3232596de: function(arg0, arg1, arg2) {
|
|
1114
1166
|
arg0.depthRange(arg1, arg2);
|
|
1115
1167
|
},
|
|
1116
|
-
|
|
1168
|
+
__wbg_description_5eb53b355f0598bc: function(arg0, arg1) {
|
|
1117
1169
|
const ret = arg1.description;
|
|
1118
1170
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1119
1171
|
const len1 = WASM_VECTOR_LEN;
|
|
1120
1172
|
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
|
|
1121
1173
|
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
|
|
1122
1174
|
},
|
|
1123
|
-
|
|
1124
|
-
arg0.destroy();
|
|
1125
|
-
},
|
|
1126
|
-
__wbg_destroy_637537007d9eaa44: function(arg0) {
|
|
1175
|
+
__wbg_destroy_b59cccd349464fab: function(arg0) {
|
|
1127
1176
|
arg0.destroy();
|
|
1128
1177
|
},
|
|
1129
1178
|
__wbg_disableVertexAttribArray_011898581287ef1e: function(arg0, arg1) {
|
|
@@ -1166,7 +1215,7 @@ function __wbg_get_imports() {
|
|
|
1166
1215
|
__wbg_drawElementsInstanced_3240c0c168d6af87: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1167
1216
|
arg0.drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
1168
1217
|
},
|
|
1169
|
-
|
|
1218
|
+
__wbg_draw_6877f98847e1e36c: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1170
1219
|
arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1171
1220
|
},
|
|
1172
1221
|
__wbg_enableVertexAttribArray_d485706ade6bebf8: function(arg0, arg1) {
|
|
@@ -1184,10 +1233,10 @@ function __wbg_get_imports() {
|
|
|
1184
1233
|
__wbg_endQuery_f052a8f0f3589d3b: function(arg0, arg1) {
|
|
1185
1234
|
arg0.endQuery(arg1 >>> 0);
|
|
1186
1235
|
},
|
|
1187
|
-
|
|
1236
|
+
__wbg_end_f99ebed53d4e198a: function(arg0) {
|
|
1188
1237
|
arg0.end();
|
|
1189
1238
|
},
|
|
1190
|
-
|
|
1239
|
+
__wbg_error_6aedd1e3b61238a4: function(arg0) {
|
|
1191
1240
|
const ret = arg0.error;
|
|
1192
1241
|
return ret;
|
|
1193
1242
|
},
|
|
@@ -1206,7 +1255,11 @@ function __wbg_get_imports() {
|
|
|
1206
1255
|
const ret = arg0.fenceSync(arg1 >>> 0, arg2 >>> 0);
|
|
1207
1256
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1208
1257
|
},
|
|
1209
|
-
|
|
1258
|
+
__wbg_finish_4d91de5e927dd13f: function(arg0, arg1) {
|
|
1259
|
+
const ret = arg0.finish(arg1);
|
|
1260
|
+
return ret;
|
|
1261
|
+
},
|
|
1262
|
+
__wbg_finish_6e06b68ab68cd9f6: function(arg0) {
|
|
1210
1263
|
const ret = arg0.finish();
|
|
1211
1264
|
return ret;
|
|
1212
1265
|
},
|
|
@@ -1216,10 +1269,6 @@ function __wbg_get_imports() {
|
|
|
1216
1269
|
__wbg_finish_abf9726b03095270: function(arg0) {
|
|
1217
1270
|
arg0.finish();
|
|
1218
1271
|
},
|
|
1219
|
-
__wbg_finish_ec1c191f66a895b1: function(arg0, arg1) {
|
|
1220
|
-
const ret = arg0.finish(arg1);
|
|
1221
|
-
return ret;
|
|
1222
|
-
},
|
|
1223
1272
|
__wbg_flush_4911c503a18d091d: function(arg0) {
|
|
1224
1273
|
arg0.flush();
|
|
1225
1274
|
},
|
|
@@ -1269,7 +1318,7 @@ function __wbg_get_imports() {
|
|
|
1269
1318
|
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
|
|
1270
1319
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1271
1320
|
}, arguments); },
|
|
1272
|
-
|
|
1321
|
+
__wbg_getCurrentTexture_e8a9a61398a831a1: function() { return handleError(function (arg0) {
|
|
1273
1322
|
const ret = arg0.getCurrentTexture();
|
|
1274
1323
|
return ret;
|
|
1275
1324
|
}, arguments); },
|
|
@@ -1281,10 +1330,6 @@ function __wbg_get_imports() {
|
|
|
1281
1330
|
const ret = arg0.getIndexedParameter(arg1 >>> 0, arg2 >>> 0);
|
|
1282
1331
|
return ret;
|
|
1283
1332
|
}, arguments); },
|
|
1284
|
-
__wbg_getMappedRange_28e816a763520e01: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1285
|
-
const ret = arg0.getMappedRange(arg1, arg2);
|
|
1286
|
-
return ret;
|
|
1287
|
-
}, arguments); },
|
|
1288
1333
|
__wbg_getParameter_4c67158a3cef7a34: function() { return handleError(function (arg0, arg1) {
|
|
1289
1334
|
const ret = arg0.getParameter(arg1 >>> 0);
|
|
1290
1335
|
return ret;
|
|
@@ -1293,7 +1338,7 @@ function __wbg_get_imports() {
|
|
|
1293
1338
|
const ret = arg0.getParameter(arg1 >>> 0);
|
|
1294
1339
|
return ret;
|
|
1295
1340
|
}, arguments); },
|
|
1296
|
-
|
|
1341
|
+
__wbg_getPreferredCanvasFormat_8b57039d1801a506: function(arg0) {
|
|
1297
1342
|
const ret = arg0.getPreferredCanvasFormat();
|
|
1298
1343
|
return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 102) - 1;
|
|
1299
1344
|
},
|
|
@@ -1381,7 +1426,7 @@ function __wbg_get_imports() {
|
|
|
1381
1426
|
const ret = arg0[arg1 >>> 0];
|
|
1382
1427
|
return ret;
|
|
1383
1428
|
},
|
|
1384
|
-
|
|
1429
|
+
__wbg_gpu_e058e0d4226b6ad9: function(arg0) {
|
|
1385
1430
|
const ret = arg0.gpu;
|
|
1386
1431
|
return ret;
|
|
1387
1432
|
},
|
|
@@ -1393,11 +1438,21 @@ function __wbg_get_imports() {
|
|
|
1393
1438
|
const ret = arg0.includes(arg1, arg2);
|
|
1394
1439
|
return ret;
|
|
1395
1440
|
},
|
|
1396
|
-
|
|
1441
|
+
__wbg_info_166f8675cbf261b8: function(arg0) {
|
|
1397
1442
|
const ret = arg0.info;
|
|
1398
1443
|
return ret;
|
|
1399
1444
|
},
|
|
1400
|
-
|
|
1445
|
+
__wbg_instanceof_GpuInternalError_00de98ff234e8feb: function(arg0) {
|
|
1446
|
+
let result;
|
|
1447
|
+
try {
|
|
1448
|
+
result = arg0 instanceof GPUInternalError;
|
|
1449
|
+
} catch (_) {
|
|
1450
|
+
result = false;
|
|
1451
|
+
}
|
|
1452
|
+
const ret = result;
|
|
1453
|
+
return ret;
|
|
1454
|
+
},
|
|
1455
|
+
__wbg_instanceof_GpuOutOfMemoryError_8ae000311acd3c96: function(arg0) {
|
|
1401
1456
|
let result;
|
|
1402
1457
|
try {
|
|
1403
1458
|
result = arg0 instanceof GPUOutOfMemoryError;
|
|
@@ -1407,7 +1462,17 @@ function __wbg_get_imports() {
|
|
|
1407
1462
|
const ret = result;
|
|
1408
1463
|
return ret;
|
|
1409
1464
|
},
|
|
1410
|
-
|
|
1465
|
+
__wbg_instanceof_GpuPipelineError_c20f49900d0cfcf5: function(arg0) {
|
|
1466
|
+
let result;
|
|
1467
|
+
try {
|
|
1468
|
+
result = arg0 instanceof GPUPipelineError;
|
|
1469
|
+
} catch (_) {
|
|
1470
|
+
result = false;
|
|
1471
|
+
}
|
|
1472
|
+
const ret = result;
|
|
1473
|
+
return ret;
|
|
1474
|
+
},
|
|
1475
|
+
__wbg_instanceof_GpuValidationError_a5ae06cf97b1e648: function(arg0) {
|
|
1411
1476
|
let result;
|
|
1412
1477
|
try {
|
|
1413
1478
|
result = arg0 instanceof GPUValidationError;
|
|
@@ -1427,6 +1492,16 @@ function __wbg_get_imports() {
|
|
|
1427
1492
|
const ret = result;
|
|
1428
1493
|
return ret;
|
|
1429
1494
|
},
|
|
1495
|
+
__wbg_instanceof_TypeError_c5c1ddf07436286a: function(arg0) {
|
|
1496
|
+
let result;
|
|
1497
|
+
try {
|
|
1498
|
+
result = arg0 instanceof TypeError;
|
|
1499
|
+
} catch (_) {
|
|
1500
|
+
result = false;
|
|
1501
|
+
}
|
|
1502
|
+
const ret = result;
|
|
1503
|
+
return ret;
|
|
1504
|
+
},
|
|
1430
1505
|
__wbg_instanceof_WebGl2RenderingContext_de6feb460369d6c6: function(arg0) {
|
|
1431
1506
|
let result;
|
|
1432
1507
|
try {
|
|
@@ -1450,7 +1525,7 @@ function __wbg_get_imports() {
|
|
|
1450
1525
|
__wbg_invalidateFramebuffer_33206c632642a1bd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1451
1526
|
arg0.invalidateFramebuffer(arg1 >>> 0, arg2);
|
|
1452
1527
|
}, arguments); },
|
|
1453
|
-
|
|
1528
|
+
__wbg_isFallbackAdapter_10204c602a8b8ce0: function(arg0) {
|
|
1454
1529
|
const ret = arg0.isFallbackAdapter;
|
|
1455
1530
|
return ret;
|
|
1456
1531
|
},
|
|
@@ -1458,7 +1533,7 @@ function __wbg_get_imports() {
|
|
|
1458
1533
|
const ret = Object.is(arg0, arg1);
|
|
1459
1534
|
return ret;
|
|
1460
1535
|
},
|
|
1461
|
-
|
|
1536
|
+
__wbg_label_36559528632f5c02: function(arg0, arg1) {
|
|
1462
1537
|
const ret = arg1.label;
|
|
1463
1538
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1464
1539
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -1469,11 +1544,11 @@ function __wbg_get_imports() {
|
|
|
1469
1544
|
const ret = arg0.length;
|
|
1470
1545
|
return ret;
|
|
1471
1546
|
},
|
|
1472
|
-
|
|
1547
|
+
__wbg_limits_004e9b9176e42b5a: function(arg0) {
|
|
1473
1548
|
const ret = arg0.limits;
|
|
1474
1549
|
return ret;
|
|
1475
1550
|
},
|
|
1476
|
-
|
|
1551
|
+
__wbg_limits_e31d779796c3ee27: function(arg0) {
|
|
1477
1552
|
const ret = arg0.limits;
|
|
1478
1553
|
return ret;
|
|
1479
1554
|
},
|
|
@@ -1483,160 +1558,183 @@ function __wbg_get_imports() {
|
|
|
1483
1558
|
__wbg_linkProgram_dee7cda98bacb12f: function(arg0, arg1) {
|
|
1484
1559
|
arg0.linkProgram(arg1);
|
|
1485
1560
|
},
|
|
1486
|
-
|
|
1561
|
+
__wbg_lost_83c927e8629f0968: function(arg0) {
|
|
1487
1562
|
const ret = arg0.lost;
|
|
1488
1563
|
return ret;
|
|
1489
1564
|
},
|
|
1490
|
-
|
|
1565
|
+
__wbg_mapAsync_52b01fa9e8f765fd: function(arg0, arg1, arg2, arg3) {
|
|
1491
1566
|
const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
|
|
1492
1567
|
return ret;
|
|
1493
1568
|
},
|
|
1494
|
-
|
|
1495
|
-
const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
|
|
1496
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1497
|
-
}, arguments); },
|
|
1498
|
-
__wbg_matches_a47c420646498c64: function(arg0) {
|
|
1499
|
-
const ret = arg0.matches;
|
|
1500
|
-
return ret;
|
|
1501
|
-
},
|
|
1502
|
-
__wbg_maxBindGroupsPlusVertexBuffers_1face4afb5363937: function(arg0) {
|
|
1569
|
+
__wbg_maxBindGroupsPlusVertexBuffers_69cb88a30b370f22: function(arg0) {
|
|
1503
1570
|
const ret = arg0.maxBindGroupsPlusVertexBuffers;
|
|
1504
1571
|
return ret;
|
|
1505
1572
|
},
|
|
1506
|
-
|
|
1573
|
+
__wbg_maxBindGroups_5349434f04dfe574: function(arg0) {
|
|
1507
1574
|
const ret = arg0.maxBindGroups;
|
|
1508
1575
|
return ret;
|
|
1509
1576
|
},
|
|
1510
|
-
|
|
1577
|
+
__wbg_maxBindingsPerBindGroup_e5abb97f3633e3e2: function(arg0) {
|
|
1511
1578
|
const ret = arg0.maxBindingsPerBindGroup;
|
|
1512
1579
|
return ret;
|
|
1513
1580
|
},
|
|
1514
|
-
|
|
1581
|
+
__wbg_maxBufferSize_f98e2db09a228def: function(arg0) {
|
|
1515
1582
|
const ret = arg0.maxBufferSize;
|
|
1516
1583
|
return ret;
|
|
1517
1584
|
},
|
|
1518
|
-
|
|
1585
|
+
__wbg_maxColorAttachmentBytesPerSample_168d239d0758170c: function(arg0) {
|
|
1519
1586
|
const ret = arg0.maxColorAttachmentBytesPerSample;
|
|
1520
1587
|
return ret;
|
|
1521
1588
|
},
|
|
1522
|
-
|
|
1589
|
+
__wbg_maxColorAttachments_cadaa65e5d5418c0: function(arg0) {
|
|
1523
1590
|
const ret = arg0.maxColorAttachments;
|
|
1524
1591
|
return ret;
|
|
1525
1592
|
},
|
|
1526
|
-
|
|
1593
|
+
__wbg_maxComputeInvocationsPerWorkgroup_50f5f93641dd75f6: function(arg0) {
|
|
1527
1594
|
const ret = arg0.maxComputeInvocationsPerWorkgroup;
|
|
1528
1595
|
return ret;
|
|
1529
1596
|
},
|
|
1530
|
-
|
|
1597
|
+
__wbg_maxComputeWorkgroupSizeX_3c3bd0b6d623cf60: function(arg0) {
|
|
1531
1598
|
const ret = arg0.maxComputeWorkgroupSizeX;
|
|
1532
1599
|
return ret;
|
|
1533
1600
|
},
|
|
1534
|
-
|
|
1601
|
+
__wbg_maxComputeWorkgroupSizeY_20d139a1ff9fb647: function(arg0) {
|
|
1535
1602
|
const ret = arg0.maxComputeWorkgroupSizeY;
|
|
1536
1603
|
return ret;
|
|
1537
1604
|
},
|
|
1538
|
-
|
|
1605
|
+
__wbg_maxComputeWorkgroupSizeZ_e52391c32200733c: function(arg0) {
|
|
1539
1606
|
const ret = arg0.maxComputeWorkgroupSizeZ;
|
|
1540
1607
|
return ret;
|
|
1541
1608
|
},
|
|
1542
|
-
|
|
1609
|
+
__wbg_maxComputeWorkgroupStorageSize_251ef2439d10f56a: function(arg0) {
|
|
1543
1610
|
const ret = arg0.maxComputeWorkgroupStorageSize;
|
|
1544
1611
|
return ret;
|
|
1545
1612
|
},
|
|
1546
|
-
|
|
1613
|
+
__wbg_maxComputeWorkgroupsPerDimension_d236d7ce817aa30a: function(arg0) {
|
|
1547
1614
|
const ret = arg0.maxComputeWorkgroupsPerDimension;
|
|
1548
1615
|
return ret;
|
|
1549
1616
|
},
|
|
1550
|
-
|
|
1617
|
+
__wbg_maxDynamicStorageBuffersPerPipelineLayout_57ef8577fcb28389: function(arg0) {
|
|
1551
1618
|
const ret = arg0.maxDynamicStorageBuffersPerPipelineLayout;
|
|
1552
1619
|
return ret;
|
|
1553
1620
|
},
|
|
1554
|
-
|
|
1621
|
+
__wbg_maxDynamicUniformBuffersPerPipelineLayout_dff4af4418fb000f: function(arg0) {
|
|
1555
1622
|
const ret = arg0.maxDynamicUniformBuffersPerPipelineLayout;
|
|
1556
1623
|
return ret;
|
|
1557
1624
|
},
|
|
1558
|
-
|
|
1625
|
+
__wbg_maxInterStageShaderVariables_3f6e16b309a04a3b: function(arg0) {
|
|
1559
1626
|
const ret = arg0.maxInterStageShaderVariables;
|
|
1560
1627
|
return ret;
|
|
1561
1628
|
},
|
|
1562
|
-
|
|
1629
|
+
__wbg_maxSampledTexturesPerShaderStage_c37c627cf5627f7b: function(arg0) {
|
|
1563
1630
|
const ret = arg0.maxSampledTexturesPerShaderStage;
|
|
1564
1631
|
return ret;
|
|
1565
1632
|
},
|
|
1566
|
-
|
|
1633
|
+
__wbg_maxSamplersPerShaderStage_0bbc3266ffd62c7a: function(arg0) {
|
|
1567
1634
|
const ret = arg0.maxSamplersPerShaderStage;
|
|
1568
1635
|
return ret;
|
|
1569
1636
|
},
|
|
1570
|
-
|
|
1637
|
+
__wbg_maxStorageBufferBindingSize_dbd810e2b1429e9e: function(arg0) {
|
|
1571
1638
|
const ret = arg0.maxStorageBufferBindingSize;
|
|
1572
1639
|
return ret;
|
|
1573
1640
|
},
|
|
1574
|
-
|
|
1641
|
+
__wbg_maxStorageBuffersInFragmentStage_9e9425db9d38e351: function(arg0) {
|
|
1642
|
+
const ret = arg0.maxStorageBuffersInFragmentStage;
|
|
1643
|
+
return ret;
|
|
1644
|
+
},
|
|
1645
|
+
__wbg_maxStorageBuffersInVertexStage_636db37a45f9f3e1: function(arg0) {
|
|
1646
|
+
const ret = arg0.maxStorageBuffersInVertexStage;
|
|
1647
|
+
return ret;
|
|
1648
|
+
},
|
|
1649
|
+
__wbg_maxStorageBuffersPerShaderStage_9cb5ad869bdf5e70: function(arg0) {
|
|
1575
1650
|
const ret = arg0.maxStorageBuffersPerShaderStage;
|
|
1576
1651
|
return ret;
|
|
1577
1652
|
},
|
|
1578
|
-
|
|
1653
|
+
__wbg_maxStorageTexturesInFragmentStage_47eee7edb7e61c95: function(arg0) {
|
|
1654
|
+
const ret = arg0.maxStorageTexturesInFragmentStage;
|
|
1655
|
+
return ret;
|
|
1656
|
+
},
|
|
1657
|
+
__wbg_maxStorageTexturesInVertexStage_04ccfe8e185c28e0: function(arg0) {
|
|
1658
|
+
const ret = arg0.maxStorageTexturesInVertexStage;
|
|
1659
|
+
return ret;
|
|
1660
|
+
},
|
|
1661
|
+
__wbg_maxStorageTexturesPerShaderStage_5ffcf5ffbee340da: function(arg0) {
|
|
1579
1662
|
const ret = arg0.maxStorageTexturesPerShaderStage;
|
|
1580
1663
|
return ret;
|
|
1581
1664
|
},
|
|
1582
|
-
|
|
1665
|
+
__wbg_maxTextureArrayLayers_6c0ca4e58060a6d0: function(arg0) {
|
|
1583
1666
|
const ret = arg0.maxTextureArrayLayers;
|
|
1584
1667
|
return ret;
|
|
1585
1668
|
},
|
|
1586
|
-
|
|
1669
|
+
__wbg_maxTextureDimension1D_56bf564ae9425b84: function(arg0) {
|
|
1587
1670
|
const ret = arg0.maxTextureDimension1D;
|
|
1588
1671
|
return ret;
|
|
1589
1672
|
},
|
|
1590
|
-
|
|
1673
|
+
__wbg_maxTextureDimension2D_881bb516c9fc7101: function(arg0) {
|
|
1591
1674
|
const ret = arg0.maxTextureDimension2D;
|
|
1592
1675
|
return ret;
|
|
1593
1676
|
},
|
|
1594
|
-
|
|
1677
|
+
__wbg_maxTextureDimension3D_d6c0d2ae3fae66c7: function(arg0) {
|
|
1595
1678
|
const ret = arg0.maxTextureDimension3D;
|
|
1596
1679
|
return ret;
|
|
1597
1680
|
},
|
|
1598
|
-
|
|
1681
|
+
__wbg_maxUniformBufferBindingSize_68dcfbeb2a7d904f: function(arg0) {
|
|
1599
1682
|
const ret = arg0.maxUniformBufferBindingSize;
|
|
1600
1683
|
return ret;
|
|
1601
1684
|
},
|
|
1602
|
-
|
|
1685
|
+
__wbg_maxUniformBuffersPerShaderStage_f63870e64b1ccfe8: function(arg0) {
|
|
1603
1686
|
const ret = arg0.maxUniformBuffersPerShaderStage;
|
|
1604
1687
|
return ret;
|
|
1605
1688
|
},
|
|
1606
|
-
|
|
1689
|
+
__wbg_maxVertexAttributes_a88dee81cc8d8d34: function(arg0) {
|
|
1607
1690
|
const ret = arg0.maxVertexAttributes;
|
|
1608
1691
|
return ret;
|
|
1609
1692
|
},
|
|
1610
|
-
|
|
1693
|
+
__wbg_maxVertexBufferArrayStride_ed14769769bead3e: function(arg0) {
|
|
1611
1694
|
const ret = arg0.maxVertexBufferArrayStride;
|
|
1612
1695
|
return ret;
|
|
1613
1696
|
},
|
|
1614
|
-
|
|
1697
|
+
__wbg_maxVertexBuffers_18328b6e2bcccea5: function(arg0) {
|
|
1615
1698
|
const ret = arg0.maxVertexBuffers;
|
|
1616
1699
|
return ret;
|
|
1617
1700
|
},
|
|
1618
|
-
|
|
1701
|
+
__wbg_message_43d8c8f1d543a349: function(arg0) {
|
|
1702
|
+
const ret = arg0.message;
|
|
1703
|
+
return ret;
|
|
1704
|
+
},
|
|
1705
|
+
__wbg_message_4c75c59aa4f38c75: function(arg0, arg1) {
|
|
1619
1706
|
const ret = arg1.message;
|
|
1620
1707
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1621
1708
|
const len1 = WASM_VECTOR_LEN;
|
|
1622
1709
|
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
|
|
1623
1710
|
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
|
|
1624
1711
|
},
|
|
1625
|
-
|
|
1712
|
+
__wbg_message_7edc18bf257de1a4: function(arg0, arg1) {
|
|
1626
1713
|
const ret = arg1.message;
|
|
1627
1714
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1628
1715
|
const len1 = WASM_VECTOR_LEN;
|
|
1629
1716
|
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
|
|
1630
1717
|
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
|
|
1631
1718
|
},
|
|
1632
|
-
|
|
1719
|
+
__wbg_message_fc58bc095885b5e5: function(arg0, arg1) {
|
|
1720
|
+
const ret = arg1.message;
|
|
1721
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1722
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1723
|
+
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
|
|
1724
|
+
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
|
|
1725
|
+
},
|
|
1726
|
+
__wbg_minStorageBufferOffsetAlignment_2a758f06e9ae6048: function(arg0) {
|
|
1633
1727
|
const ret = arg0.minStorageBufferOffsetAlignment;
|
|
1634
1728
|
return ret;
|
|
1635
1729
|
},
|
|
1636
|
-
|
|
1730
|
+
__wbg_minUniformBufferOffsetAlignment_56a700cb14852d0b: function(arg0) {
|
|
1637
1731
|
const ret = arg0.minUniformBufferOffsetAlignment;
|
|
1638
1732
|
return ret;
|
|
1639
1733
|
},
|
|
1734
|
+
__wbg_name_fd11f69c917c5670: function(arg0) {
|
|
1735
|
+
const ret = arg0.name;
|
|
1736
|
+
return ret;
|
|
1737
|
+
},
|
|
1640
1738
|
__wbg_navigator_9641ab32fa612dd1: function(arg0) {
|
|
1641
1739
|
const ret = arg0.navigator;
|
|
1642
1740
|
return ret;
|
|
@@ -1687,15 +1785,11 @@ function __wbg_get_imports() {
|
|
|
1687
1785
|
state0.a = 0;
|
|
1688
1786
|
}
|
|
1689
1787
|
},
|
|
1690
|
-
__wbg_new_with_byte_offset_and_length_3cd32055a417f095: function(arg0, arg1, arg2) {
|
|
1691
|
-
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1692
|
-
return ret;
|
|
1693
|
-
},
|
|
1694
1788
|
__wbg_of_027eb15371aac932: function(arg0) {
|
|
1695
1789
|
const ret = Array.of(arg0);
|
|
1696
1790
|
return ret;
|
|
1697
1791
|
},
|
|
1698
|
-
|
|
1792
|
+
__wbg_onSubmittedWorkDone_270d6b5a45520e79: function(arg0) {
|
|
1699
1793
|
const ret = arg0.onSubmittedWorkDone();
|
|
1700
1794
|
return ret;
|
|
1701
1795
|
},
|
|
@@ -1715,6 +1809,17 @@ function __wbg_get_imports() {
|
|
|
1715
1809
|
__wbg_polygonOffset_acf166e60739dbfa: function(arg0, arg1, arg2) {
|
|
1716
1810
|
arg0.polygonOffset(arg1, arg2);
|
|
1717
1811
|
},
|
|
1812
|
+
__wbg_popErrorScope_7443621d9135b89c: function(arg0) {
|
|
1813
|
+
const ret = arg0.popErrorScope();
|
|
1814
|
+
return ret;
|
|
1815
|
+
},
|
|
1816
|
+
__wbg_preparedfigure_new: function(arg0) {
|
|
1817
|
+
const ret = PreparedFigure.__wrap(arg0);
|
|
1818
|
+
return ret;
|
|
1819
|
+
},
|
|
1820
|
+
__wbg_pushErrorScope_fa23d1206bc26dce: function(arg0, arg1) {
|
|
1821
|
+
arg0.pushErrorScope(__wbindgen_enum_GpuErrorFilter[arg1]);
|
|
1822
|
+
},
|
|
1718
1823
|
__wbg_push_c9f4893fc209f768: function(arg0, arg1) {
|
|
1719
1824
|
const ret = arg0.push(arg1);
|
|
1720
1825
|
return ret;
|
|
@@ -1737,7 +1842,7 @@ function __wbg_get_imports() {
|
|
|
1737
1842
|
__wbg_queueMicrotask_4a1a4d8dd332373b: function(arg0) {
|
|
1738
1843
|
queueMicrotask(arg0);
|
|
1739
1844
|
},
|
|
1740
|
-
|
|
1845
|
+
__wbg_queue_7a77200c3739a9e0: function(arg0) {
|
|
1741
1846
|
const ret = arg0.queue;
|
|
1742
1847
|
return ret;
|
|
1743
1848
|
},
|
|
@@ -1753,10 +1858,17 @@ function __wbg_get_imports() {
|
|
|
1753
1858
|
__wbg_readPixels_7c7b54a733248182: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
1754
1859
|
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
1755
1860
|
}, arguments); },
|
|
1756
|
-
|
|
1861
|
+
__wbg_reason_d9e7add855cc21e0: function(arg0) {
|
|
1862
|
+
const ret = arg0.reason;
|
|
1863
|
+
return (__wbindgen_enum_GpuPipelineErrorReason.indexOf(ret) + 1 || 3) - 1;
|
|
1864
|
+
},
|
|
1865
|
+
__wbg_reason_f6ee0d33e9bd555d: function(arg0) {
|
|
1757
1866
|
const ret = arg0.reason;
|
|
1758
1867
|
return (__wbindgen_enum_GpuDeviceLostReason.indexOf(ret) + 1 || 3) - 1;
|
|
1759
1868
|
},
|
|
1869
|
+
__wbg_removeEventListener_4e20bd5fac3de092: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1870
|
+
arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
1871
|
+
}, arguments); },
|
|
1760
1872
|
__wbg_renderbufferStorageMultisample_d5b01825cc08514b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1761
1873
|
arg0.renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
1762
1874
|
},
|
|
@@ -1766,15 +1878,15 @@ function __wbg_get_imports() {
|
|
|
1766
1878
|
__wbg_renderbufferStorage_ebe429f577dae949: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1767
1879
|
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
1768
1880
|
},
|
|
1769
|
-
|
|
1770
|
-
const ret = arg0.requestAdapter(
|
|
1881
|
+
__wbg_requestAdapter_6a96d6229ddf7802: function(arg0) {
|
|
1882
|
+
const ret = arg0.requestAdapter();
|
|
1771
1883
|
return ret;
|
|
1772
1884
|
},
|
|
1773
|
-
|
|
1774
|
-
const ret = arg0.requestAdapter();
|
|
1885
|
+
__wbg_requestAdapter_9112bb147d47f963: function(arg0, arg1) {
|
|
1886
|
+
const ret = arg0.requestAdapter(arg1);
|
|
1775
1887
|
return ret;
|
|
1776
1888
|
},
|
|
1777
|
-
|
|
1889
|
+
__wbg_requestDevice_ab46d0519ea1cc34: function(arg0, arg1) {
|
|
1778
1890
|
const ret = arg0.requestDevice(arg1);
|
|
1779
1891
|
return ret;
|
|
1780
1892
|
},
|
|
@@ -1794,509 +1906,521 @@ function __wbg_get_imports() {
|
|
|
1794
1906
|
__wbg_scissor_bb7201f050f220ac: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1795
1907
|
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
1796
1908
|
},
|
|
1797
|
-
|
|
1798
|
-
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
1799
|
-
},
|
|
1800
|
-
__wbg_setBindGroup_82d014e8f799f053: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1909
|
+
__wbg_setBindGroup_ce0fb34a09a7f575: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1801
1910
|
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
1802
1911
|
}, arguments); },
|
|
1803
|
-
|
|
1912
|
+
__wbg_setBindGroup_f0de6cb2c7dbfc2c: function(arg0, arg1, arg2) {
|
|
1913
|
+
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
1914
|
+
},
|
|
1915
|
+
__wbg_setPipeline_c41bf46790f27f9e: function(arg0, arg1) {
|
|
1804
1916
|
arg0.setPipeline(arg1);
|
|
1805
1917
|
},
|
|
1806
|
-
|
|
1918
|
+
__wbg_setScissorRect_42511fefb18b86ef: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1807
1919
|
arg0.setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1808
1920
|
},
|
|
1809
|
-
|
|
1921
|
+
__wbg_setVertexBuffer_1e448859663dd400: function(arg0, arg1, arg2, arg3) {
|
|
1810
1922
|
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
|
|
1811
1923
|
},
|
|
1812
|
-
|
|
1924
|
+
__wbg_setVertexBuffer_7cf533d694e747f3: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1813
1925
|
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
|
|
1814
1926
|
},
|
|
1815
|
-
|
|
1927
|
+
__wbg_setViewport_d9fc3eac343de7d0: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1816
1928
|
arg0.setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
1817
1929
|
},
|
|
1818
1930
|
__wbg_set_2793479888329cb6: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1819
1931
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1820
1932
|
return ret;
|
|
1821
1933
|
}, arguments); },
|
|
1822
|
-
|
|
1934
|
+
__wbg_set_a_25fd56c334b361f6: function(arg0, arg1) {
|
|
1823
1935
|
arg0.a = arg1;
|
|
1824
1936
|
},
|
|
1825
|
-
|
|
1937
|
+
__wbg_set_access_ddf5bc1142da753c: function(arg0, arg1) {
|
|
1826
1938
|
arg0.access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
|
|
1827
1939
|
},
|
|
1828
|
-
|
|
1940
|
+
__wbg_set_alpha_9763c7a5009aa55d: function(arg0, arg1) {
|
|
1829
1941
|
arg0.alpha = arg1;
|
|
1830
1942
|
},
|
|
1831
|
-
|
|
1943
|
+
__wbg_set_alpha_mode_3d05a2ae7e7155a3: function(arg0, arg1) {
|
|
1832
1944
|
arg0.alphaMode = __wbindgen_enum_GpuCanvasAlphaMode[arg1];
|
|
1833
1945
|
},
|
|
1834
|
-
|
|
1946
|
+
__wbg_set_alpha_to_coverage_enabled_a27f32ce5bb1520c: function(arg0, arg1) {
|
|
1835
1947
|
arg0.alphaToCoverageEnabled = arg1 !== 0;
|
|
1836
1948
|
},
|
|
1837
|
-
|
|
1949
|
+
__wbg_set_array_layer_count_bb1314af7ba2adf6: function(arg0, arg1) {
|
|
1838
1950
|
arg0.arrayLayerCount = arg1 >>> 0;
|
|
1839
1951
|
},
|
|
1840
|
-
|
|
1952
|
+
__wbg_set_array_stride_f64_d6b4b9e1093ecd7b: function(arg0, arg1) {
|
|
1841
1953
|
arg0.arrayStride = arg1;
|
|
1842
1954
|
},
|
|
1843
|
-
|
|
1955
|
+
__wbg_set_aspect_18f77453fcc2d25b: function(arg0, arg1) {
|
|
1844
1956
|
arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
1845
1957
|
},
|
|
1846
|
-
|
|
1958
|
+
__wbg_set_aspect_2d19eb9adfc79353: function(arg0, arg1) {
|
|
1847
1959
|
arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
1848
1960
|
},
|
|
1849
|
-
|
|
1961
|
+
__wbg_set_attributes_342352ab85ea64c7: function(arg0, arg1, arg2) {
|
|
1850
1962
|
arg0.attributes = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
1851
1963
|
},
|
|
1852
|
-
|
|
1964
|
+
__wbg_set_b_910ba843232bed0c: function(arg0, arg1) {
|
|
1853
1965
|
arg0.b = arg1;
|
|
1854
1966
|
},
|
|
1855
|
-
|
|
1967
|
+
__wbg_set_base_array_layer_21ec4d44eff4ef84: function(arg0, arg1) {
|
|
1856
1968
|
arg0.baseArrayLayer = arg1 >>> 0;
|
|
1857
1969
|
},
|
|
1858
|
-
|
|
1970
|
+
__wbg_set_base_mip_level_55b25b38ea34513e: function(arg0, arg1) {
|
|
1859
1971
|
arg0.baseMipLevel = arg1 >>> 0;
|
|
1860
1972
|
},
|
|
1861
|
-
|
|
1973
|
+
__wbg_set_beginning_of_pass_write_index_a38c1eb301f5ffbc: function(arg0, arg1) {
|
|
1862
1974
|
arg0.beginningOfPassWriteIndex = arg1 >>> 0;
|
|
1863
1975
|
},
|
|
1864
|
-
|
|
1976
|
+
__wbg_set_bind_group_layouts_43a17833e70156f7: function(arg0, arg1, arg2) {
|
|
1865
1977
|
arg0.bindGroupLayouts = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
1866
1978
|
},
|
|
1867
|
-
|
|
1979
|
+
__wbg_set_binding_d62e109966e563ec: function(arg0, arg1) {
|
|
1868
1980
|
arg0.binding = arg1 >>> 0;
|
|
1869
1981
|
},
|
|
1870
|
-
|
|
1982
|
+
__wbg_set_binding_ed47acf725936562: function(arg0, arg1) {
|
|
1871
1983
|
arg0.binding = arg1 >>> 0;
|
|
1872
1984
|
},
|
|
1873
|
-
|
|
1985
|
+
__wbg_set_blend_dbc72004efbd3982: function(arg0, arg1) {
|
|
1874
1986
|
arg0.blend = arg1;
|
|
1875
1987
|
},
|
|
1876
|
-
|
|
1988
|
+
__wbg_set_buffer_16467db3b91a9b71: function(arg0, arg1) {
|
|
1877
1989
|
arg0.buffer = arg1;
|
|
1878
1990
|
},
|
|
1879
|
-
|
|
1991
|
+
__wbg_set_buffer_a9e5b3bb7e3a10bc: function(arg0, arg1) {
|
|
1880
1992
|
arg0.buffer = arg1;
|
|
1881
1993
|
},
|
|
1882
|
-
|
|
1994
|
+
__wbg_set_buffers_6fd92a1753cf8ae5: function(arg0, arg1, arg2) {
|
|
1883
1995
|
arg0.buffers = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
1884
1996
|
},
|
|
1885
|
-
|
|
1997
|
+
__wbg_set_bytes_per_row_dbe2e934185dd540: function(arg0, arg1) {
|
|
1886
1998
|
arg0.bytesPerRow = arg1 >>> 0;
|
|
1887
1999
|
},
|
|
1888
|
-
|
|
2000
|
+
__wbg_set_clear_value_gpu_color_dict_7eb6ffb20ec36ead: function(arg0, arg1) {
|
|
1889
2001
|
arg0.clearValue = arg1;
|
|
1890
2002
|
},
|
|
1891
|
-
|
|
2003
|
+
__wbg_set_code_637630b8d31cb7b4: function(arg0, arg1, arg2) {
|
|
1892
2004
|
arg0.code = getStringFromWasm0(arg1, arg2);
|
|
1893
2005
|
},
|
|
1894
|
-
|
|
2006
|
+
__wbg_set_color_7a94f5ece7e288d0: function(arg0, arg1) {
|
|
1895
2007
|
arg0.color = arg1;
|
|
1896
2008
|
},
|
|
1897
|
-
|
|
2009
|
+
__wbg_set_color_attachments_883debe365a008c3: function(arg0, arg1, arg2) {
|
|
1898
2010
|
arg0.colorAttachments = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
1899
2011
|
},
|
|
1900
|
-
|
|
2012
|
+
__wbg_set_compare_10026fe17cc62aef: function(arg0, arg1) {
|
|
1901
2013
|
arg0.compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
1902
2014
|
},
|
|
1903
|
-
|
|
2015
|
+
__wbg_set_count_630ce5a883ff9d36: function(arg0, arg1) {
|
|
1904
2016
|
arg0.count = arg1 >>> 0;
|
|
1905
2017
|
},
|
|
1906
|
-
|
|
2018
|
+
__wbg_set_cull_mode_5ce7e63a5f1d8684: function(arg0, arg1) {
|
|
1907
2019
|
arg0.cullMode = __wbindgen_enum_GpuCullMode[arg1];
|
|
1908
2020
|
},
|
|
1909
|
-
|
|
2021
|
+
__wbg_set_default_queue_9cb1b67e684bc118: function(arg0, arg1) {
|
|
2022
|
+
arg0.defaultQueue = arg1;
|
|
2023
|
+
},
|
|
2024
|
+
__wbg_set_depth_bias_928f0d61c2d20b7e: function(arg0, arg1) {
|
|
1910
2025
|
arg0.depthBias = arg1;
|
|
1911
2026
|
},
|
|
1912
|
-
|
|
2027
|
+
__wbg_set_depth_bias_clamp_b9f088fc47d72113: function(arg0, arg1) {
|
|
1913
2028
|
arg0.depthBiasClamp = arg1;
|
|
1914
2029
|
},
|
|
1915
|
-
|
|
2030
|
+
__wbg_set_depth_bias_slope_scale_1e50fde5cae9c677: function(arg0, arg1) {
|
|
1916
2031
|
arg0.depthBiasSlopeScale = arg1;
|
|
1917
2032
|
},
|
|
1918
|
-
|
|
2033
|
+
__wbg_set_depth_clear_value_73e1965c57cb9097: function(arg0, arg1) {
|
|
1919
2034
|
arg0.depthClearValue = arg1;
|
|
1920
2035
|
},
|
|
1921
|
-
|
|
2036
|
+
__wbg_set_depth_compare_b45878c8b844cf85: function(arg0, arg1) {
|
|
1922
2037
|
arg0.depthCompare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
1923
2038
|
},
|
|
1924
|
-
|
|
2039
|
+
__wbg_set_depth_fail_op_3823397c0cb4668c: function(arg0, arg1) {
|
|
1925
2040
|
arg0.depthFailOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
1926
2041
|
},
|
|
1927
|
-
|
|
2042
|
+
__wbg_set_depth_load_op_fa3bc4511290bdeb: function(arg0, arg1) {
|
|
1928
2043
|
arg0.depthLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
1929
2044
|
},
|
|
1930
|
-
|
|
2045
|
+
__wbg_set_depth_or_array_layers_a01b4cb1a712d7cf: function(arg0, arg1) {
|
|
1931
2046
|
arg0.depthOrArrayLayers = arg1 >>> 0;
|
|
1932
2047
|
},
|
|
1933
|
-
|
|
2048
|
+
__wbg_set_depth_read_only_14a1fca20e360f8b: function(arg0, arg1) {
|
|
1934
2049
|
arg0.depthReadOnly = arg1 !== 0;
|
|
1935
2050
|
},
|
|
1936
|
-
|
|
1937
|
-
arg0.
|
|
2051
|
+
__wbg_set_depth_slice_58ef17a8e45553cc: function(arg0, arg1) {
|
|
2052
|
+
arg0.depthSlice = arg1 >>> 0;
|
|
1938
2053
|
},
|
|
1939
|
-
|
|
2054
|
+
__wbg_set_depth_stencil_attachment_5298ae1194cbb059: function(arg0, arg1) {
|
|
1940
2055
|
arg0.depthStencilAttachment = arg1;
|
|
1941
2056
|
},
|
|
1942
|
-
|
|
2057
|
+
__wbg_set_depth_stencil_fb9864acd2052ec0: function(arg0, arg1) {
|
|
2058
|
+
arg0.depthStencil = arg1;
|
|
2059
|
+
},
|
|
2060
|
+
__wbg_set_depth_store_op_8fa805a3a2112715: function(arg0, arg1) {
|
|
1943
2061
|
arg0.depthStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
1944
2062
|
},
|
|
1945
|
-
|
|
2063
|
+
__wbg_set_depth_write_enabled_efe384a193a890e2: function(arg0, arg1) {
|
|
1946
2064
|
arg0.depthWriteEnabled = arg1 !== 0;
|
|
1947
2065
|
},
|
|
1948
|
-
|
|
2066
|
+
__wbg_set_device_67621191a95d153f: function(arg0, arg1) {
|
|
1949
2067
|
arg0.device = arg1;
|
|
1950
2068
|
},
|
|
1951
|
-
|
|
2069
|
+
__wbg_set_dimension_1c263c711333ab28: function(arg0, arg1) {
|
|
1952
2070
|
arg0.dimension = __wbindgen_enum_GpuTextureDimension[arg1];
|
|
1953
2071
|
},
|
|
1954
|
-
|
|
2072
|
+
__wbg_set_dimension_6dec042632b18d39: function(arg0, arg1) {
|
|
1955
2073
|
arg0.dimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
1956
2074
|
},
|
|
1957
|
-
|
|
2075
|
+
__wbg_set_dst_factor_17dc5757348f4e8c: function(arg0, arg1) {
|
|
1958
2076
|
arg0.dstFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
1959
2077
|
},
|
|
1960
|
-
|
|
2078
|
+
__wbg_set_end_of_pass_write_index_039c673eb97c1b17: function(arg0, arg1) {
|
|
1961
2079
|
arg0.endOfPassWriteIndex = arg1 >>> 0;
|
|
1962
2080
|
},
|
|
1963
|
-
|
|
2081
|
+
__wbg_set_entries_bc9933019fb72023: function(arg0, arg1, arg2) {
|
|
1964
2082
|
arg0.entries = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
1965
2083
|
},
|
|
1966
|
-
|
|
2084
|
+
__wbg_set_entries_dda5610305831fc4: function(arg0, arg1, arg2) {
|
|
1967
2085
|
arg0.entries = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
1968
2086
|
},
|
|
1969
|
-
|
|
2087
|
+
__wbg_set_entry_point_e8391bcc627bfd7a: function(arg0, arg1, arg2) {
|
|
1970
2088
|
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
1971
2089
|
},
|
|
1972
|
-
|
|
2090
|
+
__wbg_set_entry_point_fc7b5eb7d2f51f8d: function(arg0, arg1, arg2) {
|
|
1973
2091
|
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
1974
2092
|
},
|
|
1975
|
-
|
|
2093
|
+
__wbg_set_external_texture_eb0ec97ea384a27f: function(arg0, arg1) {
|
|
1976
2094
|
arg0.externalTexture = arg1;
|
|
1977
2095
|
},
|
|
1978
|
-
|
|
2096
|
+
__wbg_set_fail_op_0d594a84c500382c: function(arg0, arg1) {
|
|
1979
2097
|
arg0.failOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
1980
2098
|
},
|
|
1981
|
-
|
|
2099
|
+
__wbg_set_format_2533d499e6a6576a: function(arg0, arg1) {
|
|
1982
2100
|
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1983
2101
|
},
|
|
1984
|
-
|
|
2102
|
+
__wbg_set_format_35213fd1a55af90b: function(arg0, arg1) {
|
|
1985
2103
|
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1986
2104
|
},
|
|
1987
|
-
|
|
1988
|
-
arg0.format =
|
|
2105
|
+
__wbg_set_format_3f132b447eacf268: function(arg0, arg1) {
|
|
2106
|
+
arg0.format = __wbindgen_enum_GpuVertexFormat[arg1];
|
|
1989
2107
|
},
|
|
1990
|
-
|
|
2108
|
+
__wbg_set_format_88e217388ce12466: function(arg0, arg1) {
|
|
1991
2109
|
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1992
2110
|
},
|
|
1993
|
-
|
|
1994
|
-
arg0.format =
|
|
2111
|
+
__wbg_set_format_970667cfa8e78ff0: function(arg0, arg1) {
|
|
2112
|
+
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1995
2113
|
},
|
|
1996
|
-
|
|
2114
|
+
__wbg_set_format_a9419838bd932fa3: function(arg0, arg1) {
|
|
1997
2115
|
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1998
2116
|
},
|
|
1999
|
-
|
|
2117
|
+
__wbg_set_format_ee8c52e81d585b82: function(arg0, arg1) {
|
|
2000
2118
|
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
2001
2119
|
},
|
|
2002
|
-
|
|
2120
|
+
__wbg_set_fragment_ada8bef562cbbbf0: function(arg0, arg1) {
|
|
2003
2121
|
arg0.fragment = arg1;
|
|
2004
2122
|
},
|
|
2005
|
-
|
|
2123
|
+
__wbg_set_front_face_8f76f64ecaba04ec: function(arg0, arg1) {
|
|
2006
2124
|
arg0.frontFace = __wbindgen_enum_GpuFrontFace[arg1];
|
|
2007
2125
|
},
|
|
2008
|
-
|
|
2126
|
+
__wbg_set_g_6ac06c1cd7780fb1: function(arg0, arg1) {
|
|
2009
2127
|
arg0.g = arg1;
|
|
2010
2128
|
},
|
|
2011
|
-
|
|
2129
|
+
__wbg_set_has_dynamic_offset_8f837a860cb3ee15: function(arg0, arg1) {
|
|
2012
2130
|
arg0.hasDynamicOffset = arg1 !== 0;
|
|
2013
2131
|
},
|
|
2014
|
-
__wbg_set_height_3f64e19acf29f5fb: function(arg0, arg1) {
|
|
2015
|
-
arg0.height = arg1 >>> 0;
|
|
2016
|
-
},
|
|
2017
2132
|
__wbg_set_height_ae0610d318c3428c: function(arg0, arg1) {
|
|
2018
2133
|
arg0.height = arg1 >>> 0;
|
|
2019
2134
|
},
|
|
2020
2135
|
__wbg_set_height_ae24c2f7d580ae0a: function(arg0, arg1) {
|
|
2021
2136
|
arg0.height = arg1 >>> 0;
|
|
2022
2137
|
},
|
|
2023
|
-
|
|
2138
|
+
__wbg_set_height_d7334962b8c2e40a: function(arg0, arg1) {
|
|
2139
|
+
arg0.height = arg1 >>> 0;
|
|
2140
|
+
},
|
|
2141
|
+
__wbg_set_label_32e62c8eccad8454: function(arg0, arg1, arg2) {
|
|
2024
2142
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2025
2143
|
},
|
|
2026
|
-
|
|
2144
|
+
__wbg_set_label_3523c65da040a1f6: function(arg0, arg1, arg2) {
|
|
2027
2145
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2028
2146
|
},
|
|
2029
|
-
|
|
2147
|
+
__wbg_set_label_511773c4cc798bb4: function(arg0, arg1, arg2) {
|
|
2030
2148
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2031
2149
|
},
|
|
2032
|
-
|
|
2150
|
+
__wbg_set_label_5847b0c1fdf05193: function(arg0, arg1, arg2) {
|
|
2033
2151
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2034
2152
|
},
|
|
2035
|
-
|
|
2153
|
+
__wbg_set_label_82d22e30c4229277: function(arg0, arg1, arg2) {
|
|
2036
2154
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2037
2155
|
},
|
|
2038
|
-
|
|
2156
|
+
__wbg_set_label_a245e78c44a0f53c: function(arg0, arg1, arg2) {
|
|
2039
2157
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2040
2158
|
},
|
|
2041
|
-
|
|
2159
|
+
__wbg_set_label_bf9328689f43830c: function(arg0, arg1, arg2) {
|
|
2042
2160
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2043
2161
|
},
|
|
2044
|
-
|
|
2162
|
+
__wbg_set_label_bfb14af009ce5e1e: function(arg0, arg1, arg2) {
|
|
2045
2163
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2046
2164
|
},
|
|
2047
|
-
|
|
2165
|
+
__wbg_set_label_d81ddd0687910f84: function(arg0, arg1, arg2) {
|
|
2048
2166
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2049
2167
|
},
|
|
2050
|
-
|
|
2168
|
+
__wbg_set_label_e402ec5de663f45b: function(arg0, arg1, arg2) {
|
|
2051
2169
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2052
2170
|
},
|
|
2053
|
-
|
|
2171
|
+
__wbg_set_label_efbe5fde122ea186: function(arg0, arg1, arg2) {
|
|
2054
2172
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2055
2173
|
},
|
|
2056
|
-
|
|
2174
|
+
__wbg_set_label_f4fa245a715d9069: function(arg0, arg1, arg2) {
|
|
2057
2175
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2058
2176
|
},
|
|
2059
|
-
|
|
2177
|
+
__wbg_set_label_fd93ddd34066b39a: function(arg0, arg1, arg2) {
|
|
2178
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
2179
|
+
},
|
|
2180
|
+
__wbg_set_layout_0220366f82dddb2f: function(arg0, arg1) {
|
|
2060
2181
|
arg0.layout = arg1;
|
|
2061
2182
|
},
|
|
2062
|
-
|
|
2183
|
+
__wbg_set_layout_3322348438535672: function(arg0, arg1) {
|
|
2063
2184
|
arg0.layout = arg1;
|
|
2064
2185
|
},
|
|
2065
|
-
|
|
2186
|
+
__wbg_set_layout_gpu_auto_layout_mode_76d6261989700e8e: function(arg0, arg1) {
|
|
2066
2187
|
arg0.layout = __wbindgen_enum_GpuAutoLayoutMode[arg1];
|
|
2067
2188
|
},
|
|
2068
|
-
|
|
2189
|
+
__wbg_set_load_op_2f2ab9d352e4088d: function(arg0, arg1) {
|
|
2069
2190
|
arg0.loadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
2070
2191
|
},
|
|
2071
|
-
|
|
2192
|
+
__wbg_set_mapped_at_creation_c4a4f1182236bbc1: function(arg0, arg1) {
|
|
2072
2193
|
arg0.mappedAtCreation = arg1 !== 0;
|
|
2073
2194
|
},
|
|
2074
|
-
|
|
2195
|
+
__wbg_set_mask_32d69aa23974b37a: function(arg0, arg1) {
|
|
2075
2196
|
arg0.mask = arg1 >>> 0;
|
|
2076
2197
|
},
|
|
2077
|
-
|
|
2198
|
+
__wbg_set_min_binding_size_f64_22199885684ea4fe: function(arg0, arg1) {
|
|
2078
2199
|
arg0.minBindingSize = arg1;
|
|
2079
2200
|
},
|
|
2080
|
-
|
|
2081
|
-
arg0.
|
|
2201
|
+
__wbg_set_mip_level_17a4055d5b968ae1: function(arg0, arg1) {
|
|
2202
|
+
arg0.mipLevel = arg1 >>> 0;
|
|
2082
2203
|
},
|
|
2083
|
-
|
|
2204
|
+
__wbg_set_mip_level_count_3c23fd442389a059: function(arg0, arg1) {
|
|
2084
2205
|
arg0.mipLevelCount = arg1 >>> 0;
|
|
2085
2206
|
},
|
|
2086
|
-
|
|
2087
|
-
arg0.
|
|
2207
|
+
__wbg_set_mip_level_count_59b5798d09a533f5: function(arg0, arg1) {
|
|
2208
|
+
arg0.mipLevelCount = arg1 >>> 0;
|
|
2088
2209
|
},
|
|
2089
|
-
|
|
2210
|
+
__wbg_set_mode_d9a5ac8ae2a0d68d: function(arg0, arg1) {
|
|
2090
2211
|
arg0.mode = __wbindgen_enum_GpuCanvasToneMappingMode[arg1];
|
|
2091
2212
|
},
|
|
2092
|
-
|
|
2213
|
+
__wbg_set_module_2f90ce6c7718a2a6: function(arg0, arg1) {
|
|
2093
2214
|
arg0.module = arg1;
|
|
2094
2215
|
},
|
|
2095
|
-
|
|
2216
|
+
__wbg_set_module_5f7233cffe195628: function(arg0, arg1) {
|
|
2096
2217
|
arg0.module = arg1;
|
|
2097
2218
|
},
|
|
2098
|
-
|
|
2219
|
+
__wbg_set_multisample_76e8f45b4ada1f3a: function(arg0, arg1) {
|
|
2099
2220
|
arg0.multisample = arg1;
|
|
2100
2221
|
},
|
|
2101
|
-
|
|
2222
|
+
__wbg_set_multisampled_70aab13c32c1a87a: function(arg0, arg1) {
|
|
2102
2223
|
arg0.multisampled = arg1 !== 0;
|
|
2103
2224
|
},
|
|
2104
|
-
|
|
2225
|
+
__wbg_set_offset_f64_1f0b71977a07be8f: function(arg0, arg1) {
|
|
2105
2226
|
arg0.offset = arg1;
|
|
2106
2227
|
},
|
|
2107
|
-
|
|
2228
|
+
__wbg_set_offset_f64_23f7bf7cddeacee2: function(arg0, arg1) {
|
|
2108
2229
|
arg0.offset = arg1;
|
|
2109
2230
|
},
|
|
2110
|
-
|
|
2231
|
+
__wbg_set_offset_f64_838b5c0d752ca796: function(arg0, arg1) {
|
|
2111
2232
|
arg0.offset = arg1;
|
|
2112
2233
|
},
|
|
2113
|
-
|
|
2114
|
-
arg0.onuncapturederror = arg1;
|
|
2115
|
-
},
|
|
2116
|
-
__wbg_set_operation_e103287df7ac9cf6: function(arg0, arg1) {
|
|
2234
|
+
__wbg_set_operation_1d7c7ed02f3d8e82: function(arg0, arg1) {
|
|
2117
2235
|
arg0.operation = __wbindgen_enum_GpuBlendOperation[arg1];
|
|
2118
2236
|
},
|
|
2119
|
-
|
|
2237
|
+
__wbg_set_origin_gpu_origin_3d_dict_0898da455eccfaa8: function(arg0, arg1) {
|
|
2120
2238
|
arg0.origin = arg1;
|
|
2121
2239
|
},
|
|
2122
|
-
|
|
2240
|
+
__wbg_set_pass_op_b24fa44077ba1797: function(arg0, arg1) {
|
|
2123
2241
|
arg0.passOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
2124
2242
|
},
|
|
2125
|
-
|
|
2243
|
+
__wbg_set_power_preference_7a817796c62ca83e: function(arg0, arg1) {
|
|
2126
2244
|
arg0.powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
|
|
2127
2245
|
},
|
|
2128
|
-
|
|
2246
|
+
__wbg_set_primitive_ab42ac6bf2686c0a: function(arg0, arg1) {
|
|
2129
2247
|
arg0.primitive = arg1;
|
|
2130
2248
|
},
|
|
2131
|
-
|
|
2249
|
+
__wbg_set_query_set_d9ddc9a570b0a62f: function(arg0, arg1) {
|
|
2132
2250
|
arg0.querySet = arg1;
|
|
2133
2251
|
},
|
|
2134
|
-
|
|
2252
|
+
__wbg_set_r_2c70c406bf10f4b9: function(arg0, arg1) {
|
|
2135
2253
|
arg0.r = arg1;
|
|
2136
2254
|
},
|
|
2137
|
-
|
|
2255
|
+
__wbg_set_required_features_95a49d09051b3efe: function(arg0, arg1, arg2) {
|
|
2138
2256
|
arg0.requiredFeatures = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2139
2257
|
},
|
|
2140
|
-
|
|
2258
|
+
__wbg_set_required_limits_19d9b17160f9510e: function(arg0, arg1) {
|
|
2141
2259
|
arg0.requiredLimits = arg1;
|
|
2142
2260
|
},
|
|
2143
|
-
|
|
2261
|
+
__wbg_set_resolve_target_gpu_texture_view_b804b29664204f75: function(arg0, arg1) {
|
|
2144
2262
|
arg0.resolveTarget = arg1;
|
|
2145
2263
|
},
|
|
2146
|
-
|
|
2264
|
+
__wbg_set_resource_921009b19cab3884: function(arg0, arg1) {
|
|
2147
2265
|
arg0.resource = arg1;
|
|
2148
2266
|
},
|
|
2149
|
-
|
|
2267
|
+
__wbg_set_resource_gpu_buffer_binding_edc31995170c05cd: function(arg0, arg1) {
|
|
2150
2268
|
arg0.resource = arg1;
|
|
2151
2269
|
},
|
|
2152
|
-
|
|
2270
|
+
__wbg_set_resource_gpu_external_texture_602a91683b574caf: function(arg0, arg1) {
|
|
2153
2271
|
arg0.resource = arg1;
|
|
2154
2272
|
},
|
|
2155
|
-
|
|
2273
|
+
__wbg_set_resource_gpu_texture_view_3b63a2f023735509: function(arg0, arg1) {
|
|
2274
|
+
arg0.resource = arg1;
|
|
2275
|
+
},
|
|
2276
|
+
__wbg_set_rows_per_image_dcdda7897b0981a8: function(arg0, arg1) {
|
|
2156
2277
|
arg0.rowsPerImage = arg1 >>> 0;
|
|
2157
2278
|
},
|
|
2158
|
-
|
|
2279
|
+
__wbg_set_sample_count_8260338c573fad44: function(arg0, arg1) {
|
|
2159
2280
|
arg0.sampleCount = arg1 >>> 0;
|
|
2160
2281
|
},
|
|
2161
|
-
|
|
2282
|
+
__wbg_set_sample_type_bbe4a8b25dd655e3: function(arg0, arg1) {
|
|
2162
2283
|
arg0.sampleType = __wbindgen_enum_GpuTextureSampleType[arg1];
|
|
2163
2284
|
},
|
|
2164
|
-
|
|
2285
|
+
__wbg_set_sampler_7bc9215bf0c7cba2: function(arg0, arg1) {
|
|
2165
2286
|
arg0.sampler = arg1;
|
|
2166
2287
|
},
|
|
2167
|
-
|
|
2288
|
+
__wbg_set_shader_location_a9b065a65cddc988: function(arg0, arg1) {
|
|
2168
2289
|
arg0.shaderLocation = arg1 >>> 0;
|
|
2169
2290
|
},
|
|
2170
|
-
|
|
2291
|
+
__wbg_set_size_f64_21e77cbc2ec6e5cb: function(arg0, arg1) {
|
|
2171
2292
|
arg0.size = arg1;
|
|
2172
2293
|
},
|
|
2173
|
-
|
|
2294
|
+
__wbg_set_size_f64_22466f3c617cae73: function(arg0, arg1) {
|
|
2174
2295
|
arg0.size = arg1;
|
|
2175
2296
|
},
|
|
2176
|
-
|
|
2297
|
+
__wbg_set_size_gpu_extent_3d_dict_45e785abd5e731f1: function(arg0, arg1) {
|
|
2177
2298
|
arg0.size = arg1;
|
|
2178
2299
|
},
|
|
2179
|
-
|
|
2300
|
+
__wbg_set_src_factor_127aa7b4209b16e6: function(arg0, arg1) {
|
|
2180
2301
|
arg0.srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
2181
2302
|
},
|
|
2182
|
-
|
|
2303
|
+
__wbg_set_stencil_back_0567eacd877f0678: function(arg0, arg1) {
|
|
2183
2304
|
arg0.stencilBack = arg1;
|
|
2184
2305
|
},
|
|
2185
|
-
|
|
2306
|
+
__wbg_set_stencil_clear_value_7f767698a156d841: function(arg0, arg1) {
|
|
2186
2307
|
arg0.stencilClearValue = arg1 >>> 0;
|
|
2187
2308
|
},
|
|
2188
|
-
|
|
2309
|
+
__wbg_set_stencil_front_efe8f32622a112bf: function(arg0, arg1) {
|
|
2189
2310
|
arg0.stencilFront = arg1;
|
|
2190
2311
|
},
|
|
2191
|
-
|
|
2312
|
+
__wbg_set_stencil_load_op_add032c209e9cacf: function(arg0, arg1) {
|
|
2192
2313
|
arg0.stencilLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
2193
2314
|
},
|
|
2194
|
-
|
|
2315
|
+
__wbg_set_stencil_read_mask_0ac35b5019a62a11: function(arg0, arg1) {
|
|
2195
2316
|
arg0.stencilReadMask = arg1 >>> 0;
|
|
2196
2317
|
},
|
|
2197
|
-
|
|
2318
|
+
__wbg_set_stencil_read_only_99fcb05614ddd4b6: function(arg0, arg1) {
|
|
2198
2319
|
arg0.stencilReadOnly = arg1 !== 0;
|
|
2199
2320
|
},
|
|
2200
|
-
|
|
2321
|
+
__wbg_set_stencil_store_op_e7cb0b8fdea4aebb: function(arg0, arg1) {
|
|
2201
2322
|
arg0.stencilStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
2202
2323
|
},
|
|
2203
|
-
|
|
2324
|
+
__wbg_set_stencil_write_mask_12a794da02fe909f: function(arg0, arg1) {
|
|
2204
2325
|
arg0.stencilWriteMask = arg1 >>> 0;
|
|
2205
2326
|
},
|
|
2206
|
-
|
|
2327
|
+
__wbg_set_step_mode_f9ff795cc6c810f5: function(arg0, arg1) {
|
|
2207
2328
|
arg0.stepMode = __wbindgen_enum_GpuVertexStepMode[arg1];
|
|
2208
2329
|
},
|
|
2209
|
-
|
|
2330
|
+
__wbg_set_storage_texture_cec5aa7837053d08: function(arg0, arg1) {
|
|
2210
2331
|
arg0.storageTexture = arg1;
|
|
2211
2332
|
},
|
|
2212
|
-
|
|
2333
|
+
__wbg_set_store_op_591a1abd08613c6c: function(arg0, arg1) {
|
|
2213
2334
|
arg0.storeOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
2214
2335
|
},
|
|
2215
|
-
|
|
2336
|
+
__wbg_set_strip_index_format_dbad821d7567c23c: function(arg0, arg1) {
|
|
2216
2337
|
arg0.stripIndexFormat = __wbindgen_enum_GpuIndexFormat[arg1];
|
|
2217
2338
|
},
|
|
2218
|
-
|
|
2339
|
+
__wbg_set_swizzle_3bee97f702e7dd64: function(arg0, arg1, arg2) {
|
|
2340
|
+
arg0.swizzle = getStringFromWasm0(arg1, arg2);
|
|
2341
|
+
},
|
|
2342
|
+
__wbg_set_targets_4bda0f35fb8b6c3c: function(arg0, arg1, arg2) {
|
|
2219
2343
|
arg0.targets = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2220
2344
|
},
|
|
2221
|
-
|
|
2345
|
+
__wbg_set_texture_0d32608010f8db45: function(arg0, arg1) {
|
|
2222
2346
|
arg0.texture = arg1;
|
|
2223
2347
|
},
|
|
2224
|
-
|
|
2348
|
+
__wbg_set_texture_ad2e09b8390f1536: function(arg0, arg1) {
|
|
2225
2349
|
arg0.texture = arg1;
|
|
2226
2350
|
},
|
|
2227
|
-
|
|
2351
|
+
__wbg_set_timestamp_writes_48795eb915d64cc8: function(arg0, arg1) {
|
|
2228
2352
|
arg0.timestampWrites = arg1;
|
|
2229
2353
|
},
|
|
2230
|
-
|
|
2354
|
+
__wbg_set_tone_mapping_d6a2f7ab4c678a6a: function(arg0, arg1) {
|
|
2231
2355
|
arg0.toneMapping = arg1;
|
|
2232
2356
|
},
|
|
2233
|
-
|
|
2357
|
+
__wbg_set_topology_15f02e73ac133259: function(arg0, arg1) {
|
|
2234
2358
|
arg0.topology = __wbindgen_enum_GpuPrimitiveTopology[arg1];
|
|
2235
2359
|
},
|
|
2236
|
-
|
|
2237
|
-
arg0.type = __wbindgen_enum_GpuBufferBindingType[arg1];
|
|
2238
|
-
},
|
|
2239
|
-
__wbg_set_type_f3d1ad35dc7889f9: function(arg0, arg1) {
|
|
2360
|
+
__wbg_set_type_13b6d8e98bfc41e4: function(arg0, arg1) {
|
|
2240
2361
|
arg0.type = __wbindgen_enum_GpuSamplerBindingType[arg1];
|
|
2241
2362
|
},
|
|
2242
|
-
|
|
2363
|
+
__wbg_set_type_a258902cd2aacc07: function(arg0, arg1) {
|
|
2364
|
+
arg0.type = __wbindgen_enum_GpuBufferBindingType[arg1];
|
|
2365
|
+
},
|
|
2366
|
+
__wbg_set_unclipped_depth_c4ab5f1fb3af1f8c: function(arg0, arg1) {
|
|
2243
2367
|
arg0.unclippedDepth = arg1 !== 0;
|
|
2244
2368
|
},
|
|
2245
|
-
|
|
2369
|
+
__wbg_set_usage_05dc0ccc989f3ef5: function(arg0, arg1) {
|
|
2246
2370
|
arg0.usage = arg1 >>> 0;
|
|
2247
2371
|
},
|
|
2248
|
-
|
|
2372
|
+
__wbg_set_usage_9bc666c5370b969b: function(arg0, arg1) {
|
|
2249
2373
|
arg0.usage = arg1 >>> 0;
|
|
2250
2374
|
},
|
|
2251
|
-
|
|
2375
|
+
__wbg_set_usage_a608d9bb12cfab80: function(arg0, arg1) {
|
|
2252
2376
|
arg0.usage = arg1 >>> 0;
|
|
2253
2377
|
},
|
|
2254
|
-
|
|
2378
|
+
__wbg_set_usage_fc09a76f83339d1b: function(arg0, arg1) {
|
|
2255
2379
|
arg0.usage = arg1 >>> 0;
|
|
2256
2380
|
},
|
|
2257
|
-
|
|
2381
|
+
__wbg_set_vertex_6706ba251cf794eb: function(arg0, arg1) {
|
|
2258
2382
|
arg0.vertex = arg1;
|
|
2259
2383
|
},
|
|
2260
|
-
|
|
2384
|
+
__wbg_set_view_dimension_06d628317bed5152: function(arg0, arg1) {
|
|
2261
2385
|
arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
2262
2386
|
},
|
|
2263
|
-
|
|
2387
|
+
__wbg_set_view_dimension_d96d10b6a6187558: function(arg0, arg1) {
|
|
2264
2388
|
arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
2265
2389
|
},
|
|
2266
|
-
|
|
2390
|
+
__wbg_set_view_formats_37b2fb50a8663344: function(arg0, arg1, arg2) {
|
|
2267
2391
|
arg0.viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2268
2392
|
},
|
|
2269
|
-
|
|
2393
|
+
__wbg_set_view_formats_52aa2653ad77c5f3: function(arg0, arg1, arg2) {
|
|
2270
2394
|
arg0.viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2271
2395
|
},
|
|
2272
|
-
|
|
2396
|
+
__wbg_set_view_gpu_texture_view_033c23f730814624: function(arg0, arg1) {
|
|
2273
2397
|
arg0.view = arg1;
|
|
2274
2398
|
},
|
|
2275
|
-
|
|
2399
|
+
__wbg_set_view_gpu_texture_view_fb3517be78315e4d: function(arg0, arg1) {
|
|
2276
2400
|
arg0.view = arg1;
|
|
2277
2401
|
},
|
|
2278
|
-
|
|
2402
|
+
__wbg_set_visibility_c200e52cd4eb51b4: function(arg0, arg1) {
|
|
2279
2403
|
arg0.visibility = arg1 >>> 0;
|
|
2280
2404
|
},
|
|
2281
2405
|
__wbg_set_width_5f89a551b5472887: function(arg0, arg1) {
|
|
2282
2406
|
arg0.width = arg1 >>> 0;
|
|
2283
2407
|
},
|
|
2284
|
-
|
|
2408
|
+
__wbg_set_width_e61fe13191c8c4a6: function(arg0, arg1) {
|
|
2285
2409
|
arg0.width = arg1 >>> 0;
|
|
2286
2410
|
},
|
|
2287
2411
|
__wbg_set_width_eb3001e1dcabb909: function(arg0, arg1) {
|
|
2288
2412
|
arg0.width = arg1 >>> 0;
|
|
2289
2413
|
},
|
|
2290
|
-
|
|
2414
|
+
__wbg_set_write_mask_cba5d1d12c4e3cad: function(arg0, arg1) {
|
|
2291
2415
|
arg0.writeMask = arg1 >>> 0;
|
|
2292
2416
|
},
|
|
2293
|
-
|
|
2417
|
+
__wbg_set_x_62c1844cae55f838: function(arg0, arg1) {
|
|
2294
2418
|
arg0.x = arg1 >>> 0;
|
|
2295
2419
|
},
|
|
2296
|
-
|
|
2420
|
+
__wbg_set_y_beb3edda7d0de400: function(arg0, arg1) {
|
|
2297
2421
|
arg0.y = arg1 >>> 0;
|
|
2298
2422
|
},
|
|
2299
|
-
|
|
2423
|
+
__wbg_set_z_7f7b74fb39689f38: function(arg0, arg1) {
|
|
2300
2424
|
arg0.z = arg1 >>> 0;
|
|
2301
2425
|
},
|
|
2302
2426
|
__wbg_shaderSource_519d0f56b613b2f9: function(arg0, arg1, arg2, arg3) {
|
|
@@ -2352,15 +2476,15 @@ function __wbg_get_imports() {
|
|
|
2352
2476
|
__wbg_stencilOpSeparate_f4319497016868f8: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2353
2477
|
arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
2354
2478
|
},
|
|
2355
|
-
|
|
2479
|
+
__wbg_subgroupMaxSize_a83c7e32d6dfdac5: function(arg0) {
|
|
2356
2480
|
const ret = arg0.subgroupMaxSize;
|
|
2357
2481
|
return ret;
|
|
2358
2482
|
},
|
|
2359
|
-
|
|
2483
|
+
__wbg_subgroupMinSize_6d35168d9f0ccfb9: function(arg0) {
|
|
2360
2484
|
const ret = arg0.subgroupMinSize;
|
|
2361
2485
|
return ret;
|
|
2362
2486
|
},
|
|
2363
|
-
|
|
2487
|
+
__wbg_submit_ce44115121cd166c: function(arg0, arg1, arg2) {
|
|
2364
2488
|
arg0.submit(getArrayJsValueViewFromWasm0(arg1, arg2));
|
|
2365
2489
|
},
|
|
2366
2490
|
__wbg_texImage2D_20b5002326193fe6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
@@ -2402,6 +2526,9 @@ function __wbg_get_imports() {
|
|
|
2402
2526
|
__wbg_texSubImage2D_4aef07460a86c81e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2403
2527
|
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
2404
2528
|
}, arguments); },
|
|
2529
|
+
__wbg_texSubImage2D_9905d49064d2610f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2530
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
2531
|
+
}, arguments); },
|
|
2405
2532
|
__wbg_texSubImage2D_9c7e2d1250b1f95f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2406
2533
|
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
2407
2534
|
}, arguments); },
|
|
@@ -2429,6 +2556,9 @@ function __wbg_get_imports() {
|
|
|
2429
2556
|
__wbg_texSubImage3D_b1b631c3011a209e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2430
2557
|
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
2431
2558
|
}, arguments); },
|
|
2559
|
+
__wbg_texSubImage3D_d31d1af485dd1a9f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2560
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
2561
|
+
}, arguments); },
|
|
2432
2562
|
__wbg_texSubImage3D_e8f20815b70bc7cb: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2433
2563
|
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
2434
2564
|
}, arguments); },
|
|
@@ -2447,7 +2577,11 @@ function __wbg_get_imports() {
|
|
|
2447
2577
|
const ret = arg0.then(arg1);
|
|
2448
2578
|
return ret;
|
|
2449
2579
|
},
|
|
2450
|
-
|
|
2580
|
+
__wbg_toString_55ffdf586349746b: function(arg0) {
|
|
2581
|
+
const ret = arg0.toString();
|
|
2582
|
+
return ret;
|
|
2583
|
+
},
|
|
2584
|
+
__wbg_unconfigure_0a07a0a40de8988d: function(arg0) {
|
|
2451
2585
|
arg0.unconfigure();
|
|
2452
2586
|
},
|
|
2453
2587
|
__wbg_uniform1f_0b36dc15cb2b4991: function(arg0, arg1, arg2) {
|
|
@@ -2555,9 +2689,6 @@ function __wbg_get_imports() {
|
|
|
2555
2689
|
__wbg_uniformMatrix4x3fv_b6f9b241f392f245: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2556
2690
|
arg0.uniformMatrix4x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2557
2691
|
},
|
|
2558
|
-
__wbg_unmap_6a96b14c9ef5f7f5: function(arg0) {
|
|
2559
|
-
arg0.unmap();
|
|
2560
|
-
},
|
|
2561
2692
|
__wbg_useProgram_d9c24a7d8632c4c1: function(arg0, arg1) {
|
|
2562
2693
|
arg0.useProgram(arg1);
|
|
2563
2694
|
},
|
|
@@ -2593,83 +2724,88 @@ function __wbg_get_imports() {
|
|
|
2593
2724
|
const ret = arg0.width;
|
|
2594
2725
|
return ret;
|
|
2595
2726
|
},
|
|
2596
|
-
|
|
2727
|
+
__wbg_writeBuffer_38a0005ce0c91214: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2597
2728
|
arg0.writeBuffer(arg1, arg2, getArrayU8FromWasm0(arg3, arg4), arg5, arg6);
|
|
2598
2729
|
}, arguments); },
|
|
2599
|
-
|
|
2730
|
+
__wbg_writeTexture_ddf1f089a7ceba85: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2600
2731
|
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
2601
2732
|
}, arguments); },
|
|
2602
2733
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
2603
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
2734
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2493, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2604
2735
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hd4acdde59c21f30c);
|
|
2605
2736
|
return ret;
|
|
2606
2737
|
},
|
|
2607
2738
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
2608
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx:
|
|
2609
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2739
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 319, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2740
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h07eb446950379899);
|
|
2610
2741
|
return ret;
|
|
2611
2742
|
},
|
|
2612
2743
|
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
2613
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx:
|
|
2614
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2744
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx: 322, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2745
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h55f3ef2a75985a4f);
|
|
2615
2746
|
return ret;
|
|
2616
2747
|
},
|
|
2617
2748
|
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
2618
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("
|
|
2619
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2749
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPURenderPipeline")], shim_idx: 319, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2750
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h07eb446950379899_45);
|
|
2620
2751
|
return ret;
|
|
2621
2752
|
},
|
|
2622
2753
|
__wbindgen_generic_0000000000000005: function(arg0, arg1) {
|
|
2623
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("
|
|
2624
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2754
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 322, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2755
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h55f3ef2a75985a4f_46);
|
|
2625
2756
|
return ret;
|
|
2626
2757
|
},
|
|
2627
2758
|
__wbindgen_generic_0000000000000006: function(arg0, arg1) {
|
|
2628
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("
|
|
2629
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2759
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 319, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2760
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h07eb446950379899_47);
|
|
2761
|
+
return ret;
|
|
2762
|
+
},
|
|
2763
|
+
__wbindgen_generic_0000000000000007: function(arg0, arg1) {
|
|
2764
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 319, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2765
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h07eb446950379899_48);
|
|
2630
2766
|
return ret;
|
|
2631
2767
|
},
|
|
2632
|
-
|
|
2768
|
+
__wbindgen_generic_0000000000000008: function(arg0) {
|
|
2633
2769
|
// Cast intrinsic for `F64 -> Externref`.
|
|
2634
2770
|
const ret = arg0;
|
|
2635
2771
|
return ret;
|
|
2636
2772
|
},
|
|
2637
|
-
|
|
2773
|
+
__wbindgen_generic_0000000000000009: function(arg0, arg1) {
|
|
2638
2774
|
// Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
|
|
2639
2775
|
const ret = getArrayF32FromWasm0(arg0, arg1);
|
|
2640
2776
|
return ret;
|
|
2641
2777
|
},
|
|
2642
|
-
|
|
2778
|
+
__wbindgen_generic_000000000000000a: function(arg0, arg1) {
|
|
2643
2779
|
// Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
|
|
2644
2780
|
const ret = getArrayI16FromWasm0(arg0, arg1);
|
|
2645
2781
|
return ret;
|
|
2646
2782
|
},
|
|
2647
|
-
|
|
2783
|
+
__wbindgen_generic_000000000000000b: function(arg0, arg1) {
|
|
2648
2784
|
// Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
|
|
2649
2785
|
const ret = getArrayI32FromWasm0(arg0, arg1);
|
|
2650
2786
|
return ret;
|
|
2651
2787
|
},
|
|
2652
|
-
|
|
2788
|
+
__wbindgen_generic_000000000000000c: function(arg0, arg1) {
|
|
2653
2789
|
// Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
|
|
2654
2790
|
const ret = getArrayI8FromWasm0(arg0, arg1);
|
|
2655
2791
|
return ret;
|
|
2656
2792
|
},
|
|
2657
|
-
|
|
2793
|
+
__wbindgen_generic_000000000000000d: function(arg0, arg1) {
|
|
2658
2794
|
// Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
|
|
2659
2795
|
const ret = getArrayU16FromWasm0(arg0, arg1);
|
|
2660
2796
|
return ret;
|
|
2661
2797
|
},
|
|
2662
|
-
|
|
2798
|
+
__wbindgen_generic_000000000000000e: function(arg0, arg1) {
|
|
2663
2799
|
// Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
|
|
2664
2800
|
const ret = getArrayU32FromWasm0(arg0, arg1);
|
|
2665
2801
|
return ret;
|
|
2666
2802
|
},
|
|
2667
|
-
|
|
2803
|
+
__wbindgen_generic_000000000000000f: function(arg0, arg1) {
|
|
2668
2804
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
2669
2805
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
2670
2806
|
return ret;
|
|
2671
2807
|
},
|
|
2672
|
-
|
|
2808
|
+
__wbindgen_generic_0000000000000010: function(arg0, arg1) {
|
|
2673
2809
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
2674
2810
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
2675
2811
|
return ret;
|
|
@@ -2689,12 +2825,12 @@ function __wbg_get_imports() {
|
|
|
2689
2825
|
};
|
|
2690
2826
|
}
|
|
2691
2827
|
|
|
2692
|
-
function
|
|
2693
|
-
wasm.
|
|
2828
|
+
function wasm_bindgen__convert__closures_____invoke__h55f3ef2a75985a4f(arg0, arg1, arg2) {
|
|
2829
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h55f3ef2a75985a4f(arg0, arg1, arg2);
|
|
2694
2830
|
}
|
|
2695
2831
|
|
|
2696
|
-
function
|
|
2697
|
-
wasm.
|
|
2832
|
+
function wasm_bindgen__convert__closures_____invoke__h55f3ef2a75985a4f_46(arg0, arg1, arg2) {
|
|
2833
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h55f3ef2a75985a4f_46(arg0, arg1, arg2);
|
|
2698
2834
|
}
|
|
2699
2835
|
|
|
2700
2836
|
function wasm_bindgen__convert__closures_____invoke__hd4acdde59c21f30c(arg0, arg1, arg2) {
|
|
@@ -2704,22 +2840,29 @@ function wasm_bindgen__convert__closures_____invoke__hd4acdde59c21f30c(arg0, arg
|
|
|
2704
2840
|
}
|
|
2705
2841
|
}
|
|
2706
2842
|
|
|
2707
|
-
function
|
|
2708
|
-
const ret = wasm.
|
|
2843
|
+
function wasm_bindgen__convert__closures_____invoke__h07eb446950379899(arg0, arg1, arg2) {
|
|
2844
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h07eb446950379899(arg0, arg1, arg2);
|
|
2709
2845
|
if (ret[1]) {
|
|
2710
2846
|
throw takeFromExternrefTable0(ret[0]);
|
|
2711
2847
|
}
|
|
2712
2848
|
}
|
|
2713
2849
|
|
|
2714
|
-
function
|
|
2715
|
-
const ret = wasm.
|
|
2850
|
+
function wasm_bindgen__convert__closures_____invoke__h07eb446950379899_45(arg0, arg1, arg2) {
|
|
2851
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h07eb446950379899_45(arg0, arg1, arg2);
|
|
2716
2852
|
if (ret[1]) {
|
|
2717
2853
|
throw takeFromExternrefTable0(ret[0]);
|
|
2718
2854
|
}
|
|
2719
2855
|
}
|
|
2720
2856
|
|
|
2721
|
-
function
|
|
2722
|
-
const ret = wasm.
|
|
2857
|
+
function wasm_bindgen__convert__closures_____invoke__h07eb446950379899_47(arg0, arg1, arg2) {
|
|
2858
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h07eb446950379899_47(arg0, arg1, arg2);
|
|
2859
|
+
if (ret[1]) {
|
|
2860
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
function wasm_bindgen__convert__closures_____invoke__h07eb446950379899_48(arg0, arg1, arg2) {
|
|
2865
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h07eb446950379899_48(arg0, arg1, arg2);
|
|
2723
2866
|
if (ret[1]) {
|
|
2724
2867
|
throw takeFromExternrefTable0(ret[0]);
|
|
2725
2868
|
}
|
|
@@ -2757,6 +2900,9 @@ const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
|
|
|
2757
2900
|
const __wbindgen_enum_GpuDeviceLostReason = ["unknown", "destroyed"];
|
|
2758
2901
|
|
|
2759
2902
|
|
|
2903
|
+
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
2904
|
+
|
|
2905
|
+
|
|
2760
2906
|
const __wbindgen_enum_GpuFrontFace = ["ccw", "cw"];
|
|
2761
2907
|
|
|
2762
2908
|
|
|
@@ -2766,6 +2912,9 @@ const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
|
|
|
2766
2912
|
const __wbindgen_enum_GpuLoadOp = ["load", "clear"];
|
|
2767
2913
|
|
|
2768
2914
|
|
|
2915
|
+
const __wbindgen_enum_GpuPipelineErrorReason = ["validation", "internal"];
|
|
2916
|
+
|
|
2917
|
+
|
|
2769
2918
|
const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
|
|
2770
2919
|
|
|
2771
2920
|
|
|
@@ -2806,6 +2955,9 @@ const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
|
|
|
2806
2955
|
const PlayerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2807
2956
|
? { register: () => {}, unregister: () => {} }
|
|
2808
2957
|
: new FinalizationRegistry(ptr => wasm.__wbg_player_free(ptr, 1));
|
|
2958
|
+
const PreparedFigureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2959
|
+
? { register: () => {}, unregister: () => {} }
|
|
2960
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_preparedfigure_free(ptr, 1));
|
|
2809
2961
|
|
|
2810
2962
|
function addToExternrefTable0(obj) {
|
|
2811
2963
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -2813,6 +2965,12 @@ function addToExternrefTable0(obj) {
|
|
|
2813
2965
|
return idx;
|
|
2814
2966
|
}
|
|
2815
2967
|
|
|
2968
|
+
function _assertClass(instance, klass) {
|
|
2969
|
+
if (!(instance instanceof klass)) {
|
|
2970
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
2971
|
+
}
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2816
2974
|
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
2817
2975
|
? { register: () => {}, unregister: () => {} }
|
|
2818
2976
|
: new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure(state.a, state.b));
|