@ameyanagi/reshiki 0.0.0-stage → 0.12.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/README.md +218 -2
- package/dist/editor/reshiki.d.ts +93 -0
- package/dist/editor/reshiki.js +3317 -0
- package/dist/editor/reshiki_bg.wasm +0 -0
- package/dist/editor/reshiki_bg.wasm.d.ts +29 -0
- package/dist/licenses/LICENSE +20 -0
- package/dist/licenses/LICENSE-APACHE +202 -0
- package/dist/licenses/LICENSE-MIT +21 -0
- package/dist/licenses/NOTICE +38 -0
- package/dist/licenses/THIRD-PARTY-NOTICES.txt +114672 -0
- package/dist/wasm/reshiki_web.d.ts +91 -0
- package/dist/wasm/reshiki_web.js +537 -0
- package/dist/wasm/reshiki_web_bg.wasm +0 -0
- package/dist/wasm/reshiki_web_bg.wasm.d.ts +20 -0
- package/package.json +49 -4
- package/src/editor.d.ts +58 -0
- package/src/editor.js +57 -0
- package/src/element.d.ts +19 -0
- package/src/element.js +68 -0
- package/src/embed.d.ts +29 -0
- package/src/embed.js +83 -0
- package/src/fonts.d.ts +30 -0
- package/src/fonts.js +95 -0
- package/src/frame.html +53 -0
- package/src/index.d.ts +70 -0
- package/src/index.js +56 -0
|
@@ -0,0 +1,3317 @@
|
|
|
1
|
+
/* @ts-self-types="./reshiki.d.ts" */
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Add a TrueType or OpenType font (or collection) for drawing, measuring and
|
|
5
|
+
* export, before or after `mount`. Text whose own font lacks a glyph falls
|
|
6
|
+
* back to it. Returns how many faces it holds.
|
|
7
|
+
* @param {Uint8Array} bytes
|
|
8
|
+
* @returns {number}
|
|
9
|
+
*/
|
|
10
|
+
export function addFont(bytes) {
|
|
11
|
+
try {
|
|
12
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
13
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_export);
|
|
14
|
+
const len0 = WASM_VECTOR_LEN;
|
|
15
|
+
wasm.addFont(retptr, ptr0, len0);
|
|
16
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
17
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
18
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
19
|
+
if (r2) {
|
|
20
|
+
throw takeObject(r1);
|
|
21
|
+
}
|
|
22
|
+
return r0 >>> 0;
|
|
23
|
+
} finally {
|
|
24
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Stop the editor. Its canvas stays until the page removes it.
|
|
30
|
+
*/
|
|
31
|
+
export function destroy() {
|
|
32
|
+
try {
|
|
33
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
34
|
+
wasm.destroy(retptr);
|
|
35
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
36
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
37
|
+
if (r1) {
|
|
38
|
+
throw takeObject(r0);
|
|
39
|
+
}
|
|
40
|
+
} finally {
|
|
41
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Replace the drawing in front with `data` read as `format`: `rsk`, `mol`,
|
|
47
|
+
* `smiles`, `inchi`, `cdxml`, `cdx`, `rxn`, `rsmi` or `auto`.
|
|
48
|
+
* @param {Uint8Array} data
|
|
49
|
+
* @param {string} format
|
|
50
|
+
* @returns {Promise<void>}
|
|
51
|
+
*/
|
|
52
|
+
export function load(data, format) {
|
|
53
|
+
const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_export);
|
|
54
|
+
const len0 = WASM_VECTOR_LEN;
|
|
55
|
+
const ptr1 = passStringToWasm0(format, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
56
|
+
const len1 = WASM_VECTOR_LEN;
|
|
57
|
+
const ret = wasm.load(ptr0, len0, ptr1, len1);
|
|
58
|
+
return takeObject(ret);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Start the editor in `element`, which it fills, showing `data` read as
|
|
63
|
+
* `format` when given. `on_missing_font` is called once, the first time a
|
|
64
|
+
* caption has Japanese (CJK) text that no loaded font draws. A page can mount one editor; put further editors in
|
|
65
|
+
* iframes.
|
|
66
|
+
* @param {Element} element
|
|
67
|
+
* @param {Uint8Array | null} [data]
|
|
68
|
+
* @param {string | null} [format]
|
|
69
|
+
* @param {Function | null} [on_missing_font]
|
|
70
|
+
* @returns {Promise<void>}
|
|
71
|
+
*/
|
|
72
|
+
export function mount(element, data, format, on_missing_font) {
|
|
73
|
+
var ptr0 = isLikeNone(data) ? 0 : passArray8ToWasm0(data, wasm.__wbindgen_export);
|
|
74
|
+
var len0 = WASM_VECTOR_LEN;
|
|
75
|
+
var ptr1 = isLikeNone(format) ? 0 : passStringToWasm0(format, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
76
|
+
var len1 = WASM_VECTOR_LEN;
|
|
77
|
+
const ret = wasm.mount(addHeapObject(element), ptr0, len0, ptr1, len1, isLikeNone(on_missing_font) ? 0 : addHeapObject(on_missing_font));
|
|
78
|
+
return takeObject(ret);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Call `callback` after each edit to the drawing in front, or stop with none.
|
|
83
|
+
* @param {Function | null} [callback]
|
|
84
|
+
*/
|
|
85
|
+
export function onChange(callback) {
|
|
86
|
+
wasm.onChange(isLikeNone(callback) ? 0 : addHeapObject(callback));
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The drawing in front as `format`: `rsk`, `mol`, `smiles`, `inchi`, `cdxml`,
|
|
91
|
+
* `cdx`, `rxn`, `rsmi`, or a figure (`svg`, `png` or `pdf`) as Export makes it.
|
|
92
|
+
* @param {string} format
|
|
93
|
+
* @returns {Promise<Uint8Array>}
|
|
94
|
+
*/
|
|
95
|
+
export function save(format) {
|
|
96
|
+
const ptr0 = passStringToWasm0(format, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
97
|
+
const len0 = WASM_VECTOR_LEN;
|
|
98
|
+
const ret = wasm.save(ptr0, len0);
|
|
99
|
+
return takeObject(ret);
|
|
100
|
+
}
|
|
101
|
+
function __wbg_get_imports() {
|
|
102
|
+
const import0 = {
|
|
103
|
+
__proto__: null,
|
|
104
|
+
__wbg_Error_67e7344beaa85059: function(arg0, arg1) {
|
|
105
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
106
|
+
return addHeapObject(ret);
|
|
107
|
+
},
|
|
108
|
+
__wbg_Window_c7f91e3f80ae0a0e: function(arg0) {
|
|
109
|
+
const ret = getObject(arg0).Window;
|
|
110
|
+
return addHeapObject(ret);
|
|
111
|
+
},
|
|
112
|
+
__wbg_Window_e0df001eddf1d3fa: function(arg0) {
|
|
113
|
+
const ret = getObject(arg0).Window;
|
|
114
|
+
return addHeapObject(ret);
|
|
115
|
+
},
|
|
116
|
+
__wbg_WorkerGlobalScope_d731e9136c6c49a0: function(arg0) {
|
|
117
|
+
const ret = getObject(arg0).WorkerGlobalScope;
|
|
118
|
+
return addHeapObject(ret);
|
|
119
|
+
},
|
|
120
|
+
__wbg___wbindgen_boolean_get_7a12af2b3f899c5a: function(arg0) {
|
|
121
|
+
const v = getObject(arg0);
|
|
122
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
123
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
124
|
+
},
|
|
125
|
+
__wbg___wbindgen_debug_string_0e68cf47c9cbd9b0: function(arg0, arg1) {
|
|
126
|
+
const ret = debugString(getObject(arg1));
|
|
127
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
128
|
+
const len1 = WASM_VECTOR_LEN;
|
|
129
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
130
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
131
|
+
},
|
|
132
|
+
__wbg___wbindgen_is_function_fcda5e3902d732fe: function(arg0) {
|
|
133
|
+
const ret = typeof(getObject(arg0)) === 'function';
|
|
134
|
+
return ret;
|
|
135
|
+
},
|
|
136
|
+
__wbg___wbindgen_is_null_5160b3e381865372: function(arg0) {
|
|
137
|
+
const ret = getObject(arg0) === null;
|
|
138
|
+
return ret;
|
|
139
|
+
},
|
|
140
|
+
__wbg___wbindgen_is_object_edb6b15aa3afe12e: function(arg0) {
|
|
141
|
+
const val = getObject(arg0);
|
|
142
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
143
|
+
return ret;
|
|
144
|
+
},
|
|
145
|
+
__wbg___wbindgen_is_undefined_8c687d0b90d5b524: function(arg0) {
|
|
146
|
+
const ret = getObject(arg0) === undefined;
|
|
147
|
+
return ret;
|
|
148
|
+
},
|
|
149
|
+
__wbg___wbindgen_number_get_1dc732b810cb937c: function(arg0, arg1) {
|
|
150
|
+
const obj = getObject(arg1);
|
|
151
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
152
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
153
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
154
|
+
},
|
|
155
|
+
__wbg___wbindgen_string_get_92ab86bb19cbc12f: function(arg0, arg1) {
|
|
156
|
+
const obj = getObject(arg1);
|
|
157
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
158
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
159
|
+
var len1 = WASM_VECTOR_LEN;
|
|
160
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
161
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
162
|
+
},
|
|
163
|
+
__wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
|
|
164
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
165
|
+
},
|
|
166
|
+
__wbg__wbg_cb_unref_997e73d32238e655: function(arg0) {
|
|
167
|
+
getObject(arg0)._wbg_cb_unref();
|
|
168
|
+
},
|
|
169
|
+
__wbg_abort_76dea11221098ae5: function(arg0) {
|
|
170
|
+
getObject(arg0).abort();
|
|
171
|
+
},
|
|
172
|
+
__wbg_activeElement_a40cd04e4e5cfaff: function(arg0) {
|
|
173
|
+
const ret = getObject(arg0).activeElement;
|
|
174
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
175
|
+
},
|
|
176
|
+
__wbg_activeTexture_79f1f4662ee9ed93: function(arg0, arg1) {
|
|
177
|
+
getObject(arg0).activeTexture(arg1 >>> 0);
|
|
178
|
+
},
|
|
179
|
+
__wbg_activeTexture_e6dac82eb23d9409: function(arg0, arg1) {
|
|
180
|
+
getObject(arg0).activeTexture(arg1 >>> 0);
|
|
181
|
+
},
|
|
182
|
+
__wbg_addEventListener_9534e2dc12044ee4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
183
|
+
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
184
|
+
}, arguments); },
|
|
185
|
+
__wbg_addListener_d7f516abc7fe0d86: function() { return handleError(function (arg0, arg1) {
|
|
186
|
+
getObject(arg0).addListener(getObject(arg1));
|
|
187
|
+
}, arguments); },
|
|
188
|
+
__wbg_alert_fb8b770ecc700fd5: function(arg0, arg1) {
|
|
189
|
+
alert(getStringFromWasm0(arg0, arg1));
|
|
190
|
+
},
|
|
191
|
+
__wbg_altKey_c75bf4903a5db4c2: function(arg0) {
|
|
192
|
+
const ret = getObject(arg0).altKey;
|
|
193
|
+
return ret;
|
|
194
|
+
},
|
|
195
|
+
__wbg_altKey_fa381deee4b395cd: function(arg0) {
|
|
196
|
+
const ret = getObject(arg0).altKey;
|
|
197
|
+
return ret;
|
|
198
|
+
},
|
|
199
|
+
__wbg_animate_8f41e2f47c7d04ab: function(arg0, arg1, arg2) {
|
|
200
|
+
const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2));
|
|
201
|
+
return addHeapObject(ret);
|
|
202
|
+
},
|
|
203
|
+
__wbg_appendChild_0a61ee9a9da4556f: function() { return handleError(function (arg0, arg1) {
|
|
204
|
+
const ret = getObject(arg0).appendChild(getObject(arg1));
|
|
205
|
+
return addHeapObject(ret);
|
|
206
|
+
}, arguments); },
|
|
207
|
+
__wbg_attachShader_74ecf95efc73ee58: function(arg0, arg1, arg2) {
|
|
208
|
+
getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
|
|
209
|
+
},
|
|
210
|
+
__wbg_attachShader_bfb57af27e3c4a25: function(arg0, arg1, arg2) {
|
|
211
|
+
getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
|
|
212
|
+
},
|
|
213
|
+
__wbg_beginQuery_8c123fa7e7aec2a4: function(arg0, arg1, arg2) {
|
|
214
|
+
getObject(arg0).beginQuery(arg1 >>> 0, getObject(arg2));
|
|
215
|
+
},
|
|
216
|
+
__wbg_beginRenderPass_373f34636d157c43: function() { return handleError(function (arg0, arg1) {
|
|
217
|
+
const ret = getObject(arg0).beginRenderPass(getObject(arg1));
|
|
218
|
+
return addHeapObject(ret);
|
|
219
|
+
}, arguments); },
|
|
220
|
+
__wbg_bindAttribLocation_601c8f14be6021f1: function(arg0, arg1, arg2, arg3, arg4) {
|
|
221
|
+
getObject(arg0).bindAttribLocation(getObject(arg1), arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
222
|
+
},
|
|
223
|
+
__wbg_bindAttribLocation_f97028966e63a9a0: function(arg0, arg1, arg2, arg3, arg4) {
|
|
224
|
+
getObject(arg0).bindAttribLocation(getObject(arg1), arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
225
|
+
},
|
|
226
|
+
__wbg_bindBufferRange_34928ebaef37fa71: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
227
|
+
getObject(arg0).bindBufferRange(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5);
|
|
228
|
+
},
|
|
229
|
+
__wbg_bindBuffer_24fab2b14c509d6f: function(arg0, arg1, arg2) {
|
|
230
|
+
getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
|
|
231
|
+
},
|
|
232
|
+
__wbg_bindBuffer_f1f33e087b91687c: function(arg0, arg1, arg2) {
|
|
233
|
+
getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
|
|
234
|
+
},
|
|
235
|
+
__wbg_bindFramebuffer_6c6a9caf742c2cdb: function(arg0, arg1, arg2) {
|
|
236
|
+
getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
|
|
237
|
+
},
|
|
238
|
+
__wbg_bindFramebuffer_dc00cdd13fca80a8: function(arg0, arg1, arg2) {
|
|
239
|
+
getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
|
|
240
|
+
},
|
|
241
|
+
__wbg_bindRenderbuffer_27f21bc7608d07e3: function(arg0, arg1, arg2) {
|
|
242
|
+
getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));
|
|
243
|
+
},
|
|
244
|
+
__wbg_bindRenderbuffer_a5af5373faa4fb14: function(arg0, arg1, arg2) {
|
|
245
|
+
getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));
|
|
246
|
+
},
|
|
247
|
+
__wbg_bindSampler_06a184f24b4f473a: function(arg0, arg1, arg2) {
|
|
248
|
+
getObject(arg0).bindSampler(arg1 >>> 0, getObject(arg2));
|
|
249
|
+
},
|
|
250
|
+
__wbg_bindTexture_7858cc136e95ec24: function(arg0, arg1, arg2) {
|
|
251
|
+
getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
|
|
252
|
+
},
|
|
253
|
+
__wbg_bindTexture_e8a625bf5d240b0f: function(arg0, arg1, arg2) {
|
|
254
|
+
getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
|
|
255
|
+
},
|
|
256
|
+
__wbg_bindVertexArrayOES_c947f00135eda668: function(arg0, arg1) {
|
|
257
|
+
getObject(arg0).bindVertexArrayOES(getObject(arg1));
|
|
258
|
+
},
|
|
259
|
+
__wbg_bindVertexArray_4687bb1e8b327fc9: function(arg0, arg1) {
|
|
260
|
+
getObject(arg0).bindVertexArray(getObject(arg1));
|
|
261
|
+
},
|
|
262
|
+
__wbg_blendColor_25f3208af2a1a86f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
263
|
+
getObject(arg0).blendColor(arg1, arg2, arg3, arg4);
|
|
264
|
+
},
|
|
265
|
+
__wbg_blendColor_7b3873c65a61b8a7: function(arg0, arg1, arg2, arg3, arg4) {
|
|
266
|
+
getObject(arg0).blendColor(arg1, arg2, arg3, arg4);
|
|
267
|
+
},
|
|
268
|
+
__wbg_blendEquationSeparate_7255a352fb614ccb: function(arg0, arg1, arg2) {
|
|
269
|
+
getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
270
|
+
},
|
|
271
|
+
__wbg_blendEquationSeparate_a63d5c1a833c1137: function(arg0, arg1, arg2) {
|
|
272
|
+
getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
273
|
+
},
|
|
274
|
+
__wbg_blendEquation_1636f14afa7d37d0: function(arg0, arg1) {
|
|
275
|
+
getObject(arg0).blendEquation(arg1 >>> 0);
|
|
276
|
+
},
|
|
277
|
+
__wbg_blendEquation_9a5ca6936a9438b3: function(arg0, arg1) {
|
|
278
|
+
getObject(arg0).blendEquation(arg1 >>> 0);
|
|
279
|
+
},
|
|
280
|
+
__wbg_blendFuncSeparate_1afc51f9c96486b2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
281
|
+
getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
282
|
+
},
|
|
283
|
+
__wbg_blendFuncSeparate_222d39ec0d6bb147: function(arg0, arg1, arg2, arg3, arg4) {
|
|
284
|
+
getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
285
|
+
},
|
|
286
|
+
__wbg_blendFunc_041c4d7dc50ac8c9: function(arg0, arg1, arg2) {
|
|
287
|
+
getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
288
|
+
},
|
|
289
|
+
__wbg_blendFunc_ad7d043180d4f86a: function(arg0, arg1, arg2) {
|
|
290
|
+
getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
291
|
+
},
|
|
292
|
+
__wbg_blitFramebuffer_beb217dd67c23446: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
293
|
+
getObject(arg0).blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);
|
|
294
|
+
},
|
|
295
|
+
__wbg_blockSize_726f0afadf8c1f3f: function(arg0) {
|
|
296
|
+
const ret = getObject(arg0).blockSize;
|
|
297
|
+
return ret;
|
|
298
|
+
},
|
|
299
|
+
__wbg_body_7d83a19bffb260db: function(arg0) {
|
|
300
|
+
const ret = getObject(arg0).body;
|
|
301
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
302
|
+
},
|
|
303
|
+
__wbg_brand_3bc196a43eceb8af: function(arg0, arg1) {
|
|
304
|
+
const ret = getObject(arg1).brand;
|
|
305
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
306
|
+
const len1 = WASM_VECTOR_LEN;
|
|
307
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
308
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
309
|
+
},
|
|
310
|
+
__wbg_brands_b7dcf262485c3e7c: function(arg0) {
|
|
311
|
+
const ret = getObject(arg0).brands;
|
|
312
|
+
return addHeapObject(ret);
|
|
313
|
+
},
|
|
314
|
+
__wbg_bufferData_5d0d376bd14d58f3: function(arg0, arg1, arg2, arg3) {
|
|
315
|
+
getObject(arg0).bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
316
|
+
},
|
|
317
|
+
__wbg_bufferData_9ce5cb209386d279: function(arg0, arg1, arg2, arg3) {
|
|
318
|
+
getObject(arg0).bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
319
|
+
},
|
|
320
|
+
__wbg_bufferData_b58d3ee720ef8b13: function(arg0, arg1, arg2, arg3) {
|
|
321
|
+
getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
|
|
322
|
+
},
|
|
323
|
+
__wbg_bufferData_c074912da5a8e8c2: function(arg0, arg1, arg2, arg3) {
|
|
324
|
+
getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
|
|
325
|
+
},
|
|
326
|
+
__wbg_bufferSubData_1210904a130da787: function(arg0, arg1, arg2, arg3) {
|
|
327
|
+
getObject(arg0).bufferSubData(arg1 >>> 0, arg2, getObject(arg3));
|
|
328
|
+
},
|
|
329
|
+
__wbg_bufferSubData_bb3556faa77ce63a: function(arg0, arg1, arg2, arg3) {
|
|
330
|
+
getObject(arg0).bufferSubData(arg1 >>> 0, arg2, getObject(arg3));
|
|
331
|
+
},
|
|
332
|
+
__wbg_buffer_4a989bded7035f57: function(arg0) {
|
|
333
|
+
const ret = getObject(arg0).buffer;
|
|
334
|
+
return addHeapObject(ret);
|
|
335
|
+
},
|
|
336
|
+
__wbg_button_f6aa74c65b739064: function(arg0) {
|
|
337
|
+
const ret = getObject(arg0).button;
|
|
338
|
+
return ret;
|
|
339
|
+
},
|
|
340
|
+
__wbg_buttons_fc06c2cbd043b4af: function(arg0) {
|
|
341
|
+
const ret = getObject(arg0).buttons;
|
|
342
|
+
return ret;
|
|
343
|
+
},
|
|
344
|
+
__wbg_call_269c5566fbede3eb: function() { return handleError(function (arg0, arg1) {
|
|
345
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
346
|
+
return addHeapObject(ret);
|
|
347
|
+
}, arguments); },
|
|
348
|
+
__wbg_call_6bcf8d3e20937e46: function() { return handleError(function (arg0, arg1, arg2) {
|
|
349
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
350
|
+
return addHeapObject(ret);
|
|
351
|
+
}, arguments); },
|
|
352
|
+
__wbg_cancelAnimationFrame_4fc0f227c45abccf: function() { return handleError(function (arg0, arg1) {
|
|
353
|
+
getObject(arg0).cancelAnimationFrame(arg1);
|
|
354
|
+
}, arguments); },
|
|
355
|
+
__wbg_cancelIdleCallback_0c22b316f4fd67e5: function(arg0, arg1) {
|
|
356
|
+
getObject(arg0).cancelIdleCallback(arg1 >>> 0);
|
|
357
|
+
},
|
|
358
|
+
__wbg_cancel_65f38182e2eeac5c: function(arg0) {
|
|
359
|
+
getObject(arg0).cancel();
|
|
360
|
+
},
|
|
361
|
+
__wbg_catch_e2134ef6dcdb69ed: function(arg0, arg1) {
|
|
362
|
+
const ret = getObject(arg0).catch(getObject(arg1));
|
|
363
|
+
return addHeapObject(ret);
|
|
364
|
+
},
|
|
365
|
+
__wbg_clearBufferfv_5c3233abb46232dd: function(arg0, arg1, arg2, arg3, arg4) {
|
|
366
|
+
getObject(arg0).clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4));
|
|
367
|
+
},
|
|
368
|
+
__wbg_clearBufferiv_a6017e170f127402: function(arg0, arg1, arg2, arg3, arg4) {
|
|
369
|
+
getObject(arg0).clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
|
|
370
|
+
},
|
|
371
|
+
__wbg_clearBufferuiv_a7ff44fb5a19e886: function(arg0, arg1, arg2, arg3, arg4) {
|
|
372
|
+
getObject(arg0).clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4));
|
|
373
|
+
},
|
|
374
|
+
__wbg_clearDepth_a4e9a96e0b87fadb: function(arg0, arg1) {
|
|
375
|
+
getObject(arg0).clearDepth(arg1);
|
|
376
|
+
},
|
|
377
|
+
__wbg_clearDepth_ea9081c357d405be: function(arg0, arg1) {
|
|
378
|
+
getObject(arg0).clearDepth(arg1);
|
|
379
|
+
},
|
|
380
|
+
__wbg_clearStencil_8c03daa5a936cf97: function(arg0, arg1) {
|
|
381
|
+
getObject(arg0).clearStencil(arg1);
|
|
382
|
+
},
|
|
383
|
+
__wbg_clearStencil_bd3508b2e4a055c8: function(arg0, arg1) {
|
|
384
|
+
getObject(arg0).clearStencil(arg1);
|
|
385
|
+
},
|
|
386
|
+
__wbg_clearTimeout_dc6554a9312cb919: function(arg0, arg1) {
|
|
387
|
+
getObject(arg0).clearTimeout(arg1);
|
|
388
|
+
},
|
|
389
|
+
__wbg_clear_55f5d5ab26fe80b4: function(arg0, arg1) {
|
|
390
|
+
getObject(arg0).clear(arg1 >>> 0);
|
|
391
|
+
},
|
|
392
|
+
__wbg_clear_faad852996d5b5ca: function(arg0, arg1) {
|
|
393
|
+
getObject(arg0).clear(arg1 >>> 0);
|
|
394
|
+
},
|
|
395
|
+
__wbg_click_842edec52299234d: function(arg0) {
|
|
396
|
+
getObject(arg0).click();
|
|
397
|
+
},
|
|
398
|
+
__wbg_clientWaitSync_1e222800321920a4: function(arg0, arg1, arg2, arg3) {
|
|
399
|
+
const ret = getObject(arg0).clientWaitSync(getObject(arg1), arg2 >>> 0, arg3 >>> 0);
|
|
400
|
+
return ret;
|
|
401
|
+
},
|
|
402
|
+
__wbg_clipboard_e39061ae5482d3b8: function(arg0) {
|
|
403
|
+
const ret = getObject(arg0).clipboard;
|
|
404
|
+
return addHeapObject(ret);
|
|
405
|
+
},
|
|
406
|
+
__wbg_close_36187477a6c49330: function(arg0) {
|
|
407
|
+
getObject(arg0).close();
|
|
408
|
+
},
|
|
409
|
+
__wbg_code_de6c620a1a241f59: function(arg0, arg1) {
|
|
410
|
+
const ret = getObject(arg1).code;
|
|
411
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
412
|
+
const len1 = WASM_VECTOR_LEN;
|
|
413
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
414
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
415
|
+
},
|
|
416
|
+
__wbg_colorMask_dc6ca7d28d90ca79: function(arg0, arg1, arg2, arg3, arg4) {
|
|
417
|
+
getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
|
|
418
|
+
},
|
|
419
|
+
__wbg_colorMask_ee5503a19adab893: function(arg0, arg1, arg2, arg3, arg4) {
|
|
420
|
+
getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
|
|
421
|
+
},
|
|
422
|
+
__wbg_compileShader_cabeb4aa8cb42914: function(arg0, arg1) {
|
|
423
|
+
getObject(arg0).compileShader(getObject(arg1));
|
|
424
|
+
},
|
|
425
|
+
__wbg_compileShader_dada15a718167c7f: function(arg0, arg1) {
|
|
426
|
+
getObject(arg0).compileShader(getObject(arg1));
|
|
427
|
+
},
|
|
428
|
+
__wbg_compressedTexSubImage2D_08a73ef1b07eadd4: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
429
|
+
getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, getObject(arg8));
|
|
430
|
+
},
|
|
431
|
+
__wbg_compressedTexSubImage2D_26483f478d06e5b6: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
432
|
+
getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, getObject(arg8));
|
|
433
|
+
},
|
|
434
|
+
__wbg_compressedTexSubImage2D_fd0d06f029b00475: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
435
|
+
getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9);
|
|
436
|
+
},
|
|
437
|
+
__wbg_compressedTexSubImage3D_916c6fa47a2c6ca4: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
438
|
+
getObject(arg0).compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, getObject(arg10));
|
|
439
|
+
},
|
|
440
|
+
__wbg_compressedTexSubImage3D_ca08254972ab7956: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
441
|
+
getObject(arg0).compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11);
|
|
442
|
+
},
|
|
443
|
+
__wbg_configure_b39d6ec9527208fd: function() { return handleError(function (arg0, arg1) {
|
|
444
|
+
getObject(arg0).configure(getObject(arg1));
|
|
445
|
+
}, arguments); },
|
|
446
|
+
__wbg_confirm_55ccbfb6f6a5abee: function(arg0, arg1) {
|
|
447
|
+
const ret = confirm(getStringFromWasm0(arg0, arg1));
|
|
448
|
+
return ret;
|
|
449
|
+
},
|
|
450
|
+
__wbg_confirm_df5c452d523920f8: function() { return handleError(function (arg0, arg1, arg2) {
|
|
451
|
+
const ret = getObject(arg0).confirm(getStringFromWasm0(arg1, arg2));
|
|
452
|
+
return ret;
|
|
453
|
+
}, arguments); },
|
|
454
|
+
__wbg_contains_322c48b603c87d38: function(arg0, arg1) {
|
|
455
|
+
const ret = getObject(arg0).contains(getObject(arg1));
|
|
456
|
+
return ret;
|
|
457
|
+
},
|
|
458
|
+
__wbg_contentRect_d4183dcae16ce988: function(arg0) {
|
|
459
|
+
const ret = getObject(arg0).contentRect;
|
|
460
|
+
return addHeapObject(ret);
|
|
461
|
+
},
|
|
462
|
+
__wbg_copyBufferSubData_4649cb7afad601b3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
463
|
+
getObject(arg0).copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
464
|
+
},
|
|
465
|
+
__wbg_copyBufferToBuffer_293ca0a0d09a2280: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
466
|
+
getObject(arg0).copyBufferToBuffer(getObject(arg1), arg2, getObject(arg3), arg4);
|
|
467
|
+
}, arguments); },
|
|
468
|
+
__wbg_copyBufferToBuffer_321eb0198eb9c268: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
469
|
+
getObject(arg0).copyBufferToBuffer(getObject(arg1), arg2, getObject(arg3), arg4, arg5);
|
|
470
|
+
}, arguments); },
|
|
471
|
+
__wbg_copyBufferToTexture_c51059dc3ace2a4b: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
472
|
+
getObject(arg0).copyBufferToTexture(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
473
|
+
}, arguments); },
|
|
474
|
+
__wbg_copyTexSubImage2D_b5dc78e744bb31d3: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
475
|
+
getObject(arg0).copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
|
476
|
+
},
|
|
477
|
+
__wbg_copyTexSubImage2D_f1d2043ea68078f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
478
|
+
getObject(arg0).copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
|
479
|
+
},
|
|
480
|
+
__wbg_copyTexSubImage3D_a6674efc4225de77: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
481
|
+
getObject(arg0).copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
|
|
482
|
+
},
|
|
483
|
+
__wbg_copyTextureToBuffer_f5501895b13306e1: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
484
|
+
getObject(arg0).copyTextureToBuffer(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
485
|
+
}, arguments); },
|
|
486
|
+
__wbg_copyTextureToTexture_facf8ecdb9559cb0: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
487
|
+
getObject(arg0).copyTextureToTexture(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
488
|
+
}, arguments); },
|
|
489
|
+
__wbg_createBindGroupLayout_f5bb5a31b2ac11bf: function() { return handleError(function (arg0, arg1) {
|
|
490
|
+
const ret = getObject(arg0).createBindGroupLayout(getObject(arg1));
|
|
491
|
+
return addHeapObject(ret);
|
|
492
|
+
}, arguments); },
|
|
493
|
+
__wbg_createBindGroup_2290306cfa413c74: function(arg0, arg1) {
|
|
494
|
+
const ret = getObject(arg0).createBindGroup(getObject(arg1));
|
|
495
|
+
return addHeapObject(ret);
|
|
496
|
+
},
|
|
497
|
+
__wbg_createBuffer_77a9a8580e5123cc: function(arg0) {
|
|
498
|
+
const ret = getObject(arg0).createBuffer();
|
|
499
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
500
|
+
},
|
|
501
|
+
__wbg_createBuffer_b4dd77c6c40a2e87: function(arg0) {
|
|
502
|
+
const ret = getObject(arg0).createBuffer();
|
|
503
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
504
|
+
},
|
|
505
|
+
__wbg_createBuffer_e2b25dd1471f92f7: function() { return handleError(function (arg0, arg1) {
|
|
506
|
+
const ret = getObject(arg0).createBuffer(getObject(arg1));
|
|
507
|
+
return addHeapObject(ret);
|
|
508
|
+
}, arguments); },
|
|
509
|
+
__wbg_createCommandEncoder_80578730e7314357: function(arg0, arg1) {
|
|
510
|
+
const ret = getObject(arg0).createCommandEncoder(getObject(arg1));
|
|
511
|
+
return addHeapObject(ret);
|
|
512
|
+
},
|
|
513
|
+
__wbg_createElement_b9024dc5ba95ac27: function() { return handleError(function (arg0, arg1, arg2) {
|
|
514
|
+
const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
|
|
515
|
+
return addHeapObject(ret);
|
|
516
|
+
}, arguments); },
|
|
517
|
+
__wbg_createFramebuffer_aa440c781a6c7da2: function(arg0) {
|
|
518
|
+
const ret = getObject(arg0).createFramebuffer();
|
|
519
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
520
|
+
},
|
|
521
|
+
__wbg_createFramebuffer_ac4ca0fc2cfc1bd1: function(arg0) {
|
|
522
|
+
const ret = getObject(arg0).createFramebuffer();
|
|
523
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
524
|
+
},
|
|
525
|
+
__wbg_createObjectURL_7dadebfd232e594a: function() { return handleError(function (arg0, arg1) {
|
|
526
|
+
const ret = URL.createObjectURL(getObject(arg1));
|
|
527
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
528
|
+
const len1 = WASM_VECTOR_LEN;
|
|
529
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
530
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
531
|
+
}, arguments); },
|
|
532
|
+
__wbg_createPipelineLayout_0ef251301bed0c34: function(arg0, arg1) {
|
|
533
|
+
const ret = getObject(arg0).createPipelineLayout(getObject(arg1));
|
|
534
|
+
return addHeapObject(ret);
|
|
535
|
+
},
|
|
536
|
+
__wbg_createProgram_89a2bb21dab7e222: function(arg0) {
|
|
537
|
+
const ret = getObject(arg0).createProgram();
|
|
538
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
539
|
+
},
|
|
540
|
+
__wbg_createProgram_e43ace4085d1086d: function(arg0) {
|
|
541
|
+
const ret = getObject(arg0).createProgram();
|
|
542
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
543
|
+
},
|
|
544
|
+
__wbg_createQuery_731629e292b35522: function(arg0) {
|
|
545
|
+
const ret = getObject(arg0).createQuery();
|
|
546
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
547
|
+
},
|
|
548
|
+
__wbg_createRenderPipeline_f9f8aa23f50f8a9c: function() { return handleError(function (arg0, arg1) {
|
|
549
|
+
const ret = getObject(arg0).createRenderPipeline(getObject(arg1));
|
|
550
|
+
return addHeapObject(ret);
|
|
551
|
+
}, arguments); },
|
|
552
|
+
__wbg_createRenderbuffer_3605e09d07f5a422: function(arg0) {
|
|
553
|
+
const ret = getObject(arg0).createRenderbuffer();
|
|
554
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
555
|
+
},
|
|
556
|
+
__wbg_createRenderbuffer_42eeb481e4c92ff2: function(arg0) {
|
|
557
|
+
const ret = getObject(arg0).createRenderbuffer();
|
|
558
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
559
|
+
},
|
|
560
|
+
__wbg_createSampler_27c37a8245da51a4: function(arg0, arg1) {
|
|
561
|
+
const ret = getObject(arg0).createSampler(getObject(arg1));
|
|
562
|
+
return addHeapObject(ret);
|
|
563
|
+
},
|
|
564
|
+
__wbg_createSampler_ebfb34feb26878f1: function(arg0) {
|
|
565
|
+
const ret = getObject(arg0).createSampler();
|
|
566
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
567
|
+
},
|
|
568
|
+
__wbg_createShaderModule_eb21a131dfb0d4dc: function(arg0, arg1) {
|
|
569
|
+
const ret = getObject(arg0).createShaderModule(getObject(arg1));
|
|
570
|
+
return addHeapObject(ret);
|
|
571
|
+
},
|
|
572
|
+
__wbg_createShader_4d944e14daceede8: function(arg0, arg1) {
|
|
573
|
+
const ret = getObject(arg0).createShader(arg1 >>> 0);
|
|
574
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
575
|
+
},
|
|
576
|
+
__wbg_createShader_70a84327b207bda4: function(arg0, arg1) {
|
|
577
|
+
const ret = getObject(arg0).createShader(arg1 >>> 0);
|
|
578
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
579
|
+
},
|
|
580
|
+
__wbg_createTexture_284160f981e0075f: function() { return handleError(function (arg0, arg1) {
|
|
581
|
+
const ret = getObject(arg0).createTexture(getObject(arg1));
|
|
582
|
+
return addHeapObject(ret);
|
|
583
|
+
}, arguments); },
|
|
584
|
+
__wbg_createTexture_a409a8c7972e99b3: function(arg0) {
|
|
585
|
+
const ret = getObject(arg0).createTexture();
|
|
586
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
587
|
+
},
|
|
588
|
+
__wbg_createTexture_ecccbb9df64e8c81: function(arg0) {
|
|
589
|
+
const ret = getObject(arg0).createTexture();
|
|
590
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
591
|
+
},
|
|
592
|
+
__wbg_createVertexArrayOES_083ec6fc6262613d: function(arg0) {
|
|
593
|
+
const ret = getObject(arg0).createVertexArrayOES();
|
|
594
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
595
|
+
},
|
|
596
|
+
__wbg_createVertexArray_9411e94d2ee6864e: function(arg0) {
|
|
597
|
+
const ret = getObject(arg0).createVertexArray();
|
|
598
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
599
|
+
},
|
|
600
|
+
__wbg_createView_b09749798973b0f5: function() { return handleError(function (arg0, arg1) {
|
|
601
|
+
const ret = getObject(arg0).createView(getObject(arg1));
|
|
602
|
+
return addHeapObject(ret);
|
|
603
|
+
}, arguments); },
|
|
604
|
+
__wbg_ctrlKey_785e802b8798af13: function(arg0) {
|
|
605
|
+
const ret = getObject(arg0).ctrlKey;
|
|
606
|
+
return ret;
|
|
607
|
+
},
|
|
608
|
+
__wbg_ctrlKey_ba07ac4b2ea90600: function(arg0) {
|
|
609
|
+
const ret = getObject(arg0).ctrlKey;
|
|
610
|
+
return ret;
|
|
611
|
+
},
|
|
612
|
+
__wbg_cullFace_3e14866a0c370004: function(arg0, arg1) {
|
|
613
|
+
getObject(arg0).cullFace(arg1 >>> 0);
|
|
614
|
+
},
|
|
615
|
+
__wbg_cullFace_b64f84debd112644: function(arg0, arg1) {
|
|
616
|
+
getObject(arg0).cullFace(arg1 >>> 0);
|
|
617
|
+
},
|
|
618
|
+
__wbg_deleteBuffer_54e287dbecb17d6e: function(arg0, arg1) {
|
|
619
|
+
getObject(arg0).deleteBuffer(getObject(arg1));
|
|
620
|
+
},
|
|
621
|
+
__wbg_deleteBuffer_c9dc22cdbb93ffbc: function(arg0, arg1) {
|
|
622
|
+
getObject(arg0).deleteBuffer(getObject(arg1));
|
|
623
|
+
},
|
|
624
|
+
__wbg_deleteFramebuffer_6c3b62109b65e8de: function(arg0, arg1) {
|
|
625
|
+
getObject(arg0).deleteFramebuffer(getObject(arg1));
|
|
626
|
+
},
|
|
627
|
+
__wbg_deleteFramebuffer_977fae88c7df1c6f: function(arg0, arg1) {
|
|
628
|
+
getObject(arg0).deleteFramebuffer(getObject(arg1));
|
|
629
|
+
},
|
|
630
|
+
__wbg_deleteProgram_16fe8b000141443c: function(arg0, arg1) {
|
|
631
|
+
getObject(arg0).deleteProgram(getObject(arg1));
|
|
632
|
+
},
|
|
633
|
+
__wbg_deleteProgram_c990794adb74a326: function(arg0, arg1) {
|
|
634
|
+
getObject(arg0).deleteProgram(getObject(arg1));
|
|
635
|
+
},
|
|
636
|
+
__wbg_deleteQuery_670219eac170c9fb: function(arg0, arg1) {
|
|
637
|
+
getObject(arg0).deleteQuery(getObject(arg1));
|
|
638
|
+
},
|
|
639
|
+
__wbg_deleteRenderbuffer_1066bd086097d9c0: function(arg0, arg1) {
|
|
640
|
+
getObject(arg0).deleteRenderbuffer(getObject(arg1));
|
|
641
|
+
},
|
|
642
|
+
__wbg_deleteRenderbuffer_be22a49b59807a79: function(arg0, arg1) {
|
|
643
|
+
getObject(arg0).deleteRenderbuffer(getObject(arg1));
|
|
644
|
+
},
|
|
645
|
+
__wbg_deleteSampler_a7f5bf9c8096d80a: function(arg0, arg1) {
|
|
646
|
+
getObject(arg0).deleteSampler(getObject(arg1));
|
|
647
|
+
},
|
|
648
|
+
__wbg_deleteShader_7169f1760153b284: function(arg0, arg1) {
|
|
649
|
+
getObject(arg0).deleteShader(getObject(arg1));
|
|
650
|
+
},
|
|
651
|
+
__wbg_deleteShader_9b34ccd212c66de7: function(arg0, arg1) {
|
|
652
|
+
getObject(arg0).deleteShader(getObject(arg1));
|
|
653
|
+
},
|
|
654
|
+
__wbg_deleteSync_5f19ce0564df8ade: function(arg0, arg1) {
|
|
655
|
+
getObject(arg0).deleteSync(getObject(arg1));
|
|
656
|
+
},
|
|
657
|
+
__wbg_deleteTexture_4cc3a009d8de3629: function(arg0, arg1) {
|
|
658
|
+
getObject(arg0).deleteTexture(getObject(arg1));
|
|
659
|
+
},
|
|
660
|
+
__wbg_deleteTexture_5f176c5fb10209e7: function(arg0, arg1) {
|
|
661
|
+
getObject(arg0).deleteTexture(getObject(arg1));
|
|
662
|
+
},
|
|
663
|
+
__wbg_deleteVertexArrayOES_8ddbff0c3c4bd01b: function(arg0, arg1) {
|
|
664
|
+
getObject(arg0).deleteVertexArrayOES(getObject(arg1));
|
|
665
|
+
},
|
|
666
|
+
__wbg_deleteVertexArray_a810728c9f325e4c: function(arg0, arg1) {
|
|
667
|
+
getObject(arg0).deleteVertexArray(getObject(arg1));
|
|
668
|
+
},
|
|
669
|
+
__wbg_deltaMode_1f7b0a593ff1ea16: function(arg0) {
|
|
670
|
+
const ret = getObject(arg0).deltaMode;
|
|
671
|
+
return ret;
|
|
672
|
+
},
|
|
673
|
+
__wbg_deltaX_948c3a4bd666561a: function(arg0) {
|
|
674
|
+
const ret = getObject(arg0).deltaX;
|
|
675
|
+
return ret;
|
|
676
|
+
},
|
|
677
|
+
__wbg_deltaY_635e57899c7ee3a1: function(arg0) {
|
|
678
|
+
const ret = getObject(arg0).deltaY;
|
|
679
|
+
return ret;
|
|
680
|
+
},
|
|
681
|
+
__wbg_depthFunc_e3cb63d0ea760f4f: function(arg0, arg1) {
|
|
682
|
+
getObject(arg0).depthFunc(arg1 >>> 0);
|
|
683
|
+
},
|
|
684
|
+
__wbg_depthFunc_fc1a3d2fde41ec92: function(arg0, arg1) {
|
|
685
|
+
getObject(arg0).depthFunc(arg1 >>> 0);
|
|
686
|
+
},
|
|
687
|
+
__wbg_depthMask_77fed42fc2117471: function(arg0, arg1) {
|
|
688
|
+
getObject(arg0).depthMask(arg1 !== 0);
|
|
689
|
+
},
|
|
690
|
+
__wbg_depthMask_e85b064c1ee5147d: function(arg0, arg1) {
|
|
691
|
+
getObject(arg0).depthMask(arg1 !== 0);
|
|
692
|
+
},
|
|
693
|
+
__wbg_depthRange_2b6920405cfb1e3d: function(arg0, arg1, arg2) {
|
|
694
|
+
getObject(arg0).depthRange(arg1, arg2);
|
|
695
|
+
},
|
|
696
|
+
__wbg_depthRange_6e341dd878a6597d: function(arg0, arg1, arg2) {
|
|
697
|
+
getObject(arg0).depthRange(arg1, arg2);
|
|
698
|
+
},
|
|
699
|
+
__wbg_destroy_ebf527bbd86ae58b: function(arg0) {
|
|
700
|
+
getObject(arg0).destroy();
|
|
701
|
+
},
|
|
702
|
+
__wbg_devicePixelContentBoxSize_b18683fceddaada3: function(arg0) {
|
|
703
|
+
const ret = getObject(arg0).devicePixelContentBoxSize;
|
|
704
|
+
return addHeapObject(ret);
|
|
705
|
+
},
|
|
706
|
+
__wbg_devicePixelRatio_da557bfb3b99fb02: function(arg0) {
|
|
707
|
+
const ret = getObject(arg0).devicePixelRatio;
|
|
708
|
+
return ret;
|
|
709
|
+
},
|
|
710
|
+
__wbg_disableVertexAttribArray_45e2fd394cde8686: function(arg0, arg1) {
|
|
711
|
+
getObject(arg0).disableVertexAttribArray(arg1 >>> 0);
|
|
712
|
+
},
|
|
713
|
+
__wbg_disableVertexAttribArray_b985896436c82562: function(arg0, arg1) {
|
|
714
|
+
getObject(arg0).disableVertexAttribArray(arg1 >>> 0);
|
|
715
|
+
},
|
|
716
|
+
__wbg_disable_6907c683adc38e04: function(arg0, arg1) {
|
|
717
|
+
getObject(arg0).disable(arg1 >>> 0);
|
|
718
|
+
},
|
|
719
|
+
__wbg_disable_71ea0d3d0529f100: function(arg0, arg1) {
|
|
720
|
+
getObject(arg0).disable(arg1 >>> 0);
|
|
721
|
+
},
|
|
722
|
+
__wbg_disconnect_8a5b253407e50a15: function(arg0) {
|
|
723
|
+
getObject(arg0).disconnect();
|
|
724
|
+
},
|
|
725
|
+
__wbg_disconnect_cef5c809f09463bb: function(arg0) {
|
|
726
|
+
getObject(arg0).disconnect();
|
|
727
|
+
},
|
|
728
|
+
__wbg_document_c7f486c52d63d24e: function(arg0) {
|
|
729
|
+
const ret = getObject(arg0).document;
|
|
730
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
731
|
+
},
|
|
732
|
+
__wbg_drawArraysInstancedANGLE_1161faf698564d6d: function(arg0, arg1, arg2, arg3, arg4) {
|
|
733
|
+
getObject(arg0).drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
|
|
734
|
+
},
|
|
735
|
+
__wbg_drawArraysInstanced_0ef1fbcdba111c38: function(arg0, arg1, arg2, arg3, arg4) {
|
|
736
|
+
getObject(arg0).drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
|
|
737
|
+
},
|
|
738
|
+
__wbg_drawArrays_983f352c9e94d800: function(arg0, arg1, arg2, arg3) {
|
|
739
|
+
getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3);
|
|
740
|
+
},
|
|
741
|
+
__wbg_drawArrays_bc085b67da45ec03: function(arg0, arg1, arg2, arg3) {
|
|
742
|
+
getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3);
|
|
743
|
+
},
|
|
744
|
+
__wbg_drawBuffersWEBGL_6cfb1b5e064e9ed2: function(arg0, arg1) {
|
|
745
|
+
getObject(arg0).drawBuffersWEBGL(getObject(arg1));
|
|
746
|
+
},
|
|
747
|
+
__wbg_drawBuffers_9b22ea9d8f6a15f0: function(arg0, arg1) {
|
|
748
|
+
getObject(arg0).drawBuffers(getObject(arg1));
|
|
749
|
+
},
|
|
750
|
+
__wbg_drawElementsInstancedANGLE_da080f7c11a85ead: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
751
|
+
getObject(arg0).drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
752
|
+
},
|
|
753
|
+
__wbg_drawElementsInstanced_ea7d6b71beea79a4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
754
|
+
getObject(arg0).drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
755
|
+
},
|
|
756
|
+
__wbg_drawIndexed_a60a41b2b0ffdadf: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
757
|
+
getObject(arg0).drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
758
|
+
},
|
|
759
|
+
__wbg_draw_bcc050d6677121b5: function(arg0, arg1, arg2, arg3, arg4) {
|
|
760
|
+
getObject(arg0).draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
761
|
+
},
|
|
762
|
+
__wbg_enableVertexAttribArray_ad4d8ff487ea8fe1: function(arg0, arg1) {
|
|
763
|
+
getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
|
|
764
|
+
},
|
|
765
|
+
__wbg_enableVertexAttribArray_db5eef27f6b32c4a: function(arg0, arg1) {
|
|
766
|
+
getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
|
|
767
|
+
},
|
|
768
|
+
__wbg_enable_9fb8e4de75a17155: function(arg0, arg1) {
|
|
769
|
+
getObject(arg0).enable(arg1 >>> 0);
|
|
770
|
+
},
|
|
771
|
+
__wbg_enable_9fca6962aca10f48: function(arg0, arg1) {
|
|
772
|
+
getObject(arg0).enable(arg1 >>> 0);
|
|
773
|
+
},
|
|
774
|
+
__wbg_endQuery_4eea0267f103b625: function(arg0, arg1) {
|
|
775
|
+
getObject(arg0).endQuery(arg1 >>> 0);
|
|
776
|
+
},
|
|
777
|
+
__wbg_end_c269ebd826210ed1: function(arg0) {
|
|
778
|
+
getObject(arg0).end();
|
|
779
|
+
},
|
|
780
|
+
__wbg_error_2035bf2c77816487: function(arg0, arg1) {
|
|
781
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
782
|
+
},
|
|
783
|
+
__wbg_error_b7e73e671a58a488: function(arg0, arg1) {
|
|
784
|
+
console.error(getObject(arg0), getObject(arg1));
|
|
785
|
+
},
|
|
786
|
+
__wbg_exitFullscreen_68433121607a460e: function(arg0) {
|
|
787
|
+
getObject(arg0).exitFullscreen();
|
|
788
|
+
},
|
|
789
|
+
__wbg_fenceSync_13999b65854e9b9b: function(arg0, arg1, arg2) {
|
|
790
|
+
const ret = getObject(arg0).fenceSync(arg1 >>> 0, arg2 >>> 0);
|
|
791
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
792
|
+
},
|
|
793
|
+
__wbg_files_054ebec12ea09826: function(arg0) {
|
|
794
|
+
const ret = getObject(arg0).files;
|
|
795
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
796
|
+
},
|
|
797
|
+
__wbg_finish_073e2bc456a4b625: function(arg0) {
|
|
798
|
+
const ret = getObject(arg0).finish();
|
|
799
|
+
return addHeapObject(ret);
|
|
800
|
+
},
|
|
801
|
+
__wbg_finish_e43b1b48427f2db0: function(arg0, arg1) {
|
|
802
|
+
const ret = getObject(arg0).finish(getObject(arg1));
|
|
803
|
+
return addHeapObject(ret);
|
|
804
|
+
},
|
|
805
|
+
__wbg_flush_824eea12383b8cca: function(arg0) {
|
|
806
|
+
getObject(arg0).flush();
|
|
807
|
+
},
|
|
808
|
+
__wbg_flush_c4a6f752e79bfc53: function(arg0) {
|
|
809
|
+
getObject(arg0).flush();
|
|
810
|
+
},
|
|
811
|
+
__wbg_focus_c1b2d4962209010b: function() { return handleError(function (arg0) {
|
|
812
|
+
getObject(arg0).focus();
|
|
813
|
+
}, arguments); },
|
|
814
|
+
__wbg_framebufferRenderbuffer_aa5275e6a52dc6bd: function(arg0, arg1, arg2, arg3, arg4) {
|
|
815
|
+
getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4));
|
|
816
|
+
},
|
|
817
|
+
__wbg_framebufferRenderbuffer_f5e60406b8ee912e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
818
|
+
getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4));
|
|
819
|
+
},
|
|
820
|
+
__wbg_framebufferTexture2D_7a85448ff0ab4b2c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
821
|
+
getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);
|
|
822
|
+
},
|
|
823
|
+
__wbg_framebufferTexture2D_ee6a0d85fd7083aa: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
824
|
+
getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);
|
|
825
|
+
},
|
|
826
|
+
__wbg_framebufferTextureLayer_7c877ec2a0f9220b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
827
|
+
getObject(arg0).framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5);
|
|
828
|
+
},
|
|
829
|
+
__wbg_framebufferTextureMultiviewOVR_64b070ac25c07833: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
830
|
+
getObject(arg0).framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5, arg6);
|
|
831
|
+
},
|
|
832
|
+
__wbg_frontFace_77f09a7664c8cd54: function(arg0, arg1) {
|
|
833
|
+
getObject(arg0).frontFace(arg1 >>> 0);
|
|
834
|
+
},
|
|
835
|
+
__wbg_frontFace_b3888c65efdb32fe: function(arg0, arg1) {
|
|
836
|
+
getObject(arg0).frontFace(arg1 >>> 0);
|
|
837
|
+
},
|
|
838
|
+
__wbg_fullscreenElement_ed7ec71fb58bcc4f: function(arg0) {
|
|
839
|
+
const ret = getObject(arg0).fullscreenElement;
|
|
840
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
841
|
+
},
|
|
842
|
+
__wbg_getBoundingClientRect_299f40f8641457e6: function(arg0) {
|
|
843
|
+
const ret = getObject(arg0).getBoundingClientRect();
|
|
844
|
+
return addHeapObject(ret);
|
|
845
|
+
},
|
|
846
|
+
__wbg_getBufferSubData_2c901ce3bd14301e: function(arg0, arg1, arg2, arg3) {
|
|
847
|
+
getObject(arg0).getBufferSubData(arg1 >>> 0, arg2, getObject(arg3));
|
|
848
|
+
},
|
|
849
|
+
__wbg_getCoalescedEvents_3e003f63d9ebbc05: function(arg0) {
|
|
850
|
+
const ret = getObject(arg0).getCoalescedEvents;
|
|
851
|
+
return addHeapObject(ret);
|
|
852
|
+
},
|
|
853
|
+
__wbg_getCoalescedEvents_52c8badb417d6e40: function(arg0) {
|
|
854
|
+
const ret = getObject(arg0).getCoalescedEvents();
|
|
855
|
+
return addHeapObject(ret);
|
|
856
|
+
},
|
|
857
|
+
__wbg_getComputedStyle_89f9e5c4de4b7edf: function() { return handleError(function (arg0, arg1) {
|
|
858
|
+
const ret = getObject(arg0).getComputedStyle(getObject(arg1));
|
|
859
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
860
|
+
}, arguments); },
|
|
861
|
+
__wbg_getContext_2c75bba1a1c9739b: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
862
|
+
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
863
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
864
|
+
}, arguments); },
|
|
865
|
+
__wbg_getContext_5ff6bd600503b094: function() { return handleError(function (arg0, arg1, arg2) {
|
|
866
|
+
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
|
|
867
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
868
|
+
}, arguments); },
|
|
869
|
+
__wbg_getContext_db25e9527f2ccc08: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
870
|
+
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
871
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
872
|
+
}, arguments); },
|
|
873
|
+
__wbg_getContext_e0c05ffee530bdcf: function() { return handleError(function (arg0, arg1, arg2) {
|
|
874
|
+
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
|
|
875
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
876
|
+
}, arguments); },
|
|
877
|
+
__wbg_getCurrentTexture_7edbea16b438c9fc: function() { return handleError(function (arg0) {
|
|
878
|
+
const ret = getObject(arg0).getCurrentTexture();
|
|
879
|
+
return addHeapObject(ret);
|
|
880
|
+
}, arguments); },
|
|
881
|
+
__wbg_getExtension_112db5d69fdfc10f: function() { return handleError(function (arg0, arg1, arg2) {
|
|
882
|
+
const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));
|
|
883
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
884
|
+
}, arguments); },
|
|
885
|
+
__wbg_getIndexedParameter_d4437eb4ad4a0bfa: function() { return handleError(function (arg0, arg1, arg2) {
|
|
886
|
+
const ret = getObject(arg0).getIndexedParameter(arg1 >>> 0, arg2 >>> 0);
|
|
887
|
+
return addHeapObject(ret);
|
|
888
|
+
}, arguments); },
|
|
889
|
+
__wbg_getMappedRange_191c0084744858f0: function() { return handleError(function (arg0, arg1, arg2) {
|
|
890
|
+
const ret = getObject(arg0).getMappedRange(arg1, arg2);
|
|
891
|
+
return addHeapObject(ret);
|
|
892
|
+
}, arguments); },
|
|
893
|
+
__wbg_getOwnPropertyDescriptor_4a4c6c46eaaf8da4: function(arg0, arg1) {
|
|
894
|
+
const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1));
|
|
895
|
+
return addHeapObject(ret);
|
|
896
|
+
},
|
|
897
|
+
__wbg_getParameter_031885c3618c2d0c: function() { return handleError(function (arg0, arg1) {
|
|
898
|
+
const ret = getObject(arg0).getParameter(arg1 >>> 0);
|
|
899
|
+
return addHeapObject(ret);
|
|
900
|
+
}, arguments); },
|
|
901
|
+
__wbg_getParameter_7f269432cd46eb73: function() { return handleError(function (arg0, arg1) {
|
|
902
|
+
const ret = getObject(arg0).getParameter(arg1 >>> 0);
|
|
903
|
+
return addHeapObject(ret);
|
|
904
|
+
}, arguments); },
|
|
905
|
+
__wbg_getPreferredCanvasFormat_56e30944cc798353: function(arg0) {
|
|
906
|
+
const ret = getObject(arg0).getPreferredCanvasFormat();
|
|
907
|
+
return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 96) - 1;
|
|
908
|
+
},
|
|
909
|
+
__wbg_getProgramInfoLog_0e335b65673afba8: function(arg0, arg1, arg2) {
|
|
910
|
+
const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
|
|
911
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
912
|
+
var len1 = WASM_VECTOR_LEN;
|
|
913
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
914
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
915
|
+
},
|
|
916
|
+
__wbg_getProgramInfoLog_82aa11c9d7e8d96e: function(arg0, arg1, arg2) {
|
|
917
|
+
const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
|
|
918
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
919
|
+
var len1 = WASM_VECTOR_LEN;
|
|
920
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
921
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
922
|
+
},
|
|
923
|
+
__wbg_getProgramParameter_1a93fd2f4dcc0622: function(arg0, arg1, arg2) {
|
|
924
|
+
const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
|
|
925
|
+
return addHeapObject(ret);
|
|
926
|
+
},
|
|
927
|
+
__wbg_getProgramParameter_2a5860ab824690ec: function(arg0, arg1, arg2) {
|
|
928
|
+
const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
|
|
929
|
+
return addHeapObject(ret);
|
|
930
|
+
},
|
|
931
|
+
__wbg_getPropertyValue_778f881c5d299730: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
932
|
+
const ret = getObject(arg1).getPropertyValue(getStringFromWasm0(arg2, arg3));
|
|
933
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
934
|
+
const len1 = WASM_VECTOR_LEN;
|
|
935
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
936
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
937
|
+
}, arguments); },
|
|
938
|
+
__wbg_getQueryParameter_145128cfab5de56d: function(arg0, arg1, arg2) {
|
|
939
|
+
const ret = getObject(arg0).getQueryParameter(getObject(arg1), arg2 >>> 0);
|
|
940
|
+
return addHeapObject(ret);
|
|
941
|
+
},
|
|
942
|
+
__wbg_getShaderInfoLog_416aea280f6fdf84: function(arg0, arg1, arg2) {
|
|
943
|
+
const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
|
|
944
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
945
|
+
var len1 = WASM_VECTOR_LEN;
|
|
946
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
947
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
948
|
+
},
|
|
949
|
+
__wbg_getShaderInfoLog_e66ab6619bcd208d: function(arg0, arg1, arg2) {
|
|
950
|
+
const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
|
|
951
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
952
|
+
var len1 = WASM_VECTOR_LEN;
|
|
953
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
954
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
955
|
+
},
|
|
956
|
+
__wbg_getShaderParameter_b19fb6adcff77066: function(arg0, arg1, arg2) {
|
|
957
|
+
const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
|
|
958
|
+
return addHeapObject(ret);
|
|
959
|
+
},
|
|
960
|
+
__wbg_getShaderParameter_d542b1412563ae42: function(arg0, arg1, arg2) {
|
|
961
|
+
const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
|
|
962
|
+
return addHeapObject(ret);
|
|
963
|
+
},
|
|
964
|
+
__wbg_getSupportedExtensions_67cde11dd49cad1a: function(arg0) {
|
|
965
|
+
const ret = getObject(arg0).getSupportedExtensions();
|
|
966
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
967
|
+
},
|
|
968
|
+
__wbg_getSupportedProfiles_abd53cd63178e1e0: function(arg0) {
|
|
969
|
+
const ret = getObject(arg0).getSupportedProfiles();
|
|
970
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
971
|
+
},
|
|
972
|
+
__wbg_getSyncParameter_f4eeca8570f06af5: function(arg0, arg1, arg2) {
|
|
973
|
+
const ret = getObject(arg0).getSyncParameter(getObject(arg1), arg2 >>> 0);
|
|
974
|
+
return addHeapObject(ret);
|
|
975
|
+
},
|
|
976
|
+
__wbg_getUniformBlockIndex_db57fe2d6ed6af2a: function(arg0, arg1, arg2, arg3) {
|
|
977
|
+
const ret = getObject(arg0).getUniformBlockIndex(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
978
|
+
return ret;
|
|
979
|
+
},
|
|
980
|
+
__wbg_getUniformLocation_03b9677a8f868582: function(arg0, arg1, arg2, arg3) {
|
|
981
|
+
const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
982
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
983
|
+
},
|
|
984
|
+
__wbg_getUniformLocation_20bad5ce4a0aaae4: function(arg0, arg1, arg2, arg3) {
|
|
985
|
+
const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
986
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
987
|
+
},
|
|
988
|
+
__wbg_get_66aa90c49c0d309f: function(arg0, arg1) {
|
|
989
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
990
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
991
|
+
},
|
|
992
|
+
__wbg_get_95e4d462165c92ae: function(arg0, arg1) {
|
|
993
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
994
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
995
|
+
},
|
|
996
|
+
__wbg_get_989d0a1309644f2b: function() { return handleError(function (arg0, arg1) {
|
|
997
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
998
|
+
return addHeapObject(ret);
|
|
999
|
+
}, arguments); },
|
|
1000
|
+
__wbg_get_b1f0ab13c737f856: function(arg0, arg1) {
|
|
1001
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
1002
|
+
return addHeapObject(ret);
|
|
1003
|
+
},
|
|
1004
|
+
__wbg_get_unchecked_363572bdd397d473: function(arg0, arg1) {
|
|
1005
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
1006
|
+
return addHeapObject(ret);
|
|
1007
|
+
},
|
|
1008
|
+
__wbg_gpu_7c0927abcc96dd45: function(arg0) {
|
|
1009
|
+
const ret = getObject(arg0).gpu;
|
|
1010
|
+
return addHeapObject(ret);
|
|
1011
|
+
},
|
|
1012
|
+
__wbg_height_d011730144e088ea: function(arg0) {
|
|
1013
|
+
const ret = getObject(arg0).height;
|
|
1014
|
+
return ret;
|
|
1015
|
+
},
|
|
1016
|
+
__wbg_id_a2ad1f89e66cf394: function(arg0, arg1) {
|
|
1017
|
+
const ret = getObject(arg1).id;
|
|
1018
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1019
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1020
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1021
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1022
|
+
},
|
|
1023
|
+
__wbg_includes_c0f578d8314b8dbf: function(arg0, arg1, arg2) {
|
|
1024
|
+
const ret = getObject(arg0).includes(getObject(arg1), arg2);
|
|
1025
|
+
return ret;
|
|
1026
|
+
},
|
|
1027
|
+
__wbg_inlineSize_199278605b83587a: function(arg0) {
|
|
1028
|
+
const ret = getObject(arg0).inlineSize;
|
|
1029
|
+
return ret;
|
|
1030
|
+
},
|
|
1031
|
+
__wbg_instanceof_GpuAdapter_5e451ad6596e2784: function(arg0) {
|
|
1032
|
+
let result;
|
|
1033
|
+
try {
|
|
1034
|
+
result = getObject(arg0) instanceof GPUAdapter;
|
|
1035
|
+
} catch (_) {
|
|
1036
|
+
result = false;
|
|
1037
|
+
}
|
|
1038
|
+
const ret = result;
|
|
1039
|
+
return ret;
|
|
1040
|
+
},
|
|
1041
|
+
__wbg_instanceof_GpuCanvasContext_f70ee27f49f4f884: function(arg0) {
|
|
1042
|
+
let result;
|
|
1043
|
+
try {
|
|
1044
|
+
result = getObject(arg0) instanceof GPUCanvasContext;
|
|
1045
|
+
} catch (_) {
|
|
1046
|
+
result = false;
|
|
1047
|
+
}
|
|
1048
|
+
const ret = result;
|
|
1049
|
+
return ret;
|
|
1050
|
+
},
|
|
1051
|
+
__wbg_instanceof_HtmlAnchorElement_282a8e09d28260d3: function(arg0) {
|
|
1052
|
+
let result;
|
|
1053
|
+
try {
|
|
1054
|
+
result = getObject(arg0) instanceof HTMLAnchorElement;
|
|
1055
|
+
} catch (_) {
|
|
1056
|
+
result = false;
|
|
1057
|
+
}
|
|
1058
|
+
const ret = result;
|
|
1059
|
+
return ret;
|
|
1060
|
+
},
|
|
1061
|
+
__wbg_instanceof_HtmlButtonElement_5a447ec65f8a3786: function(arg0) {
|
|
1062
|
+
let result;
|
|
1063
|
+
try {
|
|
1064
|
+
result = getObject(arg0) instanceof HTMLButtonElement;
|
|
1065
|
+
} catch (_) {
|
|
1066
|
+
result = false;
|
|
1067
|
+
}
|
|
1068
|
+
const ret = result;
|
|
1069
|
+
return ret;
|
|
1070
|
+
},
|
|
1071
|
+
__wbg_instanceof_HtmlCanvasElement_4d7e131643d814c1: function(arg0) {
|
|
1072
|
+
let result;
|
|
1073
|
+
try {
|
|
1074
|
+
result = getObject(arg0) instanceof HTMLCanvasElement;
|
|
1075
|
+
} catch (_) {
|
|
1076
|
+
result = false;
|
|
1077
|
+
}
|
|
1078
|
+
const ret = result;
|
|
1079
|
+
return ret;
|
|
1080
|
+
},
|
|
1081
|
+
__wbg_instanceof_HtmlElement_bd89ce6abf9dad44: function(arg0) {
|
|
1082
|
+
let result;
|
|
1083
|
+
try {
|
|
1084
|
+
result = getObject(arg0) instanceof HTMLElement;
|
|
1085
|
+
} catch (_) {
|
|
1086
|
+
result = false;
|
|
1087
|
+
}
|
|
1088
|
+
const ret = result;
|
|
1089
|
+
return ret;
|
|
1090
|
+
},
|
|
1091
|
+
__wbg_instanceof_HtmlInputElement_086894dc9c868a64: function(arg0) {
|
|
1092
|
+
let result;
|
|
1093
|
+
try {
|
|
1094
|
+
result = getObject(arg0) instanceof HTMLInputElement;
|
|
1095
|
+
} catch (_) {
|
|
1096
|
+
result = false;
|
|
1097
|
+
}
|
|
1098
|
+
const ret = result;
|
|
1099
|
+
return ret;
|
|
1100
|
+
},
|
|
1101
|
+
__wbg_instanceof_Promise_f6320f682f582ddf: function(arg0) {
|
|
1102
|
+
let result;
|
|
1103
|
+
try {
|
|
1104
|
+
result = getObject(arg0) instanceof Promise;
|
|
1105
|
+
} catch (_) {
|
|
1106
|
+
result = false;
|
|
1107
|
+
}
|
|
1108
|
+
const ret = result;
|
|
1109
|
+
return ret;
|
|
1110
|
+
},
|
|
1111
|
+
__wbg_instanceof_WebGl2RenderingContext_015d221b904a3c7b: function(arg0) {
|
|
1112
|
+
let result;
|
|
1113
|
+
try {
|
|
1114
|
+
result = getObject(arg0) instanceof WebGL2RenderingContext;
|
|
1115
|
+
} catch (_) {
|
|
1116
|
+
result = false;
|
|
1117
|
+
}
|
|
1118
|
+
const ret = result;
|
|
1119
|
+
return ret;
|
|
1120
|
+
},
|
|
1121
|
+
__wbg_instanceof_Window_a3b8566f0a9c5d1a: function(arg0) {
|
|
1122
|
+
let result;
|
|
1123
|
+
try {
|
|
1124
|
+
result = getObject(arg0) instanceof Window;
|
|
1125
|
+
} catch (_) {
|
|
1126
|
+
result = false;
|
|
1127
|
+
}
|
|
1128
|
+
const ret = result;
|
|
1129
|
+
return ret;
|
|
1130
|
+
},
|
|
1131
|
+
__wbg_invalidateFramebuffer_4538559f02a556ae: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1132
|
+
getObject(arg0).invalidateFramebuffer(arg1 >>> 0, getObject(arg2));
|
|
1133
|
+
}, arguments); },
|
|
1134
|
+
__wbg_isIntersecting_4b154fb6df9d9a6d: function(arg0) {
|
|
1135
|
+
const ret = getObject(arg0).isIntersecting;
|
|
1136
|
+
return ret;
|
|
1137
|
+
},
|
|
1138
|
+
__wbg_is_61443cc073056436: function(arg0, arg1) {
|
|
1139
|
+
const ret = Object.is(getObject(arg0), getObject(arg1));
|
|
1140
|
+
return ret;
|
|
1141
|
+
},
|
|
1142
|
+
__wbg_key_d29d670923b81510: function(arg0, arg1) {
|
|
1143
|
+
const ret = getObject(arg1).key;
|
|
1144
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1145
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1146
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1147
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1148
|
+
},
|
|
1149
|
+
__wbg_label_0abc44bf8d3a3e99: function(arg0, arg1) {
|
|
1150
|
+
const ret = getObject(arg1).label;
|
|
1151
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1152
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1153
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1154
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1155
|
+
},
|
|
1156
|
+
__wbg_length_31bdaf014f5fbde2: function(arg0) {
|
|
1157
|
+
const ret = getObject(arg0).length;
|
|
1158
|
+
return ret;
|
|
1159
|
+
},
|
|
1160
|
+
__wbg_length_4e1adc0d42e23620: function(arg0) {
|
|
1161
|
+
const ret = getObject(arg0).length;
|
|
1162
|
+
return ret;
|
|
1163
|
+
},
|
|
1164
|
+
__wbg_length_c0ad739f2efc455b: function(arg0) {
|
|
1165
|
+
const ret = getObject(arg0).length;
|
|
1166
|
+
return ret;
|
|
1167
|
+
},
|
|
1168
|
+
__wbg_limits_764638d29dec49d4: function(arg0) {
|
|
1169
|
+
const ret = getObject(arg0).limits;
|
|
1170
|
+
return addHeapObject(ret);
|
|
1171
|
+
},
|
|
1172
|
+
__wbg_limits_ea7aa423b3575ea6: function(arg0) {
|
|
1173
|
+
const ret = getObject(arg0).limits;
|
|
1174
|
+
return addHeapObject(ret);
|
|
1175
|
+
},
|
|
1176
|
+
__wbg_linkProgram_794fd290a759542a: function(arg0, arg1) {
|
|
1177
|
+
getObject(arg0).linkProgram(getObject(arg1));
|
|
1178
|
+
},
|
|
1179
|
+
__wbg_linkProgram_e408ee5f93686f1f: function(arg0, arg1) {
|
|
1180
|
+
getObject(arg0).linkProgram(getObject(arg1));
|
|
1181
|
+
},
|
|
1182
|
+
__wbg_location_4cfd4b7727d1ad11: function(arg0) {
|
|
1183
|
+
const ret = getObject(arg0).location;
|
|
1184
|
+
return ret;
|
|
1185
|
+
},
|
|
1186
|
+
__wbg_mapAsync_1be2f9e8f464f69e: function(arg0, arg1, arg2, arg3) {
|
|
1187
|
+
const ret = getObject(arg0).mapAsync(arg1 >>> 0, arg2, arg3);
|
|
1188
|
+
return addHeapObject(ret);
|
|
1189
|
+
},
|
|
1190
|
+
__wbg_matchMedia_0e1d9f8bfb0f1f46: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1191
|
+
const ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2));
|
|
1192
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1193
|
+
}, arguments); },
|
|
1194
|
+
__wbg_matches_0c791086704a6cb5: function(arg0) {
|
|
1195
|
+
const ret = getObject(arg0).matches;
|
|
1196
|
+
return ret;
|
|
1197
|
+
},
|
|
1198
|
+
__wbg_maxBindGroups_c439abd1498fc924: function(arg0) {
|
|
1199
|
+
const ret = getObject(arg0).maxBindGroups;
|
|
1200
|
+
return ret;
|
|
1201
|
+
},
|
|
1202
|
+
__wbg_maxBindingsPerBindGroup_186292f383c7b982: function(arg0) {
|
|
1203
|
+
const ret = getObject(arg0).maxBindingsPerBindGroup;
|
|
1204
|
+
return ret;
|
|
1205
|
+
},
|
|
1206
|
+
__wbg_maxBufferSize_87b76aa2842d0e8e: function(arg0) {
|
|
1207
|
+
const ret = getObject(arg0).maxBufferSize;
|
|
1208
|
+
return ret;
|
|
1209
|
+
},
|
|
1210
|
+
__wbg_maxColorAttachmentBytesPerSample_2ba81ae1e2742413: function(arg0) {
|
|
1211
|
+
const ret = getObject(arg0).maxColorAttachmentBytesPerSample;
|
|
1212
|
+
return ret;
|
|
1213
|
+
},
|
|
1214
|
+
__wbg_maxColorAttachments_1ec5191521ef0d22: function(arg0) {
|
|
1215
|
+
const ret = getObject(arg0).maxColorAttachments;
|
|
1216
|
+
return ret;
|
|
1217
|
+
},
|
|
1218
|
+
__wbg_maxComputeInvocationsPerWorkgroup_ee67a82206d412d2: function(arg0) {
|
|
1219
|
+
const ret = getObject(arg0).maxComputeInvocationsPerWorkgroup;
|
|
1220
|
+
return ret;
|
|
1221
|
+
},
|
|
1222
|
+
__wbg_maxComputeWorkgroupSizeX_0b2b16b802f85a14: function(arg0) {
|
|
1223
|
+
const ret = getObject(arg0).maxComputeWorkgroupSizeX;
|
|
1224
|
+
return ret;
|
|
1225
|
+
},
|
|
1226
|
+
__wbg_maxComputeWorkgroupSizeY_00d8aeba9472fdb2: function(arg0) {
|
|
1227
|
+
const ret = getObject(arg0).maxComputeWorkgroupSizeY;
|
|
1228
|
+
return ret;
|
|
1229
|
+
},
|
|
1230
|
+
__wbg_maxComputeWorkgroupSizeZ_351fd9dab4c07321: function(arg0) {
|
|
1231
|
+
const ret = getObject(arg0).maxComputeWorkgroupSizeZ;
|
|
1232
|
+
return ret;
|
|
1233
|
+
},
|
|
1234
|
+
__wbg_maxComputeWorkgroupStorageSize_881d2b675868eb68: function(arg0) {
|
|
1235
|
+
const ret = getObject(arg0).maxComputeWorkgroupStorageSize;
|
|
1236
|
+
return ret;
|
|
1237
|
+
},
|
|
1238
|
+
__wbg_maxComputeWorkgroupsPerDimension_21c223eca6bd6d6b: function(arg0) {
|
|
1239
|
+
const ret = getObject(arg0).maxComputeWorkgroupsPerDimension;
|
|
1240
|
+
return ret;
|
|
1241
|
+
},
|
|
1242
|
+
__wbg_maxDynamicStorageBuffersPerPipelineLayout_7155d3f7a514a157: function(arg0) {
|
|
1243
|
+
const ret = getObject(arg0).maxDynamicStorageBuffersPerPipelineLayout;
|
|
1244
|
+
return ret;
|
|
1245
|
+
},
|
|
1246
|
+
__wbg_maxDynamicUniformBuffersPerPipelineLayout_76dee9028eaa5322: function(arg0) {
|
|
1247
|
+
const ret = getObject(arg0).maxDynamicUniformBuffersPerPipelineLayout;
|
|
1248
|
+
return ret;
|
|
1249
|
+
},
|
|
1250
|
+
__wbg_maxSampledTexturesPerShaderStage_78d018dcd0b999c8: function(arg0) {
|
|
1251
|
+
const ret = getObject(arg0).maxSampledTexturesPerShaderStage;
|
|
1252
|
+
return ret;
|
|
1253
|
+
},
|
|
1254
|
+
__wbg_maxSamplersPerShaderStage_0e3ad4d70194a7c2: function(arg0) {
|
|
1255
|
+
const ret = getObject(arg0).maxSamplersPerShaderStage;
|
|
1256
|
+
return ret;
|
|
1257
|
+
},
|
|
1258
|
+
__wbg_maxStorageBufferBindingSize_30a1e5c0b8fcd992: function(arg0) {
|
|
1259
|
+
const ret = getObject(arg0).maxStorageBufferBindingSize;
|
|
1260
|
+
return ret;
|
|
1261
|
+
},
|
|
1262
|
+
__wbg_maxStorageBuffersPerShaderStage_d77703e9a0d5960e: function(arg0) {
|
|
1263
|
+
const ret = getObject(arg0).maxStorageBuffersPerShaderStage;
|
|
1264
|
+
return ret;
|
|
1265
|
+
},
|
|
1266
|
+
__wbg_maxStorageTexturesPerShaderStage_c09e7daf1141067e: function(arg0) {
|
|
1267
|
+
const ret = getObject(arg0).maxStorageTexturesPerShaderStage;
|
|
1268
|
+
return ret;
|
|
1269
|
+
},
|
|
1270
|
+
__wbg_maxTextureArrayLayers_44d8badedb4e5245: function(arg0) {
|
|
1271
|
+
const ret = getObject(arg0).maxTextureArrayLayers;
|
|
1272
|
+
return ret;
|
|
1273
|
+
},
|
|
1274
|
+
__wbg_maxTextureDimension1D_6d1ff8e56b9cf824: function(arg0) {
|
|
1275
|
+
const ret = getObject(arg0).maxTextureDimension1D;
|
|
1276
|
+
return ret;
|
|
1277
|
+
},
|
|
1278
|
+
__wbg_maxTextureDimension2D_5ef5830837d92b7c: function(arg0) {
|
|
1279
|
+
const ret = getObject(arg0).maxTextureDimension2D;
|
|
1280
|
+
return ret;
|
|
1281
|
+
},
|
|
1282
|
+
__wbg_maxTextureDimension3D_cfdebbf2b20068cd: function(arg0) {
|
|
1283
|
+
const ret = getObject(arg0).maxTextureDimension3D;
|
|
1284
|
+
return ret;
|
|
1285
|
+
},
|
|
1286
|
+
__wbg_maxUniformBufferBindingSize_63dc0c714d2fcebe: function(arg0) {
|
|
1287
|
+
const ret = getObject(arg0).maxUniformBufferBindingSize;
|
|
1288
|
+
return ret;
|
|
1289
|
+
},
|
|
1290
|
+
__wbg_maxUniformBuffersPerShaderStage_a52382f8a7dfc816: function(arg0) {
|
|
1291
|
+
const ret = getObject(arg0).maxUniformBuffersPerShaderStage;
|
|
1292
|
+
return ret;
|
|
1293
|
+
},
|
|
1294
|
+
__wbg_maxVertexAttributes_4c83ac8c1d442e1c: function(arg0) {
|
|
1295
|
+
const ret = getObject(arg0).maxVertexAttributes;
|
|
1296
|
+
return ret;
|
|
1297
|
+
},
|
|
1298
|
+
__wbg_maxVertexBufferArrayStride_955879053ec672f8: function(arg0) {
|
|
1299
|
+
const ret = getObject(arg0).maxVertexBufferArrayStride;
|
|
1300
|
+
return ret;
|
|
1301
|
+
},
|
|
1302
|
+
__wbg_maxVertexBuffers_0bb014e62f100c6c: function(arg0) {
|
|
1303
|
+
const ret = getObject(arg0).maxVertexBuffers;
|
|
1304
|
+
return ret;
|
|
1305
|
+
},
|
|
1306
|
+
__wbg_metaKey_3f9183dfd5e1b726: function(arg0) {
|
|
1307
|
+
const ret = getObject(arg0).metaKey;
|
|
1308
|
+
return ret;
|
|
1309
|
+
},
|
|
1310
|
+
__wbg_metaKey_feb71e77f26b1a4c: function(arg0) {
|
|
1311
|
+
const ret = getObject(arg0).metaKey;
|
|
1312
|
+
return ret;
|
|
1313
|
+
},
|
|
1314
|
+
__wbg_minStorageBufferOffsetAlignment_6ed09762e603ac3a: function(arg0) {
|
|
1315
|
+
const ret = getObject(arg0).minStorageBufferOffsetAlignment;
|
|
1316
|
+
return ret;
|
|
1317
|
+
},
|
|
1318
|
+
__wbg_minUniformBufferOffsetAlignment_02579f79815cf83c: function(arg0) {
|
|
1319
|
+
const ret = getObject(arg0).minUniformBufferOffsetAlignment;
|
|
1320
|
+
return ret;
|
|
1321
|
+
},
|
|
1322
|
+
__wbg_movementX_62898caae699dffe: function(arg0) {
|
|
1323
|
+
const ret = getObject(arg0).movementX;
|
|
1324
|
+
return ret;
|
|
1325
|
+
},
|
|
1326
|
+
__wbg_movementY_b1dec3289b6b61b0: function(arg0) {
|
|
1327
|
+
const ret = getObject(arg0).movementY;
|
|
1328
|
+
return ret;
|
|
1329
|
+
},
|
|
1330
|
+
__wbg_name_9240af9c79ef35aa: function(arg0, arg1) {
|
|
1331
|
+
const ret = getObject(arg1).name;
|
|
1332
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1333
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1334
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1335
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1336
|
+
},
|
|
1337
|
+
__wbg_navigator_d217ca64c4bbff48: function(arg0) {
|
|
1338
|
+
const ret = getObject(arg0).navigator;
|
|
1339
|
+
return addHeapObject(ret);
|
|
1340
|
+
},
|
|
1341
|
+
__wbg_navigator_d25c0f071226f233: function(arg0) {
|
|
1342
|
+
const ret = getObject(arg0).navigator;
|
|
1343
|
+
return addHeapObject(ret);
|
|
1344
|
+
},
|
|
1345
|
+
__wbg_new_1da3429bc3c4541c: function(arg0) {
|
|
1346
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
1347
|
+
return addHeapObject(ret);
|
|
1348
|
+
},
|
|
1349
|
+
__wbg_new_8f72ed7c652bf5a2: function(arg0, arg1) {
|
|
1350
|
+
try {
|
|
1351
|
+
var state0 = {a: arg0, b: arg1};
|
|
1352
|
+
var cb0 = (arg0, arg1) => {
|
|
1353
|
+
const a = state0.a;
|
|
1354
|
+
state0.a = 0;
|
|
1355
|
+
try {
|
|
1356
|
+
return __wasm_bindgen_func_elem_13027(a, state0.b, arg0, arg1);
|
|
1357
|
+
} finally {
|
|
1358
|
+
state0.a = a;
|
|
1359
|
+
}
|
|
1360
|
+
};
|
|
1361
|
+
const ret = new Promise(cb0);
|
|
1362
|
+
return addHeapObject(ret);
|
|
1363
|
+
} finally {
|
|
1364
|
+
state0.a = 0;
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
__wbg_new_a313bf260f9bdcc3: function() { return handleError(function (arg0, arg1) {
|
|
1368
|
+
const ret = new Worker(getStringFromWasm0(arg0, arg1));
|
|
1369
|
+
return addHeapObject(ret);
|
|
1370
|
+
}, arguments); },
|
|
1371
|
+
__wbg_new_baa0a0207935dd43: function() { return handleError(function () {
|
|
1372
|
+
const ret = new AbortController();
|
|
1373
|
+
return addHeapObject(ret);
|
|
1374
|
+
}, arguments); },
|
|
1375
|
+
__wbg_new_bebc3f4757acf305: function() {
|
|
1376
|
+
const ret = new Object();
|
|
1377
|
+
return addHeapObject(ret);
|
|
1378
|
+
},
|
|
1379
|
+
__wbg_new_c4580c9df5672fa0: function() { return handleError(function (arg0) {
|
|
1380
|
+
const ret = new IntersectionObserver(getObject(arg0));
|
|
1381
|
+
return addHeapObject(ret);
|
|
1382
|
+
}, arguments); },
|
|
1383
|
+
__wbg_new_d0cecdd4b12bd7a1: function() { return handleError(function (arg0) {
|
|
1384
|
+
const ret = new ResizeObserver(getObject(arg0));
|
|
1385
|
+
return addHeapObject(ret);
|
|
1386
|
+
}, arguments); },
|
|
1387
|
+
__wbg_new_d29385e3b529c998: function() { return handleError(function () {
|
|
1388
|
+
const ret = new MessageChannel();
|
|
1389
|
+
return addHeapObject(ret);
|
|
1390
|
+
}, arguments); },
|
|
1391
|
+
__wbg_new_e9fffa3c467d7786: function() { return handleError(function () {
|
|
1392
|
+
const ret = new FileReader();
|
|
1393
|
+
return addHeapObject(ret);
|
|
1394
|
+
}, arguments); },
|
|
1395
|
+
__wbg_new_ffa92086ea89f79c: function() {
|
|
1396
|
+
const ret = new Array();
|
|
1397
|
+
return addHeapObject(ret);
|
|
1398
|
+
},
|
|
1399
|
+
__wbg_new_from_slice_4ee02165f9de919e: function(arg0, arg1) {
|
|
1400
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1401
|
+
return addHeapObject(ret);
|
|
1402
|
+
},
|
|
1403
|
+
__wbg_new_typed_6f8b0d724fe26c07: function(arg0, arg1) {
|
|
1404
|
+
try {
|
|
1405
|
+
var state0 = {a: arg0, b: arg1};
|
|
1406
|
+
var cb0 = (arg0, arg1) => {
|
|
1407
|
+
const a = state0.a;
|
|
1408
|
+
state0.a = 0;
|
|
1409
|
+
try {
|
|
1410
|
+
return __wasm_bindgen_func_elem_13027(a, state0.b, arg0, arg1);
|
|
1411
|
+
} finally {
|
|
1412
|
+
state0.a = a;
|
|
1413
|
+
}
|
|
1414
|
+
};
|
|
1415
|
+
const ret = new Promise(cb0);
|
|
1416
|
+
return addHeapObject(ret);
|
|
1417
|
+
} finally {
|
|
1418
|
+
state0.a = 0;
|
|
1419
|
+
}
|
|
1420
|
+
},
|
|
1421
|
+
__wbg_new_with_byte_offset_and_length_492c969e8b5da8a4: function(arg0, arg1, arg2) {
|
|
1422
|
+
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
1423
|
+
return addHeapObject(ret);
|
|
1424
|
+
},
|
|
1425
|
+
__wbg_new_with_str_sequence_and_options_01ed9e0eee2dee62: function() { return handleError(function (arg0, arg1) {
|
|
1426
|
+
const ret = new Blob(getObject(arg0), getObject(arg1));
|
|
1427
|
+
return addHeapObject(ret);
|
|
1428
|
+
}, arguments); },
|
|
1429
|
+
__wbg_new_with_u8_array_sequence_and_options_19dab14721682b5e: function() { return handleError(function (arg0, arg1) {
|
|
1430
|
+
const ret = new Blob(getObject(arg0), getObject(arg1));
|
|
1431
|
+
return addHeapObject(ret);
|
|
1432
|
+
}, arguments); },
|
|
1433
|
+
__wbg_new_with_u8_array_sequence_d189f1c530aae28a: function() { return handleError(function (arg0) {
|
|
1434
|
+
const ret = new Blob(getObject(arg0));
|
|
1435
|
+
return addHeapObject(ret);
|
|
1436
|
+
}, arguments); },
|
|
1437
|
+
__wbg_now_55c5352b4b61d145: function(arg0) {
|
|
1438
|
+
const ret = getObject(arg0).now();
|
|
1439
|
+
return ret;
|
|
1440
|
+
},
|
|
1441
|
+
__wbg_now_d1fb6650485d7f3e: function() {
|
|
1442
|
+
const ret = Date.now();
|
|
1443
|
+
return ret;
|
|
1444
|
+
},
|
|
1445
|
+
__wbg_now_e7c6795a7f81e10f: function(arg0) {
|
|
1446
|
+
const ret = getObject(arg0).now();
|
|
1447
|
+
return ret;
|
|
1448
|
+
},
|
|
1449
|
+
__wbg_observe_232627fdd95d3d31: function(arg0, arg1) {
|
|
1450
|
+
getObject(arg0).observe(getObject(arg1));
|
|
1451
|
+
},
|
|
1452
|
+
__wbg_observe_756a715b58148858: function(arg0, arg1, arg2) {
|
|
1453
|
+
getObject(arg0).observe(getObject(arg1), getObject(arg2));
|
|
1454
|
+
},
|
|
1455
|
+
__wbg_observe_bc1f04a1edf992f1: function(arg0, arg1) {
|
|
1456
|
+
getObject(arg0).observe(getObject(arg1));
|
|
1457
|
+
},
|
|
1458
|
+
__wbg_of_1a3f47170341cefe: function(arg0) {
|
|
1459
|
+
const ret = Array.of(getObject(arg0));
|
|
1460
|
+
return addHeapObject(ret);
|
|
1461
|
+
},
|
|
1462
|
+
__wbg_of_1c173c2ad96e2f7e: function(arg0, arg1) {
|
|
1463
|
+
const ret = Array.of(getObject(arg0), getObject(arg1));
|
|
1464
|
+
return addHeapObject(ret);
|
|
1465
|
+
},
|
|
1466
|
+
__wbg_offsetX_a9bf2ea7f0575ac9: function(arg0) {
|
|
1467
|
+
const ret = getObject(arg0).offsetX;
|
|
1468
|
+
return ret;
|
|
1469
|
+
},
|
|
1470
|
+
__wbg_offsetY_10e5433a1bbd4c01: function(arg0) {
|
|
1471
|
+
const ret = getObject(arg0).offsetY;
|
|
1472
|
+
return ret;
|
|
1473
|
+
},
|
|
1474
|
+
__wbg_onSubmittedWorkDone_7d532ba1f20a64b3: function(arg0) {
|
|
1475
|
+
const ret = getObject(arg0).onSubmittedWorkDone();
|
|
1476
|
+
return addHeapObject(ret);
|
|
1477
|
+
},
|
|
1478
|
+
__wbg_open_57ad7d64908aec7c: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1479
|
+
const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1480
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1481
|
+
}, arguments); },
|
|
1482
|
+
__wbg_ownerDocument_5e91fd7a8aefc7cc: function(arg0) {
|
|
1483
|
+
const ret = getObject(arg0).ownerDocument;
|
|
1484
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1485
|
+
},
|
|
1486
|
+
__wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
|
|
1487
|
+
const ret = getObject(arg0).performance;
|
|
1488
|
+
return addHeapObject(ret);
|
|
1489
|
+
},
|
|
1490
|
+
__wbg_performance_aa4d78060a5b8a2f: function(arg0) {
|
|
1491
|
+
const ret = getObject(arg0).performance;
|
|
1492
|
+
return addHeapObject(ret);
|
|
1493
|
+
},
|
|
1494
|
+
__wbg_persisted_d62432fd840e3288: function(arg0) {
|
|
1495
|
+
const ret = getObject(arg0).persisted;
|
|
1496
|
+
return ret;
|
|
1497
|
+
},
|
|
1498
|
+
__wbg_pixelStorei_1bc7980b82e1ba4b: function(arg0, arg1, arg2) {
|
|
1499
|
+
getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
|
|
1500
|
+
},
|
|
1501
|
+
__wbg_pixelStorei_d540c25aafa93789: function(arg0, arg1, arg2) {
|
|
1502
|
+
getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
|
|
1503
|
+
},
|
|
1504
|
+
__wbg_play_3997a1be51d27925: function(arg0) {
|
|
1505
|
+
getObject(arg0).play();
|
|
1506
|
+
},
|
|
1507
|
+
__wbg_pointerId_b8c496f0172b1473: function(arg0) {
|
|
1508
|
+
const ret = getObject(arg0).pointerId;
|
|
1509
|
+
return ret;
|
|
1510
|
+
},
|
|
1511
|
+
__wbg_pointerType_753a9c4f0e3018cc: function(arg0, arg1) {
|
|
1512
|
+
const ret = getObject(arg1).pointerType;
|
|
1513
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1514
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1515
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1516
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1517
|
+
},
|
|
1518
|
+
__wbg_polygonOffset_a97069c9fe385bff: function(arg0, arg1, arg2) {
|
|
1519
|
+
getObject(arg0).polygonOffset(arg1, arg2);
|
|
1520
|
+
},
|
|
1521
|
+
__wbg_polygonOffset_f99887a0cc3d7df4: function(arg0, arg1, arg2) {
|
|
1522
|
+
getObject(arg0).polygonOffset(arg1, arg2);
|
|
1523
|
+
},
|
|
1524
|
+
__wbg_port1_b0733193296d7a5e: function(arg0) {
|
|
1525
|
+
const ret = getObject(arg0).port1;
|
|
1526
|
+
return addHeapObject(ret);
|
|
1527
|
+
},
|
|
1528
|
+
__wbg_port2_67ad56c6c0fbc6e0: function(arg0) {
|
|
1529
|
+
const ret = getObject(arg0).port2;
|
|
1530
|
+
return addHeapObject(ret);
|
|
1531
|
+
},
|
|
1532
|
+
__wbg_postMessage_141ac2f98c91b91b: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1533
|
+
getObject(arg0).postMessage(getObject(arg1), getObject(arg2));
|
|
1534
|
+
}, arguments); },
|
|
1535
|
+
__wbg_postMessage_dda77c4ed589be84: function() { return handleError(function (arg0, arg1) {
|
|
1536
|
+
getObject(arg0).postMessage(getObject(arg1));
|
|
1537
|
+
}, arguments); },
|
|
1538
|
+
__wbg_postTask_e2439afddcdfbb55: function(arg0, arg1, arg2) {
|
|
1539
|
+
const ret = getObject(arg0).postTask(getObject(arg1), getObject(arg2));
|
|
1540
|
+
return addHeapObject(ret);
|
|
1541
|
+
},
|
|
1542
|
+
__wbg_pressure_1021f185ca9ffe6b: function(arg0) {
|
|
1543
|
+
const ret = getObject(arg0).pressure;
|
|
1544
|
+
return ret;
|
|
1545
|
+
},
|
|
1546
|
+
__wbg_preventDefault_4235a4ccf8540533: function(arg0) {
|
|
1547
|
+
getObject(arg0).preventDefault();
|
|
1548
|
+
},
|
|
1549
|
+
__wbg_prototype_0d5bb2023db3bcfc: function() {
|
|
1550
|
+
const ret = ResizeObserverEntry.prototype;
|
|
1551
|
+
return addHeapObject(ret);
|
|
1552
|
+
},
|
|
1553
|
+
__wbg_prototypesetcall_ae9f5e7459250748: function(arg0, arg1, arg2) {
|
|
1554
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
1555
|
+
},
|
|
1556
|
+
__wbg_push_bfdf956ba476f65b: function(arg0, arg1) {
|
|
1557
|
+
const ret = getObject(arg0).push(getObject(arg1));
|
|
1558
|
+
return ret;
|
|
1559
|
+
},
|
|
1560
|
+
__wbg_queryCounterEXT_c9fb8ad39c35fdf6: function(arg0, arg1, arg2) {
|
|
1561
|
+
getObject(arg0).queryCounterEXT(getObject(arg1), arg2 >>> 0);
|
|
1562
|
+
},
|
|
1563
|
+
__wbg_querySelectorAll_fdbf93e11103921d: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1564
|
+
const ret = getObject(arg0).querySelectorAll(getStringFromWasm0(arg1, arg2));
|
|
1565
|
+
return addHeapObject(ret);
|
|
1566
|
+
}, arguments); },
|
|
1567
|
+
__wbg_querySelector_5b1d9ebad373dc9d: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1568
|
+
const ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2));
|
|
1569
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1570
|
+
}, arguments); },
|
|
1571
|
+
__wbg_querySelector_e621a716a5ee2aa9: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1572
|
+
const ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2));
|
|
1573
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1574
|
+
}, arguments); },
|
|
1575
|
+
__wbg_queueMicrotask_85c90f6987555d65: function(arg0) {
|
|
1576
|
+
const ret = getObject(arg0).queueMicrotask;
|
|
1577
|
+
return addHeapObject(ret);
|
|
1578
|
+
},
|
|
1579
|
+
__wbg_queueMicrotask_f173251ad502837f: function(arg0, arg1) {
|
|
1580
|
+
getObject(arg0).queueMicrotask(getObject(arg1));
|
|
1581
|
+
},
|
|
1582
|
+
__wbg_queueMicrotask_f6a1fa10b81d1fc0: function(arg0) {
|
|
1583
|
+
queueMicrotask(getObject(arg0));
|
|
1584
|
+
},
|
|
1585
|
+
__wbg_queue_5eda23116e5d3adb: function(arg0) {
|
|
1586
|
+
const ret = getObject(arg0).queue;
|
|
1587
|
+
return addHeapObject(ret);
|
|
1588
|
+
},
|
|
1589
|
+
__wbg_readAsArrayBuffer_ef9c26393f5c58b1: function() { return handleError(function (arg0, arg1) {
|
|
1590
|
+
getObject(arg0).readAsArrayBuffer(getObject(arg1));
|
|
1591
|
+
}, arguments); },
|
|
1592
|
+
__wbg_readBuffer_1679a4b6dcd78e30: function(arg0, arg1) {
|
|
1593
|
+
getObject(arg0).readBuffer(arg1 >>> 0);
|
|
1594
|
+
},
|
|
1595
|
+
__wbg_readPixels_5d75a0ec1e2aab33: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
1596
|
+
getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7));
|
|
1597
|
+
}, arguments); },
|
|
1598
|
+
__wbg_readPixels_c60bfe6126f65619: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
1599
|
+
getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
1600
|
+
}, arguments); },
|
|
1601
|
+
__wbg_readPixels_dcde619ca94b6296: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
1602
|
+
getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7));
|
|
1603
|
+
}, arguments); },
|
|
1604
|
+
__wbg_readText_5f3be1c6a378100f: function(arg0) {
|
|
1605
|
+
const ret = getObject(arg0).readText();
|
|
1606
|
+
return addHeapObject(ret);
|
|
1607
|
+
},
|
|
1608
|
+
__wbg_removeChild_2d5088cc0caca88a: function() { return handleError(function (arg0, arg1) {
|
|
1609
|
+
const ret = getObject(arg0).removeChild(getObject(arg1));
|
|
1610
|
+
return addHeapObject(ret);
|
|
1611
|
+
}, arguments); },
|
|
1612
|
+
__wbg_removeEventListener_4c9706814dcfaf79: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1613
|
+
getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
1614
|
+
}, arguments); },
|
|
1615
|
+
__wbg_removeListener_5a1b70f595f5cba6: function() { return handleError(function (arg0, arg1) {
|
|
1616
|
+
getObject(arg0).removeListener(getObject(arg1));
|
|
1617
|
+
}, arguments); },
|
|
1618
|
+
__wbg_removeProperty_25befad3d8dc7839: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1619
|
+
const ret = getObject(arg1).removeProperty(getStringFromWasm0(arg2, arg3));
|
|
1620
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1621
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1622
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1623
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1624
|
+
}, arguments); },
|
|
1625
|
+
__wbg_remove_2d9ed324f8c6126a: function(arg0) {
|
|
1626
|
+
getObject(arg0).remove();
|
|
1627
|
+
},
|
|
1628
|
+
__wbg_renderbufferStorageMultisample_5d9012ce50f133e3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1629
|
+
getObject(arg0).renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
1630
|
+
},
|
|
1631
|
+
__wbg_renderbufferStorage_2b50da85624a8b73: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1632
|
+
getObject(arg0).renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
1633
|
+
},
|
|
1634
|
+
__wbg_renderbufferStorage_2eb3d4343d1a1c6e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1635
|
+
getObject(arg0).renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
1636
|
+
},
|
|
1637
|
+
__wbg_repeat_01e85ccb1bcef326: function(arg0) {
|
|
1638
|
+
const ret = getObject(arg0).repeat;
|
|
1639
|
+
return ret;
|
|
1640
|
+
},
|
|
1641
|
+
__wbg_replaceWith_ab64da4acb54496b: function() { return handleError(function (arg0, arg1) {
|
|
1642
|
+
getObject(arg0).replaceWith(getObject(arg1));
|
|
1643
|
+
}, arguments); },
|
|
1644
|
+
__wbg_requestAdapter_8efca1b953fd13aa: function(arg0, arg1) {
|
|
1645
|
+
const ret = getObject(arg0).requestAdapter(getObject(arg1));
|
|
1646
|
+
return addHeapObject(ret);
|
|
1647
|
+
},
|
|
1648
|
+
__wbg_requestAdapter_9b4c482e978dd75f: function(arg0) {
|
|
1649
|
+
const ret = getObject(arg0).requestAdapter();
|
|
1650
|
+
return addHeapObject(ret);
|
|
1651
|
+
},
|
|
1652
|
+
__wbg_requestAnimationFrame_4988887658fcee2e: function() { return handleError(function (arg0, arg1) {
|
|
1653
|
+
const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
|
|
1654
|
+
return ret;
|
|
1655
|
+
}, arguments); },
|
|
1656
|
+
__wbg_requestDevice_290c73161fe959d5: function(arg0, arg1) {
|
|
1657
|
+
const ret = getObject(arg0).requestDevice(getObject(arg1));
|
|
1658
|
+
return addHeapObject(ret);
|
|
1659
|
+
},
|
|
1660
|
+
__wbg_requestFullscreen_3f16e43f398ce624: function(arg0) {
|
|
1661
|
+
const ret = getObject(arg0).requestFullscreen();
|
|
1662
|
+
return addHeapObject(ret);
|
|
1663
|
+
},
|
|
1664
|
+
__wbg_requestFullscreen_b977a3a0697e883c: function(arg0) {
|
|
1665
|
+
const ret = getObject(arg0).requestFullscreen;
|
|
1666
|
+
return addHeapObject(ret);
|
|
1667
|
+
},
|
|
1668
|
+
__wbg_requestIdleCallback_3689e3e38f6cfc02: function(arg0) {
|
|
1669
|
+
const ret = getObject(arg0).requestIdleCallback;
|
|
1670
|
+
return addHeapObject(ret);
|
|
1671
|
+
},
|
|
1672
|
+
__wbg_requestIdleCallback_a3ab6672665bc9a2: function() { return handleError(function (arg0, arg1) {
|
|
1673
|
+
const ret = getObject(arg0).requestIdleCallback(getObject(arg1));
|
|
1674
|
+
return ret;
|
|
1675
|
+
}, arguments); },
|
|
1676
|
+
__wbg_resolve_35ec7e0c6af4c82c: function(arg0) {
|
|
1677
|
+
const ret = Promise.resolve(getObject(arg0));
|
|
1678
|
+
return addHeapObject(ret);
|
|
1679
|
+
},
|
|
1680
|
+
__wbg_result_6a6fab012d5f9cc1: function() { return handleError(function (arg0) {
|
|
1681
|
+
const ret = getObject(arg0).result;
|
|
1682
|
+
return addHeapObject(ret);
|
|
1683
|
+
}, arguments); },
|
|
1684
|
+
__wbg_revokeObjectURL_a970dba2663e007c: function() { return handleError(function (arg0, arg1) {
|
|
1685
|
+
URL.revokeObjectURL(getStringFromWasm0(arg0, arg1));
|
|
1686
|
+
}, arguments); },
|
|
1687
|
+
__wbg_samplerParameterf_34605394359af7ae: function(arg0, arg1, arg2, arg3) {
|
|
1688
|
+
getObject(arg0).samplerParameterf(getObject(arg1), arg2 >>> 0, arg3);
|
|
1689
|
+
},
|
|
1690
|
+
__wbg_samplerParameteri_ff1f558c8f43a220: function(arg0, arg1, arg2, arg3) {
|
|
1691
|
+
getObject(arg0).samplerParameteri(getObject(arg1), arg2 >>> 0, arg3);
|
|
1692
|
+
},
|
|
1693
|
+
__wbg_scheduler_a17d41c9c822fc26: function(arg0) {
|
|
1694
|
+
const ret = getObject(arg0).scheduler;
|
|
1695
|
+
return addHeapObject(ret);
|
|
1696
|
+
},
|
|
1697
|
+
__wbg_scheduler_b35fe73ba70e89cc: function(arg0) {
|
|
1698
|
+
const ret = getObject(arg0).scheduler;
|
|
1699
|
+
return addHeapObject(ret);
|
|
1700
|
+
},
|
|
1701
|
+
__wbg_scissor_c53448a6fa939bfb: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1702
|
+
getObject(arg0).scissor(arg1, arg2, arg3, arg4);
|
|
1703
|
+
},
|
|
1704
|
+
__wbg_scissor_d896348c98d0c9ac: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1705
|
+
getObject(arg0).scissor(arg1, arg2, arg3, arg4);
|
|
1706
|
+
},
|
|
1707
|
+
__wbg_setAttribute_8c84e9351986b1f6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1708
|
+
getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1709
|
+
}, arguments); },
|
|
1710
|
+
__wbg_setBindGroup_29f4a44dff76f1a4: function(arg0, arg1, arg2) {
|
|
1711
|
+
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
|
|
1712
|
+
},
|
|
1713
|
+
__wbg_setBindGroup_35a4830ac2c27742: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1714
|
+
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2), getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
1715
|
+
}, arguments); },
|
|
1716
|
+
__wbg_setIndexBuffer_924197dc97dbb679: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1717
|
+
getObject(arg0).setIndexBuffer(getObject(arg1), __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
1718
|
+
},
|
|
1719
|
+
__wbg_setIndexBuffer_a400322dea5437f7: function(arg0, arg1, arg2, arg3) {
|
|
1720
|
+
getObject(arg0).setIndexBuffer(getObject(arg1), __wbindgen_enum_GpuIndexFormat[arg2], arg3);
|
|
1721
|
+
},
|
|
1722
|
+
__wbg_setPipeline_e6ea6756d71b19a7: function(arg0, arg1) {
|
|
1723
|
+
getObject(arg0).setPipeline(getObject(arg1));
|
|
1724
|
+
},
|
|
1725
|
+
__wbg_setPointerCapture_b8446eaac3edc11e: function() { return handleError(function (arg0, arg1) {
|
|
1726
|
+
getObject(arg0).setPointerCapture(arg1);
|
|
1727
|
+
}, arguments); },
|
|
1728
|
+
__wbg_setProperty_6139dd07828b5817: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1729
|
+
getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1730
|
+
}, arguments); },
|
|
1731
|
+
__wbg_setScissorRect_eeb4f61d4b860d7a: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1732
|
+
getObject(arg0).setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1733
|
+
},
|
|
1734
|
+
__wbg_setTimeout_05a790c35d76ff25: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1735
|
+
const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
|
|
1736
|
+
return addHeapObject(ret);
|
|
1737
|
+
}, arguments); },
|
|
1738
|
+
__wbg_setTimeout_7b1dfbeaccbf9bb6: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1739
|
+
const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
|
|
1740
|
+
return ret;
|
|
1741
|
+
}, arguments); },
|
|
1742
|
+
__wbg_setTimeout_f511da46f7279b2b: function() { return handleError(function (arg0, arg1) {
|
|
1743
|
+
const ret = getObject(arg0).setTimeout(getObject(arg1));
|
|
1744
|
+
return ret;
|
|
1745
|
+
}, arguments); },
|
|
1746
|
+
__wbg_setVertexBuffer_58f30a4873b36907: function(arg0, arg1, arg2, arg3) {
|
|
1747
|
+
getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3);
|
|
1748
|
+
},
|
|
1749
|
+
__wbg_setVertexBuffer_7aa508f017477005: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1750
|
+
getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3, arg4);
|
|
1751
|
+
},
|
|
1752
|
+
__wbg_setViewport_014b4c4d1101ba6b: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1753
|
+
getObject(arg0).setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
1754
|
+
},
|
|
1755
|
+
__wbg_set_9cfc0f17d60ff0af: function(arg0, arg1, arg2) {
|
|
1756
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
1757
|
+
},
|
|
1758
|
+
__wbg_set_a377297433dfea63: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1759
|
+
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
1760
|
+
return ret;
|
|
1761
|
+
}, arguments); },
|
|
1762
|
+
__wbg_set_a_6f1653ca7319cdcf: function(arg0, arg1) {
|
|
1763
|
+
getObject(arg0).a = arg1;
|
|
1764
|
+
},
|
|
1765
|
+
__wbg_set_accept_104718df60c7865c: function(arg0, arg1, arg2) {
|
|
1766
|
+
getObject(arg0).accept = getStringFromWasm0(arg1, arg2);
|
|
1767
|
+
},
|
|
1768
|
+
__wbg_set_access_cbee993a36feed10: function(arg0, arg1) {
|
|
1769
|
+
getObject(arg0).access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
|
|
1770
|
+
},
|
|
1771
|
+
__wbg_set_address_mode_u_38e255cd89ce1977: function(arg0, arg1) {
|
|
1772
|
+
getObject(arg0).addressModeU = __wbindgen_enum_GpuAddressMode[arg1];
|
|
1773
|
+
},
|
|
1774
|
+
__wbg_set_address_mode_v_513f843d6e3c9dbd: function(arg0, arg1) {
|
|
1775
|
+
getObject(arg0).addressModeV = __wbindgen_enum_GpuAddressMode[arg1];
|
|
1776
|
+
},
|
|
1777
|
+
__wbg_set_address_mode_w_801f70901a90ed5a: function(arg0, arg1) {
|
|
1778
|
+
getObject(arg0).addressModeW = __wbindgen_enum_GpuAddressMode[arg1];
|
|
1779
|
+
},
|
|
1780
|
+
__wbg_set_alpha_0a28ffc800461787: function(arg0, arg1) {
|
|
1781
|
+
getObject(arg0).alpha = getObject(arg1);
|
|
1782
|
+
},
|
|
1783
|
+
__wbg_set_alpha_mode_55b4f33e93691fe8: function(arg0, arg1) {
|
|
1784
|
+
getObject(arg0).alphaMode = __wbindgen_enum_GpuCanvasAlphaMode[arg1];
|
|
1785
|
+
},
|
|
1786
|
+
__wbg_set_alpha_to_coverage_enabled_ec44695cc0d0e961: function(arg0, arg1) {
|
|
1787
|
+
getObject(arg0).alphaToCoverageEnabled = arg1 !== 0;
|
|
1788
|
+
},
|
|
1789
|
+
__wbg_set_array_layer_count_e774b6d4a5334e63: function(arg0, arg1) {
|
|
1790
|
+
getObject(arg0).arrayLayerCount = arg1 >>> 0;
|
|
1791
|
+
},
|
|
1792
|
+
__wbg_set_array_stride_11c840b41b728354: function(arg0, arg1) {
|
|
1793
|
+
getObject(arg0).arrayStride = arg1;
|
|
1794
|
+
},
|
|
1795
|
+
__wbg_set_aspect_2503cdfcdcc17373: function(arg0, arg1) {
|
|
1796
|
+
getObject(arg0).aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
1797
|
+
},
|
|
1798
|
+
__wbg_set_attributes_ac1030b589bf253a: function(arg0, arg1) {
|
|
1799
|
+
getObject(arg0).attributes = getObject(arg1);
|
|
1800
|
+
},
|
|
1801
|
+
__wbg_set_b_d5b23064b0492744: function(arg0, arg1) {
|
|
1802
|
+
getObject(arg0).b = arg1;
|
|
1803
|
+
},
|
|
1804
|
+
__wbg_set_base_array_layer_f64cdadf250d1a9b: function(arg0, arg1) {
|
|
1805
|
+
getObject(arg0).baseArrayLayer = arg1 >>> 0;
|
|
1806
|
+
},
|
|
1807
|
+
__wbg_set_base_mip_level_74fc97c2aaf8fc33: function(arg0, arg1) {
|
|
1808
|
+
getObject(arg0).baseMipLevel = arg1 >>> 0;
|
|
1809
|
+
},
|
|
1810
|
+
__wbg_set_beginning_of_pass_write_index_348e7f2f53a86db0: function(arg0, arg1) {
|
|
1811
|
+
getObject(arg0).beginningOfPassWriteIndex = arg1 >>> 0;
|
|
1812
|
+
},
|
|
1813
|
+
__wbg_set_bind_group_layouts_6f13eb021a550053: function(arg0, arg1) {
|
|
1814
|
+
getObject(arg0).bindGroupLayouts = getObject(arg1);
|
|
1815
|
+
},
|
|
1816
|
+
__wbg_set_binding_2240d98479c0c256: function(arg0, arg1) {
|
|
1817
|
+
getObject(arg0).binding = arg1 >>> 0;
|
|
1818
|
+
},
|
|
1819
|
+
__wbg_set_binding_5296904f2a4c7e25: function(arg0, arg1) {
|
|
1820
|
+
getObject(arg0).binding = arg1 >>> 0;
|
|
1821
|
+
},
|
|
1822
|
+
__wbg_set_blend_4aea897cd7d3c0f8: function(arg0, arg1) {
|
|
1823
|
+
getObject(arg0).blend = getObject(arg1);
|
|
1824
|
+
},
|
|
1825
|
+
__wbg_set_box_334f2086d2b008d0: function(arg0, arg1) {
|
|
1826
|
+
getObject(arg0).box = __wbindgen_enum_ResizeObserverBoxOptions[arg1];
|
|
1827
|
+
},
|
|
1828
|
+
__wbg_set_buffer_2e7d1f7814caf92b: function(arg0, arg1) {
|
|
1829
|
+
getObject(arg0).buffer = getObject(arg1);
|
|
1830
|
+
},
|
|
1831
|
+
__wbg_set_buffer_ba8ed06078d347f7: function(arg0, arg1) {
|
|
1832
|
+
getObject(arg0).buffer = getObject(arg1);
|
|
1833
|
+
},
|
|
1834
|
+
__wbg_set_buffer_fc9285180932669f: function(arg0, arg1) {
|
|
1835
|
+
getObject(arg0).buffer = getObject(arg1);
|
|
1836
|
+
},
|
|
1837
|
+
__wbg_set_buffers_72754529595d4bc0: function(arg0, arg1) {
|
|
1838
|
+
getObject(arg0).buffers = getObject(arg1);
|
|
1839
|
+
},
|
|
1840
|
+
__wbg_set_bytes_per_row_5fedf5a2d44b8482: function(arg0, arg1) {
|
|
1841
|
+
getObject(arg0).bytesPerRow = arg1 >>> 0;
|
|
1842
|
+
},
|
|
1843
|
+
__wbg_set_bytes_per_row_9425e8d6a11b52dc: function(arg0, arg1) {
|
|
1844
|
+
getObject(arg0).bytesPerRow = arg1 >>> 0;
|
|
1845
|
+
},
|
|
1846
|
+
__wbg_set_className_f682baa8f21f2696: function(arg0, arg1, arg2) {
|
|
1847
|
+
getObject(arg0).className = getStringFromWasm0(arg1, arg2);
|
|
1848
|
+
},
|
|
1849
|
+
__wbg_set_clear_value_1171de96edbc21fe: function(arg0, arg1) {
|
|
1850
|
+
getObject(arg0).clearValue = getObject(arg1);
|
|
1851
|
+
},
|
|
1852
|
+
__wbg_set_code_27a25a855d3fbc6d: function(arg0, arg1, arg2) {
|
|
1853
|
+
getObject(arg0).code = getStringFromWasm0(arg1, arg2);
|
|
1854
|
+
},
|
|
1855
|
+
__wbg_set_color_attachments_4516b6dfb4ad987b: function(arg0, arg1) {
|
|
1856
|
+
getObject(arg0).colorAttachments = getObject(arg1);
|
|
1857
|
+
},
|
|
1858
|
+
__wbg_set_color_f2ac28bdc576c010: function(arg0, arg1) {
|
|
1859
|
+
getObject(arg0).color = getObject(arg1);
|
|
1860
|
+
},
|
|
1861
|
+
__wbg_set_compare_2c8ee8ccaa2b6b5d: function(arg0, arg1) {
|
|
1862
|
+
getObject(arg0).compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
1863
|
+
},
|
|
1864
|
+
__wbg_set_compare_cbf49b43d3211833: function(arg0, arg1) {
|
|
1865
|
+
getObject(arg0).compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
1866
|
+
},
|
|
1867
|
+
__wbg_set_count_53854513da5c0e04: function(arg0, arg1) {
|
|
1868
|
+
getObject(arg0).count = arg1 >>> 0;
|
|
1869
|
+
},
|
|
1870
|
+
__wbg_set_cull_mode_3852dd4cff56dd90: function(arg0, arg1) {
|
|
1871
|
+
getObject(arg0).cullMode = __wbindgen_enum_GpuCullMode[arg1];
|
|
1872
|
+
},
|
|
1873
|
+
__wbg_set_depth_bias_c20861a58fc2b8d9: function(arg0, arg1) {
|
|
1874
|
+
getObject(arg0).depthBias = arg1;
|
|
1875
|
+
},
|
|
1876
|
+
__wbg_set_depth_bias_clamp_eecc04d702f9402e: function(arg0, arg1) {
|
|
1877
|
+
getObject(arg0).depthBiasClamp = arg1;
|
|
1878
|
+
},
|
|
1879
|
+
__wbg_set_depth_bias_slope_scale_b2a251d3d4c65018: function(arg0, arg1) {
|
|
1880
|
+
getObject(arg0).depthBiasSlopeScale = arg1;
|
|
1881
|
+
},
|
|
1882
|
+
__wbg_set_depth_clear_value_fca9e379a0cdff8f: function(arg0, arg1) {
|
|
1883
|
+
getObject(arg0).depthClearValue = arg1;
|
|
1884
|
+
},
|
|
1885
|
+
__wbg_set_depth_compare_7883e52aad39b925: function(arg0, arg1) {
|
|
1886
|
+
getObject(arg0).depthCompare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
1887
|
+
},
|
|
1888
|
+
__wbg_set_depth_fail_op_1d11c8e03d061484: function(arg0, arg1) {
|
|
1889
|
+
getObject(arg0).depthFailOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
1890
|
+
},
|
|
1891
|
+
__wbg_set_depth_load_op_7e95e67c69e09c5e: function(arg0, arg1) {
|
|
1892
|
+
getObject(arg0).depthLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
1893
|
+
},
|
|
1894
|
+
__wbg_set_depth_or_array_layers_36ef1df107b6b651: function(arg0, arg1) {
|
|
1895
|
+
getObject(arg0).depthOrArrayLayers = arg1 >>> 0;
|
|
1896
|
+
},
|
|
1897
|
+
__wbg_set_depth_read_only_0c5e726b56520b08: function(arg0, arg1) {
|
|
1898
|
+
getObject(arg0).depthReadOnly = arg1 !== 0;
|
|
1899
|
+
},
|
|
1900
|
+
__wbg_set_depth_stencil_17e2d1710f4e07ae: function(arg0, arg1) {
|
|
1901
|
+
getObject(arg0).depthStencil = getObject(arg1);
|
|
1902
|
+
},
|
|
1903
|
+
__wbg_set_depth_stencil_attachment_a7b5eca74b7ddcfb: function(arg0, arg1) {
|
|
1904
|
+
getObject(arg0).depthStencilAttachment = getObject(arg1);
|
|
1905
|
+
},
|
|
1906
|
+
__wbg_set_depth_store_op_1b4cc257f121a4e7: function(arg0, arg1) {
|
|
1907
|
+
getObject(arg0).depthStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
1908
|
+
},
|
|
1909
|
+
__wbg_set_depth_write_enabled_1551f99ae66d959e: function(arg0, arg1) {
|
|
1910
|
+
getObject(arg0).depthWriteEnabled = arg1 !== 0;
|
|
1911
|
+
},
|
|
1912
|
+
__wbg_set_device_846227515bb0301a: function(arg0, arg1) {
|
|
1913
|
+
getObject(arg0).device = getObject(arg1);
|
|
1914
|
+
},
|
|
1915
|
+
__wbg_set_dimension_7454baa9c745cf06: function(arg0, arg1) {
|
|
1916
|
+
getObject(arg0).dimension = __wbindgen_enum_GpuTextureDimension[arg1];
|
|
1917
|
+
},
|
|
1918
|
+
__wbg_set_dimension_9d314669636abc65: function(arg0, arg1) {
|
|
1919
|
+
getObject(arg0).dimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
1920
|
+
},
|
|
1921
|
+
__wbg_set_download_d283890e2bcca821: function(arg0, arg1, arg2) {
|
|
1922
|
+
getObject(arg0).download = getStringFromWasm0(arg1, arg2);
|
|
1923
|
+
},
|
|
1924
|
+
__wbg_set_dst_factor_8397030245674624: function(arg0, arg1) {
|
|
1925
|
+
getObject(arg0).dstFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
1926
|
+
},
|
|
1927
|
+
__wbg_set_end_of_pass_write_index_4600a261d0317ecb: function(arg0, arg1) {
|
|
1928
|
+
getObject(arg0).endOfPassWriteIndex = arg1 >>> 0;
|
|
1929
|
+
},
|
|
1930
|
+
__wbg_set_entries_4d13c932343146c3: function(arg0, arg1) {
|
|
1931
|
+
getObject(arg0).entries = getObject(arg1);
|
|
1932
|
+
},
|
|
1933
|
+
__wbg_set_entries_7e6b569918b11bf4: function(arg0, arg1) {
|
|
1934
|
+
getObject(arg0).entries = getObject(arg1);
|
|
1935
|
+
},
|
|
1936
|
+
__wbg_set_entry_point_7248ed25fb9070c7: function(arg0, arg1, arg2) {
|
|
1937
|
+
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
1938
|
+
},
|
|
1939
|
+
__wbg_set_entry_point_b01eb3970a1dcb95: function(arg0, arg1, arg2) {
|
|
1940
|
+
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
1941
|
+
},
|
|
1942
|
+
__wbg_set_external_texture_cf6cf39036321145: function(arg0, arg1) {
|
|
1943
|
+
getObject(arg0).externalTexture = getObject(arg1);
|
|
1944
|
+
},
|
|
1945
|
+
__wbg_set_fail_op_ac8f2b4c077715b1: function(arg0, arg1) {
|
|
1946
|
+
getObject(arg0).failOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
1947
|
+
},
|
|
1948
|
+
__wbg_set_format_12bcbdd3428cd4b5: function(arg0, arg1) {
|
|
1949
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1950
|
+
},
|
|
1951
|
+
__wbg_set_format_1fc8a436841b29c8: function(arg0, arg1) {
|
|
1952
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1953
|
+
},
|
|
1954
|
+
__wbg_set_format_2a42ed14de233ae5: function(arg0, arg1) {
|
|
1955
|
+
getObject(arg0).format = __wbindgen_enum_GpuVertexFormat[arg1];
|
|
1956
|
+
},
|
|
1957
|
+
__wbg_set_format_3759d043ddc658d4: function(arg0, arg1) {
|
|
1958
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1959
|
+
},
|
|
1960
|
+
__wbg_set_format_b08e529cc1612d7b: function(arg0, arg1) {
|
|
1961
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1962
|
+
},
|
|
1963
|
+
__wbg_set_format_e0cf5a237864edb6: function(arg0, arg1) {
|
|
1964
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1965
|
+
},
|
|
1966
|
+
__wbg_set_format_ffa0a97f114a945a: function(arg0, arg1) {
|
|
1967
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
1968
|
+
},
|
|
1969
|
+
__wbg_set_fragment_703ddd6f5db6e4af: function(arg0, arg1) {
|
|
1970
|
+
getObject(arg0).fragment = getObject(arg1);
|
|
1971
|
+
},
|
|
1972
|
+
__wbg_set_front_face_17a3723085696d9a: function(arg0, arg1) {
|
|
1973
|
+
getObject(arg0).frontFace = __wbindgen_enum_GpuFrontFace[arg1];
|
|
1974
|
+
},
|
|
1975
|
+
__wbg_set_g_4cc3b3e3231ca6f8: function(arg0, arg1) {
|
|
1976
|
+
getObject(arg0).g = arg1;
|
|
1977
|
+
},
|
|
1978
|
+
__wbg_set_has_dynamic_offset_dc25aba64b9bd3ff: function(arg0, arg1) {
|
|
1979
|
+
getObject(arg0).hasDynamicOffset = arg1 !== 0;
|
|
1980
|
+
},
|
|
1981
|
+
__wbg_set_height_1202ad0eab43cbe0: function(arg0, arg1) {
|
|
1982
|
+
getObject(arg0).height = arg1 >>> 0;
|
|
1983
|
+
},
|
|
1984
|
+
__wbg_set_height_698fb3b255bc1348: function(arg0, arg1) {
|
|
1985
|
+
getObject(arg0).height = arg1 >>> 0;
|
|
1986
|
+
},
|
|
1987
|
+
__wbg_set_height_ac705ece3aa08c95: function(arg0, arg1) {
|
|
1988
|
+
getObject(arg0).height = arg1 >>> 0;
|
|
1989
|
+
},
|
|
1990
|
+
__wbg_set_href_b71c45f5af21e641: function(arg0, arg1, arg2) {
|
|
1991
|
+
getObject(arg0).href = getStringFromWasm0(arg1, arg2);
|
|
1992
|
+
},
|
|
1993
|
+
__wbg_set_id_dc5bd387fca63e7d: function(arg0, arg1, arg2) {
|
|
1994
|
+
getObject(arg0).id = getStringFromWasm0(arg1, arg2);
|
|
1995
|
+
},
|
|
1996
|
+
__wbg_set_innerHTML_ffa3d7ec0128d447: function(arg0, arg1, arg2) {
|
|
1997
|
+
getObject(arg0).innerHTML = getStringFromWasm0(arg1, arg2);
|
|
1998
|
+
},
|
|
1999
|
+
__wbg_set_innerText_fc1e11259abea237: function(arg0, arg1, arg2) {
|
|
2000
|
+
getObject(arg0).innerText = getStringFromWasm0(arg1, arg2);
|
|
2001
|
+
},
|
|
2002
|
+
__wbg_set_label_10bd19b972ff1ba6: function(arg0, arg1, arg2) {
|
|
2003
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2004
|
+
},
|
|
2005
|
+
__wbg_set_label_16cff4ff3c381368: function(arg0, arg1, arg2) {
|
|
2006
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2007
|
+
},
|
|
2008
|
+
__wbg_set_label_343ceab4761679d7: function(arg0, arg1, arg2) {
|
|
2009
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2010
|
+
},
|
|
2011
|
+
__wbg_set_label_403725ced930414e: function(arg0, arg1, arg2) {
|
|
2012
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2013
|
+
},
|
|
2014
|
+
__wbg_set_label_62b82f9361718fb9: function(arg0, arg1, arg2) {
|
|
2015
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2016
|
+
},
|
|
2017
|
+
__wbg_set_label_7d448e8a777d0d37: function(arg0, arg1, arg2) {
|
|
2018
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2019
|
+
},
|
|
2020
|
+
__wbg_set_label_900e563567315063: function(arg0, arg1, arg2) {
|
|
2021
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2022
|
+
},
|
|
2023
|
+
__wbg_set_label_98bef61fcbcecdde: function(arg0, arg1, arg2) {
|
|
2024
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2025
|
+
},
|
|
2026
|
+
__wbg_set_label_9d2ce197e447a967: function(arg0, arg1, arg2) {
|
|
2027
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2028
|
+
},
|
|
2029
|
+
__wbg_set_label_b5d7ff5f8e4fbaac: function(arg0, arg1, arg2) {
|
|
2030
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2031
|
+
},
|
|
2032
|
+
__wbg_set_label_ba288fbac1259847: function(arg0, arg1, arg2) {
|
|
2033
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2034
|
+
},
|
|
2035
|
+
__wbg_set_label_e1bd2437f39d21f3: function(arg0, arg1, arg2) {
|
|
2036
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2037
|
+
},
|
|
2038
|
+
__wbg_set_label_e4debe6dc9ea319b: function(arg0, arg1, arg2) {
|
|
2039
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2040
|
+
},
|
|
2041
|
+
__wbg_set_layout_53be3643dc5dbbbe: function(arg0, arg1) {
|
|
2042
|
+
getObject(arg0).layout = getObject(arg1);
|
|
2043
|
+
},
|
|
2044
|
+
__wbg_set_layout_ca5f863d331bb6b4: function(arg0, arg1) {
|
|
2045
|
+
getObject(arg0).layout = getObject(arg1);
|
|
2046
|
+
},
|
|
2047
|
+
__wbg_set_load_op_91d2cbf2912c96fd: function(arg0, arg1) {
|
|
2048
|
+
getObject(arg0).loadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
2049
|
+
},
|
|
2050
|
+
__wbg_set_lod_max_clamp_01800ff5df00cc8e: function(arg0, arg1) {
|
|
2051
|
+
getObject(arg0).lodMaxClamp = arg1;
|
|
2052
|
+
},
|
|
2053
|
+
__wbg_set_lod_min_clamp_fe71be084b04bd97: function(arg0, arg1) {
|
|
2054
|
+
getObject(arg0).lodMinClamp = arg1;
|
|
2055
|
+
},
|
|
2056
|
+
__wbg_set_mag_filter_a6df09d1943d5caa: function(arg0, arg1) {
|
|
2057
|
+
getObject(arg0).magFilter = __wbindgen_enum_GpuFilterMode[arg1];
|
|
2058
|
+
},
|
|
2059
|
+
__wbg_set_mapped_at_creation_eb954cf5fdb9bc25: function(arg0, arg1) {
|
|
2060
|
+
getObject(arg0).mappedAtCreation = arg1 !== 0;
|
|
2061
|
+
},
|
|
2062
|
+
__wbg_set_mask_47a41aae6631771f: function(arg0, arg1) {
|
|
2063
|
+
getObject(arg0).mask = arg1 >>> 0;
|
|
2064
|
+
},
|
|
2065
|
+
__wbg_set_max_anisotropy_418bd200a56097a0: function(arg0, arg1) {
|
|
2066
|
+
getObject(arg0).maxAnisotropy = arg1;
|
|
2067
|
+
},
|
|
2068
|
+
__wbg_set_min_binding_size_d0315b751370234c: function(arg0, arg1) {
|
|
2069
|
+
getObject(arg0).minBindingSize = arg1;
|
|
2070
|
+
},
|
|
2071
|
+
__wbg_set_min_filter_5b27a7eb3f5ea88a: function(arg0, arg1) {
|
|
2072
|
+
getObject(arg0).minFilter = __wbindgen_enum_GpuFilterMode[arg1];
|
|
2073
|
+
},
|
|
2074
|
+
__wbg_set_mip_level_b50dccbd04935c98: function(arg0, arg1) {
|
|
2075
|
+
getObject(arg0).mipLevel = arg1 >>> 0;
|
|
2076
|
+
},
|
|
2077
|
+
__wbg_set_mip_level_count_307eb64d9d29e3a6: function(arg0, arg1) {
|
|
2078
|
+
getObject(arg0).mipLevelCount = arg1 >>> 0;
|
|
2079
|
+
},
|
|
2080
|
+
__wbg_set_mip_level_count_fe7f73daa6021aaa: function(arg0, arg1) {
|
|
2081
|
+
getObject(arg0).mipLevelCount = arg1 >>> 0;
|
|
2082
|
+
},
|
|
2083
|
+
__wbg_set_mipmap_filter_e1543204e8199db0: function(arg0, arg1) {
|
|
2084
|
+
getObject(arg0).mipmapFilter = __wbindgen_enum_GpuMipmapFilterMode[arg1];
|
|
2085
|
+
},
|
|
2086
|
+
__wbg_set_module_9afd1b80ff72cee9: function(arg0, arg1) {
|
|
2087
|
+
getObject(arg0).module = getObject(arg1);
|
|
2088
|
+
},
|
|
2089
|
+
__wbg_set_module_ffe8f8e909e9fdcf: function(arg0, arg1) {
|
|
2090
|
+
getObject(arg0).module = getObject(arg1);
|
|
2091
|
+
},
|
|
2092
|
+
__wbg_set_multiple_77c8717590dc16ea: function(arg0, arg1) {
|
|
2093
|
+
getObject(arg0).multiple = arg1 !== 0;
|
|
2094
|
+
},
|
|
2095
|
+
__wbg_set_multisample_957afdd96685c6f5: function(arg0, arg1) {
|
|
2096
|
+
getObject(arg0).multisample = getObject(arg1);
|
|
2097
|
+
},
|
|
2098
|
+
__wbg_set_multisampled_84e304d3a68838ea: function(arg0, arg1) {
|
|
2099
|
+
getObject(arg0).multisampled = arg1 !== 0;
|
|
2100
|
+
},
|
|
2101
|
+
__wbg_set_offset_157c6bc4fd6ec4b1: function(arg0, arg1) {
|
|
2102
|
+
getObject(arg0).offset = arg1;
|
|
2103
|
+
},
|
|
2104
|
+
__wbg_set_offset_3e78f3e530cf8049: function(arg0, arg1) {
|
|
2105
|
+
getObject(arg0).offset = arg1;
|
|
2106
|
+
},
|
|
2107
|
+
__wbg_set_offset_616ad7dfa51d50e0: function(arg0, arg1) {
|
|
2108
|
+
getObject(arg0).offset = arg1;
|
|
2109
|
+
},
|
|
2110
|
+
__wbg_set_offset_bea112c360dc7f2b: function(arg0, arg1) {
|
|
2111
|
+
getObject(arg0).offset = arg1;
|
|
2112
|
+
},
|
|
2113
|
+
__wbg_set_onclick_dfc030b9ed74c27e: function(arg0, arg1) {
|
|
2114
|
+
getObject(arg0).onclick = getObject(arg1);
|
|
2115
|
+
},
|
|
2116
|
+
__wbg_set_onload_b3d8ff8ccbd7017c: function(arg0, arg1) {
|
|
2117
|
+
getObject(arg0).onload = getObject(arg1);
|
|
2118
|
+
},
|
|
2119
|
+
__wbg_set_onmessage_1feaa3e121748d93: function(arg0, arg1) {
|
|
2120
|
+
getObject(arg0).onmessage = getObject(arg1);
|
|
2121
|
+
},
|
|
2122
|
+
__wbg_set_operation_6c5fd88df90bc7b2: function(arg0, arg1) {
|
|
2123
|
+
getObject(arg0).operation = __wbindgen_enum_GpuBlendOperation[arg1];
|
|
2124
|
+
},
|
|
2125
|
+
__wbg_set_origin_dec4f4c36f9f79f6: function(arg0, arg1) {
|
|
2126
|
+
getObject(arg0).origin = getObject(arg1);
|
|
2127
|
+
},
|
|
2128
|
+
__wbg_set_pass_op_461dabd5ee4ea1b7: function(arg0, arg1) {
|
|
2129
|
+
getObject(arg0).passOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
2130
|
+
},
|
|
2131
|
+
__wbg_set_power_preference_a4ce891b22ea2b05: function(arg0, arg1) {
|
|
2132
|
+
getObject(arg0).powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
|
|
2133
|
+
},
|
|
2134
|
+
__wbg_set_primitive_eb8abbc5e7f278a4: function(arg0, arg1) {
|
|
2135
|
+
getObject(arg0).primitive = getObject(arg1);
|
|
2136
|
+
},
|
|
2137
|
+
__wbg_set_query_set_849fb32875f137d7: function(arg0, arg1) {
|
|
2138
|
+
getObject(arg0).querySet = getObject(arg1);
|
|
2139
|
+
},
|
|
2140
|
+
__wbg_set_r_5fa0f548248c394c: function(arg0, arg1) {
|
|
2141
|
+
getObject(arg0).r = arg1;
|
|
2142
|
+
},
|
|
2143
|
+
__wbg_set_required_features_98a83c7003fd73d5: function(arg0, arg1) {
|
|
2144
|
+
getObject(arg0).requiredFeatures = getObject(arg1);
|
|
2145
|
+
},
|
|
2146
|
+
__wbg_set_resolve_target_1ff405e060e2d32e: function(arg0, arg1) {
|
|
2147
|
+
getObject(arg0).resolveTarget = getObject(arg1);
|
|
2148
|
+
},
|
|
2149
|
+
__wbg_set_resource_1409c14d4d6b5a50: function(arg0, arg1) {
|
|
2150
|
+
getObject(arg0).resource = getObject(arg1);
|
|
2151
|
+
},
|
|
2152
|
+
__wbg_set_rows_per_image_8104dfe1b042a530: function(arg0, arg1) {
|
|
2153
|
+
getObject(arg0).rowsPerImage = arg1 >>> 0;
|
|
2154
|
+
},
|
|
2155
|
+
__wbg_set_rows_per_image_9cfda8920e669db0: function(arg0, arg1) {
|
|
2156
|
+
getObject(arg0).rowsPerImage = arg1 >>> 0;
|
|
2157
|
+
},
|
|
2158
|
+
__wbg_set_sample_count_95a9892a60894677: function(arg0, arg1) {
|
|
2159
|
+
getObject(arg0).sampleCount = arg1 >>> 0;
|
|
2160
|
+
},
|
|
2161
|
+
__wbg_set_sample_type_f8f7b39d62e7b29c: function(arg0, arg1) {
|
|
2162
|
+
getObject(arg0).sampleType = __wbindgen_enum_GpuTextureSampleType[arg1];
|
|
2163
|
+
},
|
|
2164
|
+
__wbg_set_sampler_a2277e90dfe7395f: function(arg0, arg1) {
|
|
2165
|
+
getObject(arg0).sampler = getObject(arg1);
|
|
2166
|
+
},
|
|
2167
|
+
__wbg_set_shader_location_cdbcf5cf84a6cbcb: function(arg0, arg1) {
|
|
2168
|
+
getObject(arg0).shaderLocation = arg1 >>> 0;
|
|
2169
|
+
},
|
|
2170
|
+
__wbg_set_size_6f271c4c28c18e1b: function(arg0, arg1) {
|
|
2171
|
+
getObject(arg0).size = getObject(arg1);
|
|
2172
|
+
},
|
|
2173
|
+
__wbg_set_size_7ec162511b3bad1f: function(arg0, arg1) {
|
|
2174
|
+
getObject(arg0).size = arg1;
|
|
2175
|
+
},
|
|
2176
|
+
__wbg_set_size_ca765d983baccefd: function(arg0, arg1) {
|
|
2177
|
+
getObject(arg0).size = arg1;
|
|
2178
|
+
},
|
|
2179
|
+
__wbg_set_src_factor_e96f05a25f8383ed: function(arg0, arg1) {
|
|
2180
|
+
getObject(arg0).srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
2181
|
+
},
|
|
2182
|
+
__wbg_set_stencil_back_5c8971274cbcddcf: function(arg0, arg1) {
|
|
2183
|
+
getObject(arg0).stencilBack = getObject(arg1);
|
|
2184
|
+
},
|
|
2185
|
+
__wbg_set_stencil_clear_value_89ba97b367fa1385: function(arg0, arg1) {
|
|
2186
|
+
getObject(arg0).stencilClearValue = arg1 >>> 0;
|
|
2187
|
+
},
|
|
2188
|
+
__wbg_set_stencil_front_69f85bf4a6f02cb2: function(arg0, arg1) {
|
|
2189
|
+
getObject(arg0).stencilFront = getObject(arg1);
|
|
2190
|
+
},
|
|
2191
|
+
__wbg_set_stencil_load_op_a3e2c3a6f20d4da5: function(arg0, arg1) {
|
|
2192
|
+
getObject(arg0).stencilLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
2193
|
+
},
|
|
2194
|
+
__wbg_set_stencil_read_mask_86a08afb2665c29b: function(arg0, arg1) {
|
|
2195
|
+
getObject(arg0).stencilReadMask = arg1 >>> 0;
|
|
2196
|
+
},
|
|
2197
|
+
__wbg_set_stencil_read_only_dd058fe8c6a1f6ae: function(arg0, arg1) {
|
|
2198
|
+
getObject(arg0).stencilReadOnly = arg1 !== 0;
|
|
2199
|
+
},
|
|
2200
|
+
__wbg_set_stencil_store_op_87c97415636844c9: function(arg0, arg1) {
|
|
2201
|
+
getObject(arg0).stencilStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
2202
|
+
},
|
|
2203
|
+
__wbg_set_stencil_write_mask_7844d8a057a87a58: function(arg0, arg1) {
|
|
2204
|
+
getObject(arg0).stencilWriteMask = arg1 >>> 0;
|
|
2205
|
+
},
|
|
2206
|
+
__wbg_set_step_mode_285f2e428148f3b4: function(arg0, arg1) {
|
|
2207
|
+
getObject(arg0).stepMode = __wbindgen_enum_GpuVertexStepMode[arg1];
|
|
2208
|
+
},
|
|
2209
|
+
__wbg_set_storage_texture_373b9fc0e534dd33: function(arg0, arg1) {
|
|
2210
|
+
getObject(arg0).storageTexture = getObject(arg1);
|
|
2211
|
+
},
|
|
2212
|
+
__wbg_set_store_op_94575f47253d270d: function(arg0, arg1) {
|
|
2213
|
+
getObject(arg0).storeOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
2214
|
+
},
|
|
2215
|
+
__wbg_set_strip_index_format_aeb7aa0e95e6285d: function(arg0, arg1) {
|
|
2216
|
+
getObject(arg0).stripIndexFormat = __wbindgen_enum_GpuIndexFormat[arg1];
|
|
2217
|
+
},
|
|
2218
|
+
__wbg_set_targets_93553735385af349: function(arg0, arg1) {
|
|
2219
|
+
getObject(arg0).targets = getObject(arg1);
|
|
2220
|
+
},
|
|
2221
|
+
__wbg_set_texture_6003a9e79918bf8a: function(arg0, arg1) {
|
|
2222
|
+
getObject(arg0).texture = getObject(arg1);
|
|
2223
|
+
},
|
|
2224
|
+
__wbg_set_texture_c5a457625c071b25: function(arg0, arg1) {
|
|
2225
|
+
getObject(arg0).texture = getObject(arg1);
|
|
2226
|
+
},
|
|
2227
|
+
__wbg_set_timestamp_writes_0603b32a31ee6205: function(arg0, arg1) {
|
|
2228
|
+
getObject(arg0).timestampWrites = getObject(arg1);
|
|
2229
|
+
},
|
|
2230
|
+
__wbg_set_topology_5e4eb809635ea291: function(arg0, arg1) {
|
|
2231
|
+
getObject(arg0).topology = __wbindgen_enum_GpuPrimitiveTopology[arg1];
|
|
2232
|
+
},
|
|
2233
|
+
__wbg_set_type_0e707d4c06fc2b7b: function(arg0, arg1) {
|
|
2234
|
+
getObject(arg0).type = __wbindgen_enum_GpuSamplerBindingType[arg1];
|
|
2235
|
+
},
|
|
2236
|
+
__wbg_set_type_5904600aed60e21e: function(arg0, arg1, arg2) {
|
|
2237
|
+
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
|
2238
|
+
},
|
|
2239
|
+
__wbg_set_type_69954a3c7c11a724: function(arg0, arg1, arg2) {
|
|
2240
|
+
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
|
2241
|
+
},
|
|
2242
|
+
__wbg_set_type_6fe4c5f460401ee0: function(arg0, arg1) {
|
|
2243
|
+
getObject(arg0).type = __wbindgen_enum_GpuBufferBindingType[arg1];
|
|
2244
|
+
},
|
|
2245
|
+
__wbg_set_unclipped_depth_e9a2451e4fa0277a: function(arg0, arg1) {
|
|
2246
|
+
getObject(arg0).unclippedDepth = arg1 !== 0;
|
|
2247
|
+
},
|
|
2248
|
+
__wbg_set_usage_5abd566becc087bb: function(arg0, arg1) {
|
|
2249
|
+
getObject(arg0).usage = arg1 >>> 0;
|
|
2250
|
+
},
|
|
2251
|
+
__wbg_set_usage_61967f166fba5e13: function(arg0, arg1) {
|
|
2252
|
+
getObject(arg0).usage = arg1 >>> 0;
|
|
2253
|
+
},
|
|
2254
|
+
__wbg_set_usage_d0a75d4429098a06: function(arg0, arg1) {
|
|
2255
|
+
getObject(arg0).usage = arg1 >>> 0;
|
|
2256
|
+
},
|
|
2257
|
+
__wbg_set_usage_f0bb325677668e77: function(arg0, arg1) {
|
|
2258
|
+
getObject(arg0).usage = arg1 >>> 0;
|
|
2259
|
+
},
|
|
2260
|
+
__wbg_set_vertex_2525cfcd959b2add: function(arg0, arg1) {
|
|
2261
|
+
getObject(arg0).vertex = getObject(arg1);
|
|
2262
|
+
},
|
|
2263
|
+
__wbg_set_view_57d232eea19739c3: function(arg0, arg1) {
|
|
2264
|
+
getObject(arg0).view = getObject(arg1);
|
|
2265
|
+
},
|
|
2266
|
+
__wbg_set_view_dimension_49cfda500f1dea55: function(arg0, arg1) {
|
|
2267
|
+
getObject(arg0).viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
2268
|
+
},
|
|
2269
|
+
__wbg_set_view_dimension_a669c29ec3b0813a: function(arg0, arg1) {
|
|
2270
|
+
getObject(arg0).viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
2271
|
+
},
|
|
2272
|
+
__wbg_set_view_ffadd767d5e9b839: function(arg0, arg1) {
|
|
2273
|
+
getObject(arg0).view = getObject(arg1);
|
|
2274
|
+
},
|
|
2275
|
+
__wbg_set_view_formats_70a1fcabcd34282a: function(arg0, arg1) {
|
|
2276
|
+
getObject(arg0).viewFormats = getObject(arg1);
|
|
2277
|
+
},
|
|
2278
|
+
__wbg_set_view_formats_83865b9cdfda5cb6: function(arg0, arg1) {
|
|
2279
|
+
getObject(arg0).viewFormats = getObject(arg1);
|
|
2280
|
+
},
|
|
2281
|
+
__wbg_set_visibility_088046ee77c33b1d: function(arg0, arg1) {
|
|
2282
|
+
getObject(arg0).visibility = arg1 >>> 0;
|
|
2283
|
+
},
|
|
2284
|
+
__wbg_set_width_4c3a2252e0dea033: function(arg0, arg1) {
|
|
2285
|
+
getObject(arg0).width = arg1 >>> 0;
|
|
2286
|
+
},
|
|
2287
|
+
__wbg_set_width_e96e07f8255ad913: function(arg0, arg1) {
|
|
2288
|
+
getObject(arg0).width = arg1 >>> 0;
|
|
2289
|
+
},
|
|
2290
|
+
__wbg_set_width_f52a20e39808b138: function(arg0, arg1) {
|
|
2291
|
+
getObject(arg0).width = arg1 >>> 0;
|
|
2292
|
+
},
|
|
2293
|
+
__wbg_set_write_mask_76041c03688571cd: function(arg0, arg1) {
|
|
2294
|
+
getObject(arg0).writeMask = arg1 >>> 0;
|
|
2295
|
+
},
|
|
2296
|
+
__wbg_set_x_fdd6aca9a2390926: function(arg0, arg1) {
|
|
2297
|
+
getObject(arg0).x = arg1 >>> 0;
|
|
2298
|
+
},
|
|
2299
|
+
__wbg_set_y_410a18c5811abf4c: function(arg0, arg1) {
|
|
2300
|
+
getObject(arg0).y = arg1 >>> 0;
|
|
2301
|
+
},
|
|
2302
|
+
__wbg_set_z_f7f1ae8afd3a9308: function(arg0, arg1) {
|
|
2303
|
+
getObject(arg0).z = arg1 >>> 0;
|
|
2304
|
+
},
|
|
2305
|
+
__wbg_shaderSource_108c27c8694ef4c0: function(arg0, arg1, arg2, arg3) {
|
|
2306
|
+
getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
2307
|
+
},
|
|
2308
|
+
__wbg_shaderSource_82a2cbfe223a86e0: function(arg0, arg1, arg2, arg3) {
|
|
2309
|
+
getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
2310
|
+
},
|
|
2311
|
+
__wbg_shiftKey_2b651c3e5a9c07f5: function(arg0) {
|
|
2312
|
+
const ret = getObject(arg0).shiftKey;
|
|
2313
|
+
return ret;
|
|
2314
|
+
},
|
|
2315
|
+
__wbg_shiftKey_9dd20e0fb9da6eb5: function(arg0) {
|
|
2316
|
+
const ret = getObject(arg0).shiftKey;
|
|
2317
|
+
return ret;
|
|
2318
|
+
},
|
|
2319
|
+
__wbg_signal_45367c6c2255877a: function(arg0) {
|
|
2320
|
+
const ret = getObject(arg0).signal;
|
|
2321
|
+
return addHeapObject(ret);
|
|
2322
|
+
},
|
|
2323
|
+
__wbg_start_a5f7d46ef74dd76f: function(arg0) {
|
|
2324
|
+
getObject(arg0).start();
|
|
2325
|
+
},
|
|
2326
|
+
__wbg_static_accessor_GLOBAL_8eb4cd83130a11a0: function() {
|
|
2327
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
2328
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2329
|
+
},
|
|
2330
|
+
__wbg_static_accessor_GLOBAL_THIS_1e7044f654e934db: function() {
|
|
2331
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
2332
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2333
|
+
},
|
|
2334
|
+
__wbg_static_accessor_SELF_d8b50611246a6d92: function() {
|
|
2335
|
+
const ret = typeof self === 'undefined' ? null : self;
|
|
2336
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2337
|
+
},
|
|
2338
|
+
__wbg_static_accessor_WINDOW_fd0bc376bf0f8b42: function() {
|
|
2339
|
+
const ret = typeof window === 'undefined' ? null : window;
|
|
2340
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2341
|
+
},
|
|
2342
|
+
__wbg_stencilFuncSeparate_d7b5956ce3fe1272: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2343
|
+
getObject(arg0).stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
2344
|
+
},
|
|
2345
|
+
__wbg_stencilFuncSeparate_fd17ac8961fd8359: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2346
|
+
getObject(arg0).stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
2347
|
+
},
|
|
2348
|
+
__wbg_stencilMaskSeparate_5f3823dfe31289be: function(arg0, arg1, arg2) {
|
|
2349
|
+
getObject(arg0).stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
2350
|
+
},
|
|
2351
|
+
__wbg_stencilMaskSeparate_d0910e6d55b4605a: function(arg0, arg1, arg2) {
|
|
2352
|
+
getObject(arg0).stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
2353
|
+
},
|
|
2354
|
+
__wbg_stencilMask_4a8c4bda850006f1: function(arg0, arg1) {
|
|
2355
|
+
getObject(arg0).stencilMask(arg1 >>> 0);
|
|
2356
|
+
},
|
|
2357
|
+
__wbg_stencilMask_cb69051e26a265bb: function(arg0, arg1) {
|
|
2358
|
+
getObject(arg0).stencilMask(arg1 >>> 0);
|
|
2359
|
+
},
|
|
2360
|
+
__wbg_stencilOpSeparate_3fe9feaf978f0a17: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2361
|
+
getObject(arg0).stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
2362
|
+
},
|
|
2363
|
+
__wbg_stencilOpSeparate_cb0bb47587f022de: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2364
|
+
getObject(arg0).stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
2365
|
+
},
|
|
2366
|
+
__wbg_style_b79c69cee0c004b9: function(arg0) {
|
|
2367
|
+
const ret = getObject(arg0).style;
|
|
2368
|
+
return addHeapObject(ret);
|
|
2369
|
+
},
|
|
2370
|
+
__wbg_submit_21302eebe551e30d: function(arg0, arg1) {
|
|
2371
|
+
getObject(arg0).submit(getObject(arg1));
|
|
2372
|
+
},
|
|
2373
|
+
__wbg_texImage2D_1b8d273f15622f0e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2374
|
+
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
2375
|
+
}, arguments); },
|
|
2376
|
+
__wbg_texImage2D_6fca8c58ea7e4c8e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2377
|
+
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
2378
|
+
}, arguments); },
|
|
2379
|
+
__wbg_texImage2D_8c5d6403fa51874d: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2380
|
+
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
2381
|
+
}, arguments); },
|
|
2382
|
+
__wbg_texImage3D_2bba05e03e9def07: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
2383
|
+
getObject(arg0).texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, getObject(arg10));
|
|
2384
|
+
}, arguments); },
|
|
2385
|
+
__wbg_texImage3D_3977c422ce82cf99: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
2386
|
+
getObject(arg0).texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
|
|
2387
|
+
}, arguments); },
|
|
2388
|
+
__wbg_texParameteri_1fea50207adbfd68: function(arg0, arg1, arg2, arg3) {
|
|
2389
|
+
getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
2390
|
+
},
|
|
2391
|
+
__wbg_texParameteri_e127aa385b821d68: function(arg0, arg1, arg2, arg3) {
|
|
2392
|
+
getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
2393
|
+
},
|
|
2394
|
+
__wbg_texStorage2D_eb27b3383d99c349: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2395
|
+
getObject(arg0).texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
2396
|
+
},
|
|
2397
|
+
__wbg_texStorage3D_cb53309842f2c8eb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2398
|
+
getObject(arg0).texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6);
|
|
2399
|
+
},
|
|
2400
|
+
__wbg_texSubImage2D_0542ae723245dd04: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2401
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
2402
|
+
}, arguments); },
|
|
2403
|
+
__wbg_texSubImage2D_0721d9d910ecf097: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2404
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
2405
|
+
}, arguments); },
|
|
2406
|
+
__wbg_texSubImage2D_11c39463147c9d38: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2407
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
2408
|
+
}, arguments); },
|
|
2409
|
+
__wbg_texSubImage2D_21b4316b692aa7bc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2410
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
2411
|
+
}, arguments); },
|
|
2412
|
+
__wbg_texSubImage2D_339324fe86d9879e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2413
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
2414
|
+
}, arguments); },
|
|
2415
|
+
__wbg_texSubImage2D_6218009ef1e27c0e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2416
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
2417
|
+
}, arguments); },
|
|
2418
|
+
__wbg_texSubImage2D_79b4ac26a5580960: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2419
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
2420
|
+
}, arguments); },
|
|
2421
|
+
__wbg_texSubImage2D_892cfa51f196ee93: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2422
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
2423
|
+
}, arguments); },
|
|
2424
|
+
__wbg_texSubImage3D_6458575ddb6df6b3: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2425
|
+
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
2426
|
+
}, arguments); },
|
|
2427
|
+
__wbg_texSubImage3D_747bc81ed2ed4116: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2428
|
+
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
|
|
2429
|
+
}, arguments); },
|
|
2430
|
+
__wbg_texSubImage3D_7a674dd9403f8be3: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2431
|
+
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
|
|
2432
|
+
}, arguments); },
|
|
2433
|
+
__wbg_texSubImage3D_805532d56bdd814d: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2434
|
+
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
|
|
2435
|
+
}, arguments); },
|
|
2436
|
+
__wbg_texSubImage3D_ad76ff2925daf174: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2437
|
+
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
|
|
2438
|
+
}, arguments); },
|
|
2439
|
+
__wbg_texSubImage3D_c65a616189ed3b19: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2440
|
+
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
|
|
2441
|
+
}, arguments); },
|
|
2442
|
+
__wbg_texSubImage3D_f99458987d5b061a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2443
|
+
getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
|
|
2444
|
+
}, arguments); },
|
|
2445
|
+
__wbg_then_114b14e3854c2390: function(arg0, arg1, arg2) {
|
|
2446
|
+
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
2447
|
+
return addHeapObject(ret);
|
|
2448
|
+
},
|
|
2449
|
+
__wbg_then_7a850dae4493f353: function(arg0, arg1, arg2) {
|
|
2450
|
+
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
2451
|
+
return addHeapObject(ret);
|
|
2452
|
+
},
|
|
2453
|
+
__wbg_then_b830475380919203: function(arg0, arg1) {
|
|
2454
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
2455
|
+
return addHeapObject(ret);
|
|
2456
|
+
},
|
|
2457
|
+
__wbg_uniform1f_6067a9c69ed38c8b: function(arg0, arg1, arg2) {
|
|
2458
|
+
getObject(arg0).uniform1f(getObject(arg1), arg2);
|
|
2459
|
+
},
|
|
2460
|
+
__wbg_uniform1f_d08261cd87e412e0: function(arg0, arg1, arg2) {
|
|
2461
|
+
getObject(arg0).uniform1f(getObject(arg1), arg2);
|
|
2462
|
+
},
|
|
2463
|
+
__wbg_uniform1i_25a3df9f69c2f765: function(arg0, arg1, arg2) {
|
|
2464
|
+
getObject(arg0).uniform1i(getObject(arg1), arg2);
|
|
2465
|
+
},
|
|
2466
|
+
__wbg_uniform1i_89c631d199860f60: function(arg0, arg1, arg2) {
|
|
2467
|
+
getObject(arg0).uniform1i(getObject(arg1), arg2);
|
|
2468
|
+
},
|
|
2469
|
+
__wbg_uniform1ui_58cbbe1a93e44a02: function(arg0, arg1, arg2) {
|
|
2470
|
+
getObject(arg0).uniform1ui(getObject(arg1), arg2 >>> 0);
|
|
2471
|
+
},
|
|
2472
|
+
__wbg_uniform2fv_6a494ce09154afdb: function(arg0, arg1, arg2, arg3) {
|
|
2473
|
+
getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
2474
|
+
},
|
|
2475
|
+
__wbg_uniform2fv_f85b3b2779a6c2b9: function(arg0, arg1, arg2, arg3) {
|
|
2476
|
+
getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
2477
|
+
},
|
|
2478
|
+
__wbg_uniform2iv_5c591a2edfd26c45: function(arg0, arg1, arg2, arg3) {
|
|
2479
|
+
getObject(arg0).uniform2iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
|
|
2480
|
+
},
|
|
2481
|
+
__wbg_uniform2iv_63a2ba7206eaf2b3: function(arg0, arg1, arg2, arg3) {
|
|
2482
|
+
getObject(arg0).uniform2iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
|
|
2483
|
+
},
|
|
2484
|
+
__wbg_uniform2uiv_aaa076c2f50b5c86: function(arg0, arg1, arg2, arg3) {
|
|
2485
|
+
getObject(arg0).uniform2uiv(getObject(arg1), getArrayU32FromWasm0(arg2, arg3));
|
|
2486
|
+
},
|
|
2487
|
+
__wbg_uniform3fv_2e139d144894f1ec: function(arg0, arg1, arg2, arg3) {
|
|
2488
|
+
getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
2489
|
+
},
|
|
2490
|
+
__wbg_uniform3fv_dfaba6b65cfc2c2b: function(arg0, arg1, arg2, arg3) {
|
|
2491
|
+
getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
2492
|
+
},
|
|
2493
|
+
__wbg_uniform3iv_700228c611ca323d: function(arg0, arg1, arg2, arg3) {
|
|
2494
|
+
getObject(arg0).uniform3iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
|
|
2495
|
+
},
|
|
2496
|
+
__wbg_uniform3iv_f32512d7179442f8: function(arg0, arg1, arg2, arg3) {
|
|
2497
|
+
getObject(arg0).uniform3iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
|
|
2498
|
+
},
|
|
2499
|
+
__wbg_uniform3uiv_c972de1ee5eb2b48: function(arg0, arg1, arg2, arg3) {
|
|
2500
|
+
getObject(arg0).uniform3uiv(getObject(arg1), getArrayU32FromWasm0(arg2, arg3));
|
|
2501
|
+
},
|
|
2502
|
+
__wbg_uniform4f_b5ea01e0388c425e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2503
|
+
getObject(arg0).uniform4f(getObject(arg1), arg2, arg3, arg4, arg5);
|
|
2504
|
+
},
|
|
2505
|
+
__wbg_uniform4f_b9880b3e743b1cf3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2506
|
+
getObject(arg0).uniform4f(getObject(arg1), arg2, arg3, arg4, arg5);
|
|
2507
|
+
},
|
|
2508
|
+
__wbg_uniform4fv_0763a5cfb3d561c9: function(arg0, arg1, arg2, arg3) {
|
|
2509
|
+
getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
2510
|
+
},
|
|
2511
|
+
__wbg_uniform4fv_95b1afba56301916: function(arg0, arg1, arg2, arg3) {
|
|
2512
|
+
getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
2513
|
+
},
|
|
2514
|
+
__wbg_uniform4iv_1269cd3a3f01909d: function(arg0, arg1, arg2, arg3) {
|
|
2515
|
+
getObject(arg0).uniform4iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
|
|
2516
|
+
},
|
|
2517
|
+
__wbg_uniform4iv_84dc6c0b2ea09256: function(arg0, arg1, arg2, arg3) {
|
|
2518
|
+
getObject(arg0).uniform4iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
|
|
2519
|
+
},
|
|
2520
|
+
__wbg_uniform4uiv_13ca9c250b538d85: function(arg0, arg1, arg2, arg3) {
|
|
2521
|
+
getObject(arg0).uniform4uiv(getObject(arg1), getArrayU32FromWasm0(arg2, arg3));
|
|
2522
|
+
},
|
|
2523
|
+
__wbg_uniformBlockBinding_d97dbfc1886608c9: function(arg0, arg1, arg2, arg3) {
|
|
2524
|
+
getObject(arg0).uniformBlockBinding(getObject(arg1), arg2 >>> 0, arg3 >>> 0);
|
|
2525
|
+
},
|
|
2526
|
+
__wbg_uniformMatrix2fv_4a95dd9315ceafce: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2527
|
+
getObject(arg0).uniformMatrix2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2528
|
+
},
|
|
2529
|
+
__wbg_uniformMatrix2fv_554c771038fd18e7: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2530
|
+
getObject(arg0).uniformMatrix2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2531
|
+
},
|
|
2532
|
+
__wbg_uniformMatrix2x3fv_18f2ff07b55f7458: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2533
|
+
getObject(arg0).uniformMatrix2x3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2534
|
+
},
|
|
2535
|
+
__wbg_uniformMatrix2x4fv_2b66cdeb52233873: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2536
|
+
getObject(arg0).uniformMatrix2x4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2537
|
+
},
|
|
2538
|
+
__wbg_uniformMatrix3fv_303d7eef53df7ed2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2539
|
+
getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2540
|
+
},
|
|
2541
|
+
__wbg_uniformMatrix3fv_a9db97f34b3706b3: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2542
|
+
getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2543
|
+
},
|
|
2544
|
+
__wbg_uniformMatrix3x2fv_67c65614f0e122e8: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2545
|
+
getObject(arg0).uniformMatrix3x2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2546
|
+
},
|
|
2547
|
+
__wbg_uniformMatrix3x4fv_e3bd46b1bf5227ed: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2548
|
+
getObject(arg0).uniformMatrix3x4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2549
|
+
},
|
|
2550
|
+
__wbg_uniformMatrix4fv_db6f9ad4f00e3b76: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2551
|
+
getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2552
|
+
},
|
|
2553
|
+
__wbg_uniformMatrix4fv_e411faf4de6021c5: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2554
|
+
getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2555
|
+
},
|
|
2556
|
+
__wbg_uniformMatrix4x2fv_c59133281828fe8e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2557
|
+
getObject(arg0).uniformMatrix4x2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2558
|
+
},
|
|
2559
|
+
__wbg_uniformMatrix4x3fv_dc85828b88505234: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2560
|
+
getObject(arg0).uniformMatrix4x3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2561
|
+
},
|
|
2562
|
+
__wbg_unmap_b819b8b402db13cc: function(arg0) {
|
|
2563
|
+
getObject(arg0).unmap();
|
|
2564
|
+
},
|
|
2565
|
+
__wbg_unobserve_a811aa8fa2d41747: function(arg0, arg1) {
|
|
2566
|
+
getObject(arg0).unobserve(getObject(arg1));
|
|
2567
|
+
},
|
|
2568
|
+
__wbg_useProgram_7019ac9ef4bdbe96: function(arg0, arg1) {
|
|
2569
|
+
getObject(arg0).useProgram(getObject(arg1));
|
|
2570
|
+
},
|
|
2571
|
+
__wbg_useProgram_fcab4319331e0094: function(arg0, arg1) {
|
|
2572
|
+
getObject(arg0).useProgram(getObject(arg1));
|
|
2573
|
+
},
|
|
2574
|
+
__wbg_userAgentData_31b8f893e8977e94: function(arg0) {
|
|
2575
|
+
const ret = getObject(arg0).userAgentData;
|
|
2576
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2577
|
+
},
|
|
2578
|
+
__wbg_userAgent_8f029431f94bc023: function() { return handleError(function (arg0, arg1) {
|
|
2579
|
+
const ret = getObject(arg1).userAgent;
|
|
2580
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2581
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2582
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2583
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2584
|
+
}, arguments); },
|
|
2585
|
+
__wbg_vertexAttribDivisorANGLE_5bebd4490e25d0f4: function(arg0, arg1, arg2) {
|
|
2586
|
+
getObject(arg0).vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
|
|
2587
|
+
},
|
|
2588
|
+
__wbg_vertexAttribDivisor_e2a9ba8c397af61b: function(arg0, arg1, arg2) {
|
|
2589
|
+
getObject(arg0).vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
|
|
2590
|
+
},
|
|
2591
|
+
__wbg_vertexAttribIPointer_660e209bed7575ab: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2592
|
+
getObject(arg0).vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
2593
|
+
},
|
|
2594
|
+
__wbg_vertexAttribPointer_b6db7a62b9bda090: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2595
|
+
getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
2596
|
+
},
|
|
2597
|
+
__wbg_vertexAttribPointer_ed019b681b1aaacf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2598
|
+
getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
2599
|
+
},
|
|
2600
|
+
__wbg_viewport_704a6159fb0395cb: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2601
|
+
getObject(arg0).viewport(arg1, arg2, arg3, arg4);
|
|
2602
|
+
},
|
|
2603
|
+
__wbg_viewport_f9d3214251b38c39: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2604
|
+
getObject(arg0).viewport(arg1, arg2, arg3, arg4);
|
|
2605
|
+
},
|
|
2606
|
+
__wbg_visibilityState_772c1fee874f04fe: function(arg0) {
|
|
2607
|
+
const ret = getObject(arg0).visibilityState;
|
|
2608
|
+
return (__wbindgen_enum_VisibilityState.indexOf(ret) + 1 || 3) - 1;
|
|
2609
|
+
},
|
|
2610
|
+
__wbg_webkitExitFullscreen_f487871f11a8185e: function(arg0) {
|
|
2611
|
+
getObject(arg0).webkitExitFullscreen();
|
|
2612
|
+
},
|
|
2613
|
+
__wbg_webkitFullscreenElement_4055d847f8ff064e: function(arg0) {
|
|
2614
|
+
const ret = getObject(arg0).webkitFullscreenElement;
|
|
2615
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2616
|
+
},
|
|
2617
|
+
__wbg_webkitRequestFullscreen_c4ec4df7be373ffd: function(arg0) {
|
|
2618
|
+
getObject(arg0).webkitRequestFullscreen();
|
|
2619
|
+
},
|
|
2620
|
+
__wbg_width_66ae60ec9345f56c: function(arg0) {
|
|
2621
|
+
const ret = getObject(arg0).width;
|
|
2622
|
+
return ret;
|
|
2623
|
+
},
|
|
2624
|
+
__wbg_writeBuffer_c6919ed0c4aaeef5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2625
|
+
getObject(arg0).writeBuffer(getObject(arg1), arg2, getObject(arg3), arg4, arg5);
|
|
2626
|
+
}, arguments); },
|
|
2627
|
+
__wbg_writeText_efbdad9c92eb55b9: function(arg0, arg1, arg2) {
|
|
2628
|
+
const ret = getObject(arg0).writeText(getStringFromWasm0(arg1, arg2));
|
|
2629
|
+
return addHeapObject(ret);
|
|
2630
|
+
},
|
|
2631
|
+
__wbg_writeTexture_340cfbecd9544755: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2632
|
+
getObject(arg0).writeTexture(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4));
|
|
2633
|
+
}, arguments); },
|
|
2634
|
+
__wbg_x_09473e91feed7557: function(arg0) {
|
|
2635
|
+
const ret = getObject(arg0).x;
|
|
2636
|
+
return ret;
|
|
2637
|
+
},
|
|
2638
|
+
__wbg_y_9897bd94adafed0f: function(arg0) {
|
|
2639
|
+
const ret = getObject(arg0).y;
|
|
2640
|
+
return ret;
|
|
2641
|
+
},
|
|
2642
|
+
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
2643
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 57, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2644
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_24945);
|
|
2645
|
+
return addHeapObject(ret);
|
|
2646
|
+
},
|
|
2647
|
+
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
2648
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 855, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2649
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_12996);
|
|
2650
|
+
return addHeapObject(ret);
|
|
2651
|
+
},
|
|
2652
|
+
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
2653
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 873, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2654
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_13027_9);
|
|
2655
|
+
return addHeapObject(ret);
|
|
2656
|
+
},
|
|
2657
|
+
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
2658
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 57, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2659
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_24945_10);
|
|
2660
|
+
return addHeapObject(ret);
|
|
2661
|
+
},
|
|
2662
|
+
__wbindgen_generic_0000000000000005: function(arg0, arg1) {
|
|
2663
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 57, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2664
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_24945_11);
|
|
2665
|
+
return addHeapObject(ret);
|
|
2666
|
+
},
|
|
2667
|
+
__wbindgen_generic_0000000000000006: function(arg0, arg1) {
|
|
2668
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 57, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2669
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_24945_12);
|
|
2670
|
+
return addHeapObject(ret);
|
|
2671
|
+
},
|
|
2672
|
+
__wbindgen_generic_0000000000000007: function(arg0, arg1) {
|
|
2673
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 57, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2674
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_24945_13);
|
|
2675
|
+
return addHeapObject(ret);
|
|
2676
|
+
},
|
|
2677
|
+
__wbindgen_generic_0000000000000008: function(arg0, arg1) {
|
|
2678
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 57, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2679
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_24945_14);
|
|
2680
|
+
return addHeapObject(ret);
|
|
2681
|
+
},
|
|
2682
|
+
__wbindgen_generic_0000000000000009: function(arg0, arg1) {
|
|
2683
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 57, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2684
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_24945_15);
|
|
2685
|
+
return addHeapObject(ret);
|
|
2686
|
+
},
|
|
2687
|
+
__wbindgen_generic_000000000000000a: function(arg0, arg1) {
|
|
2688
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 57, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2689
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_24945_16);
|
|
2690
|
+
return addHeapObject(ret);
|
|
2691
|
+
},
|
|
2692
|
+
__wbindgen_generic_000000000000000b: function(arg0, arg1) {
|
|
2693
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 69, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2694
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_23587);
|
|
2695
|
+
return addHeapObject(ret);
|
|
2696
|
+
},
|
|
2697
|
+
__wbindgen_generic_000000000000000c: function(arg0) {
|
|
2698
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
2699
|
+
const ret = arg0;
|
|
2700
|
+
return addHeapObject(ret);
|
|
2701
|
+
},
|
|
2702
|
+
__wbindgen_generic_000000000000000d: function(arg0, arg1) {
|
|
2703
|
+
// Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
|
|
2704
|
+
const ret = getArrayF32FromWasm0(arg0, arg1);
|
|
2705
|
+
return addHeapObject(ret);
|
|
2706
|
+
},
|
|
2707
|
+
__wbindgen_generic_000000000000000e: function(arg0, arg1) {
|
|
2708
|
+
// Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
|
|
2709
|
+
const ret = getArrayI16FromWasm0(arg0, arg1);
|
|
2710
|
+
return addHeapObject(ret);
|
|
2711
|
+
},
|
|
2712
|
+
__wbindgen_generic_000000000000000f: function(arg0, arg1) {
|
|
2713
|
+
// Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
|
|
2714
|
+
const ret = getArrayI32FromWasm0(arg0, arg1);
|
|
2715
|
+
return addHeapObject(ret);
|
|
2716
|
+
},
|
|
2717
|
+
__wbindgen_generic_0000000000000010: function(arg0, arg1) {
|
|
2718
|
+
// Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
|
|
2719
|
+
const ret = getArrayI8FromWasm0(arg0, arg1);
|
|
2720
|
+
return addHeapObject(ret);
|
|
2721
|
+
},
|
|
2722
|
+
__wbindgen_generic_0000000000000011: function(arg0, arg1) {
|
|
2723
|
+
// Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
|
|
2724
|
+
const ret = getArrayU16FromWasm0(arg0, arg1);
|
|
2725
|
+
return addHeapObject(ret);
|
|
2726
|
+
},
|
|
2727
|
+
__wbindgen_generic_0000000000000012: function(arg0, arg1) {
|
|
2728
|
+
// Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
|
|
2729
|
+
const ret = getArrayU32FromWasm0(arg0, arg1);
|
|
2730
|
+
return addHeapObject(ret);
|
|
2731
|
+
},
|
|
2732
|
+
__wbindgen_generic_0000000000000013: function(arg0, arg1) {
|
|
2733
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
2734
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
2735
|
+
return addHeapObject(ret);
|
|
2736
|
+
},
|
|
2737
|
+
__wbindgen_generic_0000000000000014: function(arg0, arg1) {
|
|
2738
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
2739
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
2740
|
+
return addHeapObject(ret);
|
|
2741
|
+
},
|
|
2742
|
+
__wbindgen_generic_0000000000000015: function(arg0, arg1) {
|
|
2743
|
+
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
2744
|
+
wasm.__wbindgen_export5(arg0, arg1 * 1, 1);
|
|
2745
|
+
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
2746
|
+
const ret = v0;
|
|
2747
|
+
return addHeapObject(ret);
|
|
2748
|
+
},
|
|
2749
|
+
__wbindgen_object_clone_ref: function(arg0) {
|
|
2750
|
+
const ret = getObject(arg0);
|
|
2751
|
+
return addHeapObject(ret);
|
|
2752
|
+
},
|
|
2753
|
+
__wbindgen_object_drop_ref: function(arg0) {
|
|
2754
|
+
takeObject(arg0);
|
|
2755
|
+
},
|
|
2756
|
+
};
|
|
2757
|
+
return {
|
|
2758
|
+
__proto__: null,
|
|
2759
|
+
"./reshiki_bg.js": import0,
|
|
2760
|
+
};
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
function __wasm_bindgen_func_elem_23587(arg0, arg1) {
|
|
2764
|
+
wasm.__wasm_bindgen_func_elem_23587(arg0, arg1);
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2767
|
+
function __wasm_bindgen_func_elem_24945(arg0, arg1, arg2) {
|
|
2768
|
+
wasm.__wasm_bindgen_func_elem_24945(arg0, arg1, addHeapObject(arg2));
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
function __wasm_bindgen_func_elem_24945_10(arg0, arg1, arg2) {
|
|
2772
|
+
wasm.__wasm_bindgen_func_elem_24945_10(arg0, arg1, addHeapObject(arg2));
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
function __wasm_bindgen_func_elem_24945_11(arg0, arg1, arg2) {
|
|
2776
|
+
wasm.__wasm_bindgen_func_elem_24945_11(arg0, arg1, addHeapObject(arg2));
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
function __wasm_bindgen_func_elem_24945_12(arg0, arg1, arg2) {
|
|
2780
|
+
wasm.__wasm_bindgen_func_elem_24945_12(arg0, arg1, addHeapObject(arg2));
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
function __wasm_bindgen_func_elem_24945_13(arg0, arg1, arg2) {
|
|
2784
|
+
wasm.__wasm_bindgen_func_elem_24945_13(arg0, arg1, addHeapObject(arg2));
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
function __wasm_bindgen_func_elem_24945_14(arg0, arg1, arg2) {
|
|
2788
|
+
wasm.__wasm_bindgen_func_elem_24945_14(arg0, arg1, addHeapObject(arg2));
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2791
|
+
function __wasm_bindgen_func_elem_24945_15(arg0, arg1, arg2) {
|
|
2792
|
+
wasm.__wasm_bindgen_func_elem_24945_15(arg0, arg1, addHeapObject(arg2));
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
function __wasm_bindgen_func_elem_24945_16(arg0, arg1, arg2) {
|
|
2796
|
+
wasm.__wasm_bindgen_func_elem_24945_16(arg0, arg1, addHeapObject(arg2));
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
function __wasm_bindgen_func_elem_13027(arg0, arg1, arg2, arg3) {
|
|
2800
|
+
wasm.__wasm_bindgen_func_elem_13027(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
function __wasm_bindgen_func_elem_12996(arg0, arg1, arg2) {
|
|
2804
|
+
try {
|
|
2805
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2806
|
+
wasm.__wasm_bindgen_func_elem_12996(retptr, arg0, arg1, addHeapObject(arg2));
|
|
2807
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2808
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
2809
|
+
if (r1) {
|
|
2810
|
+
throw takeObject(r0);
|
|
2811
|
+
}
|
|
2812
|
+
} finally {
|
|
2813
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
function __wasm_bindgen_func_elem_13027_9(arg0, arg1, arg2, arg3) {
|
|
2818
|
+
wasm.__wasm_bindgen_func_elem_13027_9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
const __wbindgen_enum_GpuBlendFactor = ["zero", "one", "src", "one-minus-src", "src-alpha", "one-minus-src-alpha", "dst", "one-minus-dst", "dst-alpha", "one-minus-dst-alpha", "src-alpha-saturated", "constant", "one-minus-constant", "src1", "one-minus-src1", "src1-alpha", "one-minus-src1-alpha"];
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
const __wbindgen_enum_GpuBlendOperation = ["add", "subtract", "reverse-subtract", "min", "max"];
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
const __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
const __wbindgen_enum_GpuCanvasAlphaMode = ["opaque", "premultiplied"];
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equal", "greater", "not-equal", "greater-equal", "always"];
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
|
|
2841
|
+
|
|
2842
|
+
|
|
2843
|
+
const __wbindgen_enum_GpuFilterMode = ["nearest", "linear"];
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
const __wbindgen_enum_GpuFrontFace = ["ccw", "cw"];
|
|
2847
|
+
|
|
2848
|
+
|
|
2849
|
+
const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
const __wbindgen_enum_GpuLoadOp = ["load", "clear"];
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
const __wbindgen_enum_GpuMipmapFilterMode = ["nearest", "linear"];
|
|
2856
|
+
|
|
2857
|
+
|
|
2858
|
+
const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
|
|
2865
|
+
|
|
2866
|
+
|
|
2867
|
+
const __wbindgen_enum_GpuStencilOperation = ["keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap"];
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
const __wbindgen_enum_GpuStorageTextureAccess = ["write-only", "read-only", "read-write"];
|
|
2871
|
+
|
|
2872
|
+
|
|
2873
|
+
const __wbindgen_enum_GpuStoreOp = ["store", "discard"];
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
const __wbindgen_enum_GpuTextureAspect = ["all", "stencil-only", "depth-only"];
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
const __wbindgen_enum_GpuTextureDimension = ["1d", "2d", "3d"];
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
const __wbindgen_enum_GpuTextureFormat = ["r8unorm", "r8snorm", "r8uint", "r8sint", "r16uint", "r16sint", "r16float", "rg8unorm", "rg8snorm", "rg8uint", "rg8sint", "r32uint", "r32sint", "r32float", "rg16uint", "rg16sint", "rg16float", "rgba8unorm", "rgba8unorm-srgb", "rgba8snorm", "rgba8uint", "rgba8sint", "bgra8unorm", "bgra8unorm-srgb", "rgb9e5ufloat", "rgb10a2uint", "rgb10a2unorm", "rg11b10ufloat", "rg32uint", "rg32sint", "rg32float", "rgba16uint", "rgba16sint", "rgba16float", "rgba32uint", "rgba32sint", "rgba32float", "stencil8", "depth16unorm", "depth24plus", "depth24plus-stencil8", "depth32float", "depth32float-stencil8", "bc1-rgba-unorm", "bc1-rgba-unorm-srgb", "bc2-rgba-unorm", "bc2-rgba-unorm-srgb", "bc3-rgba-unorm", "bc3-rgba-unorm-srgb", "bc4-r-unorm", "bc4-r-snorm", "bc5-rg-unorm", "bc5-rg-snorm", "bc6h-rgb-ufloat", "bc6h-rgb-float", "bc7-rgba-unorm", "bc7-rgba-unorm-srgb", "etc2-rgb8unorm", "etc2-rgb8unorm-srgb", "etc2-rgb8a1unorm", "etc2-rgb8a1unorm-srgb", "etc2-rgba8unorm", "etc2-rgba8unorm-srgb", "eac-r11unorm", "eac-r11snorm", "eac-rg11unorm", "eac-rg11snorm", "astc-4x4-unorm", "astc-4x4-unorm-srgb", "astc-5x4-unorm", "astc-5x4-unorm-srgb", "astc-5x5-unorm", "astc-5x5-unorm-srgb", "astc-6x5-unorm", "astc-6x5-unorm-srgb", "astc-6x6-unorm", "astc-6x6-unorm-srgb", "astc-8x5-unorm", "astc-8x5-unorm-srgb", "astc-8x6-unorm", "astc-8x6-unorm-srgb", "astc-8x8-unorm", "astc-8x8-unorm-srgb", "astc-10x5-unorm", "astc-10x5-unorm-srgb", "astc-10x6-unorm", "astc-10x6-unorm-srgb", "astc-10x8-unorm", "astc-10x8-unorm-srgb", "astc-10x10-unorm", "astc-10x10-unorm-srgb", "astc-12x10-unorm", "astc-12x10-unorm-srgb", "astc-12x12-unorm", "astc-12x12-unorm-srgb"];
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
const __wbindgen_enum_GpuTextureSampleType = ["float", "unfilterable-float", "depth", "sint", "uint"];
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
const __wbindgen_enum_GpuTextureViewDimension = ["1d", "2d", "2d-array", "cube", "cube-array", "3d"];
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
const __wbindgen_enum_GpuVertexFormat = ["uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra"];
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
|
|
2895
|
+
|
|
2896
|
+
|
|
2897
|
+
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
const __wbindgen_enum_VisibilityState = ["hidden", "visible"];
|
|
2901
|
+
|
|
2902
|
+
function addHeapObject(obj) {
|
|
2903
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
2904
|
+
const idx = heap_next;
|
|
2905
|
+
heap_next = heap[idx];
|
|
2906
|
+
|
|
2907
|
+
heap[idx] = obj;
|
|
2908
|
+
return idx;
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
2912
|
+
? { register: () => {}, unregister: () => {} }
|
|
2913
|
+
: new FinalizationRegistry(state => wasm.__wbindgen_export4(state.a, state.b));
|
|
2914
|
+
|
|
2915
|
+
function debugString(val) {
|
|
2916
|
+
// primitive types
|
|
2917
|
+
const type = typeof val;
|
|
2918
|
+
if (type == 'number' || type == 'boolean' || val == null) {
|
|
2919
|
+
return `${val}`;
|
|
2920
|
+
}
|
|
2921
|
+
if (type == 'string') {
|
|
2922
|
+
return `"${val}"`;
|
|
2923
|
+
}
|
|
2924
|
+
if (type == 'symbol') {
|
|
2925
|
+
const description = val.description;
|
|
2926
|
+
if (description == null) {
|
|
2927
|
+
return 'Symbol';
|
|
2928
|
+
} else {
|
|
2929
|
+
return `Symbol(${description})`;
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
if (type == 'function') {
|
|
2933
|
+
const name = val.name;
|
|
2934
|
+
if (typeof name == 'string' && name.length > 0) {
|
|
2935
|
+
return `Function(${name})`;
|
|
2936
|
+
} else {
|
|
2937
|
+
return 'Function';
|
|
2938
|
+
}
|
|
2939
|
+
}
|
|
2940
|
+
// objects
|
|
2941
|
+
if (Array.isArray(val)) {
|
|
2942
|
+
const length = val.length;
|
|
2943
|
+
let debug = '[';
|
|
2944
|
+
if (length > 0) {
|
|
2945
|
+
debug += debugString(val[0]);
|
|
2946
|
+
}
|
|
2947
|
+
for(let i = 1; i < length; i++) {
|
|
2948
|
+
debug += ', ' + debugString(val[i]);
|
|
2949
|
+
}
|
|
2950
|
+
debug += ']';
|
|
2951
|
+
return debug;
|
|
2952
|
+
}
|
|
2953
|
+
// Test for built-in
|
|
2954
|
+
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
2955
|
+
let className;
|
|
2956
|
+
if (builtInMatches && builtInMatches.length > 1) {
|
|
2957
|
+
className = builtInMatches[1];
|
|
2958
|
+
} else {
|
|
2959
|
+
// Failed to match the standard '[object ClassName]'
|
|
2960
|
+
return toString.call(val);
|
|
2961
|
+
}
|
|
2962
|
+
if (className == 'Object') {
|
|
2963
|
+
// we're a user defined class or Object
|
|
2964
|
+
// JSON.stringify avoids problems with cycles, and is generally much
|
|
2965
|
+
// easier than looping through ownProperties of `val`.
|
|
2966
|
+
try {
|
|
2967
|
+
return 'Object(' + JSON.stringify(val) + ')';
|
|
2968
|
+
} catch (_) {
|
|
2969
|
+
return 'Object';
|
|
2970
|
+
}
|
|
2971
|
+
}
|
|
2972
|
+
// errors
|
|
2973
|
+
if (val instanceof Error) {
|
|
2974
|
+
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
2975
|
+
}
|
|
2976
|
+
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
2977
|
+
return className;
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2980
|
+
function dropObject(idx) {
|
|
2981
|
+
if (idx < 1028) return;
|
|
2982
|
+
heap[idx] = heap_next;
|
|
2983
|
+
heap_next = idx;
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
function getArrayF32FromWasm0(ptr, len) {
|
|
2987
|
+
ptr = ptr >>> 0;
|
|
2988
|
+
return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
function getArrayI16FromWasm0(ptr, len) {
|
|
2992
|
+
ptr = ptr >>> 0;
|
|
2993
|
+
return getInt16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
function getArrayI32FromWasm0(ptr, len) {
|
|
2997
|
+
ptr = ptr >>> 0;
|
|
2998
|
+
return getInt32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
function getArrayI8FromWasm0(ptr, len) {
|
|
3002
|
+
ptr = ptr >>> 0;
|
|
3003
|
+
return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
function getArrayU16FromWasm0(ptr, len) {
|
|
3007
|
+
ptr = ptr >>> 0;
|
|
3008
|
+
return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
function getArrayU32FromWasm0(ptr, len) {
|
|
3012
|
+
ptr = ptr >>> 0;
|
|
3013
|
+
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
3017
|
+
ptr = ptr >>> 0;
|
|
3018
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
let cachedDataViewMemory0 = null;
|
|
3022
|
+
function getDataViewMemory0() {
|
|
3023
|
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
3024
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
3025
|
+
}
|
|
3026
|
+
return cachedDataViewMemory0;
|
|
3027
|
+
}
|
|
3028
|
+
|
|
3029
|
+
let cachedFloat32ArrayMemory0 = null;
|
|
3030
|
+
function getFloat32ArrayMemory0() {
|
|
3031
|
+
if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
|
|
3032
|
+
cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
|
|
3033
|
+
}
|
|
3034
|
+
return cachedFloat32ArrayMemory0;
|
|
3035
|
+
}
|
|
3036
|
+
|
|
3037
|
+
let cachedInt16ArrayMemory0 = null;
|
|
3038
|
+
function getInt16ArrayMemory0() {
|
|
3039
|
+
if (cachedInt16ArrayMemory0 === null || cachedInt16ArrayMemory0.byteLength === 0) {
|
|
3040
|
+
cachedInt16ArrayMemory0 = new Int16Array(wasm.memory.buffer);
|
|
3041
|
+
}
|
|
3042
|
+
return cachedInt16ArrayMemory0;
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
let cachedInt32ArrayMemory0 = null;
|
|
3046
|
+
function getInt32ArrayMemory0() {
|
|
3047
|
+
if (cachedInt32ArrayMemory0 === null || cachedInt32ArrayMemory0.byteLength === 0) {
|
|
3048
|
+
cachedInt32ArrayMemory0 = new Int32Array(wasm.memory.buffer);
|
|
3049
|
+
}
|
|
3050
|
+
return cachedInt32ArrayMemory0;
|
|
3051
|
+
}
|
|
3052
|
+
|
|
3053
|
+
let cachedInt8ArrayMemory0 = null;
|
|
3054
|
+
function getInt8ArrayMemory0() {
|
|
3055
|
+
if (cachedInt8ArrayMemory0 === null || cachedInt8ArrayMemory0.byteLength === 0) {
|
|
3056
|
+
cachedInt8ArrayMemory0 = new Int8Array(wasm.memory.buffer);
|
|
3057
|
+
}
|
|
3058
|
+
return cachedInt8ArrayMemory0;
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
function getStringFromWasm0(ptr, len) {
|
|
3062
|
+
return decodeText(ptr >>> 0, len);
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
let cachedUint16ArrayMemory0 = null;
|
|
3066
|
+
function getUint16ArrayMemory0() {
|
|
3067
|
+
if (cachedUint16ArrayMemory0 === null || cachedUint16ArrayMemory0.byteLength === 0) {
|
|
3068
|
+
cachedUint16ArrayMemory0 = new Uint16Array(wasm.memory.buffer);
|
|
3069
|
+
}
|
|
3070
|
+
return cachedUint16ArrayMemory0;
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
let cachedUint32ArrayMemory0 = null;
|
|
3074
|
+
function getUint32ArrayMemory0() {
|
|
3075
|
+
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
3076
|
+
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
3077
|
+
}
|
|
3078
|
+
return cachedUint32ArrayMemory0;
|
|
3079
|
+
}
|
|
3080
|
+
|
|
3081
|
+
let cachedUint8ArrayMemory0 = null;
|
|
3082
|
+
function getUint8ArrayMemory0() {
|
|
3083
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
3084
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
3085
|
+
}
|
|
3086
|
+
return cachedUint8ArrayMemory0;
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
function getObject(idx) { return heap[idx]; }
|
|
3090
|
+
|
|
3091
|
+
function handleError(f, args) {
|
|
3092
|
+
try {
|
|
3093
|
+
return f.apply(this, args);
|
|
3094
|
+
} catch (e) {
|
|
3095
|
+
wasm.__wbindgen_export3(addHeapObject(e));
|
|
3096
|
+
}
|
|
3097
|
+
}
|
|
3098
|
+
|
|
3099
|
+
let heap = new Array(1024).fill(undefined);
|
|
3100
|
+
heap.push(undefined, null, true, false);
|
|
3101
|
+
|
|
3102
|
+
let heap_next = heap.length;
|
|
3103
|
+
|
|
3104
|
+
function isLikeNone(x) {
|
|
3105
|
+
return x === undefined || x === null;
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3108
|
+
function makeMutClosure(arg0, arg1, f) {
|
|
3109
|
+
const state = { a: arg0, b: arg1, cnt: 1 };
|
|
3110
|
+
const real = (...args) => {
|
|
3111
|
+
|
|
3112
|
+
// First up with a closure we increment the internal reference
|
|
3113
|
+
// count. This ensures that the Rust closure environment won't
|
|
3114
|
+
// be deallocated while we're invoking it.
|
|
3115
|
+
state.cnt++;
|
|
3116
|
+
const a = state.a;
|
|
3117
|
+
state.a = 0;
|
|
3118
|
+
try {
|
|
3119
|
+
return f(a, state.b, ...args);
|
|
3120
|
+
} finally {
|
|
3121
|
+
state.a = a;
|
|
3122
|
+
real._wbg_cb_unref();
|
|
3123
|
+
}
|
|
3124
|
+
};
|
|
3125
|
+
real._wbg_cb_unref = () => {
|
|
3126
|
+
if (--state.cnt === 0) {
|
|
3127
|
+
wasm.__wbindgen_export4(state.a, state.b);
|
|
3128
|
+
state.a = 0;
|
|
3129
|
+
CLOSURE_DTORS.unregister(state);
|
|
3130
|
+
}
|
|
3131
|
+
};
|
|
3132
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
3133
|
+
return real;
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3136
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
3137
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
3138
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
3139
|
+
WASM_VECTOR_LEN = arg.length;
|
|
3140
|
+
return ptr;
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
function passStringToWasm0(arg, malloc, realloc) {
|
|
3144
|
+
if (realloc === undefined) {
|
|
3145
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
3146
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
3147
|
+
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
3148
|
+
WASM_VECTOR_LEN = buf.length;
|
|
3149
|
+
return ptr;
|
|
3150
|
+
}
|
|
3151
|
+
|
|
3152
|
+
let len = arg.length;
|
|
3153
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
3154
|
+
|
|
3155
|
+
const mem = getUint8ArrayMemory0();
|
|
3156
|
+
|
|
3157
|
+
let offset = 0;
|
|
3158
|
+
|
|
3159
|
+
for (; offset < len; offset++) {
|
|
3160
|
+
const code = arg.charCodeAt(offset);
|
|
3161
|
+
if (code > 0x7F) break;
|
|
3162
|
+
mem[ptr + offset] = code;
|
|
3163
|
+
}
|
|
3164
|
+
if (offset !== len) {
|
|
3165
|
+
if (offset !== 0) {
|
|
3166
|
+
arg = arg.slice(offset);
|
|
3167
|
+
}
|
|
3168
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
3169
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
3170
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
3171
|
+
|
|
3172
|
+
offset += ret.written;
|
|
3173
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
WASM_VECTOR_LEN = offset;
|
|
3177
|
+
return ptr;
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
function takeObject(idx) {
|
|
3181
|
+
const ret = getObject(idx);
|
|
3182
|
+
dropObject(idx);
|
|
3183
|
+
return ret;
|
|
3184
|
+
}
|
|
3185
|
+
|
|
3186
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
3187
|
+
cachedTextDecoder.decode();
|
|
3188
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
3189
|
+
let numBytesDecoded = 0;
|
|
3190
|
+
function decodeText(ptr, len) {
|
|
3191
|
+
numBytesDecoded += len;
|
|
3192
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
3193
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
3194
|
+
cachedTextDecoder.decode();
|
|
3195
|
+
numBytesDecoded = len;
|
|
3196
|
+
}
|
|
3197
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
const cachedTextEncoder = new TextEncoder();
|
|
3201
|
+
|
|
3202
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
3203
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
3204
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
3205
|
+
view.set(buf);
|
|
3206
|
+
return {
|
|
3207
|
+
read: arg.length,
|
|
3208
|
+
written: buf.length
|
|
3209
|
+
};
|
|
3210
|
+
};
|
|
3211
|
+
}
|
|
3212
|
+
|
|
3213
|
+
let WASM_VECTOR_LEN = 0;
|
|
3214
|
+
|
|
3215
|
+
let wasmModule, wasmInstance, wasm;
|
|
3216
|
+
function __wbg_finalize_init(instance, module) {
|
|
3217
|
+
wasmInstance = instance;
|
|
3218
|
+
wasm = instance.exports;
|
|
3219
|
+
wasmModule = module;
|
|
3220
|
+
cachedDataViewMemory0 = null;
|
|
3221
|
+
cachedFloat32ArrayMemory0 = null;
|
|
3222
|
+
cachedInt16ArrayMemory0 = null;
|
|
3223
|
+
cachedInt32ArrayMemory0 = null;
|
|
3224
|
+
cachedInt8ArrayMemory0 = null;
|
|
3225
|
+
cachedUint16ArrayMemory0 = null;
|
|
3226
|
+
cachedUint32ArrayMemory0 = null;
|
|
3227
|
+
cachedUint8ArrayMemory0 = null;
|
|
3228
|
+
wasm.__wbindgen_start();
|
|
3229
|
+
return wasm;
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
async function __wbg_load(module, imports) {
|
|
3233
|
+
if (typeof Response === 'function' && module instanceof Response) {
|
|
3234
|
+
if (!module.ok) {
|
|
3235
|
+
throw new Error(`failed to fetch Wasm: ${module.status} ${module.statusText} fetching '${module.url}'`);
|
|
3236
|
+
}
|
|
3237
|
+
|
|
3238
|
+
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
3239
|
+
try {
|
|
3240
|
+
return await WebAssembly.instantiateStreaming(module, imports);
|
|
3241
|
+
} catch (e) {
|
|
3242
|
+
const validResponse = expectedResponseType(module.type);
|
|
3243
|
+
|
|
3244
|
+
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
3245
|
+
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);
|
|
3246
|
+
|
|
3247
|
+
} else { throw e; }
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3250
|
+
|
|
3251
|
+
const bytes = await module.arrayBuffer();
|
|
3252
|
+
return await WebAssembly.instantiate(bytes, imports);
|
|
3253
|
+
} else {
|
|
3254
|
+
const instance = await WebAssembly.instantiate(module, imports);
|
|
3255
|
+
|
|
3256
|
+
if (instance instanceof WebAssembly.Instance) {
|
|
3257
|
+
return { instance, module };
|
|
3258
|
+
} else {
|
|
3259
|
+
return instance;
|
|
3260
|
+
}
|
|
3261
|
+
}
|
|
3262
|
+
|
|
3263
|
+
function expectedResponseType(type) {
|
|
3264
|
+
switch (type) {
|
|
3265
|
+
case 'basic': case 'cors': case 'default': return true;
|
|
3266
|
+
}
|
|
3267
|
+
return false;
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
function initSync(module) {
|
|
3272
|
+
if (wasm !== undefined) return wasm;
|
|
3273
|
+
|
|
3274
|
+
|
|
3275
|
+
if (module !== undefined) {
|
|
3276
|
+
if (Object.getPrototypeOf(module) === Object.prototype) {
|
|
3277
|
+
({module} = module)
|
|
3278
|
+
} else {
|
|
3279
|
+
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3282
|
+
|
|
3283
|
+
const imports = __wbg_get_imports();
|
|
3284
|
+
if (!(module instanceof WebAssembly.Module)) {
|
|
3285
|
+
module = new WebAssembly.Module(module);
|
|
3286
|
+
}
|
|
3287
|
+
const instance = new WebAssembly.Instance(module, imports);
|
|
3288
|
+
return __wbg_finalize_init(instance, module);
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3291
|
+
async function __wbg_init(module_or_path) {
|
|
3292
|
+
if (wasm !== undefined) return wasm;
|
|
3293
|
+
|
|
3294
|
+
|
|
3295
|
+
if (module_or_path !== undefined) {
|
|
3296
|
+
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
3297
|
+
({module_or_path} = module_or_path)
|
|
3298
|
+
} else {
|
|
3299
|
+
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
|
|
3300
|
+
}
|
|
3301
|
+
}
|
|
3302
|
+
|
|
3303
|
+
if (module_or_path === undefined) {
|
|
3304
|
+
module_or_path = new URL('reshiki_bg.wasm', import.meta.url);
|
|
3305
|
+
}
|
|
3306
|
+
const imports = __wbg_get_imports();
|
|
3307
|
+
|
|
3308
|
+
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
|
|
3309
|
+
module_or_path = fetch(module_or_path);
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3312
|
+
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
3313
|
+
|
|
3314
|
+
return __wbg_finalize_init(instance, module);
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3317
|
+
export { initSync, __wbg_init as default };
|