@swmansion/smelter-browser-render 0.2.0-rc.0 → 0.2.1
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/dist/index.d.ts +1 -1
- package/dist/index.js +1239 -1273
- package/dist/smelter.wasm +0 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,25 +1,5 @@
|
|
|
1
1
|
let wasm;
|
|
2
2
|
|
|
3
|
-
const heap = new Array(128).fill(undefined);
|
|
4
|
-
|
|
5
|
-
heap.push(undefined, null, true, false);
|
|
6
|
-
|
|
7
|
-
function getObject(idx) { return heap[idx]; }
|
|
8
|
-
|
|
9
|
-
let heap_next = heap.length;
|
|
10
|
-
|
|
11
|
-
function dropObject(idx) {
|
|
12
|
-
if (idx < 132) return;
|
|
13
|
-
heap[idx] = heap_next;
|
|
14
|
-
heap_next = idx;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
function takeObject(idx) {
|
|
18
|
-
const ret = getObject(idx);
|
|
19
|
-
dropObject(idx);
|
|
20
|
-
return ret;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
3
|
let WASM_VECTOR_LEN = 0;
|
|
24
4
|
|
|
25
5
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -85,10 +65,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
85
65
|
return ptr;
|
|
86
66
|
}
|
|
87
67
|
|
|
88
|
-
function isLikeNone(x) {
|
|
89
|
-
return x === undefined || x === null;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
68
|
let cachedDataViewMemory0 = null;
|
|
93
69
|
|
|
94
70
|
function getDataViewMemory0() {
|
|
@@ -98,15 +74,6 @@ function getDataViewMemory0() {
|
|
|
98
74
|
return cachedDataViewMemory0;
|
|
99
75
|
}
|
|
100
76
|
|
|
101
|
-
function addHeapObject(obj) {
|
|
102
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
103
|
-
const idx = heap_next;
|
|
104
|
-
heap_next = heap[idx];
|
|
105
|
-
|
|
106
|
-
heap[idx] = obj;
|
|
107
|
-
return idx;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
77
|
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
|
111
78
|
|
|
112
79
|
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); }
|
|
@@ -115,6 +82,98 @@ function getStringFromWasm0(ptr, len) {
|
|
|
115
82
|
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
116
83
|
}
|
|
117
84
|
|
|
85
|
+
function addToExternrefTable0(obj) {
|
|
86
|
+
const idx = wasm.__externref_table_alloc();
|
|
87
|
+
wasm.__wbindgen_export_4.set(idx, obj);
|
|
88
|
+
return idx;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function handleError(f, args) {
|
|
92
|
+
try {
|
|
93
|
+
return f.apply(this, args);
|
|
94
|
+
} catch (e) {
|
|
95
|
+
const idx = addToExternrefTable0(e);
|
|
96
|
+
wasm.__wbindgen_exn_store(idx);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
let cachedFloat32ArrayMemory0 = null;
|
|
101
|
+
|
|
102
|
+
function getFloat32ArrayMemory0() {
|
|
103
|
+
if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
|
|
104
|
+
cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
|
|
105
|
+
}
|
|
106
|
+
return cachedFloat32ArrayMemory0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function getArrayF32FromWasm0(ptr, len) {
|
|
110
|
+
ptr = ptr >>> 0;
|
|
111
|
+
return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
let cachedInt32ArrayMemory0 = null;
|
|
115
|
+
|
|
116
|
+
function getInt32ArrayMemory0() {
|
|
117
|
+
if (cachedInt32ArrayMemory0 === null || cachedInt32ArrayMemory0.byteLength === 0) {
|
|
118
|
+
cachedInt32ArrayMemory0 = new Int32Array(wasm.memory.buffer);
|
|
119
|
+
}
|
|
120
|
+
return cachedInt32ArrayMemory0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
function getArrayI32FromWasm0(ptr, len) {
|
|
124
|
+
ptr = ptr >>> 0;
|
|
125
|
+
return getInt32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
let cachedUint32ArrayMemory0 = null;
|
|
129
|
+
|
|
130
|
+
function getUint32ArrayMemory0() {
|
|
131
|
+
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
132
|
+
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
133
|
+
}
|
|
134
|
+
return cachedUint32ArrayMemory0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function getArrayU32FromWasm0(ptr, len) {
|
|
138
|
+
ptr = ptr >>> 0;
|
|
139
|
+
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
function isLikeNone(x) {
|
|
143
|
+
return x === undefined || x === null;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
147
|
+
? { register: () => {}, unregister: () => {} }
|
|
148
|
+
: new FinalizationRegistry(state => {
|
|
149
|
+
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
153
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
154
|
+
const real = (...args) => {
|
|
155
|
+
// First up with a closure we increment the internal reference
|
|
156
|
+
// count. This ensures that the Rust closure environment won't
|
|
157
|
+
// be deallocated while we're invoking it.
|
|
158
|
+
state.cnt++;
|
|
159
|
+
const a = state.a;
|
|
160
|
+
state.a = 0;
|
|
161
|
+
try {
|
|
162
|
+
return f(a, state.b, ...args);
|
|
163
|
+
} finally {
|
|
164
|
+
if (--state.cnt === 0) {
|
|
165
|
+
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
166
|
+
CLOSURE_DTORS.unregister(state);
|
|
167
|
+
} else {
|
|
168
|
+
state.a = a;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
real.original = state;
|
|
173
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
174
|
+
return real;
|
|
175
|
+
}
|
|
176
|
+
|
|
118
177
|
function debugString(val) {
|
|
119
178
|
// primitive types
|
|
120
179
|
const type = typeof val;
|
|
@@ -156,7 +215,7 @@ function debugString(val) {
|
|
|
156
215
|
// Test for built-in
|
|
157
216
|
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
158
217
|
let className;
|
|
159
|
-
if (builtInMatches.length > 1) {
|
|
218
|
+
if (builtInMatches && builtInMatches.length > 1) {
|
|
160
219
|
className = builtInMatches[1];
|
|
161
220
|
} else {
|
|
162
221
|
// Failed to match the standard '[object ClassName]'
|
|
@@ -194,114 +253,42 @@ function getClampedArrayU8FromWasm0(ptr, len) {
|
|
|
194
253
|
return getUint8ClampedArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
195
254
|
}
|
|
196
255
|
|
|
197
|
-
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
198
|
-
? { register: () => {}, unregister: () => {} }
|
|
199
|
-
: new FinalizationRegistry(state => {
|
|
200
|
-
wasm.__wbindgen_export_3.get(state.dtor)(state.a, state.b);
|
|
201
|
-
});
|
|
202
|
-
|
|
203
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
204
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
205
|
-
const real = (...args) => {
|
|
206
|
-
// First up with a closure we increment the internal reference
|
|
207
|
-
// count. This ensures that the Rust closure environment won't
|
|
208
|
-
// be deallocated while we're invoking it.
|
|
209
|
-
state.cnt++;
|
|
210
|
-
const a = state.a;
|
|
211
|
-
state.a = 0;
|
|
212
|
-
try {
|
|
213
|
-
return f(a, state.b, ...args);
|
|
214
|
-
} finally {
|
|
215
|
-
if (--state.cnt === 0) {
|
|
216
|
-
wasm.__wbindgen_export_3.get(state.dtor)(a, state.b);
|
|
217
|
-
CLOSURE_DTORS.unregister(state);
|
|
218
|
-
} else {
|
|
219
|
-
state.a = a;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
real.original = state;
|
|
224
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
225
|
-
return real;
|
|
226
|
-
}
|
|
227
|
-
function __wbg_adapter_52(arg0, arg1, arg2) {
|
|
228
|
-
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4db0321d4fcfe3d1(arg0, arg1, addHeapObject(arg2));
|
|
229
|
-
}
|
|
230
|
-
|
|
231
256
|
/**
|
|
232
|
-
* @param {any} options
|
|
233
|
-
* @returns {Promise<SmelterRenderer>}
|
|
234
|
-
*/
|
|
257
|
+
* @param {any} options
|
|
258
|
+
* @returns {Promise<SmelterRenderer>}
|
|
259
|
+
*/
|
|
235
260
|
function create_renderer(options) {
|
|
236
|
-
const ret = wasm.create_renderer(
|
|
237
|
-
return
|
|
261
|
+
const ret = wasm.create_renderer(options);
|
|
262
|
+
return ret;
|
|
238
263
|
}
|
|
239
264
|
|
|
240
265
|
function _assertClass(instance, klass) {
|
|
241
266
|
if (!(instance instanceof klass)) {
|
|
242
267
|
throw new Error(`expected instance of ${klass.name}`);
|
|
243
268
|
}
|
|
244
|
-
return instance.ptr;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
function handleError(f, args) {
|
|
248
|
-
try {
|
|
249
|
-
return f.apply(this, args);
|
|
250
|
-
} catch (e) {
|
|
251
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
let cachedFloat32ArrayMemory0 = null;
|
|
256
|
-
|
|
257
|
-
function getFloat32ArrayMemory0() {
|
|
258
|
-
if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
|
|
259
|
-
cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
|
|
260
|
-
}
|
|
261
|
-
return cachedFloat32ArrayMemory0;
|
|
262
269
|
}
|
|
263
270
|
|
|
264
|
-
function
|
|
265
|
-
|
|
266
|
-
|
|
271
|
+
function takeFromExternrefTable0(idx) {
|
|
272
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
|
273
|
+
wasm.__externref_table_dealloc(idx);
|
|
274
|
+
return value;
|
|
267
275
|
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
function getInt32ArrayMemory0() {
|
|
272
|
-
if (cachedInt32ArrayMemory0 === null || cachedInt32ArrayMemory0.byteLength === 0) {
|
|
273
|
-
cachedInt32ArrayMemory0 = new Int32Array(wasm.memory.buffer);
|
|
274
|
-
}
|
|
275
|
-
return cachedInt32ArrayMemory0;
|
|
276
|
+
function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
277
|
+
wasm.closure549_externref_shim(arg0, arg1, arg2);
|
|
276
278
|
}
|
|
277
279
|
|
|
278
|
-
function
|
|
279
|
-
|
|
280
|
-
return getInt32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
280
|
+
function __wbg_adapter_718(arg0, arg1, arg2, arg3) {
|
|
281
|
+
wasm.closure2694_externref_shim(arg0, arg1, arg2, arg3);
|
|
281
282
|
}
|
|
282
283
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
function getUint32ArrayMemory0() {
|
|
286
|
-
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
287
|
-
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
288
|
-
}
|
|
289
|
-
return cachedUint32ArrayMemory0;
|
|
290
|
-
}
|
|
284
|
+
const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
291
285
|
|
|
292
|
-
|
|
293
|
-
ptr = ptr >>> 0;
|
|
294
|
-
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
295
|
-
}
|
|
296
|
-
function __wbg_adapter_718(arg0, arg1, arg2, arg3) {
|
|
297
|
-
wasm.wasm_bindgen__convert__closures__invoke2_mut__h07f16119db79ff47(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
298
|
-
}
|
|
286
|
+
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
299
287
|
|
|
300
288
|
const FrameSetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
301
289
|
? { register: () => {}, unregister: () => {} }
|
|
302
290
|
: new FinalizationRegistry(ptr => wasm.__wbg_frameset_free(ptr >>> 0, 1));
|
|
303
|
-
|
|
304
|
-
*/
|
|
291
|
+
|
|
305
292
|
class FrameSet {
|
|
306
293
|
|
|
307
294
|
static __wrap(ptr) {
|
|
@@ -324,48 +311,47 @@ class FrameSet {
|
|
|
324
311
|
wasm.__wbg_frameset_free(ptr, 0);
|
|
325
312
|
}
|
|
326
313
|
/**
|
|
327
|
-
|
|
328
|
-
|
|
314
|
+
* @returns {number}
|
|
315
|
+
*/
|
|
329
316
|
get pts_ms() {
|
|
330
317
|
const ret = wasm.__wbg_get_frameset_pts_ms(this.__wbg_ptr);
|
|
331
318
|
return ret;
|
|
332
319
|
}
|
|
333
320
|
/**
|
|
334
|
-
|
|
335
|
-
|
|
321
|
+
* @param {number} arg0
|
|
322
|
+
*/
|
|
336
323
|
set pts_ms(arg0) {
|
|
337
324
|
wasm.__wbg_set_frameset_pts_ms(this.__wbg_ptr, arg0);
|
|
338
325
|
}
|
|
339
326
|
/**
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
327
|
+
* @param {number} pts_ms
|
|
328
|
+
* @param {Map<any, any>} frames
|
|
329
|
+
*/
|
|
343
330
|
constructor(pts_ms, frames) {
|
|
344
|
-
const ret = wasm.frameset_new(pts_ms,
|
|
331
|
+
const ret = wasm.frameset_new(pts_ms, frames);
|
|
345
332
|
this.__wbg_ptr = ret >>> 0;
|
|
346
333
|
FrameSetFinalization.register(this, this.__wbg_ptr, this);
|
|
347
334
|
return this;
|
|
348
335
|
}
|
|
349
336
|
/**
|
|
350
|
-
|
|
351
|
-
|
|
337
|
+
* @returns {Map<any, any>}
|
|
338
|
+
*/
|
|
352
339
|
get frames() {
|
|
353
340
|
const ret = wasm.frameset_frames(this.__wbg_ptr);
|
|
354
|
-
return
|
|
341
|
+
return ret;
|
|
355
342
|
}
|
|
356
343
|
/**
|
|
357
|
-
|
|
358
|
-
|
|
344
|
+
* @param {Map<any, any>} frames
|
|
345
|
+
*/
|
|
359
346
|
set frames(frames) {
|
|
360
|
-
wasm.frameset_set_frames(this.__wbg_ptr,
|
|
347
|
+
wasm.frameset_set_frames(this.__wbg_ptr, frames);
|
|
361
348
|
}
|
|
362
349
|
}
|
|
363
350
|
|
|
364
351
|
const SmelterRendererFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
365
352
|
? { register: () => {}, unregister: () => {} }
|
|
366
353
|
: new FinalizationRegistry(ptr => wasm.__wbg_smelterrenderer_free(ptr >>> 0, 1));
|
|
367
|
-
|
|
368
|
-
*/
|
|
354
|
+
|
|
369
355
|
class SmelterRenderer {
|
|
370
356
|
|
|
371
357
|
static __wrap(ptr) {
|
|
@@ -388,107 +374,85 @@ class SmelterRenderer {
|
|
|
388
374
|
wasm.__wbg_smelterrenderer_free(ptr, 0);
|
|
389
375
|
}
|
|
390
376
|
/**
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
377
|
+
* @param {FrameSet} input
|
|
378
|
+
* @returns {FrameSet}
|
|
379
|
+
*/
|
|
394
380
|
render(input) {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
401
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
402
|
-
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
403
|
-
if (r2) {
|
|
404
|
-
throw takeObject(r1);
|
|
405
|
-
}
|
|
406
|
-
return FrameSet.__wrap(r0);
|
|
407
|
-
} finally {
|
|
408
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
381
|
+
_assertClass(input, FrameSet);
|
|
382
|
+
var ptr0 = input.__destroy_into_raw();
|
|
383
|
+
const ret = wasm.smelterrenderer_render(this.__wbg_ptr, ptr0);
|
|
384
|
+
if (ret[2]) {
|
|
385
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
409
386
|
}
|
|
387
|
+
return FrameSet.__wrap(ret[0]);
|
|
410
388
|
}
|
|
411
389
|
/**
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
390
|
+
* @param {string} output_id
|
|
391
|
+
* @param {any} resolution
|
|
392
|
+
* @param {any} scene
|
|
393
|
+
*/
|
|
416
394
|
update_scene(output_id, resolution, scene) {
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
423
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
424
|
-
if (r1) {
|
|
425
|
-
throw takeObject(r0);
|
|
426
|
-
}
|
|
427
|
-
} finally {
|
|
428
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
395
|
+
const ptr0 = passStringToWasm0(output_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
396
|
+
const len0 = WASM_VECTOR_LEN;
|
|
397
|
+
const ret = wasm.smelterrenderer_update_scene(this.__wbg_ptr, ptr0, len0, resolution, scene);
|
|
398
|
+
if (ret[1]) {
|
|
399
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
429
400
|
}
|
|
430
401
|
}
|
|
431
402
|
/**
|
|
432
|
-
|
|
433
|
-
|
|
403
|
+
* @param {string} input_id
|
|
404
|
+
*/
|
|
434
405
|
register_input(input_id) {
|
|
435
406
|
const ptr0 = passStringToWasm0(input_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
436
407
|
const len0 = WASM_VECTOR_LEN;
|
|
437
408
|
wasm.smelterrenderer_register_input(this.__wbg_ptr, ptr0, len0);
|
|
438
409
|
}
|
|
439
410
|
/**
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
411
|
+
* @param {string} renderer_id
|
|
412
|
+
* @param {any} image_spec
|
|
413
|
+
* @returns {Promise<void>}
|
|
414
|
+
*/
|
|
444
415
|
register_image(renderer_id, image_spec) {
|
|
445
416
|
const ptr0 = passStringToWasm0(renderer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
446
417
|
const len0 = WASM_VECTOR_LEN;
|
|
447
|
-
const ret = wasm.smelterrenderer_register_image(this.__wbg_ptr, ptr0, len0,
|
|
448
|
-
return
|
|
418
|
+
const ret = wasm.smelterrenderer_register_image(this.__wbg_ptr, ptr0, len0, image_spec);
|
|
419
|
+
return ret;
|
|
449
420
|
}
|
|
450
421
|
/**
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
422
|
+
* @param {string} font_url
|
|
423
|
+
* @returns {Promise<void>}
|
|
424
|
+
*/
|
|
454
425
|
register_font(font_url) {
|
|
455
426
|
const ptr0 = passStringToWasm0(font_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
456
427
|
const len0 = WASM_VECTOR_LEN;
|
|
457
428
|
const ret = wasm.smelterrenderer_register_font(this.__wbg_ptr, ptr0, len0);
|
|
458
|
-
return
|
|
429
|
+
return ret;
|
|
459
430
|
}
|
|
460
431
|
/**
|
|
461
|
-
|
|
462
|
-
|
|
432
|
+
* @param {string} input_id
|
|
433
|
+
*/
|
|
463
434
|
unregister_input(input_id) {
|
|
464
435
|
const ptr0 = passStringToWasm0(input_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
465
436
|
const len0 = WASM_VECTOR_LEN;
|
|
466
437
|
wasm.smelterrenderer_unregister_input(this.__wbg_ptr, ptr0, len0);
|
|
467
438
|
}
|
|
468
439
|
/**
|
|
469
|
-
|
|
470
|
-
|
|
440
|
+
* @param {string} output_id
|
|
441
|
+
*/
|
|
471
442
|
unregister_output(output_id) {
|
|
472
443
|
const ptr0 = passStringToWasm0(output_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
473
444
|
const len0 = WASM_VECTOR_LEN;
|
|
474
445
|
wasm.smelterrenderer_unregister_output(this.__wbg_ptr, ptr0, len0);
|
|
475
446
|
}
|
|
476
447
|
/**
|
|
477
|
-
|
|
478
|
-
|
|
448
|
+
* @param {string} renderer_id
|
|
449
|
+
*/
|
|
479
450
|
unregister_image(renderer_id) {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
486
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
487
|
-
if (r1) {
|
|
488
|
-
throw takeObject(r0);
|
|
489
|
-
}
|
|
490
|
-
} finally {
|
|
491
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
451
|
+
const ptr0 = passStringToWasm0(renderer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
452
|
+
const len0 = WASM_VECTOR_LEN;
|
|
453
|
+
const ret = wasm.smelterrenderer_unregister_image(this.__wbg_ptr, ptr0, len0);
|
|
454
|
+
if (ret[1]) {
|
|
455
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
492
456
|
}
|
|
493
457
|
}
|
|
494
458
|
}
|
|
@@ -501,7 +465,7 @@ async function __wbg_load(module, imports) {
|
|
|
501
465
|
|
|
502
466
|
} catch (e) {
|
|
503
467
|
if (module.headers.get('Content-Type') != 'application/wasm') {
|
|
504
|
-
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve
|
|
468
|
+
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
505
469
|
|
|
506
470
|
} else {
|
|
507
471
|
throw e;
|
|
@@ -527,1434 +491,1425 @@ async function __wbg_load(module, imports) {
|
|
|
527
491
|
function __wbg_get_imports() {
|
|
528
492
|
const imports = {};
|
|
529
493
|
imports.wbg = {};
|
|
530
|
-
imports.wbg.
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
const obj = getObject(arg1);
|
|
535
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
536
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
537
|
-
var len1 = WASM_VECTOR_LEN;
|
|
494
|
+
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
495
|
+
const ret = String(arg1);
|
|
496
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
497
|
+
const len1 = WASM_VECTOR_LEN;
|
|
538
498
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
539
499
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
540
500
|
};
|
|
541
|
-
imports.wbg.
|
|
542
|
-
|
|
543
|
-
return addHeapObject(ret);
|
|
501
|
+
imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
|
|
502
|
+
arg0.abort();
|
|
544
503
|
};
|
|
545
|
-
imports.wbg.
|
|
546
|
-
|
|
547
|
-
return addHeapObject(ret);
|
|
504
|
+
imports.wbg.__wbg_activeTexture_0f19d8acfa0a14c2 = function(arg0, arg1) {
|
|
505
|
+
arg0.activeTexture(arg1 >>> 0);
|
|
548
506
|
};
|
|
549
|
-
imports.wbg.
|
|
550
|
-
|
|
551
|
-
return addHeapObject(ret);
|
|
507
|
+
imports.wbg.__wbg_activeTexture_460f2e367e813fb0 = function(arg0, arg1) {
|
|
508
|
+
arg0.activeTexture(arg1 >>> 0);
|
|
552
509
|
};
|
|
553
|
-
imports.wbg.
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
510
|
+
imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
511
|
+
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
512
|
+
}, arguments) };
|
|
513
|
+
imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
|
|
514
|
+
const ret = arg0.arrayBuffer();
|
|
515
|
+
return ret;
|
|
516
|
+
}, arguments) };
|
|
517
|
+
imports.wbg.__wbg_attachShader_3d4eb6af9e3e7bd1 = function(arg0, arg1, arg2) {
|
|
518
|
+
arg0.attachShader(arg1, arg2);
|
|
558
519
|
};
|
|
559
|
-
imports.wbg.
|
|
560
|
-
|
|
561
|
-
return addHeapObject(ret);
|
|
520
|
+
imports.wbg.__wbg_attachShader_94e758c8b5283eb2 = function(arg0, arg1, arg2) {
|
|
521
|
+
arg0.attachShader(arg1, arg2);
|
|
562
522
|
};
|
|
563
|
-
imports.wbg.
|
|
564
|
-
|
|
565
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
566
|
-
return ret;
|
|
523
|
+
imports.wbg.__wbg_beginQuery_6af0b28414b16c07 = function(arg0, arg1, arg2) {
|
|
524
|
+
arg0.beginQuery(arg1 >>> 0, arg2);
|
|
567
525
|
};
|
|
568
|
-
imports.wbg.
|
|
569
|
-
|
|
570
|
-
return ret;
|
|
526
|
+
imports.wbg.__wbg_bindAttribLocation_40da4b3e84cc7bd5 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
527
|
+
arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
571
528
|
};
|
|
572
|
-
imports.wbg.
|
|
573
|
-
|
|
574
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
575
|
-
return ret;
|
|
529
|
+
imports.wbg.__wbg_bindAttribLocation_ce2730e29976d230 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
530
|
+
arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
576
531
|
};
|
|
577
|
-
imports.wbg.
|
|
578
|
-
|
|
579
|
-
return ret;
|
|
532
|
+
imports.wbg.__wbg_bindBufferRange_454f90f2b1781982 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
533
|
+
arg0.bindBufferRange(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
580
534
|
};
|
|
581
|
-
imports.wbg.
|
|
582
|
-
|
|
583
|
-
return addHeapObject(ret);
|
|
535
|
+
imports.wbg.__wbg_bindBuffer_309c9a6c21826cf5 = function(arg0, arg1, arg2) {
|
|
536
|
+
arg0.bindBuffer(arg1 >>> 0, arg2);
|
|
584
537
|
};
|
|
585
|
-
imports.wbg.
|
|
586
|
-
|
|
587
|
-
return ret;
|
|
538
|
+
imports.wbg.__wbg_bindBuffer_f32f587f1c2962a7 = function(arg0, arg1, arg2) {
|
|
539
|
+
arg0.bindBuffer(arg1 >>> 0, arg2);
|
|
588
540
|
};
|
|
589
|
-
imports.wbg.
|
|
590
|
-
|
|
591
|
-
return addHeapObject(ret);
|
|
541
|
+
imports.wbg.__wbg_bindFramebuffer_bd02c8cc707d670f = function(arg0, arg1, arg2) {
|
|
542
|
+
arg0.bindFramebuffer(arg1 >>> 0, arg2);
|
|
592
543
|
};
|
|
593
|
-
imports.wbg.
|
|
594
|
-
|
|
595
|
-
return ret;
|
|
544
|
+
imports.wbg.__wbg_bindFramebuffer_e48e83c0f973944d = function(arg0, arg1, arg2) {
|
|
545
|
+
arg0.bindFramebuffer(arg1 >>> 0, arg2);
|
|
596
546
|
};
|
|
597
|
-
imports.wbg.
|
|
598
|
-
|
|
599
|
-
return ret;
|
|
547
|
+
imports.wbg.__wbg_bindRenderbuffer_53eedd88e52b4cb5 = function(arg0, arg1, arg2) {
|
|
548
|
+
arg0.bindRenderbuffer(arg1 >>> 0, arg2);
|
|
600
549
|
};
|
|
601
|
-
imports.wbg.
|
|
602
|
-
|
|
603
|
-
if (obj.cnt-- == 1) {
|
|
604
|
-
obj.a = 0;
|
|
605
|
-
return true;
|
|
606
|
-
}
|
|
607
|
-
const ret = false;
|
|
608
|
-
return ret;
|
|
550
|
+
imports.wbg.__wbg_bindRenderbuffer_55e205fecfddbb8c = function(arg0, arg1, arg2) {
|
|
551
|
+
arg0.bindRenderbuffer(arg1 >>> 0, arg2);
|
|
609
552
|
};
|
|
610
|
-
imports.wbg.
|
|
611
|
-
|
|
612
|
-
return addHeapObject(ret);
|
|
553
|
+
imports.wbg.__wbg_bindSampler_9f59cf2eaa22eee0 = function(arg0, arg1, arg2) {
|
|
554
|
+
arg0.bindSampler(arg1 >>> 0, arg2);
|
|
613
555
|
};
|
|
614
|
-
imports.wbg.
|
|
615
|
-
|
|
556
|
+
imports.wbg.__wbg_bindTexture_a6e795697f49ebd1 = function(arg0, arg1, arg2) {
|
|
557
|
+
arg0.bindTexture(arg1 >>> 0, arg2);
|
|
616
558
|
};
|
|
617
|
-
imports.wbg.
|
|
618
|
-
|
|
619
|
-
let deferred0_1;
|
|
620
|
-
try {
|
|
621
|
-
deferred0_0 = arg0;
|
|
622
|
-
deferred0_1 = arg1;
|
|
623
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
624
|
-
} finally {
|
|
625
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
626
|
-
}
|
|
559
|
+
imports.wbg.__wbg_bindTexture_bc8eb316247f739d = function(arg0, arg1, arg2) {
|
|
560
|
+
arg0.bindTexture(arg1 >>> 0, arg2);
|
|
627
561
|
};
|
|
628
|
-
imports.wbg.
|
|
629
|
-
|
|
630
|
-
let deferred0_1;
|
|
631
|
-
try {
|
|
632
|
-
deferred0_0 = arg0;
|
|
633
|
-
deferred0_1 = arg1;
|
|
634
|
-
console.log(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
|
|
635
|
-
} finally {
|
|
636
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
637
|
-
}
|
|
562
|
+
imports.wbg.__wbg_bindVertexArrayOES_da8e7059b789629e = function(arg0, arg1) {
|
|
563
|
+
arg0.bindVertexArrayOES(arg1);
|
|
638
564
|
};
|
|
639
|
-
imports.wbg.
|
|
640
|
-
|
|
641
|
-
let deferred0_1;
|
|
642
|
-
let deferred1_0;
|
|
643
|
-
let deferred1_1;
|
|
644
|
-
try {
|
|
645
|
-
deferred0_0 = arg0;
|
|
646
|
-
deferred0_1 = arg1;
|
|
647
|
-
deferred1_0 = arg2;
|
|
648
|
-
deferred1_1 = arg3;
|
|
649
|
-
performance.measure(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
650
|
-
} finally {
|
|
651
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
652
|
-
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
653
|
-
}
|
|
654
|
-
}, arguments) };
|
|
655
|
-
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
|
|
656
|
-
const ret = new Error();
|
|
657
|
-
return addHeapObject(ret);
|
|
565
|
+
imports.wbg.__wbg_bindVertexArray_6b4b88581064b71f = function(arg0, arg1) {
|
|
566
|
+
arg0.bindVertexArray(arg1);
|
|
658
567
|
};
|
|
659
|
-
imports.wbg.
|
|
660
|
-
|
|
661
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
662
|
-
const len1 = WASM_VECTOR_LEN;
|
|
663
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
664
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
568
|
+
imports.wbg.__wbg_blendColor_15ba1eff44560932 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
569
|
+
arg0.blendColor(arg1, arg2, arg3, arg4);
|
|
665
570
|
};
|
|
666
|
-
imports.wbg.
|
|
667
|
-
|
|
668
|
-
let deferred0_1;
|
|
669
|
-
try {
|
|
670
|
-
deferred0_0 = arg0;
|
|
671
|
-
deferred0_1 = arg1;
|
|
672
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
673
|
-
} finally {
|
|
674
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
675
|
-
}
|
|
571
|
+
imports.wbg.__wbg_blendColor_6446fba673f64ff0 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
572
|
+
arg0.blendColor(arg1, arg2, arg3, arg4);
|
|
676
573
|
};
|
|
677
|
-
imports.wbg.
|
|
678
|
-
|
|
679
|
-
return ret;
|
|
574
|
+
imports.wbg.__wbg_blendEquationSeparate_c1aa26a9a5c5267e = function(arg0, arg1, arg2) {
|
|
575
|
+
arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
680
576
|
};
|
|
681
|
-
imports.wbg.
|
|
682
|
-
|
|
683
|
-
return ret;
|
|
577
|
+
imports.wbg.__wbg_blendEquationSeparate_f3d422e981d86339 = function(arg0, arg1, arg2) {
|
|
578
|
+
arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
684
579
|
};
|
|
685
|
-
imports.wbg.
|
|
686
|
-
|
|
687
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
688
|
-
const len1 = WASM_VECTOR_LEN;
|
|
689
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
690
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
580
|
+
imports.wbg.__wbg_blendEquation_c23d111ad6d268ff = function(arg0, arg1) {
|
|
581
|
+
arg0.blendEquation(arg1 >>> 0);
|
|
691
582
|
};
|
|
692
|
-
imports.wbg.
|
|
693
|
-
|
|
694
|
-
return addHeapObject(ret);
|
|
583
|
+
imports.wbg.__wbg_blendEquation_cec7bc41f3e5704c = function(arg0, arg1) {
|
|
584
|
+
arg0.blendEquation(arg1 >>> 0);
|
|
695
585
|
};
|
|
696
|
-
imports.wbg.
|
|
697
|
-
|
|
586
|
+
imports.wbg.__wbg_blendFuncSeparate_483be8d4dd635340 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
587
|
+
arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
698
588
|
};
|
|
699
|
-
imports.wbg.
|
|
700
|
-
|
|
701
|
-
return addHeapObject(ret);
|
|
589
|
+
imports.wbg.__wbg_blendFuncSeparate_dafeabfc1680b2ee = function(arg0, arg1, arg2, arg3, arg4) {
|
|
590
|
+
arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
702
591
|
};
|
|
703
|
-
imports.wbg.
|
|
704
|
-
|
|
705
|
-
return addHeapObject(ret);
|
|
592
|
+
imports.wbg.__wbg_blendFunc_9454884a3cfd2911 = function(arg0, arg1, arg2) {
|
|
593
|
+
arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
706
594
|
};
|
|
707
|
-
imports.wbg.
|
|
708
|
-
|
|
709
|
-
return ret;
|
|
595
|
+
imports.wbg.__wbg_blendFunc_c3b74be5a39c665f = function(arg0, arg1, arg2) {
|
|
596
|
+
arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
710
597
|
};
|
|
711
|
-
imports.wbg.
|
|
712
|
-
|
|
598
|
+
imports.wbg.__wbg_blitFramebuffer_7303bdff77cfe967 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
599
|
+
arg0.blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);
|
|
713
600
|
};
|
|
714
|
-
imports.wbg.
|
|
715
|
-
|
|
716
|
-
try {
|
|
717
|
-
result = getObject(arg0) instanceof WebGL2RenderingContext;
|
|
718
|
-
} catch (_) {
|
|
719
|
-
result = false;
|
|
720
|
-
}
|
|
721
|
-
const ret = result;
|
|
722
|
-
return ret;
|
|
601
|
+
imports.wbg.__wbg_bufferData_3261d3e1dd6fc903 = function(arg0, arg1, arg2, arg3) {
|
|
602
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
723
603
|
};
|
|
724
|
-
imports.wbg.
|
|
725
|
-
|
|
604
|
+
imports.wbg.__wbg_bufferData_33c59bf909ea6fd3 = function(arg0, arg1, arg2, arg3) {
|
|
605
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
726
606
|
};
|
|
727
|
-
imports.wbg.
|
|
728
|
-
|
|
607
|
+
imports.wbg.__wbg_bufferData_463178757784fcac = function(arg0, arg1, arg2, arg3) {
|
|
608
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
729
609
|
};
|
|
730
|
-
imports.wbg.
|
|
731
|
-
|
|
610
|
+
imports.wbg.__wbg_bufferData_d99b6b4eb5283f20 = function(arg0, arg1, arg2, arg3) {
|
|
611
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
732
612
|
};
|
|
733
|
-
imports.wbg.
|
|
734
|
-
|
|
613
|
+
imports.wbg.__wbg_bufferSubData_4e973eefe9236d04 = function(arg0, arg1, arg2, arg3) {
|
|
614
|
+
arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
|
|
735
615
|
};
|
|
736
|
-
imports.wbg.
|
|
737
|
-
|
|
616
|
+
imports.wbg.__wbg_bufferSubData_dcd4d16031a60345 = function(arg0, arg1, arg2, arg3) {
|
|
617
|
+
arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
|
|
738
618
|
};
|
|
739
|
-
imports.wbg.
|
|
740
|
-
|
|
619
|
+
imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
620
|
+
const ret = arg0.buffer;
|
|
621
|
+
return ret;
|
|
741
622
|
};
|
|
742
|
-
imports.wbg.
|
|
743
|
-
|
|
623
|
+
imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
624
|
+
const ret = arg0.call(arg1);
|
|
625
|
+
return ret;
|
|
626
|
+
}, arguments) };
|
|
627
|
+
imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
628
|
+
const ret = arg0.call(arg1, arg2);
|
|
629
|
+
return ret;
|
|
630
|
+
}, arguments) };
|
|
631
|
+
imports.wbg.__wbg_clearBufferfv_65ea413f7f2554a2 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
632
|
+
arg0.clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4));
|
|
744
633
|
};
|
|
745
|
-
imports.wbg.
|
|
746
|
-
|
|
634
|
+
imports.wbg.__wbg_clearBufferiv_c003c27b77a0245b = function(arg0, arg1, arg2, arg3, arg4) {
|
|
635
|
+
arg0.clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
|
|
747
636
|
};
|
|
748
|
-
imports.wbg.
|
|
749
|
-
|
|
637
|
+
imports.wbg.__wbg_clearBufferuiv_8c285072f2026a37 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
638
|
+
arg0.clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4));
|
|
750
639
|
};
|
|
751
|
-
imports.wbg.
|
|
752
|
-
|
|
640
|
+
imports.wbg.__wbg_clearDepth_17cfee5be8476fae = function(arg0, arg1) {
|
|
641
|
+
arg0.clearDepth(arg1);
|
|
753
642
|
};
|
|
754
|
-
imports.wbg.
|
|
755
|
-
|
|
643
|
+
imports.wbg.__wbg_clearDepth_670d19914a501259 = function(arg0, arg1) {
|
|
644
|
+
arg0.clearDepth(arg1);
|
|
756
645
|
};
|
|
757
|
-
imports.wbg.
|
|
758
|
-
|
|
759
|
-
return ret;
|
|
646
|
+
imports.wbg.__wbg_clearStencil_4323424f1acca0df = function(arg0, arg1) {
|
|
647
|
+
arg0.clearStencil(arg1);
|
|
760
648
|
};
|
|
761
|
-
imports.wbg.
|
|
762
|
-
|
|
649
|
+
imports.wbg.__wbg_clearStencil_7addd3b330b56b27 = function(arg0, arg1) {
|
|
650
|
+
arg0.clearStencil(arg1);
|
|
763
651
|
};
|
|
764
|
-
imports.wbg.
|
|
765
|
-
|
|
652
|
+
imports.wbg.__wbg_clear_62b9037b892f6988 = function(arg0, arg1) {
|
|
653
|
+
arg0.clear(arg1 >>> 0);
|
|
766
654
|
};
|
|
767
|
-
imports.wbg.
|
|
768
|
-
|
|
655
|
+
imports.wbg.__wbg_clear_f8d5f3c348d37d95 = function(arg0, arg1) {
|
|
656
|
+
arg0.clear(arg1 >>> 0);
|
|
769
657
|
};
|
|
770
|
-
imports.wbg.
|
|
771
|
-
|
|
658
|
+
imports.wbg.__wbg_clientWaitSync_6930890a42bd44c0 = function(arg0, arg1, arg2, arg3) {
|
|
659
|
+
const ret = arg0.clientWaitSync(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
660
|
+
return ret;
|
|
772
661
|
};
|
|
773
|
-
imports.wbg.
|
|
774
|
-
|
|
662
|
+
imports.wbg.__wbg_colorMask_5e7c60b9c7a57a2e = function(arg0, arg1, arg2, arg3, arg4) {
|
|
663
|
+
arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
|
|
775
664
|
};
|
|
776
|
-
imports.wbg.
|
|
777
|
-
|
|
665
|
+
imports.wbg.__wbg_colorMask_6dac12039c7145ae = function(arg0, arg1, arg2, arg3, arg4) {
|
|
666
|
+
arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
|
|
778
667
|
};
|
|
779
|
-
imports.wbg.
|
|
780
|
-
|
|
781
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
668
|
+
imports.wbg.__wbg_compileShader_0ad770bbdbb9de21 = function(arg0, arg1) {
|
|
669
|
+
arg0.compileShader(arg1);
|
|
782
670
|
};
|
|
783
|
-
imports.wbg.
|
|
784
|
-
|
|
785
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
671
|
+
imports.wbg.__wbg_compileShader_2307c9d370717dd5 = function(arg0, arg1) {
|
|
672
|
+
arg0.compileShader(arg1);
|
|
786
673
|
};
|
|
787
|
-
imports.wbg.
|
|
788
|
-
|
|
789
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
674
|
+
imports.wbg.__wbg_compressedTexSubImage2D_71877eec950ca069 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
675
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9);
|
|
790
676
|
};
|
|
791
|
-
imports.wbg.
|
|
792
|
-
|
|
677
|
+
imports.wbg.__wbg_compressedTexSubImage2D_99abf4cfdb7c3fd8 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
678
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
|
|
793
679
|
};
|
|
794
|
-
imports.wbg.
|
|
795
|
-
|
|
680
|
+
imports.wbg.__wbg_compressedTexSubImage2D_d66dcfcb2422e703 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
681
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
|
|
796
682
|
};
|
|
797
|
-
imports.wbg.
|
|
798
|
-
|
|
683
|
+
imports.wbg.__wbg_compressedTexSubImage3D_58506392da46b927 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
684
|
+
arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10);
|
|
799
685
|
};
|
|
800
|
-
imports.wbg.
|
|
801
|
-
|
|
686
|
+
imports.wbg.__wbg_compressedTexSubImage3D_81477746675a4017 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
687
|
+
arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11);
|
|
802
688
|
};
|
|
803
|
-
imports.wbg.
|
|
804
|
-
|
|
689
|
+
imports.wbg.__wbg_copyBufferSubData_9469a965478e33b5 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
690
|
+
arg0.copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
805
691
|
};
|
|
806
|
-
imports.wbg.
|
|
807
|
-
|
|
692
|
+
imports.wbg.__wbg_copyTexSubImage2D_05e7e8df6814a705 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
693
|
+
arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
|
808
694
|
};
|
|
809
|
-
imports.wbg.
|
|
810
|
-
|
|
695
|
+
imports.wbg.__wbg_copyTexSubImage2D_607ad28606952982 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
696
|
+
arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
|
811
697
|
};
|
|
812
|
-
imports.wbg.
|
|
813
|
-
|
|
698
|
+
imports.wbg.__wbg_copyTexSubImage3D_32e92c94044e58ca = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
699
|
+
arg0.copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
|
|
814
700
|
};
|
|
815
|
-
imports.wbg.
|
|
816
|
-
const ret =
|
|
817
|
-
return isLikeNone(ret) ? 0 :
|
|
701
|
+
imports.wbg.__wbg_createBuffer_7a9ec3d654073660 = function(arg0) {
|
|
702
|
+
const ret = arg0.createBuffer();
|
|
703
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
818
704
|
};
|
|
819
|
-
imports.wbg.
|
|
820
|
-
|
|
705
|
+
imports.wbg.__wbg_createBuffer_9886e84a67b68c89 = function(arg0) {
|
|
706
|
+
const ret = arg0.createBuffer();
|
|
707
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
821
708
|
};
|
|
822
|
-
imports.wbg.
|
|
823
|
-
|
|
709
|
+
imports.wbg.__wbg_createFramebuffer_7824f69bba778885 = function(arg0) {
|
|
710
|
+
const ret = arg0.createFramebuffer();
|
|
711
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
824
712
|
};
|
|
825
|
-
imports.wbg.
|
|
826
|
-
const ret =
|
|
827
|
-
return
|
|
828
|
-
}, arguments) };
|
|
829
|
-
imports.wbg.__wbg_getQueryParameter_ec854b270df79577 = function(arg0, arg1, arg2) {
|
|
830
|
-
const ret = getObject(arg0).getQueryParameter(getObject(arg1), arg2 >>> 0);
|
|
831
|
-
return addHeapObject(ret);
|
|
713
|
+
imports.wbg.__wbg_createFramebuffer_c8d70ebc4858051e = function(arg0) {
|
|
714
|
+
const ret = arg0.createFramebuffer();
|
|
715
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
832
716
|
};
|
|
833
|
-
imports.wbg.
|
|
834
|
-
const ret =
|
|
835
|
-
return
|
|
717
|
+
imports.wbg.__wbg_createProgram_8ff56c485f3233d0 = function(arg0) {
|
|
718
|
+
const ret = arg0.createProgram();
|
|
719
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
836
720
|
};
|
|
837
|
-
imports.wbg.
|
|
838
|
-
const ret =
|
|
839
|
-
return ret;
|
|
721
|
+
imports.wbg.__wbg_createProgram_da203074cafb1038 = function(arg0) {
|
|
722
|
+
const ret = arg0.createProgram();
|
|
723
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
840
724
|
};
|
|
841
|
-
imports.wbg.
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
imports.wbg.__wbg_readBuffer_c6e1ba464c45ded1 = function(arg0, arg1) {
|
|
845
|
-
getObject(arg0).readBuffer(arg1 >>> 0);
|
|
725
|
+
imports.wbg.__wbg_createQuery_5ed5e770ec1009c1 = function(arg0) {
|
|
726
|
+
const ret = arg0.createQuery();
|
|
727
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
846
728
|
};
|
|
847
|
-
imports.wbg.
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
imports.wbg.__wbg_readPixels_74eff76a8a707954 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
851
|
-
getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
852
|
-
}, arguments) };
|
|
853
|
-
imports.wbg.__wbg_renderbufferStorageMultisample_1e0f794803ff8352 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
854
|
-
getObject(arg0).renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
729
|
+
imports.wbg.__wbg_createRenderbuffer_d88aa9403faa38ea = function(arg0) {
|
|
730
|
+
const ret = arg0.createRenderbuffer();
|
|
731
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
855
732
|
};
|
|
856
|
-
imports.wbg.
|
|
857
|
-
|
|
733
|
+
imports.wbg.__wbg_createRenderbuffer_fd347ae14f262eaa = function(arg0) {
|
|
734
|
+
const ret = arg0.createRenderbuffer();
|
|
735
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
858
736
|
};
|
|
859
|
-
imports.wbg.
|
|
860
|
-
|
|
737
|
+
imports.wbg.__wbg_createSampler_f76e29d7522bec9e = function(arg0) {
|
|
738
|
+
const ret = arg0.createSampler();
|
|
739
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
861
740
|
};
|
|
862
|
-
imports.wbg.
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
imports.wbg.__wbg_texImage3D_335fce191a5faae5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
866
|
-
getObject(arg0).texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, getObject(arg10));
|
|
867
|
-
}, arguments) };
|
|
868
|
-
imports.wbg.__wbg_texStorage2D_6143bf0d71e869ce = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
869
|
-
getObject(arg0).texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
741
|
+
imports.wbg.__wbg_createShader_4a256a8cc9c1ce4f = function(arg0, arg1) {
|
|
742
|
+
const ret = arg0.createShader(arg1 >>> 0);
|
|
743
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
870
744
|
};
|
|
871
|
-
imports.wbg.
|
|
872
|
-
|
|
745
|
+
imports.wbg.__wbg_createShader_983150fb1243ee56 = function(arg0, arg1) {
|
|
746
|
+
const ret = arg0.createShader(arg1 >>> 0);
|
|
747
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
873
748
|
};
|
|
874
|
-
imports.wbg.
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
imports.wbg.__wbg_texSubImage2D_338d11db84a799ed = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
878
|
-
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
879
|
-
}, arguments) };
|
|
880
|
-
imports.wbg.__wbg_texSubImage2D_bdc1e6e8b1feae8f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
881
|
-
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
882
|
-
}, arguments) };
|
|
883
|
-
imports.wbg.__wbg_texSubImage2D_edb828ed3708cfdd = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
884
|
-
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
885
|
-
}, arguments) };
|
|
886
|
-
imports.wbg.__wbg_texSubImage2D_fbb08177c318e3f2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
887
|
-
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
888
|
-
}, arguments) };
|
|
889
|
-
imports.wbg.__wbg_texSubImage3D_c571236e8e9908d5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
890
|
-
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
891
|
-
}, arguments) };
|
|
892
|
-
imports.wbg.__wbg_texSubImage3D_d86e30d5f4ebc0e0 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
893
|
-
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
|
|
894
|
-
}, arguments) };
|
|
895
|
-
imports.wbg.__wbg_texSubImage3D_b3526f28e3c2031e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
896
|
-
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
|
|
897
|
-
}, arguments) };
|
|
898
|
-
imports.wbg.__wbg_texSubImage3D_7a0f4d63809a0f6e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
899
|
-
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
|
|
900
|
-
}, arguments) };
|
|
901
|
-
imports.wbg.__wbg_texSubImage3D_9ee350bf3d5e61ad = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
902
|
-
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
|
|
903
|
-
}, arguments) };
|
|
904
|
-
imports.wbg.__wbg_uniform1ui_010e62706e661170 = function(arg0, arg1, arg2) {
|
|
905
|
-
getObject(arg0).uniform1ui(getObject(arg1), arg2 >>> 0);
|
|
749
|
+
imports.wbg.__wbg_createTexture_9c536c79b635fdef = function(arg0) {
|
|
750
|
+
const ret = arg0.createTexture();
|
|
751
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
906
752
|
};
|
|
907
|
-
imports.wbg.
|
|
908
|
-
|
|
753
|
+
imports.wbg.__wbg_createTexture_bfaa54c0cd22e367 = function(arg0) {
|
|
754
|
+
const ret = arg0.createTexture();
|
|
755
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
909
756
|
};
|
|
910
|
-
imports.wbg.
|
|
911
|
-
|
|
757
|
+
imports.wbg.__wbg_createVertexArrayOES_991b44f100f93329 = function(arg0) {
|
|
758
|
+
const ret = arg0.createVertexArrayOES();
|
|
759
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
912
760
|
};
|
|
913
|
-
imports.wbg.
|
|
914
|
-
|
|
761
|
+
imports.wbg.__wbg_createVertexArray_e435029ae2660efd = function(arg0) {
|
|
762
|
+
const ret = arg0.createVertexArray();
|
|
763
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
915
764
|
};
|
|
916
|
-
imports.wbg.
|
|
917
|
-
|
|
765
|
+
imports.wbg.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
|
|
766
|
+
const ret = arg0.crypto;
|
|
767
|
+
return ret;
|
|
918
768
|
};
|
|
919
|
-
imports.wbg.
|
|
920
|
-
|
|
769
|
+
imports.wbg.__wbg_cullFace_187079e6e20a464d = function(arg0, arg1) {
|
|
770
|
+
arg0.cullFace(arg1 >>> 0);
|
|
921
771
|
};
|
|
922
|
-
imports.wbg.
|
|
923
|
-
|
|
772
|
+
imports.wbg.__wbg_cullFace_fbae6dd4d5e61ba4 = function(arg0, arg1) {
|
|
773
|
+
arg0.cullFace(arg1 >>> 0);
|
|
924
774
|
};
|
|
925
|
-
imports.wbg.
|
|
926
|
-
|
|
775
|
+
imports.wbg.__wbg_debug_e17b51583ca6a632 = function(arg0, arg1, arg2, arg3) {
|
|
776
|
+
console.debug(arg0, arg1, arg2, arg3);
|
|
927
777
|
};
|
|
928
|
-
imports.wbg.
|
|
929
|
-
|
|
778
|
+
imports.wbg.__wbg_deleteBuffer_7ed96e1bf7c02e87 = function(arg0, arg1) {
|
|
779
|
+
arg0.deleteBuffer(arg1);
|
|
930
780
|
};
|
|
931
|
-
imports.wbg.
|
|
932
|
-
|
|
781
|
+
imports.wbg.__wbg_deleteBuffer_a7822433fc95dfb8 = function(arg0, arg1) {
|
|
782
|
+
arg0.deleteBuffer(arg1);
|
|
933
783
|
};
|
|
934
|
-
imports.wbg.
|
|
935
|
-
|
|
784
|
+
imports.wbg.__wbg_deleteFramebuffer_66853fb7101488cb = function(arg0, arg1) {
|
|
785
|
+
arg0.deleteFramebuffer(arg1);
|
|
936
786
|
};
|
|
937
|
-
imports.wbg.
|
|
938
|
-
|
|
787
|
+
imports.wbg.__wbg_deleteFramebuffer_cd3285ee5a702a7a = function(arg0, arg1) {
|
|
788
|
+
arg0.deleteFramebuffer(arg1);
|
|
939
789
|
};
|
|
940
|
-
imports.wbg.
|
|
941
|
-
|
|
790
|
+
imports.wbg.__wbg_deleteProgram_3fa626bbc0001eb7 = function(arg0, arg1) {
|
|
791
|
+
arg0.deleteProgram(arg1);
|
|
942
792
|
};
|
|
943
|
-
imports.wbg.
|
|
944
|
-
|
|
793
|
+
imports.wbg.__wbg_deleteProgram_71a133c6d053e272 = function(arg0, arg1) {
|
|
794
|
+
arg0.deleteProgram(arg1);
|
|
945
795
|
};
|
|
946
|
-
imports.wbg.
|
|
947
|
-
|
|
796
|
+
imports.wbg.__wbg_deleteQuery_6a2b7cd30074b20b = function(arg0, arg1) {
|
|
797
|
+
arg0.deleteQuery(arg1);
|
|
948
798
|
};
|
|
949
|
-
imports.wbg.
|
|
950
|
-
|
|
799
|
+
imports.wbg.__wbg_deleteRenderbuffer_59f4369653485031 = function(arg0, arg1) {
|
|
800
|
+
arg0.deleteRenderbuffer(arg1);
|
|
951
801
|
};
|
|
952
|
-
imports.wbg.
|
|
953
|
-
|
|
802
|
+
imports.wbg.__wbg_deleteRenderbuffer_8808192853211567 = function(arg0, arg1) {
|
|
803
|
+
arg0.deleteRenderbuffer(arg1);
|
|
954
804
|
};
|
|
955
|
-
imports.wbg.
|
|
956
|
-
|
|
805
|
+
imports.wbg.__wbg_deleteSampler_7f02bb003ba547f0 = function(arg0, arg1) {
|
|
806
|
+
arg0.deleteSampler(arg1);
|
|
957
807
|
};
|
|
958
|
-
imports.wbg.
|
|
959
|
-
|
|
808
|
+
imports.wbg.__wbg_deleteShader_8d42f169deda58ac = function(arg0, arg1) {
|
|
809
|
+
arg0.deleteShader(arg1);
|
|
960
810
|
};
|
|
961
|
-
imports.wbg.
|
|
962
|
-
|
|
811
|
+
imports.wbg.__wbg_deleteShader_c65a44796c5004d8 = function(arg0, arg1) {
|
|
812
|
+
arg0.deleteShader(arg1);
|
|
963
813
|
};
|
|
964
|
-
imports.wbg.
|
|
965
|
-
|
|
814
|
+
imports.wbg.__wbg_deleteSync_5a3fbe5d6b742398 = function(arg0, arg1) {
|
|
815
|
+
arg0.deleteSync(arg1);
|
|
966
816
|
};
|
|
967
|
-
imports.wbg.
|
|
968
|
-
|
|
817
|
+
imports.wbg.__wbg_deleteTexture_a30f5ca0163c4110 = function(arg0, arg1) {
|
|
818
|
+
arg0.deleteTexture(arg1);
|
|
969
819
|
};
|
|
970
|
-
imports.wbg.
|
|
971
|
-
|
|
820
|
+
imports.wbg.__wbg_deleteTexture_bb82c9fec34372ba = function(arg0, arg1) {
|
|
821
|
+
arg0.deleteTexture(arg1);
|
|
972
822
|
};
|
|
973
|
-
imports.wbg.
|
|
974
|
-
|
|
823
|
+
imports.wbg.__wbg_deleteVertexArrayOES_1ee7a06a4b23ec8c = function(arg0, arg1) {
|
|
824
|
+
arg0.deleteVertexArrayOES(arg1);
|
|
975
825
|
};
|
|
976
|
-
imports.wbg.
|
|
977
|
-
|
|
826
|
+
imports.wbg.__wbg_deleteVertexArray_77fe73664a3332ae = function(arg0, arg1) {
|
|
827
|
+
arg0.deleteVertexArray(arg1);
|
|
978
828
|
};
|
|
979
|
-
imports.wbg.
|
|
980
|
-
|
|
829
|
+
imports.wbg.__wbg_depthFunc_2906916f4536d5d7 = function(arg0, arg1) {
|
|
830
|
+
arg0.depthFunc(arg1 >>> 0);
|
|
981
831
|
};
|
|
982
|
-
imports.wbg.
|
|
983
|
-
|
|
832
|
+
imports.wbg.__wbg_depthFunc_f34449ae87cc4e3e = function(arg0, arg1) {
|
|
833
|
+
arg0.depthFunc(arg1 >>> 0);
|
|
984
834
|
};
|
|
985
|
-
imports.wbg.
|
|
986
|
-
|
|
835
|
+
imports.wbg.__wbg_depthMask_5fe84e2801488eda = function(arg0, arg1) {
|
|
836
|
+
arg0.depthMask(arg1 !== 0);
|
|
987
837
|
};
|
|
988
|
-
imports.wbg.
|
|
989
|
-
|
|
838
|
+
imports.wbg.__wbg_depthMask_76688a8638b2f321 = function(arg0, arg1) {
|
|
839
|
+
arg0.depthMask(arg1 !== 0);
|
|
990
840
|
};
|
|
991
|
-
imports.wbg.
|
|
992
|
-
|
|
841
|
+
imports.wbg.__wbg_depthRange_3cd6b4dc961d9116 = function(arg0, arg1, arg2) {
|
|
842
|
+
arg0.depthRange(arg1, arg2);
|
|
993
843
|
};
|
|
994
|
-
imports.wbg.
|
|
995
|
-
|
|
844
|
+
imports.wbg.__wbg_depthRange_f9c084ff3d81fd7b = function(arg0, arg1, arg2) {
|
|
845
|
+
arg0.depthRange(arg1, arg2);
|
|
996
846
|
};
|
|
997
|
-
imports.wbg.
|
|
998
|
-
|
|
847
|
+
imports.wbg.__wbg_disableVertexAttribArray_452cc9815fced7e4 = function(arg0, arg1) {
|
|
848
|
+
arg0.disableVertexAttribArray(arg1 >>> 0);
|
|
999
849
|
};
|
|
1000
|
-
imports.wbg.
|
|
1001
|
-
|
|
850
|
+
imports.wbg.__wbg_disableVertexAttribArray_afd097fb465dc100 = function(arg0, arg1) {
|
|
851
|
+
arg0.disableVertexAttribArray(arg1 >>> 0);
|
|
1002
852
|
};
|
|
1003
|
-
imports.wbg.
|
|
1004
|
-
|
|
853
|
+
imports.wbg.__wbg_disable_2702df5b5da5dd21 = function(arg0, arg1) {
|
|
854
|
+
arg0.disable(arg1 >>> 0);
|
|
1005
855
|
};
|
|
1006
|
-
imports.wbg.
|
|
1007
|
-
|
|
856
|
+
imports.wbg.__wbg_disable_8b53998501a7a85b = function(arg0, arg1) {
|
|
857
|
+
arg0.disable(arg1 >>> 0);
|
|
1008
858
|
};
|
|
1009
|
-
imports.wbg.
|
|
1010
|
-
|
|
859
|
+
imports.wbg.__wbg_document_d249400bd7bd996d = function(arg0) {
|
|
860
|
+
const ret = arg0.document;
|
|
861
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1011
862
|
};
|
|
1012
|
-
imports.wbg.
|
|
1013
|
-
|
|
863
|
+
imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
|
|
864
|
+
const ret = arg0.done;
|
|
865
|
+
return ret;
|
|
1014
866
|
};
|
|
1015
|
-
imports.wbg.
|
|
1016
|
-
|
|
867
|
+
imports.wbg.__wbg_drawArraysInstancedANGLE_342ee6b5236d9702 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
868
|
+
arg0.drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
|
|
1017
869
|
};
|
|
1018
|
-
imports.wbg.
|
|
1019
|
-
|
|
870
|
+
imports.wbg.__wbg_drawArraysInstanced_622ea9f149b0b80c = function(arg0, arg1, arg2, arg3, arg4) {
|
|
871
|
+
arg0.drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
|
|
1020
872
|
};
|
|
1021
|
-
imports.wbg.
|
|
1022
|
-
|
|
873
|
+
imports.wbg.__wbg_drawArrays_6acaa2669c105f3a = function(arg0, arg1, arg2, arg3) {
|
|
874
|
+
arg0.drawArrays(arg1 >>> 0, arg2, arg3);
|
|
1023
875
|
};
|
|
1024
|
-
imports.wbg.
|
|
1025
|
-
|
|
1026
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
876
|
+
imports.wbg.__wbg_drawArrays_6d29ea2ebc0c72a2 = function(arg0, arg1, arg2, arg3) {
|
|
877
|
+
arg0.drawArrays(arg1 >>> 0, arg2, arg3);
|
|
1027
878
|
};
|
|
1028
|
-
imports.wbg.
|
|
1029
|
-
|
|
1030
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
879
|
+
imports.wbg.__wbg_drawBuffersWEBGL_9fdbdf3d4cbd3aae = function(arg0, arg1) {
|
|
880
|
+
arg0.drawBuffersWEBGL(arg1);
|
|
1031
881
|
};
|
|
1032
|
-
imports.wbg.
|
|
1033
|
-
|
|
1034
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
882
|
+
imports.wbg.__wbg_drawBuffers_e729b75c5a50d760 = function(arg0, arg1) {
|
|
883
|
+
arg0.drawBuffers(arg1);
|
|
1035
884
|
};
|
|
1036
|
-
imports.wbg.
|
|
1037
|
-
|
|
1038
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
885
|
+
imports.wbg.__wbg_drawElementsInstancedANGLE_096b48ab8686c5cf = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
886
|
+
arg0.drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
1039
887
|
};
|
|
1040
|
-
imports.wbg.
|
|
1041
|
-
|
|
1042
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
888
|
+
imports.wbg.__wbg_drawElementsInstanced_f874e87d0b4e95e9 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
889
|
+
arg0.drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
1043
890
|
};
|
|
1044
|
-
imports.wbg.
|
|
1045
|
-
|
|
1046
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
891
|
+
imports.wbg.__wbg_enableVertexAttribArray_607be07574298e5e = function(arg0, arg1) {
|
|
892
|
+
arg0.enableVertexAttribArray(arg1 >>> 0);
|
|
1047
893
|
};
|
|
1048
|
-
imports.wbg.
|
|
1049
|
-
|
|
894
|
+
imports.wbg.__wbg_enableVertexAttribArray_93c3d406a41ad6c7 = function(arg0, arg1) {
|
|
895
|
+
arg0.enableVertexAttribArray(arg1 >>> 0);
|
|
1050
896
|
};
|
|
1051
|
-
imports.wbg.
|
|
1052
|
-
|
|
897
|
+
imports.wbg.__wbg_enable_51114837e05ee280 = function(arg0, arg1) {
|
|
898
|
+
arg0.enable(arg1 >>> 0);
|
|
1053
899
|
};
|
|
1054
|
-
imports.wbg.
|
|
1055
|
-
|
|
900
|
+
imports.wbg.__wbg_enable_d183fef39258803f = function(arg0, arg1) {
|
|
901
|
+
arg0.enable(arg1 >>> 0);
|
|
1056
902
|
};
|
|
1057
|
-
imports.wbg.
|
|
1058
|
-
|
|
903
|
+
imports.wbg.__wbg_endQuery_17aac36532ca7d47 = function(arg0, arg1) {
|
|
904
|
+
arg0.endQuery(arg1 >>> 0);
|
|
1059
905
|
};
|
|
1060
|
-
imports.wbg.
|
|
1061
|
-
|
|
906
|
+
imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
|
|
907
|
+
const ret = Object.entries(arg0);
|
|
908
|
+
return ret;
|
|
1062
909
|
};
|
|
1063
|
-
imports.wbg.
|
|
1064
|
-
|
|
910
|
+
imports.wbg.__wbg_entries_c8a90a7ed73e84ce = function(arg0) {
|
|
911
|
+
const ret = arg0.entries();
|
|
912
|
+
return ret;
|
|
1065
913
|
};
|
|
1066
|
-
imports.wbg.
|
|
1067
|
-
|
|
914
|
+
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
915
|
+
let deferred0_0;
|
|
916
|
+
let deferred0_1;
|
|
917
|
+
try {
|
|
918
|
+
deferred0_0 = arg0;
|
|
919
|
+
deferred0_1 = arg1;
|
|
920
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
921
|
+
} finally {
|
|
922
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
923
|
+
}
|
|
1068
924
|
};
|
|
1069
|
-
imports.wbg.
|
|
1070
|
-
|
|
925
|
+
imports.wbg.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
|
|
926
|
+
console.error(arg0, arg1, arg2, arg3);
|
|
1071
927
|
};
|
|
1072
|
-
imports.wbg.
|
|
1073
|
-
|
|
928
|
+
imports.wbg.__wbg_fenceSync_02d142d21e315da6 = function(arg0, arg1, arg2) {
|
|
929
|
+
const ret = arg0.fenceSync(arg1 >>> 0, arg2 >>> 0);
|
|
930
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1074
931
|
};
|
|
1075
|
-
imports.wbg.
|
|
1076
|
-
|
|
932
|
+
imports.wbg.__wbg_fetch_4465c2b10f21a927 = function(arg0) {
|
|
933
|
+
const ret = fetch(arg0);
|
|
934
|
+
return ret;
|
|
1077
935
|
};
|
|
1078
|
-
imports.wbg.
|
|
1079
|
-
|
|
936
|
+
imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
937
|
+
const ret = arg0.fetch(arg1);
|
|
938
|
+
return ret;
|
|
1080
939
|
};
|
|
1081
|
-
imports.wbg.
|
|
1082
|
-
|
|
940
|
+
imports.wbg.__wbg_framebufferRenderbuffer_2fdd12e89ad81eb9 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
941
|
+
arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
1083
942
|
};
|
|
1084
|
-
imports.wbg.
|
|
1085
|
-
|
|
943
|
+
imports.wbg.__wbg_framebufferRenderbuffer_8b88592753b54715 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
944
|
+
arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
1086
945
|
};
|
|
1087
|
-
imports.wbg.
|
|
1088
|
-
|
|
946
|
+
imports.wbg.__wbg_framebufferTexture2D_81a565732bd5d8fe = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
947
|
+
arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
|
|
1089
948
|
};
|
|
1090
|
-
imports.wbg.
|
|
1091
|
-
|
|
949
|
+
imports.wbg.__wbg_framebufferTexture2D_ed855d0b097c557a = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
950
|
+
arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
|
|
1092
951
|
};
|
|
1093
|
-
imports.wbg.
|
|
1094
|
-
|
|
952
|
+
imports.wbg.__wbg_framebufferTextureLayer_5e6bd1b0cb45d815 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
953
|
+
arg0.framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
1095
954
|
};
|
|
1096
|
-
imports.wbg.
|
|
1097
|
-
|
|
955
|
+
imports.wbg.__wbg_framebufferTextureMultiviewOVR_e54f936c3cc382cb = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
956
|
+
arg0.framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5, arg6);
|
|
1098
957
|
};
|
|
1099
|
-
imports.wbg.
|
|
1100
|
-
|
|
958
|
+
imports.wbg.__wbg_frontFace_289c9d7a8569c4f2 = function(arg0, arg1) {
|
|
959
|
+
arg0.frontFace(arg1 >>> 0);
|
|
1101
960
|
};
|
|
1102
|
-
imports.wbg.
|
|
1103
|
-
|
|
1104
|
-
|
|
961
|
+
imports.wbg.__wbg_frontFace_4d4936cfaeb8b7df = function(arg0, arg1) {
|
|
962
|
+
arg0.frontFace(arg1 >>> 0);
|
|
963
|
+
};
|
|
964
|
+
imports.wbg.__wbg_getBufferSubData_8ab2dcc5fcf5770f = function(arg0, arg1, arg2, arg3) {
|
|
965
|
+
arg0.getBufferSubData(arg1 >>> 0, arg2, arg3);
|
|
966
|
+
};
|
|
967
|
+
imports.wbg.__wbg_getContext_3ae09aaa73194801 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
968
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
|
|
969
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
970
|
+
}, arguments) };
|
|
971
|
+
imports.wbg.__wbg_getContext_fc19859df6331073 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
972
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
|
|
973
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
974
|
+
}, arguments) };
|
|
975
|
+
imports.wbg.__wbg_getExtension_ff0fb1398bcf28c3 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
976
|
+
const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
|
|
977
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
978
|
+
}, arguments) };
|
|
979
|
+
imports.wbg.__wbg_getIndexedParameter_f9211edc36533919 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
980
|
+
const ret = arg0.getIndexedParameter(arg1 >>> 0, arg2 >>> 0);
|
|
981
|
+
return ret;
|
|
982
|
+
}, arguments) };
|
|
983
|
+
imports.wbg.__wbg_getParameter_1f0887a2b88e6d19 = function() { return handleError(function (arg0, arg1) {
|
|
984
|
+
const ret = arg0.getParameter(arg1 >>> 0);
|
|
985
|
+
return ret;
|
|
1105
986
|
}, arguments) };
|
|
1106
|
-
imports.wbg.
|
|
1107
|
-
const ret =
|
|
1108
|
-
return
|
|
987
|
+
imports.wbg.__wbg_getParameter_e3429f024018310f = function() { return handleError(function (arg0, arg1) {
|
|
988
|
+
const ret = arg0.getParameter(arg1 >>> 0);
|
|
989
|
+
return ret;
|
|
1109
990
|
}, arguments) };
|
|
1110
|
-
imports.wbg.
|
|
1111
|
-
const ret =
|
|
991
|
+
imports.wbg.__wbg_getProgramInfoLog_631c180b1b21c8ed = function(arg0, arg1, arg2) {
|
|
992
|
+
const ret = arg1.getProgramInfoLog(arg2);
|
|
1112
993
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1113
994
|
var len1 = WASM_VECTOR_LEN;
|
|
1114
995
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1115
996
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1116
997
|
};
|
|
1117
|
-
imports.wbg.
|
|
1118
|
-
const ret =
|
|
1119
|
-
return addHeapObject(ret);
|
|
1120
|
-
};
|
|
1121
|
-
imports.wbg.__wbg_getShaderInfoLog_a7ca51b89a4dafab = function(arg0, arg1, arg2) {
|
|
1122
|
-
const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
|
|
998
|
+
imports.wbg.__wbg_getProgramInfoLog_a998105a680059db = function(arg0, arg1, arg2) {
|
|
999
|
+
const ret = arg1.getProgramInfoLog(arg2);
|
|
1123
1000
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1124
1001
|
var len1 = WASM_VECTOR_LEN;
|
|
1125
1002
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1126
1003
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1127
1004
|
};
|
|
1128
|
-
imports.wbg.
|
|
1129
|
-
const ret =
|
|
1130
|
-
return
|
|
1131
|
-
};
|
|
1132
|
-
imports.wbg.__wbg_getSupportedExtensions_e1788ac835b7e81a = function(arg0) {
|
|
1133
|
-
const ret = getObject(arg0).getSupportedExtensions();
|
|
1134
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1005
|
+
imports.wbg.__wbg_getProgramParameter_0c411f0cd4185c5b = function(arg0, arg1, arg2) {
|
|
1006
|
+
const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
|
|
1007
|
+
return ret;
|
|
1135
1008
|
};
|
|
1136
|
-
imports.wbg.
|
|
1137
|
-
const ret =
|
|
1138
|
-
return
|
|
1009
|
+
imports.wbg.__wbg_getProgramParameter_360f95ff07ac068d = function(arg0, arg1, arg2) {
|
|
1010
|
+
const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
|
|
1011
|
+
return ret;
|
|
1139
1012
|
};
|
|
1140
|
-
imports.wbg.
|
|
1141
|
-
|
|
1013
|
+
imports.wbg.__wbg_getQueryParameter_8921497e1d1561c1 = function(arg0, arg1, arg2) {
|
|
1014
|
+
const ret = arg0.getQueryParameter(arg1, arg2 >>> 0);
|
|
1015
|
+
return ret;
|
|
1142
1016
|
};
|
|
1143
|
-
imports.wbg.
|
|
1144
|
-
|
|
1017
|
+
imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
|
|
1018
|
+
arg0.getRandomValues(arg1);
|
|
1019
|
+
}, arguments) };
|
|
1020
|
+
imports.wbg.__wbg_getShaderInfoLog_7e7b38fb910ec534 = function(arg0, arg1, arg2) {
|
|
1021
|
+
const ret = arg1.getShaderInfoLog(arg2);
|
|
1022
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1023
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1024
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1025
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1145
1026
|
};
|
|
1146
|
-
imports.wbg.
|
|
1147
|
-
|
|
1027
|
+
imports.wbg.__wbg_getShaderInfoLog_f59c3112acc6e039 = function(arg0, arg1, arg2) {
|
|
1028
|
+
const ret = arg1.getShaderInfoLog(arg2);
|
|
1029
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1030
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1031
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1032
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1148
1033
|
};
|
|
1149
|
-
imports.wbg.
|
|
1150
|
-
|
|
1034
|
+
imports.wbg.__wbg_getShaderParameter_511b5f929074fa31 = function(arg0, arg1, arg2) {
|
|
1035
|
+
const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
|
|
1036
|
+
return ret;
|
|
1151
1037
|
};
|
|
1152
|
-
imports.wbg.
|
|
1153
|
-
|
|
1038
|
+
imports.wbg.__wbg_getShaderParameter_6dbe0b8558dc41fd = function(arg0, arg1, arg2) {
|
|
1039
|
+
const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
|
|
1040
|
+
return ret;
|
|
1154
1041
|
};
|
|
1155
|
-
imports.wbg.
|
|
1156
|
-
|
|
1042
|
+
imports.wbg.__wbg_getSupportedExtensions_8c007dbb54905635 = function(arg0) {
|
|
1043
|
+
const ret = arg0.getSupportedExtensions();
|
|
1044
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1157
1045
|
};
|
|
1158
|
-
imports.wbg.
|
|
1159
|
-
|
|
1046
|
+
imports.wbg.__wbg_getSupportedProfiles_10d2a4d32a128384 = function(arg0) {
|
|
1047
|
+
const ret = arg0.getSupportedProfiles();
|
|
1048
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1160
1049
|
};
|
|
1161
|
-
imports.wbg.
|
|
1162
|
-
|
|
1050
|
+
imports.wbg.__wbg_getSyncParameter_7cb8461f5891606c = function(arg0, arg1, arg2) {
|
|
1051
|
+
const ret = arg0.getSyncParameter(arg1, arg2 >>> 0);
|
|
1052
|
+
return ret;
|
|
1163
1053
|
};
|
|
1164
|
-
imports.wbg.
|
|
1165
|
-
|
|
1054
|
+
imports.wbg.__wbg_getUniformBlockIndex_288fdc31528171ca = function(arg0, arg1, arg2, arg3) {
|
|
1055
|
+
const ret = arg0.getUniformBlockIndex(arg1, getStringFromWasm0(arg2, arg3));
|
|
1056
|
+
return ret;
|
|
1166
1057
|
};
|
|
1167
|
-
imports.wbg.
|
|
1168
|
-
|
|
1058
|
+
imports.wbg.__wbg_getUniformLocation_657a2b6d102bd126 = function(arg0, arg1, arg2, arg3) {
|
|
1059
|
+
const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
|
|
1060
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1169
1061
|
};
|
|
1170
|
-
imports.wbg.
|
|
1171
|
-
|
|
1062
|
+
imports.wbg.__wbg_getUniformLocation_838363001c74dc21 = function(arg0, arg1, arg2, arg3) {
|
|
1063
|
+
const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
|
|
1064
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1172
1065
|
};
|
|
1173
|
-
imports.wbg.
|
|
1174
|
-
|
|
1066
|
+
imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
|
|
1067
|
+
const ret = Reflect.get(arg0, arg1);
|
|
1068
|
+
return ret;
|
|
1069
|
+
}, arguments) };
|
|
1070
|
+
imports.wbg.__wbg_get_85c3d71662a108c8 = function() { return handleError(function (arg0, arg1) {
|
|
1071
|
+
const ret = Reflect.get(arg0, arg1 >>> 0);
|
|
1072
|
+
return ret;
|
|
1073
|
+
}, arguments) };
|
|
1074
|
+
imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
1075
|
+
const ret = arg0[arg1 >>> 0];
|
|
1076
|
+
return ret;
|
|
1175
1077
|
};
|
|
1176
|
-
imports.wbg.
|
|
1177
|
-
|
|
1078
|
+
imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
1079
|
+
const ret = arg0[arg1];
|
|
1080
|
+
return ret;
|
|
1178
1081
|
};
|
|
1179
|
-
imports.wbg.
|
|
1180
|
-
|
|
1082
|
+
imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
|
|
1083
|
+
const ret = Reflect.has(arg0, arg1);
|
|
1084
|
+
return ret;
|
|
1085
|
+
}, arguments) };
|
|
1086
|
+
imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
|
|
1087
|
+
const ret = arg0.headers;
|
|
1088
|
+
return ret;
|
|
1181
1089
|
};
|
|
1182
|
-
imports.wbg.
|
|
1183
|
-
|
|
1090
|
+
imports.wbg.__wbg_includes_937486a108ec147b = function(arg0, arg1, arg2) {
|
|
1091
|
+
const ret = arg0.includes(arg1, arg2);
|
|
1092
|
+
return ret;
|
|
1184
1093
|
};
|
|
1185
|
-
imports.wbg.
|
|
1186
|
-
|
|
1094
|
+
imports.wbg.__wbg_info_033d8b8a0838f1d3 = function(arg0, arg1, arg2, arg3) {
|
|
1095
|
+
console.info(arg0, arg1, arg2, arg3);
|
|
1187
1096
|
};
|
|
1188
|
-
imports.wbg.
|
|
1189
|
-
|
|
1097
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
|
|
1098
|
+
let result;
|
|
1099
|
+
try {
|
|
1100
|
+
result = arg0 instanceof ArrayBuffer;
|
|
1101
|
+
} catch (_) {
|
|
1102
|
+
result = false;
|
|
1103
|
+
}
|
|
1104
|
+
const ret = result;
|
|
1105
|
+
return ret;
|
|
1190
1106
|
};
|
|
1191
|
-
imports.wbg.
|
|
1107
|
+
imports.wbg.__wbg_instanceof_HtmlCanvasElement_2ea67072a7624ac5 = function(arg0) {
|
|
1192
1108
|
let result;
|
|
1193
1109
|
try {
|
|
1194
|
-
result =
|
|
1110
|
+
result = arg0 instanceof HTMLCanvasElement;
|
|
1195
1111
|
} catch (_) {
|
|
1196
1112
|
result = false;
|
|
1197
1113
|
}
|
|
1198
1114
|
const ret = result;
|
|
1199
1115
|
return ret;
|
|
1200
1116
|
};
|
|
1201
|
-
imports.wbg.
|
|
1202
|
-
|
|
1203
|
-
|
|
1117
|
+
imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
|
|
1118
|
+
let result;
|
|
1119
|
+
try {
|
|
1120
|
+
result = arg0 instanceof Map;
|
|
1121
|
+
} catch (_) {
|
|
1122
|
+
result = false;
|
|
1123
|
+
}
|
|
1124
|
+
const ret = result;
|
|
1125
|
+
return ret;
|
|
1204
1126
|
};
|
|
1205
|
-
imports.wbg.
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1127
|
+
imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
|
|
1128
|
+
let result;
|
|
1129
|
+
try {
|
|
1130
|
+
result = arg0 instanceof Response;
|
|
1131
|
+
} catch (_) {
|
|
1132
|
+
result = false;
|
|
1133
|
+
}
|
|
1134
|
+
const ret = result;
|
|
1135
|
+
return ret;
|
|
1211
1136
|
};
|
|
1212
|
-
imports.wbg.
|
|
1213
|
-
|
|
1137
|
+
imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
|
|
1138
|
+
let result;
|
|
1139
|
+
try {
|
|
1140
|
+
result = arg0 instanceof Uint8Array;
|
|
1141
|
+
} catch (_) {
|
|
1142
|
+
result = false;
|
|
1143
|
+
}
|
|
1144
|
+
const ret = result;
|
|
1145
|
+
return ret;
|
|
1214
1146
|
};
|
|
1215
|
-
imports.wbg.
|
|
1216
|
-
|
|
1147
|
+
imports.wbg.__wbg_instanceof_WebGl2RenderingContext_2b6045efeb76568d = function(arg0) {
|
|
1148
|
+
let result;
|
|
1149
|
+
try {
|
|
1150
|
+
result = arg0 instanceof WebGL2RenderingContext;
|
|
1151
|
+
} catch (_) {
|
|
1152
|
+
result = false;
|
|
1153
|
+
}
|
|
1154
|
+
const ret = result;
|
|
1155
|
+
return ret;
|
|
1217
1156
|
};
|
|
1218
|
-
imports.wbg.
|
|
1219
|
-
|
|
1157
|
+
imports.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(arg0) {
|
|
1158
|
+
let result;
|
|
1159
|
+
try {
|
|
1160
|
+
result = arg0 instanceof Window;
|
|
1161
|
+
} catch (_) {
|
|
1162
|
+
result = false;
|
|
1163
|
+
}
|
|
1164
|
+
const ret = result;
|
|
1165
|
+
return ret;
|
|
1220
1166
|
};
|
|
1221
|
-
imports.wbg.
|
|
1222
|
-
|
|
1223
|
-
}, arguments) };
|
|
1224
|
-
imports.wbg.__wbg_texImage2D_d704e7eee22d1e6b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1225
|
-
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
1167
|
+
imports.wbg.__wbg_invalidateFramebuffer_83f643d2a4936456 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1168
|
+
arg0.invalidateFramebuffer(arg1 >>> 0, arg2);
|
|
1226
1169
|
}, arguments) };
|
|
1227
|
-
imports.wbg.
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
imports.wbg.__wbg_uniform2fv_b73144e507d90a92 = function(arg0, arg1, arg2, arg3) {
|
|
1231
|
-
getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
1232
|
-
};
|
|
1233
|
-
imports.wbg.__wbg_uniform2iv_27f3fc3aefa41fa7 = function(arg0, arg1, arg2, arg3) {
|
|
1234
|
-
getObject(arg0).uniform2iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
|
|
1170
|
+
imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
|
|
1171
|
+
const ret = Array.isArray(arg0);
|
|
1172
|
+
return ret;
|
|
1235
1173
|
};
|
|
1236
|
-
imports.wbg.
|
|
1237
|
-
|
|
1174
|
+
imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
|
|
1175
|
+
const ret = Number.isSafeInteger(arg0);
|
|
1176
|
+
return ret;
|
|
1238
1177
|
};
|
|
1239
|
-
imports.wbg.
|
|
1240
|
-
|
|
1178
|
+
imports.wbg.__wbg_is_c7481c65e7e5df9e = function(arg0, arg1) {
|
|
1179
|
+
const ret = Object.is(arg0, arg1);
|
|
1180
|
+
return ret;
|
|
1241
1181
|
};
|
|
1242
|
-
imports.wbg.
|
|
1243
|
-
|
|
1182
|
+
imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
|
|
1183
|
+
const ret = Symbol.iterator;
|
|
1184
|
+
return ret;
|
|
1244
1185
|
};
|
|
1245
|
-
imports.wbg.
|
|
1246
|
-
|
|
1186
|
+
imports.wbg.__wbg_length_238152a0aedbb6e7 = function(arg0) {
|
|
1187
|
+
const ret = arg0.length;
|
|
1188
|
+
return ret;
|
|
1247
1189
|
};
|
|
1248
|
-
imports.wbg.
|
|
1249
|
-
|
|
1190
|
+
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
1191
|
+
const ret = arg0.length;
|
|
1192
|
+
return ret;
|
|
1250
1193
|
};
|
|
1251
|
-
imports.wbg.
|
|
1252
|
-
|
|
1194
|
+
imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
|
|
1195
|
+
const ret = arg0.length;
|
|
1196
|
+
return ret;
|
|
1253
1197
|
};
|
|
1254
|
-
imports.wbg.
|
|
1255
|
-
|
|
1198
|
+
imports.wbg.__wbg_linkProgram_067ee06739bdde81 = function(arg0, arg1) {
|
|
1199
|
+
arg0.linkProgram(arg1);
|
|
1256
1200
|
};
|
|
1257
|
-
imports.wbg.
|
|
1258
|
-
|
|
1201
|
+
imports.wbg.__wbg_linkProgram_e002979fe36e5b2a = function(arg0, arg1) {
|
|
1202
|
+
arg0.linkProgram(arg1);
|
|
1259
1203
|
};
|
|
1260
|
-
imports.wbg.
|
|
1261
|
-
|
|
1204
|
+
imports.wbg.__wbg_log_0cc1b7768397bcfe = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
1205
|
+
let deferred0_0;
|
|
1206
|
+
let deferred0_1;
|
|
1207
|
+
try {
|
|
1208
|
+
deferred0_0 = arg0;
|
|
1209
|
+
deferred0_1 = arg1;
|
|
1210
|
+
console.log(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
|
|
1211
|
+
} finally {
|
|
1212
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1213
|
+
}
|
|
1262
1214
|
};
|
|
1263
|
-
imports.wbg.
|
|
1264
|
-
|
|
1215
|
+
imports.wbg.__wbg_log_cad59bb680daec67 = function(arg0, arg1, arg2, arg3) {
|
|
1216
|
+
console.log(arg0, arg1, arg2, arg3);
|
|
1265
1217
|
};
|
|
1266
|
-
imports.wbg.
|
|
1267
|
-
|
|
1218
|
+
imports.wbg.__wbg_log_cb9e190acc5753fb = function(arg0, arg1) {
|
|
1219
|
+
let deferred0_0;
|
|
1220
|
+
let deferred0_1;
|
|
1221
|
+
try {
|
|
1222
|
+
deferred0_0 = arg0;
|
|
1223
|
+
deferred0_1 = arg1;
|
|
1224
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
1225
|
+
} finally {
|
|
1226
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1227
|
+
}
|
|
1268
1228
|
};
|
|
1269
|
-
imports.wbg.
|
|
1270
|
-
|
|
1229
|
+
imports.wbg.__wbg_mark_7438147ce31e9d4b = function(arg0, arg1) {
|
|
1230
|
+
performance.mark(getStringFromWasm0(arg0, arg1));
|
|
1271
1231
|
};
|
|
1272
|
-
imports.wbg.
|
|
1273
|
-
|
|
1232
|
+
imports.wbg.__wbg_measure_fb7825c11612c823 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1233
|
+
let deferred0_0;
|
|
1234
|
+
let deferred0_1;
|
|
1235
|
+
let deferred1_0;
|
|
1236
|
+
let deferred1_1;
|
|
1237
|
+
try {
|
|
1238
|
+
deferred0_0 = arg0;
|
|
1239
|
+
deferred0_1 = arg1;
|
|
1240
|
+
deferred1_0 = arg2;
|
|
1241
|
+
deferred1_1 = arg3;
|
|
1242
|
+
performance.measure(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
1243
|
+
} finally {
|
|
1244
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1245
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1246
|
+
}
|
|
1247
|
+
}, arguments) };
|
|
1248
|
+
imports.wbg.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
|
|
1249
|
+
const ret = arg0.msCrypto;
|
|
1250
|
+
return ret;
|
|
1274
1251
|
};
|
|
1275
|
-
imports.wbg.
|
|
1276
|
-
|
|
1252
|
+
imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
|
|
1253
|
+
const ret = new Headers();
|
|
1254
|
+
return ret;
|
|
1255
|
+
}, arguments) };
|
|
1256
|
+
imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
1257
|
+
try {
|
|
1258
|
+
var state0 = {a: arg0, b: arg1};
|
|
1259
|
+
var cb0 = (arg0, arg1) => {
|
|
1260
|
+
const a = state0.a;
|
|
1261
|
+
state0.a = 0;
|
|
1262
|
+
try {
|
|
1263
|
+
return __wbg_adapter_718(a, state0.b, arg0, arg1);
|
|
1264
|
+
} finally {
|
|
1265
|
+
state0.a = a;
|
|
1266
|
+
}
|
|
1267
|
+
};
|
|
1268
|
+
const ret = new Promise(cb0);
|
|
1269
|
+
return ret;
|
|
1270
|
+
} finally {
|
|
1271
|
+
state0.a = state0.b = 0;
|
|
1272
|
+
}
|
|
1277
1273
|
};
|
|
1278
|
-
imports.wbg.
|
|
1279
|
-
|
|
1274
|
+
imports.wbg.__wbg_new_2ef971087cb43792 = function() { return handleError(function (arg0, arg1) {
|
|
1275
|
+
const ret = new OffscreenCanvas(arg0 >>> 0, arg1 >>> 0);
|
|
1276
|
+
return ret;
|
|
1277
|
+
}, arguments) };
|
|
1278
|
+
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
1279
|
+
const ret = new Object();
|
|
1280
|
+
return ret;
|
|
1280
1281
|
};
|
|
1281
|
-
imports.wbg.
|
|
1282
|
-
|
|
1282
|
+
imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
|
|
1283
|
+
const ret = new Map();
|
|
1284
|
+
return ret;
|
|
1283
1285
|
};
|
|
1284
|
-
imports.wbg.
|
|
1285
|
-
|
|
1286
|
+
imports.wbg.__wbg_new_78feb108b6472713 = function() {
|
|
1287
|
+
const ret = new Array();
|
|
1288
|
+
return ret;
|
|
1286
1289
|
};
|
|
1287
|
-
imports.wbg.
|
|
1288
|
-
|
|
1290
|
+
imports.wbg.__wbg_new_7a91e41fe43b3c92 = function(arg0) {
|
|
1291
|
+
const ret = new Uint8ClampedArray(arg0);
|
|
1292
|
+
return ret;
|
|
1289
1293
|
};
|
|
1290
|
-
imports.wbg.
|
|
1291
|
-
|
|
1294
|
+
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
1295
|
+
const ret = new Error();
|
|
1296
|
+
return ret;
|
|
1292
1297
|
};
|
|
1293
|
-
imports.wbg.
|
|
1294
|
-
|
|
1298
|
+
imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
|
|
1299
|
+
const ret = new Uint8Array(arg0);
|
|
1300
|
+
return ret;
|
|
1295
1301
|
};
|
|
1296
|
-
imports.wbg.
|
|
1297
|
-
|
|
1302
|
+
imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
|
|
1303
|
+
const ret = new AbortController();
|
|
1304
|
+
return ret;
|
|
1305
|
+
}, arguments) };
|
|
1306
|
+
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
1307
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1308
|
+
return ret;
|
|
1298
1309
|
};
|
|
1299
|
-
imports.wbg.
|
|
1300
|
-
|
|
1310
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_840f3c038856d4e9 = function(arg0, arg1, arg2) {
|
|
1311
|
+
const ret = new Int8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1312
|
+
return ret;
|
|
1301
1313
|
};
|
|
1302
|
-
imports.wbg.
|
|
1303
|
-
|
|
1314
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_999332a180064b59 = function(arg0, arg1, arg2) {
|
|
1315
|
+
const ret = new Int32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1316
|
+
return ret;
|
|
1304
1317
|
};
|
|
1305
|
-
imports.wbg.
|
|
1306
|
-
|
|
1318
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_d4a86622320ea258 = function(arg0, arg1, arg2) {
|
|
1319
|
+
const ret = new Uint16Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1320
|
+
return ret;
|
|
1307
1321
|
};
|
|
1308
|
-
imports.wbg.
|
|
1309
|
-
|
|
1322
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
|
|
1323
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1324
|
+
return ret;
|
|
1310
1325
|
};
|
|
1311
|
-
imports.wbg.
|
|
1312
|
-
const ret =
|
|
1313
|
-
return
|
|
1326
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_e6b7e69acd4c7354 = function(arg0, arg1, arg2) {
|
|
1327
|
+
const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1328
|
+
return ret;
|
|
1314
1329
|
};
|
|
1315
|
-
imports.wbg.
|
|
1316
|
-
const ret =
|
|
1317
|
-
return
|
|
1330
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_f1dead44d1fc7212 = function(arg0, arg1, arg2) {
|
|
1331
|
+
const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1332
|
+
return ret;
|
|
1318
1333
|
};
|
|
1319
|
-
imports.wbg.
|
|
1320
|
-
const ret =
|
|
1321
|
-
return
|
|
1334
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_f254047f7e80e7ff = function(arg0, arg1, arg2) {
|
|
1335
|
+
const ret = new Int16Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1336
|
+
return ret;
|
|
1322
1337
|
};
|
|
1323
|
-
imports.wbg.
|
|
1324
|
-
const ret =
|
|
1325
|
-
return
|
|
1338
|
+
imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
|
|
1339
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
1340
|
+
return ret;
|
|
1326
1341
|
};
|
|
1327
|
-
imports.wbg.
|
|
1328
|
-
const ret =
|
|
1329
|
-
return
|
|
1342
|
+
imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1343
|
+
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1344
|
+
return ret;
|
|
1345
|
+
}, arguments) };
|
|
1346
|
+
imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
|
|
1347
|
+
const ret = arg0.next;
|
|
1348
|
+
return ret;
|
|
1330
1349
|
};
|
|
1331
|
-
imports.wbg.
|
|
1332
|
-
const ret =
|
|
1333
|
-
return
|
|
1350
|
+
imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
|
|
1351
|
+
const ret = arg0.next();
|
|
1352
|
+
return ret;
|
|
1353
|
+
}, arguments) };
|
|
1354
|
+
imports.wbg.__wbg_node_02999533c4ea02e3 = function(arg0) {
|
|
1355
|
+
const ret = arg0.node;
|
|
1356
|
+
return ret;
|
|
1334
1357
|
};
|
|
1335
|
-
imports.wbg.
|
|
1336
|
-
|
|
1358
|
+
imports.wbg.__wbg_of_2eaf5a02d443ef03 = function(arg0) {
|
|
1359
|
+
const ret = Array.of(arg0);
|
|
1360
|
+
return ret;
|
|
1337
1361
|
};
|
|
1338
|
-
imports.wbg.
|
|
1339
|
-
|
|
1362
|
+
imports.wbg.__wbg_pixelStorei_6aba5d04cdcaeaf6 = function(arg0, arg1, arg2) {
|
|
1363
|
+
arg0.pixelStorei(arg1 >>> 0, arg2);
|
|
1340
1364
|
};
|
|
1341
|
-
imports.wbg.
|
|
1342
|
-
|
|
1365
|
+
imports.wbg.__wbg_pixelStorei_c8520e4b46f4a973 = function(arg0, arg1, arg2) {
|
|
1366
|
+
arg0.pixelStorei(arg1 >>> 0, arg2);
|
|
1343
1367
|
};
|
|
1344
|
-
imports.wbg.
|
|
1345
|
-
|
|
1368
|
+
imports.wbg.__wbg_polygonOffset_773fe0017b2c8f51 = function(arg0, arg1, arg2) {
|
|
1369
|
+
arg0.polygonOffset(arg1, arg2);
|
|
1346
1370
|
};
|
|
1347
|
-
imports.wbg.
|
|
1348
|
-
|
|
1371
|
+
imports.wbg.__wbg_polygonOffset_8c11c066486216c4 = function(arg0, arg1, arg2) {
|
|
1372
|
+
arg0.polygonOffset(arg1, arg2);
|
|
1349
1373
|
};
|
|
1350
|
-
imports.wbg.
|
|
1351
|
-
|
|
1374
|
+
imports.wbg.__wbg_process_5c1d670bc53614b8 = function(arg0) {
|
|
1375
|
+
const ret = arg0.process;
|
|
1376
|
+
return ret;
|
|
1352
1377
|
};
|
|
1353
|
-
imports.wbg.
|
|
1354
|
-
|
|
1378
|
+
imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
|
|
1379
|
+
const ret = arg0.push(arg1);
|
|
1380
|
+
return ret;
|
|
1355
1381
|
};
|
|
1356
|
-
imports.wbg.
|
|
1357
|
-
|
|
1382
|
+
imports.wbg.__wbg_queryCounterEXT_7aed85645b7ec1da = function(arg0, arg1, arg2) {
|
|
1383
|
+
arg0.queryCounterEXT(arg1, arg2 >>> 0);
|
|
1358
1384
|
};
|
|
1359
|
-
imports.wbg.
|
|
1360
|
-
|
|
1385
|
+
imports.wbg.__wbg_querySelector_c69f8b573958906b = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1386
|
+
const ret = arg0.querySelector(getStringFromWasm0(arg1, arg2));
|
|
1387
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1388
|
+
}, arguments) };
|
|
1389
|
+
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
|
1390
|
+
queueMicrotask(arg0);
|
|
1361
1391
|
};
|
|
1362
|
-
imports.wbg.
|
|
1363
|
-
|
|
1392
|
+
imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
|
|
1393
|
+
const ret = arg0.queueMicrotask;
|
|
1394
|
+
return ret;
|
|
1364
1395
|
};
|
|
1365
|
-
imports.wbg.
|
|
1366
|
-
|
|
1396
|
+
imports.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() { return handleError(function (arg0, arg1) {
|
|
1397
|
+
arg0.randomFillSync(arg1);
|
|
1398
|
+
}, arguments) };
|
|
1399
|
+
imports.wbg.__wbg_readBuffer_1c35b1e4939f881d = function(arg0, arg1) {
|
|
1400
|
+
arg0.readBuffer(arg1 >>> 0);
|
|
1367
1401
|
};
|
|
1368
|
-
imports.wbg.
|
|
1369
|
-
|
|
1402
|
+
imports.wbg.__wbg_readPixels_51a0c02cdee207a5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
1403
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
1404
|
+
}, arguments) };
|
|
1405
|
+
imports.wbg.__wbg_readPixels_a6cbb21794452142 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
1406
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
1407
|
+
}, arguments) };
|
|
1408
|
+
imports.wbg.__wbg_readPixels_cd64c5a7b0343355 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
1409
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
1410
|
+
}, arguments) };
|
|
1411
|
+
imports.wbg.__wbg_renderbufferStorageMultisample_13fbd5e58900c6fe = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1412
|
+
arg0.renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
1370
1413
|
};
|
|
1371
|
-
imports.wbg.
|
|
1372
|
-
|
|
1414
|
+
imports.wbg.__wbg_renderbufferStorage_73e01ea83b8afab4 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1415
|
+
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
1373
1416
|
};
|
|
1374
|
-
imports.wbg.
|
|
1375
|
-
|
|
1417
|
+
imports.wbg.__wbg_renderbufferStorage_f010012bd3566942 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1418
|
+
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
1376
1419
|
};
|
|
1377
|
-
imports.wbg.
|
|
1378
|
-
|
|
1420
|
+
imports.wbg.__wbg_require_79b1e9274cde3c87 = function() { return handleError(function () {
|
|
1421
|
+
const ret = module.require;
|
|
1422
|
+
return ret;
|
|
1423
|
+
}, arguments) };
|
|
1424
|
+
imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
|
|
1425
|
+
const ret = Promise.resolve(arg0);
|
|
1426
|
+
return ret;
|
|
1379
1427
|
};
|
|
1380
|
-
imports.wbg.
|
|
1381
|
-
|
|
1428
|
+
imports.wbg.__wbg_samplerParameterf_909baf50360c94d4 = function(arg0, arg1, arg2, arg3) {
|
|
1429
|
+
arg0.samplerParameterf(arg1, arg2 >>> 0, arg3);
|
|
1382
1430
|
};
|
|
1383
|
-
imports.wbg.
|
|
1384
|
-
|
|
1431
|
+
imports.wbg.__wbg_samplerParameteri_d5c292172718da63 = function(arg0, arg1, arg2, arg3) {
|
|
1432
|
+
arg0.samplerParameteri(arg1, arg2 >>> 0, arg3);
|
|
1385
1433
|
};
|
|
1386
|
-
imports.wbg.
|
|
1387
|
-
|
|
1434
|
+
imports.wbg.__wbg_scissor_e917a332f67a5d30 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1435
|
+
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
1388
1436
|
};
|
|
1389
|
-
imports.wbg.
|
|
1390
|
-
|
|
1391
|
-
return addHeapObject(ret);
|
|
1392
|
-
}, arguments) };
|
|
1393
|
-
imports.wbg.__wbg_getProgramInfoLog_22296c36addf7a70 = function(arg0, arg1, arg2) {
|
|
1394
|
-
const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
|
|
1395
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1396
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1397
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1398
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1437
|
+
imports.wbg.__wbg_scissor_eb177ca33bf24a44 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1438
|
+
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
1399
1439
|
};
|
|
1400
|
-
imports.wbg.
|
|
1401
|
-
|
|
1402
|
-
return addHeapObject(ret);
|
|
1440
|
+
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1441
|
+
arg0[arg1] = arg2;
|
|
1403
1442
|
};
|
|
1404
|
-
imports.wbg.
|
|
1405
|
-
|
|
1406
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1407
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1408
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1409
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1443
|
+
imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
1444
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
1410
1445
|
};
|
|
1411
|
-
imports.wbg.
|
|
1412
|
-
|
|
1413
|
-
return addHeapObject(ret);
|
|
1446
|
+
imports.wbg.__wbg_set_6775f73144c2ef27 = function(arg0, arg1, arg2) {
|
|
1447
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
1414
1448
|
};
|
|
1415
|
-
imports.wbg.
|
|
1416
|
-
const ret =
|
|
1417
|
-
return
|
|
1449
|
+
imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
|
|
1450
|
+
const ret = arg0.set(arg1, arg2);
|
|
1451
|
+
return ret;
|
|
1418
1452
|
};
|
|
1419
|
-
imports.wbg.
|
|
1420
|
-
|
|
1453
|
+
imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1454
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1455
|
+
return ret;
|
|
1456
|
+
}, arguments) };
|
|
1457
|
+
imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
|
1458
|
+
arg0.body = arg1;
|
|
1421
1459
|
};
|
|
1422
|
-
imports.wbg.
|
|
1423
|
-
|
|
1460
|
+
imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
|
|
1461
|
+
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1424
1462
|
};
|
|
1425
|
-
imports.wbg.
|
|
1426
|
-
|
|
1463
|
+
imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
|
|
1464
|
+
arg0.headers = arg1;
|
|
1427
1465
|
};
|
|
1428
|
-
imports.wbg.
|
|
1429
|
-
|
|
1466
|
+
imports.wbg.__wbg_setheight_433680330c9420c3 = function(arg0, arg1) {
|
|
1467
|
+
arg0.height = arg1 >>> 0;
|
|
1430
1468
|
};
|
|
1431
|
-
imports.wbg.
|
|
1432
|
-
|
|
1469
|
+
imports.wbg.__wbg_setheight_da683a33fa99843c = function(arg0, arg1) {
|
|
1470
|
+
arg0.height = arg1 >>> 0;
|
|
1433
1471
|
};
|
|
1434
|
-
imports.wbg.
|
|
1435
|
-
|
|
1472
|
+
imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
|
|
1473
|
+
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1436
1474
|
};
|
|
1437
|
-
imports.wbg.
|
|
1438
|
-
|
|
1475
|
+
imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
|
|
1476
|
+
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1439
1477
|
};
|
|
1440
|
-
imports.wbg.
|
|
1441
|
-
|
|
1478
|
+
imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
|
|
1479
|
+
arg0.signal = arg1;
|
|
1442
1480
|
};
|
|
1443
|
-
imports.wbg.
|
|
1444
|
-
|
|
1481
|
+
imports.wbg.__wbg_setwidth_660ca581e3fbe279 = function(arg0, arg1) {
|
|
1482
|
+
arg0.width = arg1 >>> 0;
|
|
1445
1483
|
};
|
|
1446
|
-
imports.wbg.
|
|
1447
|
-
|
|
1484
|
+
imports.wbg.__wbg_setwidth_c5fed9f5e7f0b406 = function(arg0, arg1) {
|
|
1485
|
+
arg0.width = arg1 >>> 0;
|
|
1448
1486
|
};
|
|
1449
|
-
imports.wbg.
|
|
1450
|
-
|
|
1487
|
+
imports.wbg.__wbg_shaderSource_72d3e8597ef85b67 = function(arg0, arg1, arg2, arg3) {
|
|
1488
|
+
arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
|
|
1451
1489
|
};
|
|
1452
|
-
imports.wbg.
|
|
1453
|
-
|
|
1490
|
+
imports.wbg.__wbg_shaderSource_ad0087e637a35191 = function(arg0, arg1, arg2, arg3) {
|
|
1491
|
+
arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
|
|
1454
1492
|
};
|
|
1455
|
-
imports.wbg.
|
|
1456
|
-
|
|
1493
|
+
imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
|
|
1494
|
+
const ret = arg0.signal;
|
|
1495
|
+
return ret;
|
|
1457
1496
|
};
|
|
1458
|
-
imports.wbg.
|
|
1459
|
-
|
|
1497
|
+
imports.wbg.__wbg_smelterrenderer_new = function(arg0) {
|
|
1498
|
+
const ret = SmelterRenderer.__wrap(arg0);
|
|
1499
|
+
return ret;
|
|
1460
1500
|
};
|
|
1461
|
-
imports.wbg.
|
|
1462
|
-
|
|
1501
|
+
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
1502
|
+
const ret = arg1.stack;
|
|
1503
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1504
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1505
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1506
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1463
1507
|
};
|
|
1464
|
-
imports.wbg.
|
|
1465
|
-
|
|
1508
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
1509
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
1510
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1466
1511
|
};
|
|
1467
|
-
imports.wbg.
|
|
1468
|
-
|
|
1512
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
|
|
1513
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1514
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1469
1515
|
};
|
|
1470
|
-
imports.wbg.
|
|
1471
|
-
const ret =
|
|
1472
|
-
return
|
|
1516
|
+
imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
|
|
1517
|
+
const ret = typeof self === 'undefined' ? null : self;
|
|
1518
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1473
1519
|
};
|
|
1474
|
-
imports.wbg.
|
|
1475
|
-
|
|
1520
|
+
imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
|
|
1521
|
+
const ret = typeof window === 'undefined' ? null : window;
|
|
1522
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1476
1523
|
};
|
|
1477
|
-
imports.wbg.
|
|
1478
|
-
|
|
1524
|
+
imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
|
|
1525
|
+
const ret = arg0.status;
|
|
1526
|
+
return ret;
|
|
1479
1527
|
};
|
|
1480
|
-
imports.wbg.
|
|
1481
|
-
|
|
1528
|
+
imports.wbg.__wbg_stencilFuncSeparate_91700dcf367ae07e = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1529
|
+
arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
1482
1530
|
};
|
|
1483
|
-
imports.wbg.
|
|
1484
|
-
|
|
1531
|
+
imports.wbg.__wbg_stencilFuncSeparate_c1a6fa2005ca0aaf = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1532
|
+
arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
1485
1533
|
};
|
|
1486
|
-
imports.wbg.
|
|
1487
|
-
|
|
1534
|
+
imports.wbg.__wbg_stencilMaskSeparate_4f1a2defc8c10956 = function(arg0, arg1, arg2) {
|
|
1535
|
+
arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
1488
1536
|
};
|
|
1489
|
-
imports.wbg.
|
|
1490
|
-
|
|
1537
|
+
imports.wbg.__wbg_stencilMaskSeparate_f8a0cfb5c2994d4a = function(arg0, arg1, arg2) {
|
|
1538
|
+
arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
1491
1539
|
};
|
|
1492
|
-
imports.wbg.
|
|
1493
|
-
|
|
1540
|
+
imports.wbg.__wbg_stencilMask_1e602ef63f5b4144 = function(arg0, arg1) {
|
|
1541
|
+
arg0.stencilMask(arg1 >>> 0);
|
|
1494
1542
|
};
|
|
1495
|
-
imports.wbg.
|
|
1496
|
-
|
|
1543
|
+
imports.wbg.__wbg_stencilMask_cd8ca0a55817e599 = function(arg0, arg1) {
|
|
1544
|
+
arg0.stencilMask(arg1 >>> 0);
|
|
1497
1545
|
};
|
|
1498
|
-
imports.wbg.
|
|
1499
|
-
|
|
1546
|
+
imports.wbg.__wbg_stencilOpSeparate_1fa08985e79e1627 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1547
|
+
arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1500
1548
|
};
|
|
1501
|
-
imports.wbg.
|
|
1502
|
-
|
|
1503
|
-
try {
|
|
1504
|
-
result = getObject(arg0) instanceof HTMLCanvasElement;
|
|
1505
|
-
} catch (_) {
|
|
1506
|
-
result = false;
|
|
1507
|
-
}
|
|
1508
|
-
const ret = result;
|
|
1509
|
-
return ret;
|
|
1549
|
+
imports.wbg.__wbg_stencilOpSeparate_ff6683bbe3838ae6 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1550
|
+
arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1510
1551
|
};
|
|
1511
|
-
imports.wbg.
|
|
1512
|
-
const ret =
|
|
1552
|
+
imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
|
|
1553
|
+
const ret = JSON.stringify(arg0);
|
|
1513
1554
|
return ret;
|
|
1514
|
-
};
|
|
1515
|
-
imports.wbg.
|
|
1516
|
-
|
|
1517
|
-
};
|
|
1518
|
-
imports.wbg.__wbg_height_6fb32e51e54037ae = function(arg0) {
|
|
1519
|
-
const ret = getObject(arg0).height;
|
|
1555
|
+
}, arguments) };
|
|
1556
|
+
imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
|
|
1557
|
+
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1520
1558
|
return ret;
|
|
1521
1559
|
};
|
|
1522
|
-
imports.wbg.
|
|
1523
|
-
|
|
1524
|
-
};
|
|
1525
|
-
imports.wbg.__wbg_getContext_70d493702d2b8f3e = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1526
|
-
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
1527
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1560
|
+
imports.wbg.__wbg_texImage2D_57483314967bdd11 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1561
|
+
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1528
1562
|
}, arguments) };
|
|
1529
|
-
imports.wbg.
|
|
1530
|
-
|
|
1531
|
-
|
|
1563
|
+
imports.wbg.__wbg_texImage2D_5f2835f02b1d1077 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1564
|
+
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1565
|
+
}, arguments) };
|
|
1566
|
+
imports.wbg.__wbg_texImage2D_b8edcb5692f65f88 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1567
|
+
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1568
|
+
}, arguments) };
|
|
1569
|
+
imports.wbg.__wbg_texImage3D_921b54d09bf45af0 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
1570
|
+
arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
|
|
1571
|
+
}, arguments) };
|
|
1572
|
+
imports.wbg.__wbg_texImage3D_a00b7a4df48cf757 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
1573
|
+
arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
|
|
1574
|
+
}, arguments) };
|
|
1575
|
+
imports.wbg.__wbg_texParameteri_8112b26b3c360b7e = function(arg0, arg1, arg2, arg3) {
|
|
1576
|
+
arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
1532
1577
|
};
|
|
1533
|
-
imports.wbg.
|
|
1534
|
-
|
|
1578
|
+
imports.wbg.__wbg_texParameteri_ef50743cb94d507e = function(arg0, arg1, arg2, arg3) {
|
|
1579
|
+
arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
1535
1580
|
};
|
|
1536
|
-
imports.wbg.
|
|
1537
|
-
|
|
1538
|
-
return ret;
|
|
1581
|
+
imports.wbg.__wbg_texStorage2D_fbda848497f3674e = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1582
|
+
arg0.texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
1539
1583
|
};
|
|
1540
|
-
imports.wbg.
|
|
1541
|
-
|
|
1584
|
+
imports.wbg.__wbg_texStorage3D_fd7a7ca30e7981d1 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1585
|
+
arg0.texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6);
|
|
1542
1586
|
};
|
|
1543
|
-
imports.wbg.
|
|
1544
|
-
|
|
1545
|
-
return addHeapObject(ret);
|
|
1587
|
+
imports.wbg.__wbg_texSubImage2D_061605071aad9d2c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1588
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1546
1589
|
}, arguments) };
|
|
1547
|
-
imports.wbg.
|
|
1548
|
-
|
|
1549
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1590
|
+
imports.wbg.__wbg_texSubImage2D_aa9a084093764796 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1591
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1550
1592
|
}, arguments) };
|
|
1551
|
-
imports.wbg.
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1593
|
+
imports.wbg.__wbg_texSubImage2D_c7951ed97252bdff = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1594
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1595
|
+
}, arguments) };
|
|
1596
|
+
imports.wbg.__wbg_texSubImage2D_d52d1a0d3654c60b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1597
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1598
|
+
}, arguments) };
|
|
1599
|
+
imports.wbg.__wbg_texSubImage2D_dd9cac68ad5fe0b6 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1600
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1601
|
+
}, arguments) };
|
|
1602
|
+
imports.wbg.__wbg_texSubImage2D_e6d34f5bb062e404 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1603
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1604
|
+
}, arguments) };
|
|
1605
|
+
imports.wbg.__wbg_texSubImage2D_f39ea52a2d4bd2f7 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1606
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1607
|
+
}, arguments) };
|
|
1608
|
+
imports.wbg.__wbg_texSubImage2D_fbdf91268228c757 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
1609
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
1610
|
+
}, arguments) };
|
|
1611
|
+
imports.wbg.__wbg_texSubImage3D_04731251d7cecc83 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
1612
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
1613
|
+
}, arguments) };
|
|
1614
|
+
imports.wbg.__wbg_texSubImage3D_37f0045d16871670 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
1615
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
1616
|
+
}, arguments) };
|
|
1617
|
+
imports.wbg.__wbg_texSubImage3D_3a871f6405d2f183 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
1618
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
1619
|
+
}, arguments) };
|
|
1620
|
+
imports.wbg.__wbg_texSubImage3D_66acd67f56e3b214 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
1621
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
1622
|
+
}, arguments) };
|
|
1623
|
+
imports.wbg.__wbg_texSubImage3D_a051de089266fa1b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
1624
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
1625
|
+
}, arguments) };
|
|
1626
|
+
imports.wbg.__wbg_texSubImage3D_b28c55f839bbec41 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
1627
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
1628
|
+
}, arguments) };
|
|
1629
|
+
imports.wbg.__wbg_texSubImage3D_f18bf091cd48774c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
1630
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
1631
|
+
}, arguments) };
|
|
1632
|
+
imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
|
|
1633
|
+
const ret = arg0.then(arg1);
|
|
1559
1634
|
return ret;
|
|
1560
1635
|
};
|
|
1561
|
-
imports.wbg.
|
|
1562
|
-
const ret =
|
|
1563
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1564
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1565
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1566
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1567
|
-
};
|
|
1568
|
-
imports.wbg.__wbg_status_ae8de515694c5c7c = function(arg0) {
|
|
1569
|
-
const ret = getObject(arg0).status;
|
|
1636
|
+
imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
|
|
1637
|
+
const ret = arg0.then(arg1, arg2);
|
|
1570
1638
|
return ret;
|
|
1571
1639
|
};
|
|
1572
|
-
imports.wbg.
|
|
1573
|
-
|
|
1574
|
-
return addHeapObject(ret);
|
|
1640
|
+
imports.wbg.__wbg_uniform1f_21390b04609a9fa5 = function(arg0, arg1, arg2) {
|
|
1641
|
+
arg0.uniform1f(arg1, arg2);
|
|
1575
1642
|
};
|
|
1576
|
-
imports.wbg.
|
|
1577
|
-
|
|
1578
|
-
return addHeapObject(ret);
|
|
1579
|
-
}, arguments) };
|
|
1580
|
-
imports.wbg.__wbg_videoWidth_5f4190ae93af0dd6 = function(arg0) {
|
|
1581
|
-
const ret = getObject(arg0).videoWidth;
|
|
1582
|
-
return ret;
|
|
1643
|
+
imports.wbg.__wbg_uniform1f_dc009a0e7f7e5977 = function(arg0, arg1, arg2) {
|
|
1644
|
+
arg0.uniform1f(arg1, arg2);
|
|
1583
1645
|
};
|
|
1584
|
-
imports.wbg.
|
|
1585
|
-
|
|
1586
|
-
return ret;
|
|
1646
|
+
imports.wbg.__wbg_uniform1i_5ddd9d8ccbd390bb = function(arg0, arg1, arg2) {
|
|
1647
|
+
arg0.uniform1i(arg1, arg2);
|
|
1587
1648
|
};
|
|
1588
|
-
imports.wbg.
|
|
1589
|
-
|
|
1649
|
+
imports.wbg.__wbg_uniform1i_ed95b6129dce4d84 = function(arg0, arg1, arg2) {
|
|
1650
|
+
arg0.uniform1i(arg1, arg2);
|
|
1590
1651
|
};
|
|
1591
|
-
imports.wbg.
|
|
1592
|
-
|
|
1593
|
-
return addHeapObject(ret);
|
|
1594
|
-
}, arguments) };
|
|
1595
|
-
imports.wbg.__wbg_append_f3a4426bb50622c5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1596
|
-
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1597
|
-
}, arguments) };
|
|
1598
|
-
imports.wbg.__wbg_getSupportedProfiles_13c2c2008a14070f = function(arg0) {
|
|
1599
|
-
const ret = getObject(arg0).getSupportedProfiles();
|
|
1600
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1652
|
+
imports.wbg.__wbg_uniform1ui_66e092b67a21c84d = function(arg0, arg1, arg2) {
|
|
1653
|
+
arg0.uniform1ui(arg1, arg2 >>> 0);
|
|
1601
1654
|
};
|
|
1602
|
-
imports.wbg.
|
|
1603
|
-
|
|
1655
|
+
imports.wbg.__wbg_uniform2fv_656fce9525420996 = function(arg0, arg1, arg2, arg3) {
|
|
1656
|
+
arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
1604
1657
|
};
|
|
1605
|
-
imports.wbg.
|
|
1606
|
-
|
|
1658
|
+
imports.wbg.__wbg_uniform2fv_d8bd2a36da7ce440 = function(arg0, arg1, arg2, arg3) {
|
|
1659
|
+
arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
1607
1660
|
};
|
|
1608
|
-
imports.wbg.
|
|
1609
|
-
|
|
1661
|
+
imports.wbg.__wbg_uniform2iv_4d39fc5a26f03f55 = function(arg0, arg1, arg2, arg3) {
|
|
1662
|
+
arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
1610
1663
|
};
|
|
1611
|
-
imports.wbg.
|
|
1612
|
-
|
|
1664
|
+
imports.wbg.__wbg_uniform2iv_e967139a28017a99 = function(arg0, arg1, arg2, arg3) {
|
|
1665
|
+
arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
1613
1666
|
};
|
|
1614
|
-
imports.wbg.
|
|
1615
|
-
|
|
1667
|
+
imports.wbg.__wbg_uniform2uiv_4c340c9e8477bb07 = function(arg0, arg1, arg2, arg3) {
|
|
1668
|
+
arg0.uniform2uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
1616
1669
|
};
|
|
1617
|
-
imports.wbg.
|
|
1618
|
-
|
|
1670
|
+
imports.wbg.__wbg_uniform3fv_7d828b7c4c91138e = function(arg0, arg1, arg2, arg3) {
|
|
1671
|
+
arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
1619
1672
|
};
|
|
1620
|
-
imports.wbg.
|
|
1621
|
-
|
|
1622
|
-
return ret;
|
|
1673
|
+
imports.wbg.__wbg_uniform3fv_8153c834ce667125 = function(arg0, arg1, arg2, arg3) {
|
|
1674
|
+
arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
1623
1675
|
};
|
|
1624
|
-
imports.wbg.
|
|
1625
|
-
|
|
1626
|
-
return ret;
|
|
1676
|
+
imports.wbg.__wbg_uniform3iv_58662d914661aa10 = function(arg0, arg1, arg2, arg3) {
|
|
1677
|
+
arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
1627
1678
|
};
|
|
1628
|
-
imports.wbg.
|
|
1629
|
-
|
|
1679
|
+
imports.wbg.__wbg_uniform3iv_f30d27ec224b4b24 = function(arg0, arg1, arg2, arg3) {
|
|
1680
|
+
arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
1630
1681
|
};
|
|
1631
|
-
imports.wbg.
|
|
1632
|
-
|
|
1633
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1682
|
+
imports.wbg.__wbg_uniform3uiv_38673b825dc755f6 = function(arg0, arg1, arg2, arg3) {
|
|
1683
|
+
arg0.uniform3uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
1634
1684
|
};
|
|
1635
|
-
imports.wbg.
|
|
1636
|
-
|
|
1685
|
+
imports.wbg.__wbg_uniform4f_36b8f9be15064aa7 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1686
|
+
arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
|
|
1637
1687
|
};
|
|
1638
|
-
imports.wbg.
|
|
1639
|
-
|
|
1640
|
-
return addHeapObject(ret);
|
|
1688
|
+
imports.wbg.__wbg_uniform4f_f7ea07febf8b5108 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1689
|
+
arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
|
|
1641
1690
|
};
|
|
1642
|
-
imports.wbg.
|
|
1643
|
-
|
|
1644
|
-
return addHeapObject(ret);
|
|
1645
|
-
}, arguments) };
|
|
1646
|
-
imports.wbg.__wbg_abort_8659d889a7877ae3 = function(arg0) {
|
|
1647
|
-
getObject(arg0).abort();
|
|
1691
|
+
imports.wbg.__wbg_uniform4fv_8827081a7585145b = function(arg0, arg1, arg2, arg3) {
|
|
1692
|
+
arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
1648
1693
|
};
|
|
1649
|
-
imports.wbg.
|
|
1650
|
-
|
|
1651
|
-
return addHeapObject(ret);
|
|
1652
|
-
}, arguments) };
|
|
1653
|
-
imports.wbg.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
1654
|
-
const ret = getObject(arg0).crypto;
|
|
1655
|
-
return addHeapObject(ret);
|
|
1694
|
+
imports.wbg.__wbg_uniform4fv_c01fbc6c022abac3 = function(arg0, arg1, arg2, arg3) {
|
|
1695
|
+
arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
1656
1696
|
};
|
|
1657
|
-
imports.wbg.
|
|
1658
|
-
|
|
1659
|
-
return addHeapObject(ret);
|
|
1697
|
+
imports.wbg.__wbg_uniform4iv_7fe05be291899f06 = function(arg0, arg1, arg2, arg3) {
|
|
1698
|
+
arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
1660
1699
|
};
|
|
1661
|
-
imports.wbg.
|
|
1662
|
-
|
|
1663
|
-
return addHeapObject(ret);
|
|
1700
|
+
imports.wbg.__wbg_uniform4iv_84fdf80745e7ff26 = function(arg0, arg1, arg2, arg3) {
|
|
1701
|
+
arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
1664
1702
|
};
|
|
1665
|
-
imports.wbg.
|
|
1666
|
-
|
|
1667
|
-
return addHeapObject(ret);
|
|
1703
|
+
imports.wbg.__wbg_uniform4uiv_9de55998fbfef236 = function(arg0, arg1, arg2, arg3) {
|
|
1704
|
+
arg0.uniform4uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
1668
1705
|
};
|
|
1669
|
-
imports.wbg.
|
|
1670
|
-
|
|
1671
|
-
return addHeapObject(ret);
|
|
1672
|
-
}, arguments) };
|
|
1673
|
-
imports.wbg.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
|
|
1674
|
-
const ret = getObject(arg0).msCrypto;
|
|
1675
|
-
return addHeapObject(ret);
|
|
1706
|
+
imports.wbg.__wbg_uniformBlockBinding_18117f4bda07115b = function(arg0, arg1, arg2, arg3) {
|
|
1707
|
+
arg0.uniformBlockBinding(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
1676
1708
|
};
|
|
1677
|
-
imports.wbg.
|
|
1678
|
-
|
|
1679
|
-
}, arguments) };
|
|
1680
|
-
imports.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
1681
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
1682
|
-
}, arguments) };
|
|
1683
|
-
imports.wbg.__wbg_get_3baa728f9d58d3f6 = function(arg0, arg1) {
|
|
1684
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
1685
|
-
return addHeapObject(ret);
|
|
1709
|
+
imports.wbg.__wbg_uniformMatrix2fv_98681e400347369c = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1710
|
+
arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1686
1711
|
};
|
|
1687
|
-
imports.wbg.
|
|
1688
|
-
|
|
1689
|
-
return ret;
|
|
1712
|
+
imports.wbg.__wbg_uniformMatrix2fv_bc019eb4784a3b8c = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1713
|
+
arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1690
1714
|
};
|
|
1691
|
-
imports.wbg.
|
|
1692
|
-
|
|
1693
|
-
return addHeapObject(ret);
|
|
1715
|
+
imports.wbg.__wbg_uniformMatrix2x3fv_6421f8d6f7f4d144 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1716
|
+
arg0.uniformMatrix2x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1694
1717
|
};
|
|
1695
|
-
imports.wbg.
|
|
1696
|
-
|
|
1697
|
-
return addHeapObject(ret);
|
|
1718
|
+
imports.wbg.__wbg_uniformMatrix2x4fv_27d807767d7aadc6 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1719
|
+
arg0.uniformMatrix2x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1698
1720
|
};
|
|
1699
|
-
imports.wbg.
|
|
1700
|
-
|
|
1701
|
-
return addHeapObject(ret);
|
|
1721
|
+
imports.wbg.__wbg_uniformMatrix3fv_3d6ad3a1e0b0b5b6 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1722
|
+
arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1702
1723
|
};
|
|
1703
|
-
imports.wbg.
|
|
1704
|
-
|
|
1705
|
-
return addHeapObject(ret);
|
|
1724
|
+
imports.wbg.__wbg_uniformMatrix3fv_3df529aab93cf902 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1725
|
+
arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1706
1726
|
};
|
|
1707
|
-
imports.wbg.
|
|
1708
|
-
|
|
1709
|
-
return addHeapObject(ret);
|
|
1710
|
-
}, arguments) };
|
|
1711
|
-
imports.wbg.__wbg_done_bfda7aa8f252b39f = function(arg0) {
|
|
1712
|
-
const ret = getObject(arg0).done;
|
|
1713
|
-
return ret;
|
|
1727
|
+
imports.wbg.__wbg_uniformMatrix3x2fv_79357317e9637d05 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1728
|
+
arg0.uniformMatrix3x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1714
1729
|
};
|
|
1715
|
-
imports.wbg.
|
|
1716
|
-
|
|
1717
|
-
return addHeapObject(ret);
|
|
1730
|
+
imports.wbg.__wbg_uniformMatrix3x4fv_9d1a88b5abfbd64b = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1731
|
+
arg0.uniformMatrix3x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1718
1732
|
};
|
|
1719
|
-
imports.wbg.
|
|
1720
|
-
|
|
1721
|
-
return addHeapObject(ret);
|
|
1733
|
+
imports.wbg.__wbg_uniformMatrix4fv_da94083874f202ad = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1734
|
+
arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1722
1735
|
};
|
|
1723
|
-
imports.wbg.
|
|
1724
|
-
|
|
1725
|
-
return addHeapObject(ret);
|
|
1726
|
-
}, arguments) };
|
|
1727
|
-
imports.wbg.__wbg_call_1084a111329e68ce = function() { return handleError(function (arg0, arg1) {
|
|
1728
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
1729
|
-
return addHeapObject(ret);
|
|
1730
|
-
}, arguments) };
|
|
1731
|
-
imports.wbg.__wbg_new_525245e2b9901204 = function() {
|
|
1732
|
-
const ret = new Object();
|
|
1733
|
-
return addHeapObject(ret);
|
|
1736
|
+
imports.wbg.__wbg_uniformMatrix4fv_e87383507ae75670 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1737
|
+
arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1734
1738
|
};
|
|
1735
|
-
imports.wbg.
|
|
1736
|
-
|
|
1737
|
-
return addHeapObject(ret);
|
|
1738
|
-
}, arguments) };
|
|
1739
|
-
imports.wbg.__wbg_window_3bcfc4d31bc012f8 = function() { return handleError(function () {
|
|
1740
|
-
const ret = window.window;
|
|
1741
|
-
return addHeapObject(ret);
|
|
1742
|
-
}, arguments) };
|
|
1743
|
-
imports.wbg.__wbg_globalThis_86b222e13bdf32ed = function() { return handleError(function () {
|
|
1744
|
-
const ret = globalThis.globalThis;
|
|
1745
|
-
return addHeapObject(ret);
|
|
1746
|
-
}, arguments) };
|
|
1747
|
-
imports.wbg.__wbg_global_e5a3fe56f8be9485 = function() { return handleError(function () {
|
|
1748
|
-
const ret = global.global;
|
|
1749
|
-
return addHeapObject(ret);
|
|
1750
|
-
}, arguments) };
|
|
1751
|
-
imports.wbg.__wbg_includes_7c12264f911567fe = function(arg0, arg1, arg2) {
|
|
1752
|
-
const ret = getObject(arg0).includes(getObject(arg1), arg2);
|
|
1753
|
-
return ret;
|
|
1739
|
+
imports.wbg.__wbg_uniformMatrix4x2fv_aa507d918a0b5a62 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1740
|
+
arg0.uniformMatrix4x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1754
1741
|
};
|
|
1755
|
-
imports.wbg.
|
|
1756
|
-
|
|
1757
|
-
|
|
1742
|
+
imports.wbg.__wbg_uniformMatrix4x3fv_6712c7a3b4276fb4 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1743
|
+
arg0.uniformMatrix4x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1744
|
+
};
|
|
1745
|
+
imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
|
|
1746
|
+
const ret = arg1.url;
|
|
1747
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1748
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1749
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1750
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1758
1751
|
};
|
|
1759
|
-
imports.wbg.
|
|
1760
|
-
|
|
1761
|
-
return addHeapObject(ret);
|
|
1752
|
+
imports.wbg.__wbg_useProgram_473bf913989b6089 = function(arg0, arg1) {
|
|
1753
|
+
arg0.useProgram(arg1);
|
|
1762
1754
|
};
|
|
1763
|
-
imports.wbg.
|
|
1764
|
-
|
|
1765
|
-
return ret;
|
|
1755
|
+
imports.wbg.__wbg_useProgram_9b2660f7bb210471 = function(arg0, arg1) {
|
|
1756
|
+
arg0.useProgram(arg1);
|
|
1766
1757
|
};
|
|
1767
|
-
imports.wbg.
|
|
1768
|
-
|
|
1769
|
-
try {
|
|
1770
|
-
result = getObject(arg0) instanceof ArrayBuffer;
|
|
1771
|
-
} catch (_) {
|
|
1772
|
-
result = false;
|
|
1773
|
-
}
|
|
1774
|
-
const ret = result;
|
|
1758
|
+
imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
|
|
1759
|
+
const ret = arg0.value;
|
|
1775
1760
|
return ret;
|
|
1776
1761
|
};
|
|
1777
|
-
imports.wbg.
|
|
1778
|
-
const ret =
|
|
1779
|
-
return addHeapObject(ret);
|
|
1780
|
-
}, arguments) };
|
|
1781
|
-
imports.wbg.__wbg_instanceof_Map_763ce0e95960d55e = function(arg0) {
|
|
1782
|
-
let result;
|
|
1783
|
-
try {
|
|
1784
|
-
result = getObject(arg0) instanceof Map;
|
|
1785
|
-
} catch (_) {
|
|
1786
|
-
result = false;
|
|
1787
|
-
}
|
|
1788
|
-
const ret = result;
|
|
1762
|
+
imports.wbg.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
|
|
1763
|
+
const ret = arg0.versions;
|
|
1789
1764
|
return ret;
|
|
1790
1765
|
};
|
|
1791
|
-
imports.wbg.
|
|
1792
|
-
|
|
1793
|
-
return addHeapObject(ret);
|
|
1766
|
+
imports.wbg.__wbg_vertexAttribDivisorANGLE_11e909d332960413 = function(arg0, arg1, arg2) {
|
|
1767
|
+
arg0.vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
|
|
1794
1768
|
};
|
|
1795
|
-
imports.wbg.
|
|
1796
|
-
|
|
1797
|
-
return addHeapObject(ret);
|
|
1769
|
+
imports.wbg.__wbg_vertexAttribDivisor_4d361d77ffb6d3ff = function(arg0, arg1, arg2) {
|
|
1770
|
+
arg0.vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
|
|
1798
1771
|
};
|
|
1799
|
-
imports.wbg.
|
|
1800
|
-
|
|
1801
|
-
return ret;
|
|
1772
|
+
imports.wbg.__wbg_vertexAttribIPointer_d0c67543348c90ce = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1773
|
+
arg0.vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
1802
1774
|
};
|
|
1803
|
-
imports.wbg.
|
|
1804
|
-
|
|
1805
|
-
return addHeapObject(ret);
|
|
1775
|
+
imports.wbg.__wbg_vertexAttribPointer_550dc34903e3d1ea = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1776
|
+
arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
1806
1777
|
};
|
|
1807
|
-
imports.wbg.
|
|
1808
|
-
|
|
1809
|
-
return ret;
|
|
1778
|
+
imports.wbg.__wbg_vertexAttribPointer_7a2a506cdbe3aebc = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1779
|
+
arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
1810
1780
|
};
|
|
1811
|
-
imports.wbg.
|
|
1812
|
-
|
|
1813
|
-
var state0 = {a: arg0, b: arg1};
|
|
1814
|
-
var cb0 = (arg0, arg1) => {
|
|
1815
|
-
const a = state0.a;
|
|
1816
|
-
state0.a = 0;
|
|
1817
|
-
try {
|
|
1818
|
-
return __wbg_adapter_718(a, state0.b, arg0, arg1);
|
|
1819
|
-
} finally {
|
|
1820
|
-
state0.a = a;
|
|
1821
|
-
}
|
|
1822
|
-
};
|
|
1823
|
-
const ret = new Promise(cb0);
|
|
1824
|
-
return addHeapObject(ret);
|
|
1825
|
-
} finally {
|
|
1826
|
-
state0.a = state0.b = 0;
|
|
1827
|
-
}
|
|
1781
|
+
imports.wbg.__wbg_viewport_a1b4d71297ba89af = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1782
|
+
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
1828
1783
|
};
|
|
1829
|
-
imports.wbg.
|
|
1830
|
-
|
|
1831
|
-
return addHeapObject(ret);
|
|
1784
|
+
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1785
|
+
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
1832
1786
|
};
|
|
1833
|
-
imports.wbg.
|
|
1834
|
-
|
|
1835
|
-
return addHeapObject(ret);
|
|
1787
|
+
imports.wbg.__wbg_warn_aaf1f4664a035bd6 = function(arg0, arg1, arg2, arg3) {
|
|
1788
|
+
console.warn(arg0, arg1, arg2, arg3);
|
|
1836
1789
|
};
|
|
1837
|
-
imports.wbg.
|
|
1838
|
-
const ret =
|
|
1839
|
-
return
|
|
1790
|
+
imports.wbg.__wbindgen_as_number = function(arg0) {
|
|
1791
|
+
const ret = +arg0;
|
|
1792
|
+
return ret;
|
|
1840
1793
|
};
|
|
1841
|
-
imports.wbg.
|
|
1842
|
-
const ret =
|
|
1843
|
-
return
|
|
1794
|
+
imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
1795
|
+
const ret = arg0;
|
|
1796
|
+
return ret;
|
|
1844
1797
|
};
|
|
1845
|
-
imports.wbg.
|
|
1846
|
-
const ret =
|
|
1847
|
-
return
|
|
1798
|
+
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
1799
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
1800
|
+
return ret;
|
|
1848
1801
|
};
|
|
1849
|
-
imports.wbg.
|
|
1850
|
-
const
|
|
1851
|
-
|
|
1802
|
+
imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
1803
|
+
const v = arg1;
|
|
1804
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1805
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1806
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1852
1807
|
};
|
|
1853
|
-
imports.wbg.
|
|
1854
|
-
const
|
|
1855
|
-
|
|
1808
|
+
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
1809
|
+
const v = arg0;
|
|
1810
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
1811
|
+
return ret;
|
|
1856
1812
|
};
|
|
1857
|
-
imports.wbg.
|
|
1858
|
-
const
|
|
1859
|
-
|
|
1813
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
1814
|
+
const obj = arg0.original;
|
|
1815
|
+
if (obj.cnt-- == 1) {
|
|
1816
|
+
obj.a = 0;
|
|
1817
|
+
return true;
|
|
1818
|
+
}
|
|
1819
|
+
const ret = false;
|
|
1820
|
+
return ret;
|
|
1860
1821
|
};
|
|
1861
|
-
imports.wbg.
|
|
1862
|
-
const ret =
|
|
1863
|
-
return
|
|
1822
|
+
imports.wbg.__wbindgen_closure_wrapper2577 = function(arg0, arg1, arg2) {
|
|
1823
|
+
const ret = makeMutClosure(arg0, arg1, 550, __wbg_adapter_54);
|
|
1824
|
+
return ret;
|
|
1864
1825
|
};
|
|
1865
|
-
imports.wbg.
|
|
1866
|
-
|
|
1826
|
+
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
1827
|
+
const ret = debugString(arg1);
|
|
1828
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1829
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1830
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1831
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1867
1832
|
};
|
|
1868
|
-
imports.wbg.
|
|
1869
|
-
const ret =
|
|
1833
|
+
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
1834
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1870
1835
|
return ret;
|
|
1871
1836
|
};
|
|
1872
|
-
imports.wbg.
|
|
1873
|
-
const ret =
|
|
1874
|
-
return
|
|
1837
|
+
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
1838
|
+
const ret = arg0 in arg1;
|
|
1839
|
+
return ret;
|
|
1875
1840
|
};
|
|
1876
|
-
imports.wbg.
|
|
1877
|
-
|
|
1841
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1842
|
+
const table = wasm.__wbindgen_export_4;
|
|
1843
|
+
const offset = table.grow(4);
|
|
1844
|
+
table.set(0, undefined);
|
|
1845
|
+
table.set(offset + 0, undefined);
|
|
1846
|
+
table.set(offset + 1, null);
|
|
1847
|
+
table.set(offset + 2, true);
|
|
1848
|
+
table.set(offset + 3, false);
|
|
1878
1849
|
};
|
|
1879
|
-
imports.wbg.
|
|
1880
|
-
const ret =
|
|
1850
|
+
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
|
1851
|
+
const ret = typeof(arg0) === 'bigint';
|
|
1881
1852
|
return ret;
|
|
1882
1853
|
};
|
|
1883
|
-
imports.wbg.
|
|
1884
|
-
const ret =
|
|
1885
|
-
return
|
|
1886
|
-
};
|
|
1887
|
-
imports.wbg.__wbg_newwithbyteoffsetandlength_874df3e29cb555f9 = function(arg0, arg1, arg2) {
|
|
1888
|
-
const ret = new Uint32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
1889
|
-
return addHeapObject(ret);
|
|
1854
|
+
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
1855
|
+
const ret = typeof(arg0) === 'function';
|
|
1856
|
+
return ret;
|
|
1890
1857
|
};
|
|
1891
|
-
imports.wbg.
|
|
1892
|
-
const
|
|
1893
|
-
|
|
1858
|
+
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
1859
|
+
const val = arg0;
|
|
1860
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
1861
|
+
return ret;
|
|
1894
1862
|
};
|
|
1895
|
-
imports.wbg.
|
|
1896
|
-
|
|
1897
|
-
try {
|
|
1898
|
-
result = getObject(arg0) instanceof Uint8Array;
|
|
1899
|
-
} catch (_) {
|
|
1900
|
-
result = false;
|
|
1901
|
-
}
|
|
1902
|
-
const ret = result;
|
|
1863
|
+
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
1864
|
+
const ret = typeof(arg0) === 'string';
|
|
1903
1865
|
return ret;
|
|
1904
1866
|
};
|
|
1905
|
-
imports.wbg.
|
|
1906
|
-
const ret =
|
|
1907
|
-
return
|
|
1867
|
+
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
1868
|
+
const ret = arg0 === undefined;
|
|
1869
|
+
return ret;
|
|
1908
1870
|
};
|
|
1909
|
-
imports.wbg.
|
|
1910
|
-
const ret =
|
|
1911
|
-
return
|
|
1871
|
+
imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
1872
|
+
const ret = arg0 === arg1;
|
|
1873
|
+
return ret;
|
|
1912
1874
|
};
|
|
1913
|
-
imports.wbg.
|
|
1914
|
-
const ret =
|
|
1915
|
-
return addHeapObject(ret);
|
|
1916
|
-
}, arguments) };
|
|
1917
|
-
imports.wbg.__wbg_get_851b0d426e9c3b1d = function() { return handleError(function (arg0, arg1) {
|
|
1918
|
-
const ret = Reflect.get(getObject(arg0), arg1 >>> 0);
|
|
1919
|
-
return addHeapObject(ret);
|
|
1920
|
-
}, arguments) };
|
|
1921
|
-
imports.wbg.__wbg_has_4bfbc01db38743f7 = function() { return handleError(function (arg0, arg1) {
|
|
1922
|
-
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
1875
|
+
imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
1876
|
+
const ret = arg0 == arg1;
|
|
1923
1877
|
return ret;
|
|
1924
|
-
}
|
|
1925
|
-
imports.wbg.
|
|
1926
|
-
const ret =
|
|
1878
|
+
};
|
|
1879
|
+
imports.wbg.__wbindgen_memory = function() {
|
|
1880
|
+
const ret = wasm.memory;
|
|
1927
1881
|
return ret;
|
|
1928
|
-
}
|
|
1929
|
-
imports.wbg.
|
|
1930
|
-
const
|
|
1931
|
-
const ret = typeof(
|
|
1932
|
-
getDataViewMemory0().
|
|
1882
|
+
};
|
|
1883
|
+
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
1884
|
+
const obj = arg1;
|
|
1885
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1886
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1933
1887
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1934
1888
|
};
|
|
1935
|
-
imports.wbg.
|
|
1936
|
-
const ret =
|
|
1937
|
-
|
|
1938
|
-
|
|
1889
|
+
imports.wbg.__wbindgen_number_new = function(arg0) {
|
|
1890
|
+
const ret = arg0;
|
|
1891
|
+
return ret;
|
|
1892
|
+
};
|
|
1893
|
+
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
1894
|
+
const obj = arg1;
|
|
1895
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1896
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1897
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1939
1898
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1940
1899
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1941
1900
|
};
|
|
1901
|
+
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
1902
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
1903
|
+
return ret;
|
|
1904
|
+
};
|
|
1942
1905
|
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
1943
1906
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1944
1907
|
};
|
|
1945
|
-
imports.wbg.__wbindgen_memory = function() {
|
|
1946
|
-
const ret = wasm.memory;
|
|
1947
|
-
return addHeapObject(ret);
|
|
1948
|
-
};
|
|
1949
1908
|
imports.wbg.__wbindgen_uint8_clamped_array_new = function(arg0, arg1) {
|
|
1950
1909
|
var v0 = getClampedArrayU8FromWasm0(arg0, arg1).slice();
|
|
1951
1910
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
1952
1911
|
const ret = v0;
|
|
1953
|
-
return
|
|
1954
|
-
};
|
|
1955
|
-
imports.wbg.__wbindgen_closure_wrapper2010 = function(arg0, arg1, arg2) {
|
|
1956
|
-
const ret = makeMutClosure(arg0, arg1, 455, __wbg_adapter_52);
|
|
1957
|
-
return addHeapObject(ret);
|
|
1912
|
+
return ret;
|
|
1958
1913
|
};
|
|
1959
1914
|
|
|
1960
1915
|
return imports;
|
|
@@ -1979,13 +1934,16 @@ async function __wbg_init(module_or_path) {
|
|
|
1979
1934
|
if (wasm !== undefined) return wasm;
|
|
1980
1935
|
|
|
1981
1936
|
|
|
1982
|
-
if (typeof module_or_path !== 'undefined'
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1937
|
+
if (typeof module_or_path !== 'undefined') {
|
|
1938
|
+
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
1939
|
+
({module_or_path} = module_or_path);
|
|
1940
|
+
} else {
|
|
1941
|
+
console.warn('using deprecated parameters for the initialization function; pass a single object instead');
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1986
1944
|
|
|
1987
1945
|
if (typeof module_or_path === 'undefined') {
|
|
1988
|
-
|
|
1946
|
+
throw new Error("WASM module path not provided");
|
|
1989
1947
|
}
|
|
1990
1948
|
const imports = __wbg_get_imports();
|
|
1991
1949
|
|
|
@@ -2002,9 +1960,17 @@ async function __wbg_init(module_or_path) {
|
|
|
2002
1960
|
* Loads and initializes wasm module required for the smelter to work.
|
|
2003
1961
|
* @param wasmModuleUrl {string} - An URL for `smelter.wasm` file. The file is located in `dist` folder.
|
|
2004
1962
|
*/
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
1963
|
+
const loadWasmModule = (() => {
|
|
1964
|
+
let loadResult = undefined;
|
|
1965
|
+
return async (wasmModuleUrl) => {
|
|
1966
|
+
if (loadResult) {
|
|
1967
|
+
await loadResult;
|
|
1968
|
+
return;
|
|
1969
|
+
}
|
|
1970
|
+
loadResult = __wbg_init({ module_or_path: wasmModuleUrl });
|
|
1971
|
+
await loadResult;
|
|
1972
|
+
};
|
|
1973
|
+
})();
|
|
2008
1974
|
|
|
2009
1975
|
var FrameFormat;
|
|
2010
1976
|
(function (FrameFormat) {
|