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