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