isard 1.16.0 → 2.0.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/CHANGELOG.md +48 -0
- package/README.md +4 -4
- package/dist/basemap/vectortiles/placed.js +7 -4
- package/dist/basemap/vectortiles/placed.js.map +1 -1
- package/dist/basemap/vectortiles/tiles.d.ts +1 -1
- package/dist/basemap/vectortiles/tiles.js.map +1 -1
- package/dist/basemap/workerpool.d.ts +1 -1
- package/dist/basemap/workerpool.js.map +1 -1
- package/dist/decoder.worker.js +4 -5
- package/dist/decoder.worker.js.map +6 -6
- package/dist/decoding/decoders.d.ts +1 -1
- package/dist/decoding/decoders.js.map +1 -1
- package/dist/decoding/loader.d.ts +6 -3
- package/dist/decoding/loader.js +7 -5
- package/dist/decoding/loader.js.map +1 -1
- package/dist/decoding/protocol.d.ts +3 -2
- package/dist/decoding/protocol.js.map +1 -1
- package/dist/engine-loader.d.ts +20 -18
- package/dist/engine-loader.js +45 -42
- package/dist/engine-loader.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js.map +1 -1
- package/dist/isard_grid_bg.wasm +0 -0
- package/dist/isard_tess_bg.wasm +0 -0
- package/dist/isard_tiles3d_bg.wasm +0 -0
- package/dist/isard_webgl2_bg.wasm +0 -0
- package/dist/isard_webgpu_bg.wasm +0 -0
- package/dist/layers/custom.d.ts +35 -29
- package/dist/layers/custom.js +60 -46
- package/dist/layers/custom.js.map +1 -1
- package/dist/layers/extrusions.js.map +1 -1
- package/dist/layers/features.js.map +1 -1
- package/dist/layers/flow.js.map +1 -1
- package/dist/layers/glyphs.d.ts +1 -1
- package/dist/layers/glyphs.js.map +1 -1
- package/dist/layers/ground.d.ts +20 -13
- package/dist/layers/ground.js +29 -8
- package/dist/layers/ground.js.map +1 -1
- package/dist/layers/icons.d.ts +1 -1
- package/dist/layers/icons.js.map +1 -1
- package/dist/layers/layers.d.ts +1 -2
- package/dist/layers/layers.js +2 -11
- package/dist/layers/layers.js.map +1 -1
- package/dist/layers/models.js +0 -4
- package/dist/layers/models.js.map +1 -1
- package/dist/layers/network.d.ts +1 -1
- package/dist/layers/network.js.map +1 -1
- package/dist/layers/panoramas.d.ts +1 -0
- package/dist/layers/panoramas.js +3 -2
- package/dist/layers/panoramas.js.map +1 -1
- package/dist/layers/pointclouds.d.ts +1 -1
- package/dist/layers/pointclouds.js +0 -4
- package/dist/layers/pointclouds.js.map +1 -1
- package/dist/layers/raster.js.map +1 -1
- package/dist/layers/symbols.js.map +1 -1
- package/dist/layers/tiles3d.d.ts +1 -1
- package/dist/layers/tiles3d.js +0 -4
- package/dist/layers/tiles3d.js.map +1 -1
- package/dist/layers/vectors.d.ts +4 -5
- package/dist/layers/vectors.js +7 -15
- package/dist/layers/vectors.js.map +1 -1
- package/dist/map/engine-settings.d.ts +1 -1
- package/dist/map/engine-settings.js.map +1 -1
- package/dist/map/engines.d.ts +11 -26
- package/dist/map/engines.js +10 -48
- package/dist/map/engines.js.map +1 -1
- package/dist/map/frame-loop.d.ts +1 -3
- package/dist/map/frame-loop.js +3 -3
- package/dist/map/frame-loop.js.map +1 -1
- package/dist/map/hover-pick.d.ts +9 -3
- package/dist/map/hover-pick.js +29 -6
- package/dist/map/hover-pick.js.map +1 -1
- package/dist/map/layer-stack.d.ts +2 -2
- package/dist/map/layer-stack.js +1 -3
- package/dist/map/layer-stack.js.map +1 -1
- package/dist/map/symbol-atlases.d.ts +5 -4
- package/dist/map/symbol-atlases.js +8 -13
- package/dist/map/symbol-atlases.js.map +1 -1
- package/dist/map/viewshed.d.ts +1 -1
- package/dist/map/viewshed.js.map +1 -1
- package/dist/map.d.ts +26 -20
- package/dist/map.js +93 -78
- package/dist/map.js.map +1 -1
- package/dist/react/IsardMap.d.ts +1 -1
- package/dist/react/IsardMap.js.map +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js.map +1 -1
- package/dist/types.d.ts +29 -18
- package/dist/types.js.map +1 -1
- package/dist/ui/interaction.d.ts +1 -1
- package/dist/ui/interaction.js.map +1 -1
- package/dist/util/animation.d.ts +1 -1
- package/dist/util/animation.js.map +1 -1
- package/dist/wasm/isard_tiles3d.d.ts +181 -0
- package/dist/wasm/isard_tiles3d.js +387 -0
- package/dist/wasm/{isard_core.d.ts → isard_webgl2.d.ts} +373 -182
- package/dist/wasm/{isard_core.js → isard_webgl2.js} +2155 -413
- package/dist/wasm/{isard.d.ts → isard_webgpu.d.ts} +176 -353
- package/dist/wasm/{isard.js → isard_webgpu.js} +1361 -1104
- package/package.json +4 -3
- package/vite.js +5 -4
- package/dist/isard_bg.wasm +0 -0
- package/dist/isard_core_bg.wasm +0 -0
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
/* @ts-self-types="./
|
|
1
|
+
/* @ts-self-types="./isard_webgl2.d.ts" */
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* A map on one canvas: its
|
|
5
|
-
*
|
|
4
|
+
* A map on one canvas: its device, its camera, what it draws. Draws only when `render` is called (the JavaScript
|
|
5
|
+
* side calls it after `redraw` asks for a frame)
|
|
6
6
|
*/
|
|
7
7
|
export class Engine {
|
|
8
|
+
static __wrap(ptr) {
|
|
9
|
+
const obj = Object.create(Engine.prototype);
|
|
10
|
+
obj.__wbg_ptr = ptr;
|
|
11
|
+
EngineFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
8
14
|
__destroy_into_raw() {
|
|
9
15
|
const ptr = this.__wbg_ptr;
|
|
10
16
|
this.__wbg_ptr = 0;
|
|
@@ -20,8 +26,7 @@ export class Engine {
|
|
|
20
26
|
*
|
|
21
27
|
* # Errors
|
|
22
28
|
*
|
|
23
|
-
* Throws (to JavaScript) when
|
|
24
|
-
* info log), or when `feature_count` features need a table texture past the GPU's `MAX_TEXTURE_SIZE`
|
|
29
|
+
* Throws (to JavaScript) when `feature_count` features need a table past the GPU's largest texture
|
|
25
30
|
* @param {Float64Array} points
|
|
26
31
|
* @param {Uint32Array} feature
|
|
27
32
|
* @param {number} feature_count
|
|
@@ -39,10 +44,10 @@ export class Engine {
|
|
|
39
44
|
return ret[0] >>> 0;
|
|
40
45
|
}
|
|
41
46
|
/**
|
|
42
|
-
* A layer drawn by the page: `render()` is called
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* @param {() => void} render
|
|
47
|
+
* A layer drawn by the page: `render(target)` is called before every frame's pass with its targets (the device,
|
|
48
|
+
* the color, the depth in `'3d'`: `customMatrix` gives the matrices of that frame meanwhile), what it drew laid over
|
|
49
|
+
* the frame at the layer's place; `depth`: with the depth of the solid scene (`'3d'` mode)
|
|
50
|
+
* @param {(target: CustomTarget) => void} render
|
|
46
51
|
* @param {boolean} depth
|
|
47
52
|
* @returns {number}
|
|
48
53
|
*/
|
|
@@ -55,8 +60,7 @@ export class Engine {
|
|
|
55
60
|
*
|
|
56
61
|
* # Errors
|
|
57
62
|
*
|
|
58
|
-
*
|
|
59
|
-
* info log)
|
|
63
|
+
* Never in practice: the layer starts empty
|
|
60
64
|
* @returns {number}
|
|
61
65
|
*/
|
|
62
66
|
addExtrusions() {
|
|
@@ -73,8 +77,7 @@ export class Engine {
|
|
|
73
77
|
*
|
|
74
78
|
* # Errors
|
|
75
79
|
*
|
|
76
|
-
* Throws (to JavaScript) when
|
|
77
|
-
* info log), or when `feature_count` features need a table texture past the GPU's `MAX_TEXTURE_SIZE`
|
|
80
|
+
* Throws (to JavaScript) when `feature_count` features need a table past the GPU's largest texture
|
|
78
81
|
* @param {Float64Array} points
|
|
79
82
|
* @param {Uint32Array} ring_start
|
|
80
83
|
* @param {Uint32Array} polygon_start
|
|
@@ -103,8 +106,7 @@ export class Engine {
|
|
|
103
106
|
*
|
|
104
107
|
* # Errors
|
|
105
108
|
*
|
|
106
|
-
* Throws (to JavaScript) when
|
|
107
|
-
* table texture past the GPU's `MAX_TEXTURE_SIZE`
|
|
109
|
+
* Throws (to JavaScript) when the trails need a table past the GPU's largest texture
|
|
108
110
|
* @param {number} particles
|
|
109
111
|
* @param {number} trail
|
|
110
112
|
* @returns {number}
|
|
@@ -117,14 +119,17 @@ export class Engine {
|
|
|
117
119
|
return ret[0] >>> 0;
|
|
118
120
|
}
|
|
119
121
|
/**
|
|
120
|
-
* Ground layer running `code` (
|
|
121
|
-
* ground; `
|
|
122
|
-
*
|
|
122
|
+
* Ground layer running `code` (WGSL defining `fn ground(offset: vec2f) -> vec4f`, see `render::ground`) over the
|
|
123
|
+
* ground; `names` and `types`: its uniforms (`f32`, `vec2f`, `vec4<u32>`, `mat4x4f`…), read as `u.<name>`;
|
|
124
|
+
* `anchor`: Mercator point the offsets are taken from; bounds: Mercator box it shows in. Compilation errors are
|
|
125
|
+
* reported in the console when the layer is first drawn
|
|
123
126
|
*
|
|
124
127
|
* # Errors
|
|
125
128
|
*
|
|
126
|
-
* Throws (to JavaScript)
|
|
129
|
+
* Throws (to JavaScript) on a uniform's name or type WGSL does not take
|
|
127
130
|
* @param {string} code
|
|
131
|
+
* @param {string[]} names
|
|
132
|
+
* @param {string[]} types
|
|
128
133
|
* @param {number} anchor_x
|
|
129
134
|
* @param {number} anchor_y
|
|
130
135
|
* @param {number} min_x
|
|
@@ -133,10 +138,14 @@ export class Engine {
|
|
|
133
138
|
* @param {number} max_y
|
|
134
139
|
* @returns {number}
|
|
135
140
|
*/
|
|
136
|
-
addGround(code, anchor_x, anchor_y, min_x, min_y, max_x, max_y) {
|
|
141
|
+
addGround(code, names, types, anchor_x, anchor_y, min_x, min_y, max_x, max_y) {
|
|
137
142
|
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
138
143
|
const len0 = WASM_VECTOR_LEN;
|
|
139
|
-
const
|
|
144
|
+
const ptr1 = passArrayJsValueToWasm0(names, wasm.__wbindgen_malloc);
|
|
145
|
+
const len1 = WASM_VECTOR_LEN;
|
|
146
|
+
const ptr2 = passArrayJsValueToWasm0(types, wasm.__wbindgen_malloc);
|
|
147
|
+
const len2 = WASM_VECTOR_LEN;
|
|
148
|
+
const ret = wasm.engine_addGround(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, anchor_x, anchor_y, min_x, min_y, max_x, max_y);
|
|
140
149
|
if (ret[2]) {
|
|
141
150
|
throw takeFromExternrefTable0(ret[1]);
|
|
142
151
|
}
|
|
@@ -148,8 +157,7 @@ export class Engine {
|
|
|
148
157
|
*
|
|
149
158
|
* # Errors
|
|
150
159
|
*
|
|
151
|
-
* Throws (to JavaScript) when
|
|
152
|
-
* info log), or when the features or the lines need a table texture past the GPU's `MAX_TEXTURE_SIZE`
|
|
160
|
+
* Throws (to JavaScript) when the features or the lines need a table past the GPU's largest texture
|
|
153
161
|
* @param {Float64Array} points
|
|
154
162
|
* @param {Uint32Array} start
|
|
155
163
|
* @param {Uint32Array} feature
|
|
@@ -173,18 +181,36 @@ export class Engine {
|
|
|
173
181
|
}
|
|
174
182
|
return ret[0] >>> 0;
|
|
175
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* A glTF / GLB model (its URL, a `blob:` one for data of the page) drawn at each instance of `instances`
|
|
186
|
+
* (`geo::models::INSTANCE_NUMBERS` numbers each: longitude, latitude, altitude, heading, pitch, roll in degrees,
|
|
187
|
+
* scale); `ground`: altitudes above the relief, else above the ellipsoid. A model that fails to load or decode
|
|
188
|
+
* leaves the layer empty
|
|
189
|
+
* @param {string} url
|
|
190
|
+
* @param {Float64Array} instances
|
|
191
|
+
* @param {boolean} ground
|
|
192
|
+
* @returns {number}
|
|
193
|
+
*/
|
|
194
|
+
addModels(url, instances, ground) {
|
|
195
|
+
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
196
|
+
const len0 = WASM_VECTOR_LEN;
|
|
197
|
+
const ptr1 = passArrayF64ToWasm0(instances, wasm.__wbindgen_malloc);
|
|
198
|
+
const len1 = WASM_VECTOR_LEN;
|
|
199
|
+
const ret = wasm.engine_addModels(this.__wbg_ptr, ptr0, len0, ptr1, len1, ground);
|
|
200
|
+
return ret >>> 0;
|
|
201
|
+
}
|
|
176
202
|
/**
|
|
177
203
|
* Network of `mercator.length / 2` nodes (Mercator [0, 1], y towards the south, interleaved: converted by the
|
|
178
204
|
* JavaScript side, where `Math.tan` and `Math.log` are much faster than in WebAssembly) and `edges.length / 2`
|
|
179
|
-
* edges (node index pairs, interleaved). `line_start` and `line_points`: the line of each edge from A to B,
|
|
180
|
-
* `line_start[e] .. line_start[e + 1]` of `line_points` (Mercator, interleaved; straight if fewer than
|
|
181
|
-
* cost of travelling it from A to B then from B to A; without, values are
|
|
205
|
+
* edges (node index pairs, interleaved). `line_start` and `line_points`: the line of each edge from A to B,
|
|
206
|
+
* points `line_start[e] .. line_start[e + 1]` of `line_points` (Mercator, interleaved; straight if fewer than
|
|
207
|
+
* two). `costs`: per edge, the cost of travelling it from A to B then from B to A; without, values are
|
|
208
|
+
* interpolated along the edges.
|
|
182
209
|
*
|
|
183
210
|
* # Errors
|
|
184
211
|
*
|
|
185
|
-
* Throws (to JavaScript) when `style` is not 25 numbers, `edges` is not node pairs or names a node past
|
|
186
|
-
*
|
|
187
|
-
* a WebGL object cannot be created or a shader fails to compile (the error carries its info log)
|
|
212
|
+
* Throws (to JavaScript) when `style` is not 25 numbers, `edges` is not node pairs or names a node past those of
|
|
213
|
+
* `mercator`, or the nodes or edges need a table past the GPU's largest texture
|
|
188
214
|
* @param {Float64Array} mercator
|
|
189
215
|
* @param {Uint32Array} edges
|
|
190
216
|
* @param {Uint32Array | null | undefined} line_start
|
|
@@ -212,14 +238,25 @@ export class Engine {
|
|
|
212
238
|
}
|
|
213
239
|
return ret[0] >>> 0;
|
|
214
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* A COPC point cloud from its URL (HTTP range requests). `resolve(wkt)` gives the CRS of the file from its WKT
|
|
243
|
+
* (undefined if it has none): its inverse projection, whether its altitudes are above the geoid, the metres of
|
|
244
|
+
* a unit of z; it may throw (an unknown CRS), the layer then stays empty
|
|
245
|
+
* The file is read later: a bad file, or a `resolve` that throws, leaves the layer empty
|
|
246
|
+
* @param {string} url
|
|
247
|
+
* @param {(wkt: string | undefined) => PointCloudCrs} resolve
|
|
248
|
+
* @returns {number}
|
|
249
|
+
*/
|
|
250
|
+
addPointCloud(url, resolve) {
|
|
251
|
+
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
252
|
+
const len0 = WASM_VECTOR_LEN;
|
|
253
|
+
const ret = wasm.engine_addPointCloud(this.__wbg_ptr, ptr0, len0, resolve);
|
|
254
|
+
return ret >>> 0;
|
|
255
|
+
}
|
|
215
256
|
/**
|
|
216
257
|
* Raster tiles in Web Mercator; `url` holds {z}, {x} and {y}. `size`: side of the tiles' textures (256 by
|
|
217
258
|
* default); `loader`: draws each tile instead of fetching `url`, `(z, x, y, signal) => Promise<ImageBitmap |
|
|
218
259
|
* null>`, an image of `size` × `size` (null: nothing there); `ground: false`: draped on 3D layers only
|
|
219
|
-
*
|
|
220
|
-
* # Errors
|
|
221
|
-
*
|
|
222
|
-
* Throws (to JavaScript) when the texture holding the layer's tiles cannot be created
|
|
223
260
|
* @param {string} url
|
|
224
261
|
* @param {number} min_z
|
|
225
262
|
* @param {number} max_z
|
|
@@ -234,18 +271,14 @@ export class Engine {
|
|
|
234
271
|
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
235
272
|
const len0 = WASM_VECTOR_LEN;
|
|
236
273
|
const ret = wasm.engine_addRaster(this.__wbg_ptr, ptr0, len0, min_z, max_z, opacity, saturation, isLikeNone(size) ? Number.MAX_SAFE_INTEGER : (size) >> 0, isLikeNone(loader) ? 0 : addToExternrefTable0(loader), isLikeNone(ground) ? 0xFFFFFF : ground ? 1 : 0);
|
|
237
|
-
|
|
238
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
239
|
-
}
|
|
240
|
-
return ret[0] >>> 0;
|
|
274
|
+
return ret >>> 0;
|
|
241
275
|
}
|
|
242
276
|
/**
|
|
243
277
|
* An empty symbol layer
|
|
244
278
|
*
|
|
245
279
|
* # Errors
|
|
246
280
|
*
|
|
247
|
-
*
|
|
248
|
-
* info log)
|
|
281
|
+
* Never in practice: its tables start empty
|
|
249
282
|
* @returns {number}
|
|
250
283
|
*/
|
|
251
284
|
addSymbols() {
|
|
@@ -255,13 +288,30 @@ export class Engine {
|
|
|
255
288
|
}
|
|
256
289
|
return ret[0] >>> 0;
|
|
257
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* 3D Tiles (b3dm / glb textured meshes, external tilesets) from the URL of a `tileset.json`. `max_error`:
|
|
293
|
+
* screen-space error (CSS pixels) above which a tile is refined; 16 is the usual value, lower is finer.
|
|
294
|
+
* `geoid`: its heights are altitudes (NGF-IGN69), each tile raised by the RAF20 geoid onto the relief.
|
|
295
|
+
*
|
|
296
|
+
* The tileset is read later: a bad one leaves the layer empty
|
|
297
|
+
* @param {string} url
|
|
298
|
+
* @param {number} max_error
|
|
299
|
+
* @param {boolean | null} [geoid]
|
|
300
|
+
* @returns {number}
|
|
301
|
+
*/
|
|
302
|
+
addTiles3d(url, max_error, geoid) {
|
|
303
|
+
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
304
|
+
const len0 = WASM_VECTOR_LEN;
|
|
305
|
+
const ret = wasm.engine_addTiles3d(this.__wbg_ptr, ptr0, len0, max_error, isLikeNone(geoid) ? 0xFFFFFF : geoid ? 1 : 0);
|
|
306
|
+
return ret >>> 0;
|
|
307
|
+
}
|
|
258
308
|
/**
|
|
259
309
|
* An empty layer of vector tiles drawn as geometry: its style layers come with `setVectorSublayers`, its tiles
|
|
260
|
-
* with `setVectorTile`
|
|
310
|
+
* with `setVectorTile` or `setVectorTileMesh`
|
|
261
311
|
*
|
|
262
312
|
* # Errors
|
|
263
313
|
*
|
|
264
|
-
*
|
|
314
|
+
* Never in practice: the layer starts empty
|
|
265
315
|
* @returns {number}
|
|
266
316
|
*/
|
|
267
317
|
addVectorTiles() {
|
|
@@ -271,6 +321,22 @@ export class Engine {
|
|
|
271
321
|
}
|
|
272
322
|
return ret[0] >>> 0;
|
|
273
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* The backend drawing: "browserwebgpu" or "gl"
|
|
326
|
+
* @returns {string}
|
|
327
|
+
*/
|
|
328
|
+
backend() {
|
|
329
|
+
let deferred1_0;
|
|
330
|
+
let deferred1_1;
|
|
331
|
+
try {
|
|
332
|
+
const ret = wasm.engine_backend(this.__wbg_ptr);
|
|
333
|
+
deferred1_0 = ret[0];
|
|
334
|
+
deferred1_1 = ret[1];
|
|
335
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
336
|
+
} finally {
|
|
337
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
274
340
|
/**
|
|
275
341
|
* Longitudes and latitudes the view covers on the ground, `[west, south, east, north]` (degrees): the screen's
|
|
276
342
|
* border cast on the ground, or on the far plane where it passes the horizon
|
|
@@ -290,6 +356,12 @@ export class Engine {
|
|
|
290
356
|
const ret = wasm.engine_camera(this.__wbg_ptr);
|
|
291
357
|
return ret;
|
|
292
358
|
}
|
|
359
|
+
/**
|
|
360
|
+
* Removes the panorama
|
|
361
|
+
*/
|
|
362
|
+
clearPanorama() {
|
|
363
|
+
wasm.engine_clearPanorama(this.__wbg_ptr);
|
|
364
|
+
}
|
|
293
365
|
/**
|
|
294
366
|
* The turns go around the screen center again
|
|
295
367
|
*/
|
|
@@ -309,7 +381,23 @@ export class Engine {
|
|
|
309
381
|
wasm.engine_clearViewshed(this.__wbg_ptr);
|
|
310
382
|
}
|
|
311
383
|
/**
|
|
312
|
-
*
|
|
384
|
+
* The engine of `canvas`, `redraw` called when it needs a new frame; `antialias`: the 3D multisampled (default
|
|
385
|
+
* true). Asynchronous: the device is asked for
|
|
386
|
+
*
|
|
387
|
+
* # Errors
|
|
388
|
+
*
|
|
389
|
+
* Throws (to JavaScript) when the canvas gives no device ("WebGPU is not available" through WebGPU)
|
|
390
|
+
* @param {HTMLCanvasElement} canvas
|
|
391
|
+
* @param {() => void} redraw
|
|
392
|
+
* @param {boolean | null} [antialias]
|
|
393
|
+
* @returns {Promise<Engine>}
|
|
394
|
+
*/
|
|
395
|
+
static create(canvas, redraw, antialias) {
|
|
396
|
+
const ret = wasm.engine_create(canvas, redraw, isLikeNone(antialias) ? 0xFFFFFF : antialias ? 1 : 0);
|
|
397
|
+
return ret;
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* Model-view-projection matrix (16 numbers, column-major, WebGPU's clip depth from 0 to 1) of the local frame at a
|
|
313
401
|
* longitude, latitude (degrees) and altitude (metres): x east, y north, z up, in metres. Undefined outside the
|
|
314
402
|
* callback of a custom layer. Static: the engine is borrowed while it draws
|
|
315
403
|
* @param {number} lon
|
|
@@ -349,9 +437,15 @@ export class Engine {
|
|
|
349
437
|
return ret;
|
|
350
438
|
}
|
|
351
439
|
/**
|
|
352
|
-
*
|
|
353
|
-
*
|
|
354
|
-
|
|
440
|
+
* The `GPUDevice` the engine draws with, for the custom layers' objects; undefined on the WebGL2 fallback
|
|
441
|
+
* @returns {GPUDevice | undefined}
|
|
442
|
+
*/
|
|
443
|
+
gpuDevice() {
|
|
444
|
+
const ret = wasm.engine_gpuDevice(this.__wbg_ptr);
|
|
445
|
+
return ret;
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Position under a screen point (CSS pixels), undefined above the horizon
|
|
355
449
|
* @param {number} x
|
|
356
450
|
* @param {number} y
|
|
357
451
|
* @returns {[lon: number, lat: number] | undefined}
|
|
@@ -361,8 +455,8 @@ export class Engine {
|
|
|
361
455
|
return ret;
|
|
362
456
|
}
|
|
363
457
|
/**
|
|
364
|
-
* Colors an extrusion layer by the node values of network layer `network` (undefined: by its own values):
|
|
365
|
-
*
|
|
458
|
+
* Colors an extrusion layer by the node values of network layer `network` (undefined: by its own values): each
|
|
459
|
+
* block takes min(value(A) + cost from A, value(B) + cost from B) from its anchors (`setExtrusionAnchors`),
|
|
366
460
|
* through the layer's ramp, up to `max` (above: its own color)
|
|
367
461
|
* @param {number} id
|
|
368
462
|
* @param {number | null | undefined} network
|
|
@@ -372,9 +466,9 @@ export class Engine {
|
|
|
372
466
|
wasm.engine_linkExtrusionNetwork(this.__wbg_ptr, id, isLikeNone(network) ? Number.MAX_SAFE_INTEGER : (network) >>> 0, max);
|
|
373
467
|
}
|
|
374
468
|
/**
|
|
375
|
-
* Model-view-projection matrix (16 numbers, column-major) of the local frame at a longitude,
|
|
376
|
-
* and altitude (metres), x east, y north, z up, in metres, for the last frame drawn (else the
|
|
377
|
-
* overlays of the page (`Panel`) placed with it after each frame
|
|
469
|
+
* Model-view-projection matrix (16 numbers, column-major, WebGL's clip depth) of the local frame at a longitude,
|
|
470
|
+
* latitude (degrees) and altitude (metres), x east, y north, z up, in metres, for the last frame drawn (else the
|
|
471
|
+
* camera): the 3D overlays of the page (`Panel`) placed with it after each frame
|
|
378
472
|
* @param {number} lon
|
|
379
473
|
* @param {number} lat
|
|
380
474
|
* @param {number} altitude
|
|
@@ -386,6 +480,14 @@ export class Engine {
|
|
|
386
480
|
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
387
481
|
return v1;
|
|
388
482
|
}
|
|
483
|
+
/**
|
|
484
|
+
* The largest texture the device takes (pixels a side): the symbol layers' atlases stay within it
|
|
485
|
+
* @returns {number}
|
|
486
|
+
*/
|
|
487
|
+
maxTextureSize() {
|
|
488
|
+
const ret = wasm.engine_maxTextureSize(this.__wbg_ptr);
|
|
489
|
+
return ret >>> 0;
|
|
490
|
+
}
|
|
389
491
|
/**
|
|
390
492
|
* Moves a layer to a drawing position (0 = bottom)
|
|
391
493
|
* @param {number} id
|
|
@@ -403,26 +505,6 @@ export class Engine {
|
|
|
403
505
|
const ret = wasm.engine_networkStats(this.__wbg_ptr, id);
|
|
404
506
|
return ret;
|
|
405
507
|
}
|
|
406
|
-
/**
|
|
407
|
-
* `redraw` is called when the engine needs a new frame (a tile arrived); `antialias`: multisampled (default true)
|
|
408
|
-
*
|
|
409
|
-
* # Errors
|
|
410
|
-
*
|
|
411
|
-
* Throws (to JavaScript) when the canvas gives no WebGL2 context ("WebGL2 is not available"), or when a WebGL
|
|
412
|
-
* object of the globe, the sky or the raster pass cannot be created or one of their shaders fails to compile
|
|
413
|
-
* @param {HTMLCanvasElement} canvas
|
|
414
|
-
* @param {() => void} redraw
|
|
415
|
-
* @param {boolean | null} [antialias]
|
|
416
|
-
*/
|
|
417
|
-
constructor(canvas, redraw, antialias) {
|
|
418
|
-
const ret = wasm.engine_new(canvas, redraw, isLikeNone(antialias) ? 0xFFFFFF : antialias ? 1 : 0);
|
|
419
|
-
if (ret[2]) {
|
|
420
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
421
|
-
}
|
|
422
|
-
this.__wbg_ptr = ret[0];
|
|
423
|
-
EngineFinalization.register(this, this.__wbg_ptr, this);
|
|
424
|
-
return this;
|
|
425
|
-
}
|
|
426
508
|
/**
|
|
427
509
|
* Drags the ground from one screen point to another (CSS pixels); in relief, the ground point grabbed stays
|
|
428
510
|
* under the cursor
|
|
@@ -435,30 +517,42 @@ export class Engine {
|
|
|
435
517
|
wasm.engine_pan(this.__wbg_ptr, x0, y0, x1, y1);
|
|
436
518
|
}
|
|
437
519
|
/**
|
|
438
|
-
*
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
* `only`: the ids of the layers to look in (all if undefined): the others are not drawn and hide nothing.
|
|
442
|
-
* Reads the pixels back at once (the GPU finishes its work first): for clicks; `requestPick` for the hover
|
|
443
|
-
* @param {number} x
|
|
444
|
-
* @param {number} y
|
|
445
|
-
* @param {number | null} [radius]
|
|
446
|
-
* @param {Uint32Array | null} [only]
|
|
447
|
-
* @returns {PickHit | undefined}
|
|
520
|
+
* What a point cloud says of itself, undefined before its head is read
|
|
521
|
+
* @param {number} id
|
|
522
|
+
* @returns {PointCloudInfo | undefined}
|
|
448
523
|
*/
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
524
|
+
pointCloudInfo(id) {
|
|
525
|
+
const ret = wasm.engine_pointCloudInfo(this.__wbg_ptr, id);
|
|
526
|
+
return ret;
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* The point of a point cloud picked by `pollPick` (its index there): read back with the answer; undefined for
|
|
530
|
+
* another
|
|
531
|
+
* @param {number} id
|
|
532
|
+
* @param {number} index
|
|
533
|
+
* @returns {PointCloudPoint | undefined}
|
|
534
|
+
*/
|
|
535
|
+
pointCloudPoint(id, index) {
|
|
536
|
+
const ret = wasm.engine_pointCloudPoint(this.__wbg_ptr, id, index);
|
|
537
|
+
return ret;
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* Counters of a point cloud layer, undefined if there is none with this id
|
|
541
|
+
* @param {number} id
|
|
542
|
+
* @returns {PointCloudStats | undefined}
|
|
543
|
+
*/
|
|
544
|
+
pointCloudStats(id) {
|
|
545
|
+
const ret = wasm.engine_pointCloudStats(this.__wbg_ptr, id);
|
|
453
546
|
return ret;
|
|
454
547
|
}
|
|
455
548
|
/**
|
|
456
|
-
* The answer to
|
|
457
|
-
*
|
|
549
|
+
* The answer to request `id` once the GPU has delivered it (then forgotten), undefined while it is not there yet
|
|
550
|
+
* (or for a request given up)
|
|
551
|
+
* @param {number} id
|
|
458
552
|
* @returns {PickResult | undefined}
|
|
459
553
|
*/
|
|
460
|
-
pollPick() {
|
|
461
|
-
const ret = wasm.engine_pollPick(this.__wbg_ptr);
|
|
554
|
+
pollPick(id) {
|
|
555
|
+
const ret = wasm.engine_pollPick(this.__wbg_ptr, id);
|
|
462
556
|
return ret;
|
|
463
557
|
}
|
|
464
558
|
/**
|
|
@@ -500,7 +594,7 @@ export class Engine {
|
|
|
500
594
|
wasm.engine_removeExtrusionBatch(this.__wbg_ptr, id, key);
|
|
501
595
|
}
|
|
502
596
|
/**
|
|
503
|
-
* Removes a layer and frees its GPU objects
|
|
597
|
+
* Removes a layer and frees its GPU objects (as it drops)
|
|
504
598
|
* @param {number} id
|
|
505
599
|
*/
|
|
506
600
|
removeLayer(id) {
|
|
@@ -515,8 +609,8 @@ export class Engine {
|
|
|
515
609
|
wasm.engine_removeVectorTile(this.__wbg_ptr, id, key);
|
|
516
610
|
}
|
|
517
611
|
/**
|
|
518
|
-
* Draws a frame: the backdrop, the ground
|
|
519
|
-
*
|
|
612
|
+
* Draws a frame: the backdrop, the ground; returns true while tiles are still loading (a new frame will be asked
|
|
613
|
+
* through `redraw`)
|
|
520
614
|
* @returns {boolean}
|
|
521
615
|
*/
|
|
522
616
|
render() {
|
|
@@ -524,20 +618,21 @@ export class Engine {
|
|
|
524
618
|
return ret !== 0;
|
|
525
619
|
}
|
|
526
620
|
/**
|
|
527
|
-
* Asks what is under a screen point
|
|
528
|
-
* picking pass is drawn now
|
|
529
|
-
*
|
|
621
|
+
* Asks what is under a screen point (CSS pixels), or nearest to it within `radius` CSS pixels, without waiting
|
|
622
|
+
* for the GPU: the picking pass is drawn now, its pixels read back later; `pollPick` gives the answer. `only`: the
|
|
623
|
+
* ids of the layers to look in (all if undefined): the others are not drawn and hide nothing. The request's
|
|
624
|
+
* number, never 0
|
|
530
625
|
* @param {number} x
|
|
531
626
|
* @param {number} y
|
|
532
627
|
* @param {number | null} [radius]
|
|
533
628
|
* @param {Uint32Array | null} [only]
|
|
534
|
-
* @returns {
|
|
629
|
+
* @returns {number}
|
|
535
630
|
*/
|
|
536
631
|
requestPick(x, y, radius, only) {
|
|
537
632
|
var ptr0 = isLikeNone(only) ? 0 : passArray32ToWasm0(only, wasm.__wbindgen_malloc);
|
|
538
633
|
var len0 = WASM_VECTOR_LEN;
|
|
539
634
|
const ret = wasm.engine_requestPick(this.__wbg_ptr, x, y, !isLikeNone(radius), isLikeNone(radius) ? 0 : radius, ptr0, len0);
|
|
540
|
-
return ret
|
|
635
|
+
return ret >>> 0;
|
|
541
636
|
}
|
|
542
637
|
/**
|
|
543
638
|
* Viewport in CSS pixels and device pixel ratio
|
|
@@ -579,8 +674,7 @@ export class Engine {
|
|
|
579
674
|
* The body the map is drawn on: its equatorial radius (metres) and flattening (0 for a sphere), the halo of its
|
|
580
675
|
* atmosphere around the globe (RGB 0-1 and its strength, 4 numbers; `undefined` for an airless body), and the
|
|
581
676
|
* lowest and highest altitudes of its ground (metres: what its relief may raise into view). WGS 84, the Earth's
|
|
582
|
-
* blue halo and the range of its relief worldwide (-450 m to 8900 m) by default
|
|
583
|
-
* relief, whose shaders may take its size (`ISARD_CIRCUMFERENCE` of the ground layers)
|
|
677
|
+
* blue halo and the range of its relief worldwide (-450 m to 8900 m) by default
|
|
584
678
|
* @param {number} radius
|
|
585
679
|
* @param {number} flattening
|
|
586
680
|
* @param {Float32Array | null | undefined} halo
|
|
@@ -630,8 +724,7 @@ export class Engine {
|
|
|
630
724
|
*
|
|
631
725
|
* # Errors
|
|
632
726
|
*
|
|
633
|
-
* Throws (to JavaScript) when the batch's features need
|
|
634
|
-
* `MAX_TEXTURE_SIZE`, or when it cannot be created
|
|
727
|
+
* Throws (to JavaScript) when the batch's features need a table past the GPU's largest texture
|
|
635
728
|
* @param {number} id
|
|
636
729
|
* @param {number} key
|
|
637
730
|
* @param {Float32Array} anchors
|
|
@@ -650,8 +743,7 @@ export class Engine {
|
|
|
650
743
|
*
|
|
651
744
|
* # Errors
|
|
652
745
|
*
|
|
653
|
-
* Throws (to JavaScript) when
|
|
654
|
-
* `feature_count` features need a table texture past the GPU's `MAX_TEXTURE_SIZE`
|
|
746
|
+
* Throws (to JavaScript) when `feature_count` features need a table past the GPU's largest texture
|
|
655
747
|
* @param {number} id
|
|
656
748
|
* @param {number} key
|
|
657
749
|
* @param {Float64Array} points
|
|
@@ -879,7 +971,7 @@ export class Engine {
|
|
|
879
971
|
*
|
|
880
972
|
* # Errors
|
|
881
973
|
*
|
|
882
|
-
* Throws (to JavaScript) as `setGlyphPages` does
|
|
974
|
+
* Throws (to JavaScript) as `setGlyphPages` does
|
|
883
975
|
* @param {number} width
|
|
884
976
|
* @param {number} height
|
|
885
977
|
* @param {Uint8Array | null} [data]
|
|
@@ -899,8 +991,8 @@ export class Engine {
|
|
|
899
991
|
*
|
|
900
992
|
* # Errors
|
|
901
993
|
*
|
|
902
|
-
* Throws (to JavaScript) when `width` or `height` is not positive
|
|
903
|
-
* is not 1 to 256
|
|
994
|
+
* Throws (to JavaScript) when `width` or `height` is not positive or past the GPU's largest texture, or `pages`
|
|
995
|
+
* is not 1 to 256
|
|
904
996
|
* @param {number} width
|
|
905
997
|
* @param {number} height
|
|
906
998
|
* @param {number} pages
|
|
@@ -923,42 +1015,40 @@ export class Engine {
|
|
|
923
1015
|
wasm.engine_setGroundBounds(this.__wbg_ptr, id, min_x, min_y, max_x, max_y);
|
|
924
1016
|
}
|
|
925
1017
|
/**
|
|
926
|
-
* Creates the texture
|
|
927
|
-
* rgba8ui, rgba16ui, rgba32f; `depth` 0 for 2D, else a 2D array of that many layers; `
|
|
928
|
-
*
|
|
1018
|
+
* Creates the texture `name` of a ground layer (`format`: r8, r8ui, r16ui, r16i, r32ui, r32f, rg16ui, rg32f,
|
|
1019
|
+
* rgba8, rgba8ui, rgba16ui, rgba32f; `depth` 0 for 2D, else a 2D array of that many layers); `data`: its texels
|
|
1020
|
+
* as bytes, or undefined for an empty texture
|
|
929
1021
|
*
|
|
930
1022
|
* # Errors
|
|
931
1023
|
*
|
|
932
|
-
* Throws (to JavaScript) on an unknown `format`, a size
|
|
933
|
-
*
|
|
1024
|
+
* Throws (to JavaScript) on an unknown `format`, a size of 0, `data` shorter than the texels, a name WGSL does not
|
|
1025
|
+
* take, or more textures than the layer takes
|
|
934
1026
|
* @param {number} id
|
|
935
1027
|
* @param {string} name
|
|
936
1028
|
* @param {string} format
|
|
937
1029
|
* @param {number} width
|
|
938
1030
|
* @param {number} height
|
|
939
1031
|
* @param {number} depth
|
|
940
|
-
* @param {boolean} linear
|
|
941
1032
|
* @param {Uint8Array | null} [data]
|
|
942
1033
|
*/
|
|
943
|
-
setGroundTexture(id, name, format, width, height, depth,
|
|
1034
|
+
setGroundTexture(id, name, format, width, height, depth, data) {
|
|
944
1035
|
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
945
1036
|
const len0 = WASM_VECTOR_LEN;
|
|
946
1037
|
const ptr1 = passStringToWasm0(format, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
947
1038
|
const len1 = WASM_VECTOR_LEN;
|
|
948
1039
|
var ptr2 = isLikeNone(data) ? 0 : passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
949
1040
|
var len2 = WASM_VECTOR_LEN;
|
|
950
|
-
const ret = wasm.engine_setGroundTexture(this.__wbg_ptr, id, ptr0, len0, ptr1, len1, width, height, depth,
|
|
1041
|
+
const ret = wasm.engine_setGroundTexture(this.__wbg_ptr, id, ptr0, len0, ptr1, len1, width, height, depth, ptr2, len2);
|
|
951
1042
|
if (ret[1]) {
|
|
952
1043
|
throw takeFromExternrefTable0(ret[0]);
|
|
953
1044
|
}
|
|
954
1045
|
}
|
|
955
1046
|
/**
|
|
956
|
-
* A uniform of a ground layer's code, as numbers
|
|
1047
|
+
* A uniform of a ground layer's code, as numbers (column major for a matrix)
|
|
957
1048
|
*
|
|
958
1049
|
* # Errors
|
|
959
1050
|
*
|
|
960
|
-
* Throws (to JavaScript) when
|
|
961
|
-
* by the compiler)
|
|
1051
|
+
* Throws (to JavaScript) when no uniform `name` was declared, or for a count of numbers not its type's
|
|
962
1052
|
* @param {number} id
|
|
963
1053
|
* @param {string} name
|
|
964
1054
|
* @param {Float64Array} values
|
|
@@ -987,8 +1077,7 @@ export class Engine {
|
|
|
987
1077
|
*
|
|
988
1078
|
* # Errors
|
|
989
1079
|
*
|
|
990
|
-
* Throws (to JavaScript) when `width` or `height` is not positive
|
|
991
|
-
* atlas texture cannot be created
|
|
1080
|
+
* Throws (to JavaScript) when `width` or `height` is not positive or past the GPU's largest texture
|
|
992
1081
|
* @param {number} width
|
|
993
1082
|
* @param {number} height
|
|
994
1083
|
*/
|
|
@@ -1020,8 +1109,8 @@ export class Engine {
|
|
|
1020
1109
|
*
|
|
1021
1110
|
* # Errors
|
|
1022
1111
|
*
|
|
1023
|
-
* Throws (to JavaScript) when the lines need a table
|
|
1024
|
-
*
|
|
1112
|
+
* Throws (to JavaScript) when the lines need a table past the GPU's largest texture; the layer then keeps its
|
|
1113
|
+
* lines
|
|
1025
1114
|
* @param {number} id
|
|
1026
1115
|
* @param {Float64Array} points
|
|
1027
1116
|
* @param {Uint32Array} start
|
|
@@ -1050,6 +1139,41 @@ export class Engine {
|
|
|
1050
1139
|
setMaxPitch(max) {
|
|
1051
1140
|
wasm.engine_setMaxPitch(this.__wbg_ptr, max);
|
|
1052
1141
|
}
|
|
1142
|
+
/**
|
|
1143
|
+
* Lights at night the part of a model layer's model from `from` metres up (a street lamp's head) in `r, g, b`;
|
|
1144
|
+
* `from` not a number: none
|
|
1145
|
+
* @param {number} id
|
|
1146
|
+
* @param {number} from
|
|
1147
|
+
* @param {number} r
|
|
1148
|
+
* @param {number} g
|
|
1149
|
+
* @param {number} b
|
|
1150
|
+
*/
|
|
1151
|
+
setModelGlow(id, from, r, g, b) {
|
|
1152
|
+
wasm.engine_setModelGlow(this.__wbg_ptr, id, from, r, g, b);
|
|
1153
|
+
}
|
|
1154
|
+
/**
|
|
1155
|
+
* Highlights the feature `feature` of a model layer's model (an IFC model's element) in `r, g, b`; `feature` not a
|
|
1156
|
+
* number: none
|
|
1157
|
+
* @param {number} id
|
|
1158
|
+
* @param {number} feature
|
|
1159
|
+
* @param {number} r
|
|
1160
|
+
* @param {number} g
|
|
1161
|
+
* @param {number} b
|
|
1162
|
+
*/
|
|
1163
|
+
setModelHighlight(id, feature, r, g, b) {
|
|
1164
|
+
wasm.engine_setModelHighlight(this.__wbg_ptr, id, feature, r, g, b);
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* Replaces the instances of a model layer (as for `addModels`) and the reference of their altitudes
|
|
1168
|
+
* @param {number} id
|
|
1169
|
+
* @param {Float64Array} instances
|
|
1170
|
+
* @param {boolean} ground
|
|
1171
|
+
*/
|
|
1172
|
+
setModelInstances(id, instances, ground) {
|
|
1173
|
+
const ptr0 = passArrayF64ToWasm0(instances, wasm.__wbindgen_malloc);
|
|
1174
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1175
|
+
wasm.engine_setModelInstances(this.__wbg_ptr, id, ptr0, len0, ground);
|
|
1176
|
+
}
|
|
1053
1177
|
/**
|
|
1054
1178
|
* Costs of a network's edges (see `addNetwork`), when the way it is travelled changes; null: interpolated values
|
|
1055
1179
|
* @param {number} id
|
|
@@ -1102,10 +1226,46 @@ export class Engine {
|
|
|
1102
1226
|
const len0 = WASM_VECTOR_LEN;
|
|
1103
1227
|
wasm.engine_setNetworkValues(this.__wbg_ptr, id, ptr0, len0);
|
|
1104
1228
|
}
|
|
1229
|
+
/**
|
|
1230
|
+
* The image of camera `index` of the panorama (the images sharing the size of the first), which the engine takes
|
|
1231
|
+
* (closes once copied)
|
|
1232
|
+
* @param {number} index
|
|
1233
|
+
* @param {ImageBitmap} image
|
|
1234
|
+
*/
|
|
1235
|
+
setPanoramaImage(index, image) {
|
|
1236
|
+
wasm.engine_setPanoramaImage(this.__wbg_ptr, index, image);
|
|
1237
|
+
}
|
|
1238
|
+
/**
|
|
1239
|
+
* Shows a panorama: at `lon`, `lat` (degrees) and `height` (metres above the ellipsoid), turned by `rotation`
|
|
1240
|
+
* (9 numbers, row-major: its frame to east, north, up), its `cameras` (25 numbers each: rotation from the panorama
|
|
1241
|
+
* frame, row-major, 9; position in it, 3; focal x, y; center x, y; skew; image width, height; principal point of
|
|
1242
|
+
* the distortion x, y; its coefficients r³, r⁵, r⁷; its limit, pixels), a backdrop sphere of `radius` metres, at
|
|
1243
|
+
* `opacity`. Its images come after (`setPanoramaImage`)
|
|
1244
|
+
*
|
|
1245
|
+
* # Errors
|
|
1246
|
+
*
|
|
1247
|
+
* Throws (to JavaScript) when `rotation` holds fewer than 9 numbers
|
|
1248
|
+
* @param {number} lon
|
|
1249
|
+
* @param {number} lat
|
|
1250
|
+
* @param {number} height
|
|
1251
|
+
* @param {Float64Array} rotation
|
|
1252
|
+
* @param {Float64Array} cameras
|
|
1253
|
+
* @param {number} radius
|
|
1254
|
+
* @param {number} opacity
|
|
1255
|
+
*/
|
|
1256
|
+
setPanorama(lon, lat, height, rotation, cameras, radius, opacity) {
|
|
1257
|
+
const ptr0 = passArrayF64ToWasm0(rotation, wasm.__wbindgen_malloc);
|
|
1258
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1259
|
+
const ptr1 = passArrayF64ToWasm0(cameras, wasm.__wbindgen_malloc);
|
|
1260
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1261
|
+
const ret = wasm.engine_setPanorama(this.__wbg_ptr, lon, lat, height, ptr0, len0, ptr1, len1, radius, opacity);
|
|
1262
|
+
if (ret[1]) {
|
|
1263
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1105
1266
|
/**
|
|
1106
1267
|
* Sets the point the next turns and tilts go around (`rotate`): what is drawn under a screen point (CSS
|
|
1107
|
-
* pixels)
|
|
1108
|
-
* Returns whether something was drawn there; over nothing, the turns go around the center
|
|
1268
|
+
* pixels). Returns whether something was drawn there; over nothing, the turns go around the center
|
|
1109
1269
|
* @param {number} x
|
|
1110
1270
|
* @param {number} y
|
|
1111
1271
|
* @returns {boolean}
|
|
@@ -1114,6 +1274,23 @@ export class Engine {
|
|
|
1114
1274
|
const ret = wasm.engine_setPivot(this.__wbg_ptr, x, y);
|
|
1115
1275
|
return ret !== 0;
|
|
1116
1276
|
}
|
|
1277
|
+
/**
|
|
1278
|
+
* The style of a point cloud: 14 numbers (see `Style::parse`), the colors of the 256 classes (RGBA,
|
|
1279
|
+
* alpha 0 hides a class) and the ramp of the altitudes (256 RGBA texels)
|
|
1280
|
+
* @param {number} id
|
|
1281
|
+
* @param {Float64Array} style
|
|
1282
|
+
* @param {Uint8Array} palette
|
|
1283
|
+
* @param {Uint8Array} ramp
|
|
1284
|
+
*/
|
|
1285
|
+
setPointCloudStyle(id, style, palette, ramp) {
|
|
1286
|
+
const ptr0 = passArrayF64ToWasm0(style, wasm.__wbindgen_malloc);
|
|
1287
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1288
|
+
const ptr1 = passArray8ToWasm0(palette, wasm.__wbindgen_malloc);
|
|
1289
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1290
|
+
const ptr2 = passArray8ToWasm0(ramp, wasm.__wbindgen_malloc);
|
|
1291
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1292
|
+
wasm.engine_setPointCloudStyle(this.__wbg_ptr, id, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
1293
|
+
}
|
|
1117
1294
|
/**
|
|
1118
1295
|
* Opacity and saturation (0-1) of a raster layer; nothing for another id
|
|
1119
1296
|
* @param {number} id
|
|
@@ -1150,25 +1327,17 @@ export class Engine {
|
|
|
1150
1327
|
* The sun casting shadows and the night: its azimuth (degrees clockwise from north) and altitude (degrees above
|
|
1151
1328
|
* the horizon), the shadows' opacity (0 to 1; none under the horizon or not a number), how dark the night is (0 to
|
|
1152
1329
|
* 1: the frame tinted, the lights of the layers on). Neither shadows nor night: nothing drawn
|
|
1153
|
-
*
|
|
1154
|
-
* # Errors
|
|
1155
|
-
*
|
|
1156
|
-
* Throws (to JavaScript) when a WebGL object cannot be created or the pass fails to compile
|
|
1157
1330
|
* @param {number} azimuth
|
|
1158
1331
|
* @param {number} altitude
|
|
1159
1332
|
* @param {number} opacity
|
|
1160
1333
|
* @param {number} night
|
|
1161
1334
|
*/
|
|
1162
1335
|
setSun(azimuth, altitude, opacity, night) {
|
|
1163
|
-
|
|
1164
|
-
if (ret[1]) {
|
|
1165
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
1166
|
-
}
|
|
1336
|
+
wasm.engine_setSun(this.__wbg_ptr, azimuth, altitude, opacity, night);
|
|
1167
1337
|
}
|
|
1168
1338
|
/**
|
|
1169
|
-
* Shows `layers`
|
|
1170
|
-
*
|
|
1171
|
-
* only (two meshes of the same place, each on its side, never drawn over each other); a non-finite `x` stops
|
|
1339
|
+
* Shows `layers` left of `x` (CSS pixels from the left of the canvas; right of it if `right`), `others` on the
|
|
1340
|
+
* other side only; `x` not a number, or no layer: no swipe
|
|
1172
1341
|
* @param {number} x
|
|
1173
1342
|
* @param {boolean} right
|
|
1174
1343
|
* @param {Uint32Array} layers
|
|
@@ -1207,8 +1376,8 @@ export class Engine {
|
|
|
1207
1376
|
*
|
|
1208
1377
|
* # Errors
|
|
1209
1378
|
*
|
|
1210
|
-
* Throws (to JavaScript) when the labels need a table
|
|
1211
|
-
*
|
|
1379
|
+
* Throws (to JavaScript) when the labels need a table past the GPU's largest texture; the layer then keeps its
|
|
1380
|
+
* labels
|
|
1212
1381
|
* @param {number} id
|
|
1213
1382
|
* @param {Float64Array} anchors
|
|
1214
1383
|
* @param {Float32Array} boxes
|
|
@@ -1236,15 +1405,10 @@ export class Engine {
|
|
|
1236
1405
|
* Relief under the raster layers, from raw altitudes (`image/x-bil;bits=32`, 256 × 256, or the same followed by
|
|
1237
1406
|
* the validity mask of an `ArcGIS` raw grid): `url` is a template with `{bbox}` (WMS `GetMap` in EPSG:3857, or in
|
|
1238
1407
|
* the Mercator metres of another body) or `{z}/{x}/{y}`; `undefined` turns it off. `exaggeration` scales the
|
|
1239
|
-
* heights (1: true relief); `max_z`: finest level loaded
|
|
1240
|
-
*
|
|
1241
|
-
*
|
|
1242
|
-
*
|
|
1243
|
-
* altitudes of each tile instead of fetching `url` (an encoding decoded by the page: Terrarium, Terrain-RGB)
|
|
1244
|
-
*
|
|
1245
|
-
* # Errors
|
|
1246
|
-
*
|
|
1247
|
-
* Throws (to JavaScript) when the texture holding the relief's tiles cannot be created
|
|
1408
|
+
* heights (1: true relief); `max_z`: finest level loaded; `geoid`: altitudes raised by the RAF20 geoid height
|
|
1409
|
+
* (heights above the ellipsoid, those of 3D Tiles; over France, on the Earth only), else left as served (the
|
|
1410
|
+
* default); `loader`: gives the altitudes of each tile instead of fetching `url` (an encoding decoded by the
|
|
1411
|
+
* page: Terrarium, Terrain-RGB)
|
|
1248
1412
|
* @param {string | null | undefined} url
|
|
1249
1413
|
* @param {number} exaggeration
|
|
1250
1414
|
* @param {number | null | undefined} max_z
|
|
@@ -1254,21 +1418,66 @@ export class Engine {
|
|
|
1254
1418
|
setTerrain(url, exaggeration, max_z, geoid, loader) {
|
|
1255
1419
|
var ptr0 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1256
1420
|
var len0 = WASM_VECTOR_LEN;
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1421
|
+
wasm.engine_setTerrain(this.__wbg_ptr, ptr0, len0, exaggeration, isLikeNone(max_z) ? 0xFFFFFF : max_z, isLikeNone(geoid) ? 0xFFFFFF : geoid ? 1 : 0, isLikeNone(loader) ? 0 : addToExternrefTable0(loader));
|
|
1422
|
+
}
|
|
1423
|
+
/**
|
|
1424
|
+
* Pool of workers that fetch and decode 3D Tiles content off the main thread: an object with
|
|
1425
|
+
* `load(id, url, transform, yUp, reload, priority) → Promise<{ anchor, primitives }>` and `abort(id)`. Without
|
|
1426
|
+
* it, tiles are decoded on the main thread. Set it before adding 3D Tiles layers.
|
|
1427
|
+
* @param {import('./isard_tiles3d.js').TileLoaderLike | null} loader
|
|
1428
|
+
*/
|
|
1429
|
+
setTileLoader(loader) {
|
|
1430
|
+
wasm.engine_setTileLoader(this.__wbg_ptr, loader);
|
|
1431
|
+
}
|
|
1432
|
+
/**
|
|
1433
|
+
* A raster layer draped on a 3D Tiles layer's roofs, or all its faces (`raster` undefined: none)
|
|
1434
|
+
* @param {number} id
|
|
1435
|
+
* @param {number | null | undefined} raster
|
|
1436
|
+
* @param {boolean} all_faces
|
|
1437
|
+
* @param {number} opacity
|
|
1438
|
+
*/
|
|
1439
|
+
setTiles3dDrape(id, raster, all_faces, opacity) {
|
|
1440
|
+
wasm.engine_setTiles3dDrape(this.__wbg_ptr, id, isLikeNone(raster) ? Number.MAX_SAFE_INTEGER : (raster) >>> 0, all_faces, opacity);
|
|
1441
|
+
}
|
|
1442
|
+
/**
|
|
1443
|
+
* Whether the walls of a 3D Tiles layer's untextured meshes show their windows: glass by day, some lit at night
|
|
1444
|
+
* @param {number} id
|
|
1445
|
+
* @param {boolean} facades
|
|
1446
|
+
*/
|
|
1447
|
+
setTiles3dFacades(id, facades) {
|
|
1448
|
+
wasm.engine_setTiles3dFacades(this.__wbg_ptr, id, facades);
|
|
1449
|
+
}
|
|
1450
|
+
/**
|
|
1451
|
+
* Each feature of a 3D Tiles layer its color (null: the layer's)
|
|
1452
|
+
* @param {number} id
|
|
1453
|
+
* @param {((properties: Record<string, unknown>[] | undefined, count: number) => Uint8Array) | null} colors
|
|
1454
|
+
*/
|
|
1455
|
+
setTiles3dFeatureColors(id, colors) {
|
|
1456
|
+
wasm.engine_setTiles3dFeatureColors(this.__wbg_ptr, id, colors);
|
|
1457
|
+
}
|
|
1458
|
+
/**
|
|
1459
|
+
* Screen-space error threshold, opacity, size of the points (CSS pixels, 2 if not given) and color (RGB 0-1, empty
|
|
1460
|
+
* for none: it tints the textures and colors the untextured meshes) of a 3D Tiles layer
|
|
1461
|
+
* @param {number} id
|
|
1462
|
+
* @param {number} max_error
|
|
1463
|
+
* @param {number} opacity
|
|
1464
|
+
* @param {number | null | undefined} point_size
|
|
1465
|
+
* @param {Float32Array} color
|
|
1466
|
+
*/
|
|
1467
|
+
setTiles3dStyle(id, max_error, opacity, point_size, color) {
|
|
1468
|
+
const ptr0 = passArrayF32ToWasm0(color, wasm.__wbindgen_malloc);
|
|
1469
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1470
|
+
wasm.engine_setTiles3dStyle(this.__wbg_ptr, id, max_error, opacity, !isLikeNone(point_size), isLikeNone(point_size) ? 0 : point_size, ptr0, len0);
|
|
1261
1471
|
}
|
|
1262
1472
|
/**
|
|
1263
1473
|
* The style layers of a vector tile layer, in drawing order: per layer, its kind (0 fill, 1 line, 2 extrusion, 3
|
|
1264
|
-
* circle), its zoom range
|
|
1265
|
-
* (
|
|
1266
|
-
* (four
|
|
1267
|
-
*
|
|
1268
|
-
*
|
|
1269
|
-
*
|
|
1270
|
-
*
|
|
1271
|
-
* fills have patterns (0 or 1)
|
|
1474
|
+
* circle), its zoom range (two numbers: shown from the first, included, to the second, excluded), whether it shows
|
|
1475
|
+
* (0 or 1), its dashes (four numbers: dash, gap, dash, gap, in line widths; 0: solid), its opacity as zoom stops
|
|
1476
|
+
* (four zooms then four values; missing: opaque), the caps of its lines' ends (0 butt, 1 round, 2 square; missing:
|
|
1477
|
+
* round), whether its lines glow at night (streets; 0 or 1), the joins of its lines (two numbers: 0 round, 1
|
|
1478
|
+
* miter, 2 bevel, then the miter limit in line widths; missing: round), the translation of its fills or lines
|
|
1479
|
+
* (three numbers: x and y in CSS pixels, x right and y down, then 0 if it turns with the map, 1 if it stays on the
|
|
1480
|
+
* screen; missing: none), whether its fills have patterns (0 or 1)
|
|
1272
1481
|
* @param {number} id
|
|
1273
1482
|
* @param {Uint8Array} kinds
|
|
1274
1483
|
* @param {Float64Array} zooms
|
|
@@ -1306,18 +1515,18 @@ export class Engine {
|
|
|
1306
1515
|
}
|
|
1307
1516
|
/**
|
|
1308
1517
|
* Adds or replaces tile `key` of a vector tile layer ready for the GPU, as the basemap workers make it (the
|
|
1309
|
-
* tessellation module): its polygons as for `setVectorTile` (
|
|
1310
|
-
*
|
|
1311
|
-
*
|
|
1312
|
-
*
|
|
1518
|
+
* tessellation module): its polygons as for `setVectorTile` (their prisms built here if drawn in relief while
|
|
1519
|
+
* `prism` is false), the vertices of its fills (`shapes::Vertex` as bytes, each with its feature), their
|
|
1520
|
+
* triangles, per sublayer its top cap and the rest of its prism (`fill_ranges`: four numbers, first and end of
|
|
1521
|
+
* each), its line pieces (`vector_tiles::TilePiece` as bytes), the line table (feature and length of each line),
|
|
1313
1522
|
* per sublayer its pieces (`line_ranges`: first, end), the blocks of its extrusion sublayers (`shapes::Block` as
|
|
1314
1523
|
* bytes), their triangles, per sublayer its blocks' triangles (`block_ranges`: first, end), the extent of its
|
|
1315
1524
|
* points (`bounds`: min x, min y, max x, max y), its features' sublayers (one each, as for `setVectorTile`)
|
|
1316
1525
|
*
|
|
1317
1526
|
* # Errors
|
|
1318
1527
|
*
|
|
1319
|
-
* Throws (to JavaScript) when the vertices, pieces or blocks are cut short, when
|
|
1320
|
-
*
|
|
1528
|
+
* Throws (to JavaScript) when the vertices, pieces or blocks are cut short, or when its features or lines need a
|
|
1529
|
+
* table past the GPU's largest texture
|
|
1321
1530
|
* @param {number} id
|
|
1322
1531
|
* @param {number} key
|
|
1323
1532
|
* @param {Float64Array} points
|
|
@@ -1399,19 +1608,16 @@ export class Engine {
|
|
|
1399
1608
|
* Adds or replaces tile `key` of a vector tile layer: its polygons as for `addFills` (`fill_start`: the first
|
|
1400
1609
|
* polygon of each sublayer, and the end; those of an extrusion sublayer raised into blocks), its lines as for
|
|
1401
1610
|
* `addLines` (`line_start`: the first line of each sublayer, and the end), its features' sublayers (one each, the
|
|
1402
|
-
* features of a sublayer after those of the one before), styled as an
|
|
1403
|
-
*
|
|
1404
|
-
*
|
|
1405
|
-
*
|
|
1406
|
-
*
|
|
1407
|
-
*
|
|
1408
|
-
* Mercator points, `roof_outline_start`: where each polygon's starts, and the end), `roof_metres` the metres per
|
|
1409
|
-
* Mercator unit at the tile
|
|
1611
|
+
* features of a sublayer after those of the one before), styled as an extrusion layer's (`setFeatureStyle` with
|
|
1612
|
+
* the key); `tile`: the corners of the tile they are cut to (west, north, east, south; empty: none), along whose
|
|
1613
|
+
* edges no wall of a block rises; `roofs` and `roof_heights`: per polygon, the shape and height of its block's
|
|
1614
|
+
* roof (`shapes::Roofs`), the whole outlines of the buildings the tile cuts (`roof_outlines`, interleaved Mercator
|
|
1615
|
+
* points, `roof_outline_start`: where each polygon's starts, and the end), `roof_metres` the metres per Mercator
|
|
1616
|
+
* unit at the tile
|
|
1410
1617
|
*
|
|
1411
1618
|
* # Errors
|
|
1412
1619
|
*
|
|
1413
|
-
* Throws (to JavaScript) when
|
|
1414
|
-
* table texture past the GPU's `MAX_TEXTURE_SIZE`
|
|
1620
|
+
* Throws (to JavaScript) when its features or lines need a table past the GPU's largest texture
|
|
1415
1621
|
* @param {number} id
|
|
1416
1622
|
* @param {number} key
|
|
1417
1623
|
* @param {Float64Array} points
|
|
@@ -1473,11 +1679,6 @@ export class Engine {
|
|
|
1473
1679
|
* only heading, tilt, angles of view across and up (degrees), the heading NaN to look all around. What some
|
|
1474
1680
|
* observer sees is tinted with `visible`, what is hidden from all those that reach it with `hidden` (RGB 0-1),
|
|
1475
1681
|
* at `opacity`; `outline` (RGB 0-1, or empty) the color of the cones' edges drawn in 3D
|
|
1476
|
-
*
|
|
1477
|
-
* # Errors
|
|
1478
|
-
*
|
|
1479
|
-
* Throws (to JavaScript) when, on the first call, a WebGL object cannot be created or a shader fails to compile
|
|
1480
|
-
* (the error carries its info log)
|
|
1481
1682
|
* @param {Float64Array} observers
|
|
1482
1683
|
* @param {Float32Array} visible
|
|
1483
1684
|
* @param {Float32Array} hidden
|
|
@@ -1493,10 +1694,7 @@ export class Engine {
|
|
|
1493
1694
|
const len2 = WASM_VECTOR_LEN;
|
|
1494
1695
|
const ptr3 = passArrayF32ToWasm0(outline, wasm.__wbindgen_malloc);
|
|
1495
1696
|
const len3 = WASM_VECTOR_LEN;
|
|
1496
|
-
|
|
1497
|
-
if (ret[1]) {
|
|
1498
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
1499
|
-
}
|
|
1697
|
+
wasm.engine_setViewshed(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, opacity, ptr3, len3);
|
|
1500
1698
|
}
|
|
1501
1699
|
/**
|
|
1502
1700
|
* Lowest and highest zoom levels the camera accepts
|
|
@@ -1527,8 +1725,9 @@ export class Engine {
|
|
|
1527
1725
|
}
|
|
1528
1726
|
/**
|
|
1529
1727
|
* The height above the relief (metres) of the top of what stands at a position (degrees): a roof, a mesh, 0 on
|
|
1530
|
-
* the bare ground; undefined where nothing of the last frame is there
|
|
1531
|
-
*
|
|
1728
|
+
* the bare ground; undefined where nothing of the last frame is there, or until measured: the scene is drawn
|
|
1729
|
+
* looking down at it after a frame and read back a frame or two later (a frame is asked for), the answer kept and
|
|
1730
|
+
* measured again every 250 ms at most
|
|
1532
1731
|
* @param {number} lon
|
|
1533
1732
|
* @param {number} lat
|
|
1534
1733
|
* @returns {any}
|
|
@@ -1539,8 +1738,8 @@ export class Engine {
|
|
|
1539
1738
|
}
|
|
1540
1739
|
/**
|
|
1541
1740
|
* What is drawn under a screen point (CSS pixels): longitude, latitude and its height above the relief (metres),
|
|
1542
|
-
* on a roof, a wall or a mesh as on the ground; undefined where nothing was drawn.
|
|
1543
|
-
*
|
|
1741
|
+
* on a roof, a wall or a mesh as on the ground; undefined where nothing was drawn. From the last copy of the
|
|
1742
|
+
* scene's depth (a frame or two old, one pixel in 4 CSS pixels): at once, without waiting for the GPU
|
|
1544
1743
|
* @param {number} x
|
|
1545
1744
|
* @param {number} y
|
|
1546
1745
|
* @returns {[lon: number, lat: number, height: number] | undefined}
|
|
@@ -1549,6 +1748,35 @@ export class Engine {
|
|
|
1549
1748
|
const ret = wasm.engine_surface(this.__wbg_ptr, x, y);
|
|
1550
1749
|
return ret;
|
|
1551
1750
|
}
|
|
1751
|
+
/**
|
|
1752
|
+
* Compressed texture formats of the GPU, for the KTX2 transcoding
|
|
1753
|
+
* @returns {import('./isard_tiles3d.js').TextureFormats}
|
|
1754
|
+
*/
|
|
1755
|
+
textureFormats() {
|
|
1756
|
+
const ret = wasm.engine_textureFormats(this.__wbg_ptr);
|
|
1757
|
+
return ret;
|
|
1758
|
+
}
|
|
1759
|
+
/**
|
|
1760
|
+
* The feature of a picked handle (`pick`'s index on a 3D Tiles layer): `[properties, feature]`, its properties
|
|
1761
|
+
* (undefined when its tile has none) and its index in its tile; undefined if the handle is not of the last picking
|
|
1762
|
+
* pass
|
|
1763
|
+
* @param {number} id
|
|
1764
|
+
* @param {number} index
|
|
1765
|
+
* @returns {[properties: Record<string, unknown> | undefined, feature: number] | undefined}
|
|
1766
|
+
*/
|
|
1767
|
+
tiles3dFeature(id, index) {
|
|
1768
|
+
const ret = wasm.engine_tiles3dFeature(this.__wbg_ptr, id, index);
|
|
1769
|
+
return ret;
|
|
1770
|
+
}
|
|
1771
|
+
/**
|
|
1772
|
+
* Counters of a 3D Tiles layer, undefined if there is none with this id
|
|
1773
|
+
* @param {number} id
|
|
1774
|
+
* @returns {Tiles3dStats | undefined}
|
|
1775
|
+
*/
|
|
1776
|
+
tiles3dStats(id) {
|
|
1777
|
+
const ret = wasm.engine_tiles3dStats(this.__wbg_ptr, id);
|
|
1778
|
+
return ret;
|
|
1779
|
+
}
|
|
1552
1780
|
/**
|
|
1553
1781
|
* A region of the first page of the glyph atlas: `width` × `height` bytes at (`x`, `y`)
|
|
1554
1782
|
* @param {number} x
|
|
@@ -1581,8 +1809,8 @@ export class Engine {
|
|
|
1581
1809
|
*
|
|
1582
1810
|
* # Errors
|
|
1583
1811
|
*
|
|
1584
|
-
* Throws (to JavaScript) when there is no texture `name`, or when the region is out of its bounds or
|
|
1585
|
-
*
|
|
1812
|
+
* Throws (to JavaScript) when there is no texture `name`, or when the region is out of its bounds or `data` holds
|
|
1813
|
+
* too few bytes
|
|
1586
1814
|
* @param {number} id
|
|
1587
1815
|
* @param {string} name
|
|
1588
1816
|
* @param {number} x
|
|
@@ -1615,22 +1843,11 @@ export class Engine {
|
|
|
1615
1843
|
const len0 = WASM_VECTOR_LEN;
|
|
1616
1844
|
wasm.engine_updateIconAtlas(this.__wbg_ptr, x, y, width, height, ptr0, len0);
|
|
1617
1845
|
}
|
|
1618
|
-
/**
|
|
1619
|
-
* Uploads a part more of the blocks of tile `key` of a vector tile layer (a large tile's, a part at a time over
|
|
1620
|
-
* several frames); whether some are left. Its blocks are drawn once they are all there
|
|
1621
|
-
* @param {number} id
|
|
1622
|
-
* @param {number} key
|
|
1623
|
-
* @returns {boolean}
|
|
1624
|
-
*/
|
|
1625
|
-
uploadVectorTile(id, key) {
|
|
1626
|
-
const ret = wasm.engine_uploadVectorTile(this.__wbg_ptr, id, key);
|
|
1627
|
-
return ret !== 0;
|
|
1628
|
-
}
|
|
1629
1846
|
/**
|
|
1630
1847
|
* Vector tiles (512 CSS pixels across at their level, as `MapLibre`'s) for the view of the last frame (else the
|
|
1631
1848
|
* camera's), levels `min_z` to `max_z`, three numbers per tile (z, x, y), the nearest to the eye first: what a
|
|
1632
|
-
* vector tile layer draws
|
|
1633
|
-
*
|
|
1849
|
+
* vector tile layer draws, coarser far away in a tilted view as the raster layers, and no farther than `reach`
|
|
1850
|
+
* times the screen center's distance (infinite: to the horizon)
|
|
1634
1851
|
* @param {number} min_z
|
|
1635
1852
|
* @param {number} max_z
|
|
1636
1853
|
* @param {number} reach
|
|
@@ -1668,6 +1885,14 @@ if (Symbol.dispose) Engine.prototype[Symbol.dispose] = Engine.prototype.free;
|
|
|
1668
1885
|
function __wbg_get_imports() {
|
|
1669
1886
|
const import0 = {
|
|
1670
1887
|
__proto__: null,
|
|
1888
|
+
__wbg_Window_a2a6c4d665047b14: function(arg0) {
|
|
1889
|
+
const ret = arg0.Window;
|
|
1890
|
+
return ret;
|
|
1891
|
+
},
|
|
1892
|
+
__wbg_WorkerGlobalScope_2664448a7c667d67: function(arg0) {
|
|
1893
|
+
const ret = arg0.WorkerGlobalScope;
|
|
1894
|
+
return ret;
|
|
1895
|
+
},
|
|
1671
1896
|
__wbg___wbindgen_boolean_get_5b446f51afd21013: function(arg0) {
|
|
1672
1897
|
const v = arg0;
|
|
1673
1898
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
@@ -1680,6 +1905,10 @@ function __wbg_get_imports() {
|
|
|
1680
1905
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1681
1906
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1682
1907
|
},
|
|
1908
|
+
__wbg___wbindgen_is_falsy_16bd49b68658263e: function(arg0) {
|
|
1909
|
+
const ret = !arg0;
|
|
1910
|
+
return ret;
|
|
1911
|
+
},
|
|
1683
1912
|
__wbg___wbindgen_is_function_1f9d30630b8b1d3d: function(arg0) {
|
|
1684
1913
|
const ret = typeof(arg0) === 'function';
|
|
1685
1914
|
return ret;
|
|
@@ -1688,6 +1917,15 @@ function __wbg_get_imports() {
|
|
|
1688
1917
|
const ret = arg0 === null;
|
|
1689
1918
|
return ret;
|
|
1690
1919
|
},
|
|
1920
|
+
__wbg___wbindgen_is_object_3c45d4f2dde4e749: function(arg0) {
|
|
1921
|
+
const val = arg0;
|
|
1922
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
1923
|
+
return ret;
|
|
1924
|
+
},
|
|
1925
|
+
__wbg___wbindgen_is_string_90b56bc79aad6f6c: function(arg0) {
|
|
1926
|
+
const ret = typeof(arg0) === 'string';
|
|
1927
|
+
return ret;
|
|
1928
|
+
},
|
|
1691
1929
|
__wbg___wbindgen_is_undefined_8865fb403f8fe9d8: function(arg0) {
|
|
1692
1930
|
const ret = arg0 === undefined;
|
|
1693
1931
|
return ret;
|
|
@@ -1725,6 +1963,10 @@ function __wbg_get_imports() {
|
|
|
1725
1963
|
__wbg_activeTexture_2fad46c01cafe6b1: function(arg0, arg1) {
|
|
1726
1964
|
arg0.activeTexture(arg1 >>> 0);
|
|
1727
1965
|
},
|
|
1966
|
+
__wbg_apply_a910804df6e1e433: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1967
|
+
const ret = arg0.apply(arg1, arg2);
|
|
1968
|
+
return ret;
|
|
1969
|
+
}, arguments); },
|
|
1728
1970
|
__wbg_arrayBuffer_f07be74819944ea2: function() { return handleError(function (arg0) {
|
|
1729
1971
|
const ret = arg0.arrayBuffer();
|
|
1730
1972
|
return ret;
|
|
@@ -1735,6 +1977,22 @@ function __wbg_get_imports() {
|
|
|
1735
1977
|
__wbg_attachShader_9567ae57af6746d5: function(arg0, arg1, arg2) {
|
|
1736
1978
|
arg0.attachShader(arg1, arg2);
|
|
1737
1979
|
},
|
|
1980
|
+
__wbg_beginQuery_eaee271e7ccd67d1: function(arg0, arg1, arg2) {
|
|
1981
|
+
arg0.beginQuery(arg1 >>> 0, arg2);
|
|
1982
|
+
},
|
|
1983
|
+
__wbg_beginRenderPass_3c53642423af50dc: function() { return handleError(function (arg0, arg1) {
|
|
1984
|
+
const ret = arg0.beginRenderPass(arg1);
|
|
1985
|
+
return ret;
|
|
1986
|
+
}, arguments); },
|
|
1987
|
+
__wbg_bindAttribLocation_6a6f66cbe96ef24e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1988
|
+
arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
1989
|
+
},
|
|
1990
|
+
__wbg_bindAttribLocation_ade0ee986a734cdf: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1991
|
+
arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
1992
|
+
},
|
|
1993
|
+
__wbg_bindBufferRange_a5aef3642afdabc8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1994
|
+
arg0.bindBufferRange(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
1995
|
+
},
|
|
1738
1996
|
__wbg_bindBuffer_0324f62b876c4403: function(arg0, arg1, arg2) {
|
|
1739
1997
|
arg0.bindBuffer(arg1 >>> 0, arg2);
|
|
1740
1998
|
},
|
|
@@ -1753,6 +2011,9 @@ function __wbg_get_imports() {
|
|
|
1753
2011
|
__wbg_bindRenderbuffer_e0c5aeef245a913a: function(arg0, arg1, arg2) {
|
|
1754
2012
|
arg0.bindRenderbuffer(arg1 >>> 0, arg2);
|
|
1755
2013
|
},
|
|
2014
|
+
__wbg_bindSampler_9b9743706aee71d1: function(arg0, arg1, arg2) {
|
|
2015
|
+
arg0.bindSampler(arg1 >>> 0, arg2);
|
|
2016
|
+
},
|
|
1756
2017
|
__wbg_bindTexture_3cf008f256f3ed99: function(arg0, arg1, arg2) {
|
|
1757
2018
|
arg0.bindTexture(arg1 >>> 0, arg2);
|
|
1758
2019
|
},
|
|
@@ -1765,6 +2026,18 @@ function __wbg_get_imports() {
|
|
|
1765
2026
|
__wbg_bindVertexArray_f58af0a346185ec5: function(arg0, arg1) {
|
|
1766
2027
|
arg0.bindVertexArray(arg1);
|
|
1767
2028
|
},
|
|
2029
|
+
__wbg_blendColor_68fc6d6454f2128d: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2030
|
+
arg0.blendColor(arg1, arg2, arg3, arg4);
|
|
2031
|
+
},
|
|
2032
|
+
__wbg_blendColor_a6256f41d1925899: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2033
|
+
arg0.blendColor(arg1, arg2, arg3, arg4);
|
|
2034
|
+
},
|
|
2035
|
+
__wbg_blendEquationSeparate_0a17fa4ea863d445: function(arg0, arg1, arg2) {
|
|
2036
|
+
arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
2037
|
+
},
|
|
2038
|
+
__wbg_blendEquationSeparate_fa2d4e5dde5ad8b3: function(arg0, arg1, arg2) {
|
|
2039
|
+
arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
2040
|
+
},
|
|
1768
2041
|
__wbg_blendEquation_5fb8aee6a55cf900: function(arg0, arg1) {
|
|
1769
2042
|
arg0.blendEquation(arg1 >>> 0);
|
|
1770
2043
|
},
|
|
@@ -1783,6 +2056,9 @@ function __wbg_get_imports() {
|
|
|
1783
2056
|
__wbg_blendFunc_589e4252bb396484: function(arg0, arg1, arg2) {
|
|
1784
2057
|
arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
1785
2058
|
},
|
|
2059
|
+
__wbg_blitFramebuffer_7b39bfec6cfece56: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
2060
|
+
arg0.blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);
|
|
2061
|
+
},
|
|
1786
2062
|
__wbg_blob_232135c7e297b861: function() { return handleError(function (arg0) {
|
|
1787
2063
|
const ret = arg0.blob();
|
|
1788
2064
|
return ret;
|
|
@@ -1805,23 +2081,68 @@ function __wbg_get_imports() {
|
|
|
1805
2081
|
__wbg_bufferSubData_8609cd8a2c013181: function(arg0, arg1, arg2, arg3) {
|
|
1806
2082
|
arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
|
|
1807
2083
|
},
|
|
2084
|
+
__wbg_buffer_6aace268d05b9dbe: function(arg0) {
|
|
2085
|
+
const ret = arg0.buffer;
|
|
2086
|
+
return ret;
|
|
2087
|
+
},
|
|
2088
|
+
__wbg_buffer_9cb148c510fd44ba: function(arg0) {
|
|
2089
|
+
const ret = arg0.buffer;
|
|
2090
|
+
return ret;
|
|
2091
|
+
},
|
|
2092
|
+
__wbg_byteLength_141bda7c7c28aa72: function(arg0) {
|
|
2093
|
+
const ret = arg0.byteLength;
|
|
2094
|
+
return ret;
|
|
2095
|
+
},
|
|
2096
|
+
__wbg_byteLength_18a1704c0bf397bb: function(arg0) {
|
|
2097
|
+
const ret = arg0.byteLength;
|
|
2098
|
+
return ret;
|
|
2099
|
+
},
|
|
1808
2100
|
__wbg_byteLength_27689b065d089962: function(arg0) {
|
|
1809
2101
|
const ret = arg0.byteLength;
|
|
1810
2102
|
return ret;
|
|
1811
2103
|
},
|
|
2104
|
+
__wbg_byteLength_9f985b8373f1f3fe: function(arg0) {
|
|
2105
|
+
const ret = arg0.byteLength;
|
|
2106
|
+
return ret;
|
|
2107
|
+
},
|
|
2108
|
+
__wbg_byteOffset_0a6d6550fa691da7: function(arg0) {
|
|
2109
|
+
const ret = arg0.byteOffset;
|
|
2110
|
+
return ret;
|
|
2111
|
+
},
|
|
2112
|
+
__wbg_byteOffset_58a6efdc19adce02: function(arg0) {
|
|
2113
|
+
const ret = arg0.byteOffset;
|
|
2114
|
+
return ret;
|
|
2115
|
+
},
|
|
1812
2116
|
__wbg_call_01721c8c75200a10: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1813
2117
|
const ret = arg0.call(arg1, arg2, arg3, arg4, arg5);
|
|
1814
2118
|
return ret;
|
|
1815
2119
|
}, arguments); },
|
|
2120
|
+
__wbg_call_1875a20c43a36133: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2121
|
+
const ret = arg0.call(arg1, arg2, arg3);
|
|
2122
|
+
return ret;
|
|
2123
|
+
}, arguments); },
|
|
2124
|
+
__wbg_call_187d372bd5fdd4aa: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2125
|
+
const ret = arg0.call(arg1, arg2);
|
|
2126
|
+
return ret;
|
|
2127
|
+
}, arguments); },
|
|
1816
2128
|
__wbg_call_6137034ef55c9d0f: function() { return handleError(function (arg0, arg1) {
|
|
1817
2129
|
const ret = arg0.call(arg1);
|
|
1818
2130
|
return ret;
|
|
1819
2131
|
}, arguments); },
|
|
1820
|
-
|
|
1821
|
-
arg0.
|
|
2132
|
+
__wbg_clearBufferfv_05f7fc7252e623eb: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2133
|
+
arg0.clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4));
|
|
2134
|
+
},
|
|
2135
|
+
__wbg_clearBufferiv_e8e740accbd0f2df: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2136
|
+
arg0.clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
|
|
2137
|
+
},
|
|
2138
|
+
__wbg_clearBufferuiv_e7f50f91f2195e38: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2139
|
+
arg0.clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4));
|
|
2140
|
+
},
|
|
2141
|
+
__wbg_clearDepth_4840a5497ae51286: function(arg0, arg1) {
|
|
2142
|
+
arg0.clearDepth(arg1);
|
|
1822
2143
|
},
|
|
1823
|
-
|
|
1824
|
-
arg0.
|
|
2144
|
+
__wbg_clearDepth_5a119c24c5d193bc: function(arg0, arg1) {
|
|
2145
|
+
arg0.clearDepth(arg1);
|
|
1825
2146
|
},
|
|
1826
2147
|
__wbg_clearStencil_1b8b8c727f598eec: function(arg0, arg1) {
|
|
1827
2148
|
arg0.clearStencil(arg1);
|
|
@@ -1835,6 +2156,10 @@ function __wbg_get_imports() {
|
|
|
1835
2156
|
__wbg_clear_cb96796cc568b7c8: function(arg0, arg1) {
|
|
1836
2157
|
arg0.clear(arg1 >>> 0);
|
|
1837
2158
|
},
|
|
2159
|
+
__wbg_clientWaitSync_73122aa040ce343d: function(arg0, arg1, arg2, arg3) {
|
|
2160
|
+
const ret = arg0.clientWaitSync(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
2161
|
+
return ret;
|
|
2162
|
+
},
|
|
1838
2163
|
__wbg_close_355afba6ea5ad1ae: function(arg0) {
|
|
1839
2164
|
arg0.close();
|
|
1840
2165
|
},
|
|
@@ -1850,14 +2175,72 @@ function __wbg_get_imports() {
|
|
|
1850
2175
|
__wbg_compileShader_c2b53ff3a8851f60: function(arg0, arg1) {
|
|
1851
2176
|
arg0.compileShader(arg1);
|
|
1852
2177
|
},
|
|
2178
|
+
__wbg_compressedTexSubImage2D_4942a783e20221c2: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
2179
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
|
|
2180
|
+
},
|
|
2181
|
+
__wbg_compressedTexSubImage2D_4c408678ff5f3056: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2182
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9);
|
|
2183
|
+
},
|
|
2184
|
+
__wbg_compressedTexSubImage2D_80961cdbbd2b3aea: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
2185
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
|
|
2186
|
+
},
|
|
2187
|
+
__wbg_compressedTexSubImage3D_1e0f86237d82f8b9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
2188
|
+
arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10);
|
|
2189
|
+
},
|
|
2190
|
+
__wbg_compressedTexSubImage3D_682e402a0ac201ba: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2191
|
+
arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11);
|
|
2192
|
+
},
|
|
2193
|
+
__wbg_configure_1e2c1c9edad07d26: function() { return handleError(function (arg0, arg1) {
|
|
2194
|
+
arg0.configure(arg1);
|
|
2195
|
+
}, arguments); },
|
|
2196
|
+
__wbg_copyBufferSubData_e82219c4834bd9ae: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2197
|
+
arg0.copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
2198
|
+
},
|
|
2199
|
+
__wbg_copyBufferToBuffer_01766818654a9868: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2200
|
+
arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4);
|
|
2201
|
+
}, arguments); },
|
|
2202
|
+
__wbg_copyBufferToBuffer_9c174b96fb08d551: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2203
|
+
arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
2204
|
+
}, arguments); },
|
|
2205
|
+
__wbg_copyExternalImageToTexture_116560f3be856776: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2206
|
+
arg0.copyExternalImageToTexture(arg1, arg2, arg3);
|
|
2207
|
+
}, arguments); },
|
|
2208
|
+
__wbg_copyTexSubImage2D_455fba12cf4a776c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
2209
|
+
arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
|
2210
|
+
},
|
|
2211
|
+
__wbg_copyTexSubImage2D_fe71e36efa520f37: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
2212
|
+
arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
|
2213
|
+
},
|
|
2214
|
+
__wbg_copyTexSubImage3D_717cd6c97934f2e6: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2215
|
+
arg0.copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
|
|
2216
|
+
},
|
|
2217
|
+
__wbg_copyTextureToBuffer_1234b3210431ad05: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2218
|
+
arg0.copyTextureToBuffer(arg1, arg2, arg3);
|
|
2219
|
+
}, arguments); },
|
|
2220
|
+
__wbg_createBindGroupLayout_b1bd63b4e88459d8: function() { return handleError(function (arg0, arg1) {
|
|
2221
|
+
const ret = arg0.createBindGroupLayout(arg1);
|
|
2222
|
+
return ret;
|
|
2223
|
+
}, arguments); },
|
|
2224
|
+
__wbg_createBindGroup_f539b26ca341308f: function(arg0, arg1) {
|
|
2225
|
+
const ret = arg0.createBindGroup(arg1);
|
|
2226
|
+
return ret;
|
|
2227
|
+
},
|
|
1853
2228
|
__wbg_createBuffer_d1dd23bf8704564c: function(arg0) {
|
|
1854
2229
|
const ret = arg0.createBuffer();
|
|
1855
2230
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1856
2231
|
},
|
|
2232
|
+
__wbg_createBuffer_d800e9b1d41b2ee5: function() { return handleError(function (arg0, arg1) {
|
|
2233
|
+
const ret = arg0.createBuffer(arg1);
|
|
2234
|
+
return ret;
|
|
2235
|
+
}, arguments); },
|
|
1857
2236
|
__wbg_createBuffer_ffe613371d42cfd3: function(arg0) {
|
|
1858
2237
|
const ret = arg0.createBuffer();
|
|
1859
2238
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1860
2239
|
},
|
|
2240
|
+
__wbg_createCommandEncoder_3352d1ffc36c6fc0: function(arg0, arg1) {
|
|
2241
|
+
const ret = arg0.createCommandEncoder(arg1);
|
|
2242
|
+
return ret;
|
|
2243
|
+
},
|
|
1861
2244
|
__wbg_createFramebuffer_2c6b5b0f49c88e5d: function(arg0) {
|
|
1862
2245
|
const ret = arg0.createFramebuffer();
|
|
1863
2246
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -1874,6 +2257,10 @@ function __wbg_get_imports() {
|
|
|
1874
2257
|
const ret = arg0.createImageBitmap(arg1, arg2);
|
|
1875
2258
|
return ret;
|
|
1876
2259
|
}, arguments); },
|
|
2260
|
+
__wbg_createPipelineLayout_6eab52c327118937: function(arg0, arg1) {
|
|
2261
|
+
const ret = arg0.createPipelineLayout(arg1);
|
|
2262
|
+
return ret;
|
|
2263
|
+
},
|
|
1877
2264
|
__wbg_createProgram_cbf448e6f18a9402: function(arg0) {
|
|
1878
2265
|
const ret = arg0.createProgram();
|
|
1879
2266
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -1882,6 +2269,14 @@ function __wbg_get_imports() {
|
|
|
1882
2269
|
const ret = arg0.createProgram();
|
|
1883
2270
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1884
2271
|
},
|
|
2272
|
+
__wbg_createQuery_ec241083d0b36197: function(arg0) {
|
|
2273
|
+
const ret = arg0.createQuery();
|
|
2274
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2275
|
+
},
|
|
2276
|
+
__wbg_createRenderPipeline_0ebb7ebc653e9207: function() { return handleError(function (arg0, arg1) {
|
|
2277
|
+
const ret = arg0.createRenderPipeline(arg1);
|
|
2278
|
+
return ret;
|
|
2279
|
+
}, arguments); },
|
|
1885
2280
|
__wbg_createRenderbuffer_2b17e9fe2e6fb4be: function(arg0) {
|
|
1886
2281
|
const ret = arg0.createRenderbuffer();
|
|
1887
2282
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -1890,6 +2285,18 @@ function __wbg_get_imports() {
|
|
|
1890
2285
|
const ret = arg0.createRenderbuffer();
|
|
1891
2286
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1892
2287
|
},
|
|
2288
|
+
__wbg_createSampler_1b330d9da0c6523f: function(arg0) {
|
|
2289
|
+
const ret = arg0.createSampler();
|
|
2290
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2291
|
+
},
|
|
2292
|
+
__wbg_createSampler_9bd91d7e928c0060: function(arg0, arg1) {
|
|
2293
|
+
const ret = arg0.createSampler(arg1);
|
|
2294
|
+
return ret;
|
|
2295
|
+
},
|
|
2296
|
+
__wbg_createShaderModule_cefa51336cb288ae: function(arg0, arg1) {
|
|
2297
|
+
const ret = arg0.createShaderModule(arg1);
|
|
2298
|
+
return ret;
|
|
2299
|
+
},
|
|
1893
2300
|
__wbg_createShader_6c1a2295587878a5: function(arg0, arg1) {
|
|
1894
2301
|
const ret = arg0.createShader(arg1 >>> 0);
|
|
1895
2302
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -1906,6 +2313,10 @@ function __wbg_get_imports() {
|
|
|
1906
2313
|
const ret = arg0.createTexture();
|
|
1907
2314
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1908
2315
|
},
|
|
2316
|
+
__wbg_createTexture_ed7e9fc04dd54d84: function() { return handleError(function (arg0, arg1) {
|
|
2317
|
+
const ret = arg0.createTexture(arg1);
|
|
2318
|
+
return ret;
|
|
2319
|
+
}, arguments); },
|
|
1909
2320
|
__wbg_createVertexArrayOES_a8dc8498b56df937: function(arg0) {
|
|
1910
2321
|
const ret = arg0.createVertexArrayOES();
|
|
1911
2322
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -1914,6 +2325,10 @@ function __wbg_get_imports() {
|
|
|
1914
2325
|
const ret = arg0.createVertexArray();
|
|
1915
2326
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1916
2327
|
},
|
|
2328
|
+
__wbg_createView_da41c2d2cb212715: function() { return handleError(function (arg0, arg1) {
|
|
2329
|
+
const ret = arg0.createView(arg1);
|
|
2330
|
+
return ret;
|
|
2331
|
+
}, arguments); },
|
|
1917
2332
|
__wbg_cullFace_12123c1c97f1ba2c: function(arg0, arg1) {
|
|
1918
2333
|
arg0.cullFace(arg1 >>> 0);
|
|
1919
2334
|
},
|
|
@@ -1938,12 +2353,18 @@ function __wbg_get_imports() {
|
|
|
1938
2353
|
__wbg_deleteProgram_b524b30ad176cdb4: function(arg0, arg1) {
|
|
1939
2354
|
arg0.deleteProgram(arg1);
|
|
1940
2355
|
},
|
|
2356
|
+
__wbg_deleteQuery_266895df9763e0b3: function(arg0, arg1) {
|
|
2357
|
+
arg0.deleteQuery(arg1);
|
|
2358
|
+
},
|
|
1941
2359
|
__wbg_deleteRenderbuffer_826c9b43b7ea68f5: function(arg0, arg1) {
|
|
1942
2360
|
arg0.deleteRenderbuffer(arg1);
|
|
1943
2361
|
},
|
|
1944
2362
|
__wbg_deleteRenderbuffer_f4e121a3ab21c605: function(arg0, arg1) {
|
|
1945
2363
|
arg0.deleteRenderbuffer(arg1);
|
|
1946
2364
|
},
|
|
2365
|
+
__wbg_deleteSampler_f8afded8bf215d53: function(arg0, arg1) {
|
|
2366
|
+
arg0.deleteSampler(arg1);
|
|
2367
|
+
},
|
|
1947
2368
|
__wbg_deleteShader_a70f6cc1918d67eb: function(arg0, arg1) {
|
|
1948
2369
|
arg0.deleteShader(arg1);
|
|
1949
2370
|
},
|
|
@@ -1983,11 +2404,15 @@ function __wbg_get_imports() {
|
|
|
1983
2404
|
__wbg_depthRange_6a4e169ccf314148: function(arg0, arg1, arg2) {
|
|
1984
2405
|
arg0.depthRange(arg1, arg2);
|
|
1985
2406
|
},
|
|
1986
|
-
|
|
1987
|
-
|
|
2407
|
+
__wbg_description_83b8a393160021b9: function(arg0, arg1) {
|
|
2408
|
+
const ret = arg1.description;
|
|
2409
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2410
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2411
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2412
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1988
2413
|
},
|
|
1989
|
-
|
|
1990
|
-
arg0.
|
|
2414
|
+
__wbg_destroy_637537007d9eaa44: function(arg0) {
|
|
2415
|
+
arg0.destroy();
|
|
1991
2416
|
},
|
|
1992
2417
|
__wbg_disableVertexAttribArray_11c9f11bee30c9d8: function(arg0, arg1) {
|
|
1993
2418
|
arg0.disableVertexAttribArray(arg1 >>> 0);
|
|
@@ -2001,6 +2426,18 @@ function __wbg_get_imports() {
|
|
|
2001
2426
|
__wbg_disable_81b2cb5f8cea15ae: function(arg0, arg1) {
|
|
2002
2427
|
arg0.disable(arg1 >>> 0);
|
|
2003
2428
|
},
|
|
2429
|
+
__wbg_displayHeight_903e670be87f29ab: function(arg0) {
|
|
2430
|
+
const ret = arg0.displayHeight;
|
|
2431
|
+
return ret;
|
|
2432
|
+
},
|
|
2433
|
+
__wbg_displayWidth_5da2bf55e335368a: function(arg0) {
|
|
2434
|
+
const ret = arg0.displayWidth;
|
|
2435
|
+
return ret;
|
|
2436
|
+
},
|
|
2437
|
+
__wbg_document_9854e03c05fc8834: function(arg0) {
|
|
2438
|
+
const ret = arg0.document;
|
|
2439
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2440
|
+
},
|
|
2004
2441
|
__wbg_drawArraysInstancedANGLE_b76512b5abba6668: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2005
2442
|
arg0.drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
|
|
2006
2443
|
},
|
|
@@ -2013,17 +2450,23 @@ function __wbg_get_imports() {
|
|
|
2013
2450
|
__wbg_drawArrays_741af5c3f8db636f: function(arg0, arg1, arg2, arg3) {
|
|
2014
2451
|
arg0.drawArrays(arg1 >>> 0, arg2, arg3);
|
|
2015
2452
|
},
|
|
2453
|
+
__wbg_drawBuffersWEBGL_c1bc0bbfd584c9b2: function(arg0, arg1) {
|
|
2454
|
+
arg0.drawBuffersWEBGL(arg1);
|
|
2455
|
+
},
|
|
2456
|
+
__wbg_drawBuffers_7a58bd4729f7a1fc: function(arg0, arg1) {
|
|
2457
|
+
arg0.drawBuffers(arg1);
|
|
2458
|
+
},
|
|
2016
2459
|
__wbg_drawElementsInstancedANGLE_c3fc0cfa9e29a1bc: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2017
2460
|
arg0.drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
2018
2461
|
},
|
|
2019
2462
|
__wbg_drawElementsInstanced_d7c396aa034159b6: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2020
2463
|
arg0.drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
2021
2464
|
},
|
|
2022
|
-
|
|
2023
|
-
arg0.
|
|
2465
|
+
__wbg_drawIndexed_638959aae942557c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2466
|
+
arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
2024
2467
|
},
|
|
2025
|
-
|
|
2026
|
-
arg0.
|
|
2468
|
+
__wbg_draw_086a9578fc9898c2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2469
|
+
arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
2027
2470
|
},
|
|
2028
2471
|
__wbg_enableVertexAttribArray_1496b78a8dbab9fd: function(arg0, arg1) {
|
|
2029
2472
|
arg0.enableVertexAttribArray(arg1 >>> 0);
|
|
@@ -2037,6 +2480,31 @@ function __wbg_get_imports() {
|
|
|
2037
2480
|
__wbg_enable_cb4fc19b51148c37: function(arg0, arg1) {
|
|
2038
2481
|
arg0.enable(arg1 >>> 0);
|
|
2039
2482
|
},
|
|
2483
|
+
__wbg_endQuery_73863d04a795d520: function(arg0, arg1) {
|
|
2484
|
+
arg0.endQuery(arg1 >>> 0);
|
|
2485
|
+
},
|
|
2486
|
+
__wbg_end_b57473834b877409: function(arg0) {
|
|
2487
|
+
arg0.end();
|
|
2488
|
+
},
|
|
2489
|
+
__wbg_engine_new: function(arg0) {
|
|
2490
|
+
const ret = Engine.__wrap(arg0);
|
|
2491
|
+
return ret;
|
|
2492
|
+
},
|
|
2493
|
+
__wbg_error_8c8dff942c7c4f11: function(arg0) {
|
|
2494
|
+
const ret = arg0.error;
|
|
2495
|
+
return ret;
|
|
2496
|
+
},
|
|
2497
|
+
__wbg_error_c9cf3fc2064683a9: function(arg0) {
|
|
2498
|
+
console.error(arg0);
|
|
2499
|
+
},
|
|
2500
|
+
__wbg_features_5cac120c28ba0475: function(arg0) {
|
|
2501
|
+
const ret = arg0.features;
|
|
2502
|
+
return ret;
|
|
2503
|
+
},
|
|
2504
|
+
__wbg_features_dec7bd2fd3d91bd6: function(arg0) {
|
|
2505
|
+
const ret = arg0.features;
|
|
2506
|
+
return ret;
|
|
2507
|
+
},
|
|
2040
2508
|
__wbg_fenceSync_330293024adb66bc: function(arg0, arg1, arg2) {
|
|
2041
2509
|
const ret = arg0.fenceSync(arg1 >>> 0, arg2 >>> 0);
|
|
2042
2510
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -2045,6 +2513,20 @@ function __wbg_get_imports() {
|
|
|
2045
2513
|
const ret = arg0.fetch(getStringFromWasm0(arg1, arg2), arg3);
|
|
2046
2514
|
return ret;
|
|
2047
2515
|
},
|
|
2516
|
+
__wbg_finish_09ec094c10f41e7b: function(arg0) {
|
|
2517
|
+
const ret = arg0.finish();
|
|
2518
|
+
return ret;
|
|
2519
|
+
},
|
|
2520
|
+
__wbg_finish_173a156040775de3: function(arg0) {
|
|
2521
|
+
arg0.finish();
|
|
2522
|
+
},
|
|
2523
|
+
__wbg_finish_31ffb964be7e9749: function(arg0) {
|
|
2524
|
+
arg0.finish();
|
|
2525
|
+
},
|
|
2526
|
+
__wbg_finish_ec1c191f66a895b1: function(arg0, arg1) {
|
|
2527
|
+
const ret = arg0.finish(arg1);
|
|
2528
|
+
return ret;
|
|
2529
|
+
},
|
|
2048
2530
|
__wbg_flush_13b162660ad850d2: function(arg0) {
|
|
2049
2531
|
arg0.flush();
|
|
2050
2532
|
},
|
|
@@ -2063,20 +2545,18 @@ function __wbg_get_imports() {
|
|
|
2063
2545
|
__wbg_framebufferTexture2D_caddefa1f767646e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2064
2546
|
arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
|
|
2065
2547
|
},
|
|
2548
|
+
__wbg_framebufferTextureLayer_1d5c0f0e3234e521: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2549
|
+
arg0.framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
2550
|
+
},
|
|
2551
|
+
__wbg_framebufferTextureMultiviewOVR_77f19224ff7be6ef: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2552
|
+
arg0.framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5, arg6);
|
|
2553
|
+
},
|
|
2066
2554
|
__wbg_frontFace_6751b4b97f997aeb: function(arg0, arg1) {
|
|
2067
2555
|
arg0.frontFace(arg1 >>> 0);
|
|
2068
2556
|
},
|
|
2069
2557
|
__wbg_frontFace_b064adb15b6f3772: function(arg0, arg1) {
|
|
2070
2558
|
arg0.frontFace(arg1 >>> 0);
|
|
2071
2559
|
},
|
|
2072
|
-
__wbg_getActiveUniform_239de631a40c387a: function(arg0, arg1, arg2) {
|
|
2073
|
-
const ret = arg0.getActiveUniform(arg1, arg2 >>> 0);
|
|
2074
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2075
|
-
},
|
|
2076
|
-
__wbg_getActiveUniform_f2052b3c57679fe2: function(arg0, arg1, arg2) {
|
|
2077
|
-
const ret = arg0.getActiveUniform(arg1, arg2 >>> 0);
|
|
2078
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2079
|
-
},
|
|
2080
2560
|
__wbg_getBufferSubData_dd23246099b166d1: function(arg0, arg1, arg2, arg3) {
|
|
2081
2561
|
arg0.getBufferSubData(arg1 >>> 0, arg2, arg3);
|
|
2082
2562
|
},
|
|
@@ -2084,10 +2564,34 @@ function __wbg_get_imports() {
|
|
|
2084
2564
|
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
|
|
2085
2565
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2086
2566
|
}, arguments); },
|
|
2567
|
+
__wbg_getContext_189ce278aa985704: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2568
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
|
|
2569
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2570
|
+
}, arguments); },
|
|
2571
|
+
__wbg_getContext_635e36719cad2623: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2572
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
2573
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2574
|
+
}, arguments); },
|
|
2575
|
+
__wbg_getContext_e567868594d2e0c6: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2576
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
2577
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2578
|
+
}, arguments); },
|
|
2579
|
+
__wbg_getCurrentTexture_9f3b84d0eaa6cd95: function() { return handleError(function (arg0) {
|
|
2580
|
+
const ret = arg0.getCurrentTexture();
|
|
2581
|
+
return ret;
|
|
2582
|
+
}, arguments); },
|
|
2087
2583
|
__wbg_getExtension_abfda2c5db286b07: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2088
2584
|
const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
|
|
2089
2585
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2090
2586
|
}, arguments); },
|
|
2587
|
+
__wbg_getIndexedParameter_0f49864473e337fa: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2588
|
+
const ret = arg0.getIndexedParameter(arg1 >>> 0, arg2 >>> 0);
|
|
2589
|
+
return ret;
|
|
2590
|
+
}, arguments); },
|
|
2591
|
+
__wbg_getMappedRange_fb54c6327b2d8d20: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2592
|
+
const ret = arg0.getMappedRange(arg1, arg2);
|
|
2593
|
+
return ret;
|
|
2594
|
+
}, arguments); },
|
|
2091
2595
|
__wbg_getParameter_974595a6624c6c10: function() { return handleError(function (arg0, arg1) {
|
|
2092
2596
|
const ret = arg0.getParameter(arg1 >>> 0);
|
|
2093
2597
|
return ret;
|
|
@@ -2096,6 +2600,10 @@ function __wbg_get_imports() {
|
|
|
2096
2600
|
const ret = arg0.getParameter(arg1 >>> 0);
|
|
2097
2601
|
return ret;
|
|
2098
2602
|
}, arguments); },
|
|
2603
|
+
__wbg_getPreferredCanvasFormat_0ef5034c8902201b: function(arg0) {
|
|
2604
|
+
const ret = arg0.getPreferredCanvasFormat();
|
|
2605
|
+
return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 102) - 1;
|
|
2606
|
+
},
|
|
2099
2607
|
__wbg_getProgramInfoLog_208fb1ff31006495: function(arg0, arg1, arg2) {
|
|
2100
2608
|
const ret = arg1.getProgramInfoLog(arg2);
|
|
2101
2609
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2118,6 +2626,10 @@ function __wbg_get_imports() {
|
|
|
2118
2626
|
const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
|
|
2119
2627
|
return ret;
|
|
2120
2628
|
},
|
|
2629
|
+
__wbg_getQueryParameter_937ba13f77db778f: function(arg0, arg1, arg2) {
|
|
2630
|
+
const ret = arg0.getQueryParameter(arg1, arg2 >>> 0);
|
|
2631
|
+
return ret;
|
|
2632
|
+
},
|
|
2121
2633
|
__wbg_getShaderInfoLog_7e0cbba353ca95da: function(arg0, arg1, arg2) {
|
|
2122
2634
|
const ret = arg1.getShaderInfoLog(arg2);
|
|
2123
2635
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2144,10 +2656,18 @@ function __wbg_get_imports() {
|
|
|
2144
2656
|
const ret = arg0.getSupportedExtensions();
|
|
2145
2657
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2146
2658
|
},
|
|
2659
|
+
__wbg_getSupportedProfiles_7b2acfa66b565d24: function(arg0) {
|
|
2660
|
+
const ret = arg0.getSupportedProfiles();
|
|
2661
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2662
|
+
},
|
|
2147
2663
|
__wbg_getSyncParameter_bb4be47b67bfa2f8: function(arg0, arg1, arg2) {
|
|
2148
2664
|
const ret = arg0.getSyncParameter(arg1, arg2 >>> 0);
|
|
2149
2665
|
return ret;
|
|
2150
2666
|
},
|
|
2667
|
+
__wbg_getUniformBlockIndex_5e2252ceb34531a5: function(arg0, arg1, arg2, arg3) {
|
|
2668
|
+
const ret = arg0.getUniformBlockIndex(arg1, getStringFromWasm0(arg2, arg3));
|
|
2669
|
+
return ret;
|
|
2670
|
+
},
|
|
2151
2671
|
__wbg_getUniformLocation_50ba45dade572703: function(arg0, arg1, arg2, arg3) {
|
|
2152
2672
|
const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
|
|
2153
2673
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -2156,14 +2676,73 @@ function __wbg_get_imports() {
|
|
|
2156
2676
|
const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
|
|
2157
2677
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2158
2678
|
},
|
|
2679
|
+
__wbg_get_31af05bd4842a84f: function() { return handleError(function (arg0, arg1) {
|
|
2680
|
+
const ret = Reflect.get(arg0, arg1);
|
|
2681
|
+
return ret;
|
|
2682
|
+
}, arguments); },
|
|
2683
|
+
__wbg_get_806853698d9fc227: function() { return handleError(function (arg0, arg1) {
|
|
2684
|
+
const ret = Reflect.get(arg0, arg1 >>> 0);
|
|
2685
|
+
return ret;
|
|
2686
|
+
}, arguments); },
|
|
2687
|
+
__wbg_get_f75619e20cb68514: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2688
|
+
const ret = arg1.get(getStringFromWasm0(arg2, arg3));
|
|
2689
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2690
|
+
var len1 = WASM_VECTOR_LEN;
|
|
2691
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2692
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2693
|
+
}, arguments); },
|
|
2694
|
+
__wbg_get_fd12a9100976c296: function(arg0, arg1) {
|
|
2695
|
+
const ret = arg0[arg1 >>> 0];
|
|
2696
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2697
|
+
},
|
|
2698
|
+
__wbg_get_index_f4750150bb3083b3: function(arg0, arg1) {
|
|
2699
|
+
const ret = arg0[arg1 >>> 0];
|
|
2700
|
+
return ret;
|
|
2701
|
+
},
|
|
2159
2702
|
__wbg_get_unchecked_288889d017702237: function(arg0, arg1) {
|
|
2160
2703
|
const ret = arg0[arg1 >>> 0];
|
|
2161
2704
|
return ret;
|
|
2162
2705
|
},
|
|
2706
|
+
__wbg_gpu_afdd4387c7afe5f9: function(arg0) {
|
|
2707
|
+
const ret = arg0.gpu;
|
|
2708
|
+
return ret;
|
|
2709
|
+
},
|
|
2710
|
+
__wbg_has_eafa12e457ea88fb: function(arg0, arg1, arg2) {
|
|
2711
|
+
const ret = arg0.has(getStringFromWasm0(arg1, arg2));
|
|
2712
|
+
return ret;
|
|
2713
|
+
},
|
|
2714
|
+
__wbg_headers_eba93595f8944c2f: function(arg0) {
|
|
2715
|
+
const ret = arg0.headers;
|
|
2716
|
+
return ret;
|
|
2717
|
+
},
|
|
2718
|
+
__wbg_height_50d2b2bc8c6ec859: function(arg0) {
|
|
2719
|
+
const ret = arg0.height;
|
|
2720
|
+
return ret;
|
|
2721
|
+
},
|
|
2722
|
+
__wbg_height_816341c9bbd4e9e3: function(arg0) {
|
|
2723
|
+
const ret = arg0.height;
|
|
2724
|
+
return ret;
|
|
2725
|
+
},
|
|
2163
2726
|
__wbg_height_9dca4d43c3e4b84b: function(arg0) {
|
|
2164
2727
|
const ret = arg0.height;
|
|
2165
2728
|
return ret;
|
|
2166
2729
|
},
|
|
2730
|
+
__wbg_height_aa756cf29b6d629c: function(arg0) {
|
|
2731
|
+
const ret = arg0.height;
|
|
2732
|
+
return ret;
|
|
2733
|
+
},
|
|
2734
|
+
__wbg_height_fc97e1a0c2e7331f: function(arg0) {
|
|
2735
|
+
const ret = arg0.height;
|
|
2736
|
+
return ret;
|
|
2737
|
+
},
|
|
2738
|
+
__wbg_includes_9b0dfa946c313621: function(arg0, arg1, arg2) {
|
|
2739
|
+
const ret = arg0.includes(arg1, arg2);
|
|
2740
|
+
return ret;
|
|
2741
|
+
},
|
|
2742
|
+
__wbg_info_971d8b9db3dae69f: function(arg0) {
|
|
2743
|
+
const ret = arg0.info;
|
|
2744
|
+
return ret;
|
|
2745
|
+
},
|
|
2167
2746
|
__wbg_instanceof_ArrayBuffer_a99f175873e5d9b8: function(arg0) {
|
|
2168
2747
|
let result;
|
|
2169
2748
|
try {
|
|
@@ -2184,6 +2763,16 @@ function __wbg_get_imports() {
|
|
|
2184
2763
|
const ret = result;
|
|
2185
2764
|
return ret;
|
|
2186
2765
|
},
|
|
2766
|
+
__wbg_instanceof_Error_80a725f81f2e102d: function(arg0) {
|
|
2767
|
+
let result;
|
|
2768
|
+
try {
|
|
2769
|
+
result = arg0 instanceof Error;
|
|
2770
|
+
} catch (_) {
|
|
2771
|
+
result = false;
|
|
2772
|
+
}
|
|
2773
|
+
const ret = result;
|
|
2774
|
+
return ret;
|
|
2775
|
+
},
|
|
2187
2776
|
__wbg_instanceof_Float32Array_595afb0f28b828c9: function(arg0) {
|
|
2188
2777
|
let result;
|
|
2189
2778
|
try {
|
|
@@ -2194,6 +2783,46 @@ function __wbg_get_imports() {
|
|
|
2194
2783
|
const ret = result;
|
|
2195
2784
|
return ret;
|
|
2196
2785
|
},
|
|
2786
|
+
__wbg_instanceof_Float64Array_8a59377f9eec1b8b: function(arg0) {
|
|
2787
|
+
let result;
|
|
2788
|
+
try {
|
|
2789
|
+
result = arg0 instanceof Float64Array;
|
|
2790
|
+
} catch (_) {
|
|
2791
|
+
result = false;
|
|
2792
|
+
}
|
|
2793
|
+
const ret = result;
|
|
2794
|
+
return ret;
|
|
2795
|
+
},
|
|
2796
|
+
__wbg_instanceof_GpuOutOfMemoryError_5c3b8a2499f59adb: function(arg0) {
|
|
2797
|
+
let result;
|
|
2798
|
+
try {
|
|
2799
|
+
result = arg0 instanceof GPUOutOfMemoryError;
|
|
2800
|
+
} catch (_) {
|
|
2801
|
+
result = false;
|
|
2802
|
+
}
|
|
2803
|
+
const ret = result;
|
|
2804
|
+
return ret;
|
|
2805
|
+
},
|
|
2806
|
+
__wbg_instanceof_GpuValidationError_7659e07b12d4e184: function(arg0) {
|
|
2807
|
+
let result;
|
|
2808
|
+
try {
|
|
2809
|
+
result = arg0 instanceof GPUValidationError;
|
|
2810
|
+
} catch (_) {
|
|
2811
|
+
result = false;
|
|
2812
|
+
}
|
|
2813
|
+
const ret = result;
|
|
2814
|
+
return ret;
|
|
2815
|
+
},
|
|
2816
|
+
__wbg_instanceof_HtmlCanvasElement_0a30c11fbbf41841: function(arg0) {
|
|
2817
|
+
let result;
|
|
2818
|
+
try {
|
|
2819
|
+
result = arg0 instanceof HTMLCanvasElement;
|
|
2820
|
+
} catch (_) {
|
|
2821
|
+
result = false;
|
|
2822
|
+
}
|
|
2823
|
+
const ret = result;
|
|
2824
|
+
return ret;
|
|
2825
|
+
},
|
|
2197
2826
|
__wbg_instanceof_ImageBitmap_74bea45ee48d3d7a: function(arg0) {
|
|
2198
2827
|
let result;
|
|
2199
2828
|
try {
|
|
@@ -2204,6 +2833,16 @@ function __wbg_get_imports() {
|
|
|
2204
2833
|
const ret = result;
|
|
2205
2834
|
return ret;
|
|
2206
2835
|
},
|
|
2836
|
+
__wbg_instanceof_Promise_e1dc6893aa1ece28: function(arg0) {
|
|
2837
|
+
let result;
|
|
2838
|
+
try {
|
|
2839
|
+
result = arg0 instanceof Promise;
|
|
2840
|
+
} catch (_) {
|
|
2841
|
+
result = false;
|
|
2842
|
+
}
|
|
2843
|
+
const ret = result;
|
|
2844
|
+
return ret;
|
|
2845
|
+
},
|
|
2207
2846
|
__wbg_instanceof_Response_b8758567269c30b2: function(arg0) {
|
|
2208
2847
|
let result;
|
|
2209
2848
|
try {
|
|
@@ -2214,6 +2853,26 @@ function __wbg_get_imports() {
|
|
|
2214
2853
|
const ret = result;
|
|
2215
2854
|
return ret;
|
|
2216
2855
|
},
|
|
2856
|
+
__wbg_instanceof_Uint32Array_53a4facaf04b8a8b: function(arg0) {
|
|
2857
|
+
let result;
|
|
2858
|
+
try {
|
|
2859
|
+
result = arg0 instanceof Uint32Array;
|
|
2860
|
+
} catch (_) {
|
|
2861
|
+
result = false;
|
|
2862
|
+
}
|
|
2863
|
+
const ret = result;
|
|
2864
|
+
return ret;
|
|
2865
|
+
},
|
|
2866
|
+
__wbg_instanceof_Uint8Array_828cef2aaacafc31: function(arg0) {
|
|
2867
|
+
let result;
|
|
2868
|
+
try {
|
|
2869
|
+
result = arg0 instanceof Uint8Array;
|
|
2870
|
+
} catch (_) {
|
|
2871
|
+
result = false;
|
|
2872
|
+
}
|
|
2873
|
+
const ret = result;
|
|
2874
|
+
return ret;
|
|
2875
|
+
},
|
|
2217
2876
|
__wbg_instanceof_WebGl2RenderingContext_64c994c14c0790fb: function(arg0) {
|
|
2218
2877
|
let result;
|
|
2219
2878
|
try {
|
|
@@ -2234,22 +2893,28 @@ function __wbg_get_imports() {
|
|
|
2234
2893
|
const ret = result;
|
|
2235
2894
|
return ret;
|
|
2236
2895
|
},
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
const ret = arg0.isEnabled(arg1 >>> 0);
|
|
2896
|
+
__wbg_invalidateFramebuffer_4f576db65bb37d6a: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2897
|
+
arg0.invalidateFramebuffer(arg1 >>> 0, arg2);
|
|
2898
|
+
}, arguments); },
|
|
2899
|
+
__wbg_isArray_e15a2ff68ffdbef2: function(arg0) {
|
|
2900
|
+
const ret = Array.isArray(arg0);
|
|
2243
2901
|
return ret;
|
|
2244
2902
|
},
|
|
2245
|
-
|
|
2246
|
-
const ret = arg0.
|
|
2903
|
+
__wbg_isFallbackAdapter_4c8cc3b18677460a: function(arg0) {
|
|
2904
|
+
const ret = arg0.isFallbackAdapter;
|
|
2247
2905
|
return ret;
|
|
2248
2906
|
},
|
|
2249
2907
|
__wbg_is_4b278c0bd3caba97: function(arg0, arg1) {
|
|
2250
2908
|
const ret = Object.is(arg0, arg1);
|
|
2251
2909
|
return ret;
|
|
2252
2910
|
},
|
|
2911
|
+
__wbg_label_7add8cb37a6ef98f: function(arg0, arg1) {
|
|
2912
|
+
const ret = arg1.label;
|
|
2913
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2914
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2915
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2916
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2917
|
+
},
|
|
2253
2918
|
__wbg_length_58572db4c38f3c3e: function(arg0) {
|
|
2254
2919
|
const ret = arg0.length;
|
|
2255
2920
|
return ret;
|
|
@@ -2258,185 +2923,1046 @@ function __wbg_get_imports() {
|
|
|
2258
2923
|
const ret = arg0.length;
|
|
2259
2924
|
return ret;
|
|
2260
2925
|
},
|
|
2926
|
+
__wbg_length_b5f0008bbf60cf59: function(arg0) {
|
|
2927
|
+
const ret = arg0.length;
|
|
2928
|
+
return ret;
|
|
2929
|
+
},
|
|
2261
2930
|
__wbg_length_d4bdea10311bd9cf: function(arg0) {
|
|
2262
2931
|
const ret = arg0.length;
|
|
2263
2932
|
return ret;
|
|
2264
2933
|
},
|
|
2934
|
+
__wbg_limits_06bcb36c8409843b: function(arg0) {
|
|
2935
|
+
const ret = arg0.limits;
|
|
2936
|
+
return ret;
|
|
2937
|
+
},
|
|
2938
|
+
__wbg_limits_601ad2e086ef8141: function(arg0) {
|
|
2939
|
+
const ret = arg0.limits;
|
|
2940
|
+
return ret;
|
|
2941
|
+
},
|
|
2265
2942
|
__wbg_linkProgram_571a9ea00d38ff83: function(arg0, arg1) {
|
|
2266
2943
|
arg0.linkProgram(arg1);
|
|
2267
2944
|
},
|
|
2268
2945
|
__wbg_linkProgram_acdc299c43d734a0: function(arg0, arg1) {
|
|
2269
2946
|
arg0.linkProgram(arg1);
|
|
2270
2947
|
},
|
|
2271
|
-
|
|
2272
|
-
const ret = arg1
|
|
2273
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2274
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2275
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2276
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2277
|
-
},
|
|
2278
|
-
__wbg_new_2e41357094e99294: function() { return handleError(function () {
|
|
2279
|
-
const ret = new AbortController();
|
|
2948
|
+
__wbg_mapAsync_b0597127f5037286: function(arg0, arg1, arg2, arg3) {
|
|
2949
|
+
const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
|
|
2280
2950
|
return ret;
|
|
2951
|
+
},
|
|
2952
|
+
__wbg_matchMedia_8a4857f947f11f82: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2953
|
+
const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
|
|
2954
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2281
2955
|
}, arguments); },
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
var cb0 = (arg0, arg1) => {
|
|
2286
|
-
const a = state0.a;
|
|
2287
|
-
state0.a = 0;
|
|
2288
|
-
try {
|
|
2289
|
-
return wasm_bindgen_2e566c63402fe7fa___convert__closures_____invoke___js_sys_b1e1c29ba6b0e6b3___Function_fn_wasm_bindgen_2e566c63402fe7fa___JsValue_____wasm_bindgen_2e566c63402fe7fa___sys__Undefined___js_sys_b1e1c29ba6b0e6b3___Function_fn_wasm_bindgen_2e566c63402fe7fa___JsValue_____wasm_bindgen_2e566c63402fe7fa___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
2290
|
-
} finally {
|
|
2291
|
-
state0.a = a;
|
|
2292
|
-
}
|
|
2293
|
-
};
|
|
2294
|
-
const ret = new Promise(cb0);
|
|
2295
|
-
return ret;
|
|
2296
|
-
} finally {
|
|
2297
|
-
state0.a = 0;
|
|
2298
|
-
}
|
|
2956
|
+
__wbg_matches_778d0873b064b1bf: function(arg0) {
|
|
2957
|
+
const ret = arg0.matches;
|
|
2958
|
+
return ret;
|
|
2299
2959
|
},
|
|
2300
|
-
|
|
2301
|
-
const ret =
|
|
2960
|
+
__wbg_maxBindGroupsPlusVertexBuffers_52369f089736ef9d: function(arg0) {
|
|
2961
|
+
const ret = arg0.maxBindGroupsPlusVertexBuffers;
|
|
2302
2962
|
return ret;
|
|
2303
2963
|
},
|
|
2304
|
-
|
|
2305
|
-
const ret =
|
|
2964
|
+
__wbg_maxBindGroups_4e424afe6ce86ca2: function(arg0) {
|
|
2965
|
+
const ret = arg0.maxBindGroups;
|
|
2306
2966
|
return ret;
|
|
2307
|
-
},
|
|
2308
|
-
|
|
2309
|
-
const ret =
|
|
2967
|
+
},
|
|
2968
|
+
__wbg_maxBindingsPerBindGroup_7d035da36821c44f: function(arg0) {
|
|
2969
|
+
const ret = arg0.maxBindingsPerBindGroup;
|
|
2310
2970
|
return ret;
|
|
2311
2971
|
},
|
|
2312
|
-
|
|
2313
|
-
const ret =
|
|
2972
|
+
__wbg_maxBufferSize_423f4a084e32a195: function(arg0) {
|
|
2973
|
+
const ret = arg0.maxBufferSize;
|
|
2314
2974
|
return ret;
|
|
2315
2975
|
},
|
|
2316
|
-
|
|
2317
|
-
const ret =
|
|
2976
|
+
__wbg_maxColorAttachmentBytesPerSample_c4cd9126f6d287c6: function(arg0) {
|
|
2977
|
+
const ret = arg0.maxColorAttachmentBytesPerSample;
|
|
2318
2978
|
return ret;
|
|
2319
2979
|
},
|
|
2320
|
-
|
|
2321
|
-
const ret =
|
|
2980
|
+
__wbg_maxColorAttachments_d924670762b9e250: function(arg0) {
|
|
2981
|
+
const ret = arg0.maxColorAttachments;
|
|
2322
2982
|
return ret;
|
|
2323
2983
|
},
|
|
2324
|
-
|
|
2325
|
-
const ret = arg0.
|
|
2984
|
+
__wbg_maxComputeInvocationsPerWorkgroup_707a3868f7cebb59: function(arg0) {
|
|
2985
|
+
const ret = arg0.maxComputeInvocationsPerWorkgroup;
|
|
2326
2986
|
return ret;
|
|
2327
2987
|
},
|
|
2328
|
-
|
|
2988
|
+
__wbg_maxComputeWorkgroupSizeX_0a4d99463cbd6e5e: function(arg0) {
|
|
2989
|
+
const ret = arg0.maxComputeWorkgroupSizeX;
|
|
2990
|
+
return ret;
|
|
2991
|
+
},
|
|
2992
|
+
__wbg_maxComputeWorkgroupSizeY_85123ea0587f7558: function(arg0) {
|
|
2993
|
+
const ret = arg0.maxComputeWorkgroupSizeY;
|
|
2994
|
+
return ret;
|
|
2995
|
+
},
|
|
2996
|
+
__wbg_maxComputeWorkgroupSizeZ_a3186b4c5267d44f: function(arg0) {
|
|
2997
|
+
const ret = arg0.maxComputeWorkgroupSizeZ;
|
|
2998
|
+
return ret;
|
|
2999
|
+
},
|
|
3000
|
+
__wbg_maxComputeWorkgroupStorageSize_57b297355cfb6204: function(arg0) {
|
|
3001
|
+
const ret = arg0.maxComputeWorkgroupStorageSize;
|
|
3002
|
+
return ret;
|
|
3003
|
+
},
|
|
3004
|
+
__wbg_maxComputeWorkgroupsPerDimension_4158f95e673d54c4: function(arg0) {
|
|
3005
|
+
const ret = arg0.maxComputeWorkgroupsPerDimension;
|
|
3006
|
+
return ret;
|
|
3007
|
+
},
|
|
3008
|
+
__wbg_maxDynamicStorageBuffersPerPipelineLayout_226b0b70910aa16c: function(arg0) {
|
|
3009
|
+
const ret = arg0.maxDynamicStorageBuffersPerPipelineLayout;
|
|
3010
|
+
return ret;
|
|
3011
|
+
},
|
|
3012
|
+
__wbg_maxDynamicUniformBuffersPerPipelineLayout_0e835fda711fc7e6: function(arg0) {
|
|
3013
|
+
const ret = arg0.maxDynamicUniformBuffersPerPipelineLayout;
|
|
3014
|
+
return ret;
|
|
3015
|
+
},
|
|
3016
|
+
__wbg_maxInterStageShaderVariables_8c4a1d727e2aa35a: function(arg0) {
|
|
3017
|
+
const ret = arg0.maxInterStageShaderVariables;
|
|
3018
|
+
return ret;
|
|
3019
|
+
},
|
|
3020
|
+
__wbg_maxSampledTexturesPerShaderStage_6675f5e91d9a728a: function(arg0) {
|
|
3021
|
+
const ret = arg0.maxSampledTexturesPerShaderStage;
|
|
3022
|
+
return ret;
|
|
3023
|
+
},
|
|
3024
|
+
__wbg_maxSamplersPerShaderStage_1910fa38a6ed1e1f: function(arg0) {
|
|
3025
|
+
const ret = arg0.maxSamplersPerShaderStage;
|
|
3026
|
+
return ret;
|
|
3027
|
+
},
|
|
3028
|
+
__wbg_maxStorageBufferBindingSize_2e244bded070b18d: function(arg0) {
|
|
3029
|
+
const ret = arg0.maxStorageBufferBindingSize;
|
|
3030
|
+
return ret;
|
|
3031
|
+
},
|
|
3032
|
+
__wbg_maxStorageBuffersPerShaderStage_a285f3ebca51ca0d: function(arg0) {
|
|
3033
|
+
const ret = arg0.maxStorageBuffersPerShaderStage;
|
|
3034
|
+
return ret;
|
|
3035
|
+
},
|
|
3036
|
+
__wbg_maxStorageTexturesPerShaderStage_7aa946f0fc322a2b: function(arg0) {
|
|
3037
|
+
const ret = arg0.maxStorageTexturesPerShaderStage;
|
|
3038
|
+
return ret;
|
|
3039
|
+
},
|
|
3040
|
+
__wbg_maxTextureArrayLayers_0e699147ad00502d: function(arg0) {
|
|
3041
|
+
const ret = arg0.maxTextureArrayLayers;
|
|
3042
|
+
return ret;
|
|
3043
|
+
},
|
|
3044
|
+
__wbg_maxTextureDimension1D_aabf6add54decfe2: function(arg0) {
|
|
3045
|
+
const ret = arg0.maxTextureDimension1D;
|
|
3046
|
+
return ret;
|
|
3047
|
+
},
|
|
3048
|
+
__wbg_maxTextureDimension2D_dd598b27e9c0c1c4: function(arg0) {
|
|
3049
|
+
const ret = arg0.maxTextureDimension2D;
|
|
3050
|
+
return ret;
|
|
3051
|
+
},
|
|
3052
|
+
__wbg_maxTextureDimension3D_f944266c65dfd1a9: function(arg0) {
|
|
3053
|
+
const ret = arg0.maxTextureDimension3D;
|
|
3054
|
+
return ret;
|
|
3055
|
+
},
|
|
3056
|
+
__wbg_maxUniformBufferBindingSize_59fa6be7cfbeeb53: function(arg0) {
|
|
3057
|
+
const ret = arg0.maxUniformBufferBindingSize;
|
|
3058
|
+
return ret;
|
|
3059
|
+
},
|
|
3060
|
+
__wbg_maxUniformBuffersPerShaderStage_bee5f00a4d706c7f: function(arg0) {
|
|
3061
|
+
const ret = arg0.maxUniformBuffersPerShaderStage;
|
|
3062
|
+
return ret;
|
|
3063
|
+
},
|
|
3064
|
+
__wbg_maxVertexAttributes_5cf6392c4e9033fe: function(arg0) {
|
|
3065
|
+
const ret = arg0.maxVertexAttributes;
|
|
3066
|
+
return ret;
|
|
3067
|
+
},
|
|
3068
|
+
__wbg_maxVertexBufferArrayStride_548baa887375d865: function(arg0) {
|
|
3069
|
+
const ret = arg0.maxVertexBufferArrayStride;
|
|
3070
|
+
return ret;
|
|
3071
|
+
},
|
|
3072
|
+
__wbg_maxVertexBuffers_75d881156591f5da: function(arg0) {
|
|
3073
|
+
const ret = arg0.maxVertexBuffers;
|
|
3074
|
+
return ret;
|
|
3075
|
+
},
|
|
3076
|
+
__wbg_message_2aad50368e15e8f1: function(arg0, arg1) {
|
|
3077
|
+
const ret = arg1.message;
|
|
3078
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3079
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3080
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3081
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3082
|
+
},
|
|
3083
|
+
__wbg_message_5f8387f0c32b90a7: function(arg0) {
|
|
3084
|
+
const ret = arg0.message;
|
|
3085
|
+
return ret;
|
|
3086
|
+
},
|
|
3087
|
+
__wbg_minStorageBufferOffsetAlignment_5ba9b77792bdadb3: function(arg0) {
|
|
3088
|
+
const ret = arg0.minStorageBufferOffsetAlignment;
|
|
3089
|
+
return ret;
|
|
3090
|
+
},
|
|
3091
|
+
__wbg_minUniformBufferOffsetAlignment_ab7d52a5293b22bd: function(arg0) {
|
|
3092
|
+
const ret = arg0.minUniformBufferOffsetAlignment;
|
|
3093
|
+
return ret;
|
|
3094
|
+
},
|
|
3095
|
+
__wbg_navigator_2156486643462a87: function(arg0) {
|
|
3096
|
+
const ret = arg0.navigator;
|
|
3097
|
+
return ret;
|
|
3098
|
+
},
|
|
3099
|
+
__wbg_navigator_c9bce48d4b578c9c: function(arg0) {
|
|
3100
|
+
const ret = arg0.navigator;
|
|
3101
|
+
return ret;
|
|
3102
|
+
},
|
|
3103
|
+
__wbg_new_1dbf7428bba60a42: function(arg0) {
|
|
3104
|
+
const ret = new Uint8Array(arg0);
|
|
3105
|
+
return ret;
|
|
3106
|
+
},
|
|
3107
|
+
__wbg_new_2e41357094e99294: function() { return handleError(function () {
|
|
3108
|
+
const ret = new AbortController();
|
|
3109
|
+
return ret;
|
|
3110
|
+
}, arguments); },
|
|
3111
|
+
__wbg_new_5502aad30c185fc8: function(arg0, arg1) {
|
|
3112
|
+
try {
|
|
3113
|
+
var state0 = {a: arg0, b: arg1};
|
|
3114
|
+
var cb0 = (arg0, arg1) => {
|
|
3115
|
+
const a = state0.a;
|
|
3116
|
+
state0.a = 0;
|
|
3117
|
+
try {
|
|
3118
|
+
return wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___js_sys_5e75a17f0680aa0e___Function_fn_wasm_bindgen_4346cdda5a9d72ac___JsValue_____wasm_bindgen_4346cdda5a9d72ac___sys__Undefined___js_sys_5e75a17f0680aa0e___Function_fn_wasm_bindgen_4346cdda5a9d72ac___JsValue_____wasm_bindgen_4346cdda5a9d72ac___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
3119
|
+
} finally {
|
|
3120
|
+
state0.a = a;
|
|
3121
|
+
}
|
|
3122
|
+
};
|
|
3123
|
+
const ret = new Promise(cb0);
|
|
3124
|
+
return ret;
|
|
3125
|
+
} finally {
|
|
3126
|
+
state0.a = 0;
|
|
3127
|
+
}
|
|
3128
|
+
},
|
|
3129
|
+
__wbg_new_617a8cdb8bb1130e: function() {
|
|
3130
|
+
const ret = new Object();
|
|
3131
|
+
return ret;
|
|
3132
|
+
},
|
|
3133
|
+
__wbg_new_83ca405eae412a62: function() { return handleError(function () {
|
|
3134
|
+
const ret = new Headers();
|
|
3135
|
+
return ret;
|
|
3136
|
+
}, arguments); },
|
|
3137
|
+
__wbg_new_a217df4351db4b9b: function() { return handleError(function (arg0, arg1) {
|
|
3138
|
+
const ret = new OffscreenCanvas(arg0 >>> 0, arg1 >>> 0);
|
|
3139
|
+
return ret;
|
|
3140
|
+
}, arguments); },
|
|
3141
|
+
__wbg_new_ee2291f50781bf1d: function() {
|
|
3142
|
+
const ret = new Array();
|
|
3143
|
+
return ret;
|
|
3144
|
+
},
|
|
3145
|
+
__wbg_new_from_slice_9a868026ffa4208a: function(arg0, arg1) {
|
|
3146
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
3147
|
+
return ret;
|
|
3148
|
+
},
|
|
3149
|
+
__wbg_new_from_slice_f545fd22ddc142b8: function(arg0, arg1) {
|
|
3150
|
+
const ret = new Float64Array(getArrayF64FromWasm0(arg0, arg1));
|
|
3151
|
+
return ret;
|
|
3152
|
+
},
|
|
3153
|
+
__wbg_new_typed_689a3a281a8d4da6: function() {
|
|
3154
|
+
const ret = new Object();
|
|
3155
|
+
return ret;
|
|
3156
|
+
},
|
|
3157
|
+
__wbg_new_typed_b01cb72a8af741a3: function(arg0, arg1) {
|
|
3158
|
+
try {
|
|
3159
|
+
var state0 = {a: arg0, b: arg1};
|
|
3160
|
+
var cb0 = (arg0, arg1) => {
|
|
3161
|
+
const a = state0.a;
|
|
3162
|
+
state0.a = 0;
|
|
3163
|
+
try {
|
|
3164
|
+
return wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___js_sys_5e75a17f0680aa0e___Function_fn_wasm_bindgen_4346cdda5a9d72ac___JsValue_____wasm_bindgen_4346cdda5a9d72ac___sys__Undefined___js_sys_5e75a17f0680aa0e___Function_fn_wasm_bindgen_4346cdda5a9d72ac___JsValue_____wasm_bindgen_4346cdda5a9d72ac___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
3165
|
+
} finally {
|
|
3166
|
+
state0.a = a;
|
|
3167
|
+
}
|
|
3168
|
+
};
|
|
3169
|
+
const ret = new Promise(cb0);
|
|
3170
|
+
return ret;
|
|
3171
|
+
} finally {
|
|
3172
|
+
state0.a = 0;
|
|
3173
|
+
}
|
|
3174
|
+
},
|
|
3175
|
+
__wbg_new_with_byte_offset_70ba6193352e027b: function(arg0, arg1) {
|
|
3176
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0);
|
|
3177
|
+
return ret;
|
|
3178
|
+
},
|
|
3179
|
+
__wbg_new_with_byte_offset_and_length_2f5d7fc2a828b74d: function(arg0, arg1, arg2) {
|
|
3180
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
3181
|
+
return ret;
|
|
3182
|
+
},
|
|
3183
|
+
__wbg_new_with_byte_offset_and_length_40c170286adc9005: function(arg0, arg1, arg2) {
|
|
3184
|
+
const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
3185
|
+
return ret;
|
|
3186
|
+
},
|
|
3187
|
+
__wbg_new_with_u8_array_sequence_and_options_fccc08fe93f4b8fd: function() { return handleError(function (arg0, arg1) {
|
|
3188
|
+
const ret = new Blob(arg0, arg1);
|
|
3189
|
+
return ret;
|
|
3190
|
+
}, arguments); },
|
|
3191
|
+
__wbg_now_aa4ccb83129e9e55: function() {
|
|
3192
|
+
const ret = Date.now();
|
|
3193
|
+
return ret;
|
|
3194
|
+
},
|
|
3195
|
+
__wbg_now_d0b7f4bea9f38490: function(arg0) {
|
|
3196
|
+
const ret = arg0.now();
|
|
3197
|
+
return ret;
|
|
3198
|
+
},
|
|
3199
|
+
__wbg_of_20798cb14708764f: function(arg0, arg1) {
|
|
2329
3200
|
const ret = Array.of(arg0, arg1);
|
|
2330
3201
|
return ret;
|
|
2331
3202
|
},
|
|
2332
|
-
|
|
2333
|
-
const ret = Array.of(arg0
|
|
2334
|
-
return ret;
|
|
3203
|
+
__wbg_of_d5dbecdc59e02e34: function(arg0) {
|
|
3204
|
+
const ret = Array.of(arg0);
|
|
3205
|
+
return ret;
|
|
3206
|
+
},
|
|
3207
|
+
__wbg_of_dde0b9d3265685ee: function(arg0, arg1, arg2) {
|
|
3208
|
+
const ret = Array.of(arg0, arg1, arg2);
|
|
3209
|
+
return ret;
|
|
3210
|
+
},
|
|
3211
|
+
__wbg_of_fea2613674ee0d0f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3212
|
+
const ret = Array.of(arg0, arg1, arg2, arg3, arg4);
|
|
3213
|
+
return ret;
|
|
3214
|
+
},
|
|
3215
|
+
__wbg_ok_125878a7db256ecb: function(arg0) {
|
|
3216
|
+
const ret = arg0.ok;
|
|
3217
|
+
return ret;
|
|
3218
|
+
},
|
|
3219
|
+
__wbg_onSubmittedWorkDone_1190213cee1ecf7e: function(arg0) {
|
|
3220
|
+
const ret = arg0.onSubmittedWorkDone();
|
|
3221
|
+
return ret;
|
|
3222
|
+
},
|
|
3223
|
+
__wbg_performance_d0d7b03fc649b694: function(arg0) {
|
|
3224
|
+
const ret = arg0.performance;
|
|
3225
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3226
|
+
},
|
|
3227
|
+
__wbg_pixelStorei_af18e636b3e7b725: function(arg0, arg1, arg2) {
|
|
3228
|
+
arg0.pixelStorei(arg1 >>> 0, arg2);
|
|
3229
|
+
},
|
|
3230
|
+
__wbg_pixelStorei_cb4e43466f5b8703: function(arg0, arg1, arg2) {
|
|
3231
|
+
arg0.pixelStorei(arg1 >>> 0, arg2);
|
|
3232
|
+
},
|
|
3233
|
+
__wbg_polygonOffset_81dc8ca84e29572b: function(arg0, arg1, arg2) {
|
|
3234
|
+
arg0.polygonOffset(arg1, arg2);
|
|
3235
|
+
},
|
|
3236
|
+
__wbg_polygonOffset_8f922d9173d8849d: function(arg0, arg1, arg2) {
|
|
3237
|
+
arg0.polygonOffset(arg1, arg2);
|
|
3238
|
+
},
|
|
3239
|
+
__wbg_popErrorScope_182b8e03671d81ef: function(arg0) {
|
|
3240
|
+
const ret = arg0.popErrorScope();
|
|
3241
|
+
return ret;
|
|
3242
|
+
},
|
|
3243
|
+
__wbg_prototypesetcall_8b03c01e2c0f8066: function(arg0, arg1, arg2) {
|
|
3244
|
+
Float32Array.prototype.set.call(getArrayF32FromWasm0(arg0, arg1), arg2);
|
|
3245
|
+
},
|
|
3246
|
+
__wbg_prototypesetcall_bc27214492979395: function(arg0, arg1, arg2) {
|
|
3247
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
3248
|
+
},
|
|
3249
|
+
__wbg_prototypesetcall_d49a4fab5ca427bc: function(arg0, arg1, arg2) {
|
|
3250
|
+
Float64Array.prototype.set.call(getArrayF64FromWasm0(arg0, arg1), arg2);
|
|
3251
|
+
},
|
|
3252
|
+
__wbg_pushErrorScope_fa7df784c43bdb51: function(arg0, arg1) {
|
|
3253
|
+
arg0.pushErrorScope(__wbindgen_enum_GpuErrorFilter[arg1]);
|
|
3254
|
+
},
|
|
3255
|
+
__wbg_push_2baf45db356cf468: function(arg0, arg1) {
|
|
3256
|
+
const ret = arg0.push(arg1);
|
|
3257
|
+
return ret;
|
|
3258
|
+
},
|
|
3259
|
+
__wbg_queryCounterEXT_9016a6ffa350b4b2: function(arg0, arg1, arg2) {
|
|
3260
|
+
arg0.queryCounterEXT(arg1, arg2 >>> 0);
|
|
3261
|
+
},
|
|
3262
|
+
__wbg_querySelectorAll_6aebfe3df1fb2014: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3263
|
+
const ret = arg0.querySelectorAll(getStringFromWasm0(arg1, arg2));
|
|
3264
|
+
return ret;
|
|
3265
|
+
}, arguments); },
|
|
3266
|
+
__wbg_querySelector_ecbc2550705b235f: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3267
|
+
const ret = arg0.querySelector(getStringFromWasm0(arg1, arg2));
|
|
3268
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3269
|
+
}, arguments); },
|
|
3270
|
+
__wbg_queueMicrotask_9833f9a49df95a49: function(arg0) {
|
|
3271
|
+
const ret = arg0.queueMicrotask;
|
|
3272
|
+
return ret;
|
|
3273
|
+
},
|
|
3274
|
+
__wbg_queueMicrotask_a72f977e97f23c5f: function(arg0) {
|
|
3275
|
+
queueMicrotask(arg0);
|
|
3276
|
+
},
|
|
3277
|
+
__wbg_queue_7b62c28143d44293: function(arg0) {
|
|
3278
|
+
const ret = arg0.queue;
|
|
3279
|
+
return ret;
|
|
3280
|
+
},
|
|
3281
|
+
__wbg_readBuffer_b5d9a34a2f3d20d5: function(arg0, arg1) {
|
|
3282
|
+
arg0.readBuffer(arg1 >>> 0);
|
|
3283
|
+
},
|
|
3284
|
+
__wbg_readPixels_31e44e70558ac590: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
3285
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
3286
|
+
}, arguments); },
|
|
3287
|
+
__wbg_readPixels_3321086a7818a739: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
3288
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
3289
|
+
}, arguments); },
|
|
3290
|
+
__wbg_readPixels_eb030cd9976eeca5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
3291
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
3292
|
+
}, arguments); },
|
|
3293
|
+
__wbg_renderbufferStorageMultisample_ed16f3ef446e3bc7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3294
|
+
arg0.renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
3295
|
+
},
|
|
3296
|
+
__wbg_renderbufferStorage_52b131bbf3112b3a: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3297
|
+
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
3298
|
+
},
|
|
3299
|
+
__wbg_renderbufferStorage_bca487b0dea425b8: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3300
|
+
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
3301
|
+
},
|
|
3302
|
+
__wbg_requestAdapter_a539af006419f2e9: function(arg0, arg1) {
|
|
3303
|
+
const ret = arg0.requestAdapter(arg1);
|
|
3304
|
+
return ret;
|
|
3305
|
+
},
|
|
3306
|
+
__wbg_requestDevice_5cb8a582e55d08cb: function(arg0, arg1) {
|
|
3307
|
+
const ret = arg0.requestDevice(arg1);
|
|
3308
|
+
return ret;
|
|
3309
|
+
},
|
|
3310
|
+
__wbg_resolveQuerySet_770f23fabac49845: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3311
|
+
arg0.resolveQuerySet(arg1, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
3312
|
+
},
|
|
3313
|
+
__wbg_resolve_0076e10020304ede: function(arg0) {
|
|
3314
|
+
const ret = Promise.resolve(arg0);
|
|
3315
|
+
return ret;
|
|
3316
|
+
},
|
|
3317
|
+
__wbg_samplerParameterf_2d62cb907392e2d6: function(arg0, arg1, arg2, arg3) {
|
|
3318
|
+
arg0.samplerParameterf(arg1, arg2 >>> 0, arg3);
|
|
3319
|
+
},
|
|
3320
|
+
__wbg_samplerParameteri_a5615e67ed0b654b: function(arg0, arg1, arg2, arg3) {
|
|
3321
|
+
arg0.samplerParameteri(arg1, arg2 >>> 0, arg3);
|
|
3322
|
+
},
|
|
3323
|
+
__wbg_scissor_12ddc324094acd50: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3324
|
+
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
3325
|
+
},
|
|
3326
|
+
__wbg_scissor_a9468482697c2bdb: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3327
|
+
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
3328
|
+
},
|
|
3329
|
+
__wbg_setBindGroup_11bdbb60cc8b54b9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3330
|
+
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
3331
|
+
}, arguments); },
|
|
3332
|
+
__wbg_setBindGroup_418c3e0eb6943ce0: function(arg0, arg1, arg2) {
|
|
3333
|
+
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
3334
|
+
},
|
|
3335
|
+
__wbg_setIndexBuffer_01327df91742b73e: function(arg0, arg1, arg2, arg3) {
|
|
3336
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
|
|
3337
|
+
},
|
|
3338
|
+
__wbg_setIndexBuffer_241097e303986c14: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3339
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
3340
|
+
},
|
|
3341
|
+
__wbg_setPipeline_b6f981027e02cd16: function(arg0, arg1) {
|
|
3342
|
+
arg0.setPipeline(arg1);
|
|
3343
|
+
},
|
|
3344
|
+
__wbg_setScissorRect_889235eeb784732b: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3345
|
+
arg0.setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
3346
|
+
},
|
|
3347
|
+
__wbg_setStencilReference_48705a9a2cceae02: function(arg0, arg1) {
|
|
3348
|
+
arg0.setStencilReference(arg1 >>> 0);
|
|
3349
|
+
},
|
|
3350
|
+
__wbg_setTimeout_db7bbc18a17e152a: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3351
|
+
const ret = arg0.setTimeout(arg1, arg2);
|
|
3352
|
+
return ret;
|
|
3353
|
+
}, arguments); },
|
|
3354
|
+
__wbg_setVertexBuffer_6db3b60e99280744: function(arg0, arg1, arg2, arg3) {
|
|
3355
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
|
|
3356
|
+
},
|
|
3357
|
+
__wbg_setVertexBuffer_cbf4ca1627c02f4c: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3358
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
|
|
3359
|
+
},
|
|
3360
|
+
__wbg_set_145a351398b48c65: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3361
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
3362
|
+
return ret;
|
|
3363
|
+
}, arguments); },
|
|
3364
|
+
__wbg_set_34d08fd992d43d61: function(arg0, arg1, arg2) {
|
|
3365
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
3366
|
+
},
|
|
3367
|
+
__wbg_set_a_82818effc94f6256: function(arg0, arg1) {
|
|
3368
|
+
arg0.a = arg1;
|
|
3369
|
+
},
|
|
3370
|
+
__wbg_set_access_a099cfbbeec9b96f: function(arg0, arg1) {
|
|
3371
|
+
arg0.access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
|
|
3372
|
+
},
|
|
3373
|
+
__wbg_set_address_mode_u_a68737cf5d288f95: function(arg0, arg1) {
|
|
3374
|
+
arg0.addressModeU = __wbindgen_enum_GpuAddressMode[arg1];
|
|
3375
|
+
},
|
|
3376
|
+
__wbg_set_address_mode_v_b1c3c45933f540d1: function(arg0, arg1) {
|
|
3377
|
+
arg0.addressModeV = __wbindgen_enum_GpuAddressMode[arg1];
|
|
3378
|
+
},
|
|
3379
|
+
__wbg_set_address_mode_w_889c31cf7022c764: function(arg0, arg1) {
|
|
3380
|
+
arg0.addressModeW = __wbindgen_enum_GpuAddressMode[arg1];
|
|
3381
|
+
},
|
|
3382
|
+
__wbg_set_af5932e3f78b5648: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3383
|
+
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
3384
|
+
}, arguments); },
|
|
3385
|
+
__wbg_set_alpha_106f21a936a85eba: function(arg0, arg1) {
|
|
3386
|
+
arg0.alpha = arg1;
|
|
3387
|
+
},
|
|
3388
|
+
__wbg_set_alpha_mode_5544568dbac50280: function(arg0, arg1) {
|
|
3389
|
+
arg0.alphaMode = __wbindgen_enum_GpuCanvasAlphaMode[arg1];
|
|
3390
|
+
},
|
|
3391
|
+
__wbg_set_alpha_to_coverage_enabled_3372ce329447b8f1: function(arg0, arg1) {
|
|
3392
|
+
arg0.alphaToCoverageEnabled = arg1 !== 0;
|
|
3393
|
+
},
|
|
3394
|
+
__wbg_set_array_layer_count_22afa0a979e4ad55: function(arg0, arg1) {
|
|
3395
|
+
arg0.arrayLayerCount = arg1 >>> 0;
|
|
3396
|
+
},
|
|
3397
|
+
__wbg_set_array_stride_f64_6816040e5e7598c3: function(arg0, arg1) {
|
|
3398
|
+
arg0.arrayStride = arg1;
|
|
3399
|
+
},
|
|
3400
|
+
__wbg_set_aspect_9de5253d4c460895: function(arg0, arg1) {
|
|
3401
|
+
arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
3402
|
+
},
|
|
3403
|
+
__wbg_set_aspect_a48d046965270281: function(arg0, arg1) {
|
|
3404
|
+
arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
3405
|
+
},
|
|
3406
|
+
__wbg_set_aspect_b1a9909bf315433f: function(arg0, arg1) {
|
|
3407
|
+
arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
3408
|
+
},
|
|
3409
|
+
__wbg_set_attributes_9e38cb1dde387a5b: function(arg0, arg1, arg2) {
|
|
3410
|
+
arg0.attributes = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3411
|
+
},
|
|
3412
|
+
__wbg_set_b_a3297ee7e7cac3a8: function(arg0, arg1) {
|
|
3413
|
+
arg0.b = arg1;
|
|
3414
|
+
},
|
|
3415
|
+
__wbg_set_base_array_layer_2435ba92c80346ae: function(arg0, arg1) {
|
|
3416
|
+
arg0.baseArrayLayer = arg1 >>> 0;
|
|
3417
|
+
},
|
|
3418
|
+
__wbg_set_base_mip_level_8b6093e875e7c65d: function(arg0, arg1) {
|
|
3419
|
+
arg0.baseMipLevel = arg1 >>> 0;
|
|
3420
|
+
},
|
|
3421
|
+
__wbg_set_beginning_of_pass_write_index_e552c5e8b8bbf52f: function(arg0, arg1) {
|
|
3422
|
+
arg0.beginningOfPassWriteIndex = arg1 >>> 0;
|
|
3423
|
+
},
|
|
3424
|
+
__wbg_set_bind_group_layouts_458c44ba55100b82: function(arg0, arg1, arg2) {
|
|
3425
|
+
arg0.bindGroupLayouts = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3426
|
+
},
|
|
3427
|
+
__wbg_set_binding_81b3fac7f7acaf8d: function(arg0, arg1) {
|
|
3428
|
+
arg0.binding = arg1 >>> 0;
|
|
3429
|
+
},
|
|
3430
|
+
__wbg_set_binding_b6cee57f35ac5190: function(arg0, arg1) {
|
|
3431
|
+
arg0.binding = arg1 >>> 0;
|
|
3432
|
+
},
|
|
3433
|
+
__wbg_set_blend_1a801617945f7945: function(arg0, arg1) {
|
|
3434
|
+
arg0.blend = arg1;
|
|
3435
|
+
},
|
|
3436
|
+
__wbg_set_buffer_1548ae88a9188037: function(arg0, arg1) {
|
|
3437
|
+
arg0.buffer = arg1;
|
|
3438
|
+
},
|
|
3439
|
+
__wbg_set_buffer_8d0ac64ad20dfc84: function(arg0, arg1) {
|
|
3440
|
+
arg0.buffer = arg1;
|
|
3441
|
+
},
|
|
3442
|
+
__wbg_set_buffer_910a40a90f97cfca: function(arg0, arg1) {
|
|
3443
|
+
arg0.buffer = arg1;
|
|
3444
|
+
},
|
|
3445
|
+
__wbg_set_buffers_5d0e0c50791f710e: function(arg0, arg1, arg2) {
|
|
3446
|
+
arg0.buffers = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3447
|
+
},
|
|
3448
|
+
__wbg_set_bytes_per_row_1e824a5502b54b3d: function(arg0, arg1) {
|
|
3449
|
+
arg0.bytesPerRow = arg1 >>> 0;
|
|
3450
|
+
},
|
|
3451
|
+
__wbg_set_bytes_per_row_c28583f0063160f1: function(arg0, arg1) {
|
|
3452
|
+
arg0.bytesPerRow = arg1 >>> 0;
|
|
3453
|
+
},
|
|
3454
|
+
__wbg_set_cache_7507c4cc5938ccc7: function(arg0, arg1) {
|
|
3455
|
+
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
3456
|
+
},
|
|
3457
|
+
__wbg_set_clear_value_gpu_color_dict_a9f763e8372ac1de: function(arg0, arg1) {
|
|
3458
|
+
arg0.clearValue = arg1;
|
|
3459
|
+
},
|
|
3460
|
+
__wbg_set_code_5d5b0b9e2fd0dca7: function(arg0, arg1, arg2) {
|
|
3461
|
+
arg0.code = getStringFromWasm0(arg1, arg2);
|
|
3462
|
+
},
|
|
3463
|
+
__wbg_set_color_8ecace4011f47d2e: function(arg0, arg1) {
|
|
3464
|
+
arg0.color = arg1;
|
|
3465
|
+
},
|
|
3466
|
+
__wbg_set_color_attachments_622fe2d5997fda7a: function(arg0, arg1, arg2) {
|
|
3467
|
+
arg0.colorAttachments = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3468
|
+
},
|
|
3469
|
+
__wbg_set_color_space_conversion_f27e9d866a683b4b: function(arg0, arg1) {
|
|
3470
|
+
arg0.colorSpaceConversion = __wbindgen_enum_ColorSpaceConversion[arg1];
|
|
3471
|
+
},
|
|
3472
|
+
__wbg_set_compare_080c9e492ff36990: function(arg0, arg1) {
|
|
3473
|
+
arg0.compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
3474
|
+
},
|
|
3475
|
+
__wbg_set_compare_817cf3695599eaa6: function(arg0, arg1) {
|
|
3476
|
+
arg0.compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
3477
|
+
},
|
|
3478
|
+
__wbg_set_count_8ff0c9474e39a849: function(arg0, arg1) {
|
|
3479
|
+
arg0.count = arg1 >>> 0;
|
|
3480
|
+
},
|
|
3481
|
+
__wbg_set_cull_mode_85d2b4ab0ce3a564: function(arg0, arg1) {
|
|
3482
|
+
arg0.cullMode = __wbindgen_enum_GpuCullMode[arg1];
|
|
3483
|
+
},
|
|
3484
|
+
__wbg_set_depth_bias_95abf479cae3f3cd: function(arg0, arg1) {
|
|
3485
|
+
arg0.depthBias = arg1;
|
|
3486
|
+
},
|
|
3487
|
+
__wbg_set_depth_bias_clamp_ba3d0b8348151350: function(arg0, arg1) {
|
|
3488
|
+
arg0.depthBiasClamp = arg1;
|
|
3489
|
+
},
|
|
3490
|
+
__wbg_set_depth_bias_slope_scale_6b2584d93f5b9cd2: function(arg0, arg1) {
|
|
3491
|
+
arg0.depthBiasSlopeScale = arg1;
|
|
3492
|
+
},
|
|
3493
|
+
__wbg_set_depth_clear_value_e30a4c754c6b3b26: function(arg0, arg1) {
|
|
3494
|
+
arg0.depthClearValue = arg1;
|
|
3495
|
+
},
|
|
3496
|
+
__wbg_set_depth_compare_a90de4e3714397ab: function(arg0, arg1) {
|
|
3497
|
+
arg0.depthCompare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
3498
|
+
},
|
|
3499
|
+
__wbg_set_depth_fail_op_b5c64541d1b6b482: function(arg0, arg1) {
|
|
3500
|
+
arg0.depthFailOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
3501
|
+
},
|
|
3502
|
+
__wbg_set_depth_load_op_932888016d762d3e: function(arg0, arg1) {
|
|
3503
|
+
arg0.depthLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
3504
|
+
},
|
|
3505
|
+
__wbg_set_depth_or_array_layers_e2f074a0284e4806: function(arg0, arg1) {
|
|
3506
|
+
arg0.depthOrArrayLayers = arg1 >>> 0;
|
|
3507
|
+
},
|
|
3508
|
+
__wbg_set_depth_read_only_be790175a1c2db9a: function(arg0, arg1) {
|
|
3509
|
+
arg0.depthReadOnly = arg1 !== 0;
|
|
3510
|
+
},
|
|
3511
|
+
__wbg_set_depth_stencil_attachment_54a8922f5fbe08bf: function(arg0, arg1) {
|
|
3512
|
+
arg0.depthStencilAttachment = arg1;
|
|
3513
|
+
},
|
|
3514
|
+
__wbg_set_depth_stencil_b7cffc59ad4da529: function(arg0, arg1) {
|
|
3515
|
+
arg0.depthStencil = arg1;
|
|
3516
|
+
},
|
|
3517
|
+
__wbg_set_depth_store_op_9054814f164ab55d: function(arg0, arg1) {
|
|
3518
|
+
arg0.depthStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
3519
|
+
},
|
|
3520
|
+
__wbg_set_depth_write_enabled_31a821ee1fb3b0b3: function(arg0, arg1) {
|
|
3521
|
+
arg0.depthWriteEnabled = arg1 !== 0;
|
|
3522
|
+
},
|
|
3523
|
+
__wbg_set_device_210484a77b675c9c: function(arg0, arg1) {
|
|
3524
|
+
arg0.device = arg1;
|
|
3525
|
+
},
|
|
3526
|
+
__wbg_set_dimension_3da9d03131a9f446: function(arg0, arg1) {
|
|
3527
|
+
arg0.dimension = __wbindgen_enum_GpuTextureDimension[arg1];
|
|
3528
|
+
},
|
|
3529
|
+
__wbg_set_dimension_56332450afa3e0c0: function(arg0, arg1) {
|
|
3530
|
+
arg0.dimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
3531
|
+
},
|
|
3532
|
+
__wbg_set_dst_factor_865ba9aaf187890c: function(arg0, arg1) {
|
|
3533
|
+
arg0.dstFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
3534
|
+
},
|
|
3535
|
+
__wbg_set_end_of_pass_write_index_8f164f9e60d4ad16: function(arg0, arg1) {
|
|
3536
|
+
arg0.endOfPassWriteIndex = arg1 >>> 0;
|
|
3537
|
+
},
|
|
3538
|
+
__wbg_set_entries_6f866302103b81e9: function(arg0, arg1, arg2) {
|
|
3539
|
+
arg0.entries = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3540
|
+
},
|
|
3541
|
+
__wbg_set_entries_f26b77ab9548e906: function(arg0, arg1, arg2) {
|
|
3542
|
+
arg0.entries = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3543
|
+
},
|
|
3544
|
+
__wbg_set_entry_point_71cef95c137b5774: function(arg0, arg1, arg2) {
|
|
3545
|
+
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
3546
|
+
},
|
|
3547
|
+
__wbg_set_entry_point_b70f98f5025a114d: function(arg0, arg1, arg2) {
|
|
3548
|
+
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
3549
|
+
},
|
|
3550
|
+
__wbg_set_external_texture_7f966c604c4f8098: function(arg0, arg1) {
|
|
3551
|
+
arg0.externalTexture = arg1;
|
|
3552
|
+
},
|
|
3553
|
+
__wbg_set_fail_op_d59d0187e4111dfe: function(arg0, arg1) {
|
|
3554
|
+
arg0.failOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
3555
|
+
},
|
|
3556
|
+
__wbg_set_flip_y_5a9a7c3fd5a2314e: function(arg0, arg1) {
|
|
3557
|
+
arg0.flipY = arg1 !== 0;
|
|
3558
|
+
},
|
|
3559
|
+
__wbg_set_format_23f7f32549751d43: function(arg0, arg1) {
|
|
3560
|
+
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3561
|
+
},
|
|
3562
|
+
__wbg_set_format_283dca56552f07a3: function(arg0, arg1) {
|
|
3563
|
+
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3564
|
+
},
|
|
3565
|
+
__wbg_set_format_5080a858117ad2c1: function(arg0, arg1) {
|
|
3566
|
+
arg0.format = __wbindgen_enum_GpuVertexFormat[arg1];
|
|
3567
|
+
},
|
|
3568
|
+
__wbg_set_format_66735b94bd868ba2: function(arg0, arg1) {
|
|
3569
|
+
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3570
|
+
},
|
|
3571
|
+
__wbg_set_format_7f2bdbfb101b1ae1: function(arg0, arg1) {
|
|
3572
|
+
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3573
|
+
},
|
|
3574
|
+
__wbg_set_format_92732ea75d3b79f5: function(arg0, arg1) {
|
|
3575
|
+
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3576
|
+
},
|
|
3577
|
+
__wbg_set_format_f009e603f7d4c28e: function(arg0, arg1) {
|
|
3578
|
+
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3579
|
+
},
|
|
3580
|
+
__wbg_set_fragment_d2b0ec97d7cf8d47: function(arg0, arg1) {
|
|
3581
|
+
arg0.fragment = arg1;
|
|
3582
|
+
},
|
|
3583
|
+
__wbg_set_front_face_d3f8a2e07e7b25dd: function(arg0, arg1) {
|
|
3584
|
+
arg0.frontFace = __wbindgen_enum_GpuFrontFace[arg1];
|
|
3585
|
+
},
|
|
3586
|
+
__wbg_set_g_b527ee8a9bed553d: function(arg0, arg1) {
|
|
3587
|
+
arg0.g = arg1;
|
|
3588
|
+
},
|
|
3589
|
+
__wbg_set_has_dynamic_offset_0c72ffa900c5a269: function(arg0, arg1) {
|
|
3590
|
+
arg0.hasDynamicOffset = arg1 !== 0;
|
|
3591
|
+
},
|
|
3592
|
+
__wbg_set_headers_40ad33dcf016613f: function(arg0, arg1) {
|
|
3593
|
+
arg0.headers = arg1;
|
|
3594
|
+
},
|
|
3595
|
+
__wbg_set_height_c9789c1c77eaedff: function(arg0, arg1) {
|
|
3596
|
+
arg0.height = arg1 >>> 0;
|
|
3597
|
+
},
|
|
3598
|
+
__wbg_set_height_f6619158e5735877: function(arg0, arg1) {
|
|
3599
|
+
arg0.height = arg1 >>> 0;
|
|
3600
|
+
},
|
|
3601
|
+
__wbg_set_height_fde391767df1ce27: function(arg0, arg1) {
|
|
3602
|
+
arg0.height = arg1 >>> 0;
|
|
3603
|
+
},
|
|
3604
|
+
__wbg_set_label_17202740051e9722: function(arg0, arg1, arg2) {
|
|
3605
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3606
|
+
},
|
|
3607
|
+
__wbg_set_label_2fefb39c0e0dbbe8: function(arg0, arg1, arg2) {
|
|
3608
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3609
|
+
},
|
|
3610
|
+
__wbg_set_label_3cb2322e6f6db14c: function(arg0, arg1, arg2) {
|
|
3611
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3612
|
+
},
|
|
3613
|
+
__wbg_set_label_3f2ccaafef5ff7c9: function(arg0, arg1, arg2) {
|
|
3614
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3615
|
+
},
|
|
3616
|
+
__wbg_set_label_612add98a4398f92: function(arg0, arg1, arg2) {
|
|
3617
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3618
|
+
},
|
|
3619
|
+
__wbg_set_label_70a09ee68d6b1b26: function(arg0, arg1, arg2) {
|
|
3620
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3621
|
+
},
|
|
3622
|
+
__wbg_set_label_92cd3811e96b487c: function(arg0, arg1, arg2) {
|
|
3623
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3624
|
+
},
|
|
3625
|
+
__wbg_set_label_9c2a186152427ee0: function(arg0, arg1, arg2) {
|
|
3626
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3627
|
+
},
|
|
3628
|
+
__wbg_set_label_c3eaf136aa464cba: function(arg0, arg1, arg2) {
|
|
3629
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3630
|
+
},
|
|
3631
|
+
__wbg_set_label_c7987704d29f284b: function(arg0, arg1, arg2) {
|
|
3632
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3633
|
+
},
|
|
3634
|
+
__wbg_set_label_cfe64bca8945ee30: function(arg0, arg1, arg2) {
|
|
3635
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3636
|
+
},
|
|
3637
|
+
__wbg_set_label_e02179cf97e95763: function(arg0, arg1, arg2) {
|
|
3638
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3639
|
+
},
|
|
3640
|
+
__wbg_set_label_ee172cd5f6a96961: function(arg0, arg1, arg2) {
|
|
3641
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3642
|
+
},
|
|
3643
|
+
__wbg_set_layout_454e3a091b390cd4: function(arg0, arg1) {
|
|
3644
|
+
arg0.layout = arg1;
|
|
3645
|
+
},
|
|
3646
|
+
__wbg_set_layout_75dc1ca3f2421cff: function(arg0, arg1) {
|
|
3647
|
+
arg0.layout = arg1;
|
|
3648
|
+
},
|
|
3649
|
+
__wbg_set_layout_gpu_auto_layout_mode_06a2b95af1043098: function(arg0, arg1) {
|
|
3650
|
+
arg0.layout = __wbindgen_enum_GpuAutoLayoutMode[arg1];
|
|
3651
|
+
},
|
|
3652
|
+
__wbg_set_load_op_c56b1269acc2d51f: function(arg0, arg1) {
|
|
3653
|
+
arg0.loadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
3654
|
+
},
|
|
3655
|
+
__wbg_set_lod_max_clamp_db24179f67f3aa31: function(arg0, arg1) {
|
|
3656
|
+
arg0.lodMaxClamp = arg1;
|
|
3657
|
+
},
|
|
3658
|
+
__wbg_set_lod_min_clamp_2bbce566e9fefa04: function(arg0, arg1) {
|
|
3659
|
+
arg0.lodMinClamp = arg1;
|
|
3660
|
+
},
|
|
3661
|
+
__wbg_set_mag_filter_db8e6b42d4f8846d: function(arg0, arg1) {
|
|
3662
|
+
arg0.magFilter = __wbindgen_enum_GpuFilterMode[arg1];
|
|
3663
|
+
},
|
|
3664
|
+
__wbg_set_mapped_at_creation_3f320fef6761b02c: function(arg0, arg1) {
|
|
3665
|
+
arg0.mappedAtCreation = arg1 !== 0;
|
|
3666
|
+
},
|
|
3667
|
+
__wbg_set_mask_c1079e551ec360dc: function(arg0, arg1) {
|
|
3668
|
+
arg0.mask = arg1 >>> 0;
|
|
3669
|
+
},
|
|
3670
|
+
__wbg_set_max_anisotropy_84749fdcec362dc4: function(arg0, arg1) {
|
|
3671
|
+
arg0.maxAnisotropy = arg1;
|
|
3672
|
+
},
|
|
3673
|
+
__wbg_set_min_binding_size_f64_897e3cd4496ddec9: function(arg0, arg1) {
|
|
3674
|
+
arg0.minBindingSize = arg1;
|
|
3675
|
+
},
|
|
3676
|
+
__wbg_set_min_filter_d435bbfc5a637757: function(arg0, arg1) {
|
|
3677
|
+
arg0.minFilter = __wbindgen_enum_GpuFilterMode[arg1];
|
|
3678
|
+
},
|
|
3679
|
+
__wbg_set_mip_level_03ed7bbd0ded367f: function(arg0, arg1) {
|
|
3680
|
+
arg0.mipLevel = arg1 >>> 0;
|
|
3681
|
+
},
|
|
3682
|
+
__wbg_set_mip_level_count_047936c630acee7b: function(arg0, arg1) {
|
|
3683
|
+
arg0.mipLevelCount = arg1 >>> 0;
|
|
3684
|
+
},
|
|
3685
|
+
__wbg_set_mip_level_count_44bc46a1ae6f6daa: function(arg0, arg1) {
|
|
3686
|
+
arg0.mipLevelCount = arg1 >>> 0;
|
|
3687
|
+
},
|
|
3688
|
+
__wbg_set_mip_level_f3745730372683d5: function(arg0, arg1) {
|
|
3689
|
+
arg0.mipLevel = arg1 >>> 0;
|
|
3690
|
+
},
|
|
3691
|
+
__wbg_set_mipmap_filter_62fb49a84b0747ff: function(arg0, arg1) {
|
|
3692
|
+
arg0.mipmapFilter = __wbindgen_enum_GpuMipmapFilterMode[arg1];
|
|
3693
|
+
},
|
|
3694
|
+
__wbg_set_mode_7edfbc344ef9c650: function(arg0, arg1) {
|
|
3695
|
+
arg0.mode = __wbindgen_enum_GpuCanvasToneMappingMode[arg1];
|
|
3696
|
+
},
|
|
3697
|
+
__wbg_set_module_392eeaa269f203b0: function(arg0, arg1) {
|
|
3698
|
+
arg0.module = arg1;
|
|
3699
|
+
},
|
|
3700
|
+
__wbg_set_module_715d37652c4998ec: function(arg0, arg1) {
|
|
3701
|
+
arg0.module = arg1;
|
|
3702
|
+
},
|
|
3703
|
+
__wbg_set_multisample_ff72a7a5456cbeb7: function(arg0, arg1) {
|
|
3704
|
+
arg0.multisample = arg1;
|
|
3705
|
+
},
|
|
3706
|
+
__wbg_set_multisampled_039f032dc4b67367: function(arg0, arg1) {
|
|
3707
|
+
arg0.multisampled = arg1 !== 0;
|
|
3708
|
+
},
|
|
3709
|
+
__wbg_set_offset_f64_127e8a0aa5c5485a: function(arg0, arg1) {
|
|
3710
|
+
arg0.offset = arg1;
|
|
3711
|
+
},
|
|
3712
|
+
__wbg_set_offset_f64_457756429ede426d: function(arg0, arg1) {
|
|
3713
|
+
arg0.offset = arg1;
|
|
3714
|
+
},
|
|
3715
|
+
__wbg_set_offset_f64_a903425d5a8e5815: function(arg0, arg1) {
|
|
3716
|
+
arg0.offset = arg1;
|
|
3717
|
+
},
|
|
3718
|
+
__wbg_set_offset_f64_d1d115dd438165b5: function(arg0, arg1) {
|
|
3719
|
+
arg0.offset = arg1;
|
|
3720
|
+
},
|
|
3721
|
+
__wbg_set_onuncapturederror_bb813f1102da2296: function(arg0, arg1) {
|
|
3722
|
+
arg0.onuncapturederror = arg1;
|
|
3723
|
+
},
|
|
3724
|
+
__wbg_set_operation_00a77386523b88f9: function(arg0, arg1) {
|
|
3725
|
+
arg0.operation = __wbindgen_enum_GpuBlendOperation[arg1];
|
|
3726
|
+
},
|
|
3727
|
+
__wbg_set_origin_gpu_origin_2d_dict_8156da81552cd590: function(arg0, arg1) {
|
|
3728
|
+
arg0.origin = arg1;
|
|
3729
|
+
},
|
|
3730
|
+
__wbg_set_origin_gpu_origin_3d_dict_0619d4860adb4eb6: function(arg0, arg1) {
|
|
3731
|
+
arg0.origin = arg1;
|
|
3732
|
+
},
|
|
3733
|
+
__wbg_set_origin_gpu_origin_3d_dict_abd0dec737979786: function(arg0, arg1) {
|
|
3734
|
+
arg0.origin = arg1;
|
|
3735
|
+
},
|
|
3736
|
+
__wbg_set_pass_op_3cf10feb3d76ab97: function(arg0, arg1) {
|
|
3737
|
+
arg0.passOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
3738
|
+
},
|
|
3739
|
+
__wbg_set_power_preference_b42d00a8facfbade: function(arg0, arg1) {
|
|
3740
|
+
arg0.powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
|
|
3741
|
+
},
|
|
3742
|
+
__wbg_set_premultiplied_alpha_6d23532454ce9a12: function(arg0, arg1) {
|
|
3743
|
+
arg0.premultipliedAlpha = arg1 !== 0;
|
|
3744
|
+
},
|
|
3745
|
+
__wbg_set_premultiply_alpha_45a4cf9a1e87bfbf: function(arg0, arg1) {
|
|
3746
|
+
arg0.premultiplyAlpha = __wbindgen_enum_PremultiplyAlpha[arg1];
|
|
3747
|
+
},
|
|
3748
|
+
__wbg_set_primitive_e796cf76f0ff89f3: function(arg0, arg1) {
|
|
3749
|
+
arg0.primitive = arg1;
|
|
3750
|
+
},
|
|
3751
|
+
__wbg_set_query_set_f030702f1b69199f: function(arg0, arg1) {
|
|
3752
|
+
arg0.querySet = arg1;
|
|
3753
|
+
},
|
|
3754
|
+
__wbg_set_r_6ece4d74af63364f: function(arg0, arg1) {
|
|
3755
|
+
arg0.r = arg1;
|
|
3756
|
+
},
|
|
3757
|
+
__wbg_set_required_features_bbab71414c45e621: function(arg0, arg1, arg2) {
|
|
3758
|
+
arg0.requiredFeatures = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3759
|
+
},
|
|
3760
|
+
__wbg_set_required_limits_837f62d865e7cfac: function(arg0, arg1) {
|
|
3761
|
+
arg0.requiredLimits = arg1;
|
|
3762
|
+
},
|
|
3763
|
+
__wbg_set_resize_height_274433c2f249624d: function(arg0, arg1) {
|
|
3764
|
+
arg0.resizeHeight = arg1 >>> 0;
|
|
3765
|
+
},
|
|
3766
|
+
__wbg_set_resize_width_6f06543b29d1ca48: function(arg0, arg1) {
|
|
3767
|
+
arg0.resizeWidth = arg1 >>> 0;
|
|
3768
|
+
},
|
|
3769
|
+
__wbg_set_resolve_target_gpu_texture_view_e4c1e3bbb8c27d87: function(arg0, arg1) {
|
|
3770
|
+
arg0.resolveTarget = arg1;
|
|
3771
|
+
},
|
|
3772
|
+
__wbg_set_resource_8fd8658b30d86ecf: function(arg0, arg1) {
|
|
3773
|
+
arg0.resource = arg1;
|
|
3774
|
+
},
|
|
3775
|
+
__wbg_set_resource_gpu_buffer_binding_33099b25da65b610: function(arg0, arg1) {
|
|
3776
|
+
arg0.resource = arg1;
|
|
3777
|
+
},
|
|
3778
|
+
__wbg_set_resource_gpu_texture_view_4cffe7bc7c8e5cbe: function(arg0, arg1) {
|
|
3779
|
+
arg0.resource = arg1;
|
|
3780
|
+
},
|
|
3781
|
+
__wbg_set_rows_per_image_c6d50d227e634379: function(arg0, arg1) {
|
|
3782
|
+
arg0.rowsPerImage = arg1 >>> 0;
|
|
3783
|
+
},
|
|
3784
|
+
__wbg_set_rows_per_image_deb456502f23c260: function(arg0, arg1) {
|
|
3785
|
+
arg0.rowsPerImage = arg1 >>> 0;
|
|
3786
|
+
},
|
|
3787
|
+
__wbg_set_sample_count_481c255a12054e1d: function(arg0, arg1) {
|
|
3788
|
+
arg0.sampleCount = arg1 >>> 0;
|
|
3789
|
+
},
|
|
3790
|
+
__wbg_set_sample_type_ebc5fcd029513bda: function(arg0, arg1) {
|
|
3791
|
+
arg0.sampleType = __wbindgen_enum_GpuTextureSampleType[arg1];
|
|
3792
|
+
},
|
|
3793
|
+
__wbg_set_sampler_89cb4a7efcfc6005: function(arg0, arg1) {
|
|
3794
|
+
arg0.sampler = arg1;
|
|
3795
|
+
},
|
|
3796
|
+
__wbg_set_shader_location_3fb9f6a012eba494: function(arg0, arg1) {
|
|
3797
|
+
arg0.shaderLocation = arg1 >>> 0;
|
|
3798
|
+
},
|
|
3799
|
+
__wbg_set_signal_2dbd377604627f26: function(arg0, arg1) {
|
|
3800
|
+
arg0.signal = arg1;
|
|
3801
|
+
},
|
|
3802
|
+
__wbg_set_size_f64_2f591b0654540477: function(arg0, arg1) {
|
|
3803
|
+
arg0.size = arg1;
|
|
3804
|
+
},
|
|
3805
|
+
__wbg_set_size_f64_e844c985b8f95261: function(arg0, arg1) {
|
|
3806
|
+
arg0.size = arg1;
|
|
3807
|
+
},
|
|
3808
|
+
__wbg_set_size_gpu_extent_3d_dict_adf57388ab1d4f18: function(arg0, arg1) {
|
|
3809
|
+
arg0.size = arg1;
|
|
3810
|
+
},
|
|
3811
|
+
__wbg_set_source_211aa06496d82b73: function(arg0, arg1) {
|
|
3812
|
+
arg0.source = arg1;
|
|
3813
|
+
},
|
|
3814
|
+
__wbg_set_source_html_canvas_element_5577621adc0f8ff6: function(arg0, arg1) {
|
|
3815
|
+
arg0.source = arg1;
|
|
3816
|
+
},
|
|
3817
|
+
__wbg_set_source_html_image_element_23fa06e99ca07cc0: function(arg0, arg1) {
|
|
3818
|
+
arg0.source = arg1;
|
|
3819
|
+
},
|
|
3820
|
+
__wbg_set_source_html_video_element_e57b5cacb7b02736: function(arg0, arg1) {
|
|
3821
|
+
arg0.source = arg1;
|
|
3822
|
+
},
|
|
3823
|
+
__wbg_set_source_image_data_c80600573a809775: function(arg0, arg1) {
|
|
3824
|
+
arg0.source = arg1;
|
|
3825
|
+
},
|
|
3826
|
+
__wbg_set_source_offscreen_canvas_7d49271754887b4e: function(arg0, arg1) {
|
|
3827
|
+
arg0.source = arg1;
|
|
3828
|
+
},
|
|
3829
|
+
__wbg_set_source_video_frame_e4faebda27c393e4: function(arg0, arg1) {
|
|
3830
|
+
arg0.source = arg1;
|
|
3831
|
+
},
|
|
3832
|
+
__wbg_set_src_factor_6f2c9ec8e4d3d979: function(arg0, arg1) {
|
|
3833
|
+
arg0.srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
3834
|
+
},
|
|
3835
|
+
__wbg_set_stencil_back_c54d0443b8b6a957: function(arg0, arg1) {
|
|
3836
|
+
arg0.stencilBack = arg1;
|
|
3837
|
+
},
|
|
3838
|
+
__wbg_set_stencil_clear_value_a321b0e045bfd8c2: function(arg0, arg1) {
|
|
3839
|
+
arg0.stencilClearValue = arg1 >>> 0;
|
|
2335
3840
|
},
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3841
|
+
__wbg_set_stencil_front_3ff3f8385852efff: function(arg0, arg1) {
|
|
3842
|
+
arg0.stencilFront = arg1;
|
|
2339
3843
|
},
|
|
2340
|
-
|
|
2341
|
-
arg0.
|
|
3844
|
+
__wbg_set_stencil_load_op_37d20deccb26a0f1: function(arg0, arg1) {
|
|
3845
|
+
arg0.stencilLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
2342
3846
|
},
|
|
2343
|
-
|
|
2344
|
-
arg0.
|
|
3847
|
+
__wbg_set_stencil_read_mask_021ef4271b24352c: function(arg0, arg1) {
|
|
3848
|
+
arg0.stencilReadMask = arg1 >>> 0;
|
|
2345
3849
|
},
|
|
2346
|
-
|
|
2347
|
-
arg0.
|
|
3850
|
+
__wbg_set_stencil_read_only_75fe66a2356d6e92: function(arg0, arg1) {
|
|
3851
|
+
arg0.stencilReadOnly = arg1 !== 0;
|
|
2348
3852
|
},
|
|
2349
|
-
|
|
2350
|
-
arg0.
|
|
3853
|
+
__wbg_set_stencil_store_op_501f91638dd386e6: function(arg0, arg1) {
|
|
3854
|
+
arg0.stencilStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
2351
3855
|
},
|
|
2352
|
-
|
|
2353
|
-
|
|
3856
|
+
__wbg_set_stencil_write_mask_ec1c12237e094bdd: function(arg0, arg1) {
|
|
3857
|
+
arg0.stencilWriteMask = arg1 >>> 0;
|
|
2354
3858
|
},
|
|
2355
|
-
|
|
2356
|
-
|
|
3859
|
+
__wbg_set_step_mode_3cbbdeba1e5dfd62: function(arg0, arg1) {
|
|
3860
|
+
arg0.stepMode = __wbindgen_enum_GpuVertexStepMode[arg1];
|
|
2357
3861
|
},
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
return ret;
|
|
3862
|
+
__wbg_set_storage_texture_786aea7c5773b6c1: function(arg0, arg1) {
|
|
3863
|
+
arg0.storageTexture = arg1;
|
|
2361
3864
|
},
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
return ret;
|
|
3865
|
+
__wbg_set_store_op_678f33376d741711: function(arg0, arg1) {
|
|
3866
|
+
arg0.storeOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
2365
3867
|
},
|
|
2366
|
-
|
|
2367
|
-
|
|
3868
|
+
__wbg_set_strip_index_format_70313df755145d5e: function(arg0, arg1) {
|
|
3869
|
+
arg0.stripIndexFormat = __wbindgen_enum_GpuIndexFormat[arg1];
|
|
2368
3870
|
},
|
|
2369
|
-
|
|
2370
|
-
arg0.
|
|
2371
|
-
}, arguments); },
|
|
2372
|
-
__wbg_readPixels_3321086a7818a739: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2373
|
-
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
2374
|
-
}, arguments); },
|
|
2375
|
-
__wbg_readPixels_eb030cd9976eeca5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2376
|
-
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
2377
|
-
}, arguments); },
|
|
2378
|
-
__wbg_renderbufferStorage_52b131bbf3112b3a: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2379
|
-
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
3871
|
+
__wbg_set_targets_674b33931e512fb1: function(arg0, arg1, arg2) {
|
|
3872
|
+
arg0.targets = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2380
3873
|
},
|
|
2381
|
-
|
|
2382
|
-
arg0.
|
|
3874
|
+
__wbg_set_texture_4e0ee4c98ac25b81: function(arg0, arg1) {
|
|
3875
|
+
arg0.texture = arg1;
|
|
2383
3876
|
},
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
return ret;
|
|
3877
|
+
__wbg_set_texture_95f2bfdf7767e76f: function(arg0, arg1) {
|
|
3878
|
+
arg0.texture = arg1;
|
|
2387
3879
|
},
|
|
2388
|
-
|
|
2389
|
-
arg0.
|
|
3880
|
+
__wbg_set_texture_a33be3fe02ac6264: function(arg0, arg1) {
|
|
3881
|
+
arg0.texture = arg1;
|
|
2390
3882
|
},
|
|
2391
|
-
|
|
2392
|
-
arg0.
|
|
3883
|
+
__wbg_set_timestamp_writes_de6a09f299b71b76: function(arg0, arg1) {
|
|
3884
|
+
arg0.timestampWrites = arg1;
|
|
2393
3885
|
},
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
return ret;
|
|
2397
|
-
}, arguments); },
|
|
2398
|
-
__wbg_set_145a351398b48c65: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2399
|
-
const ret = Reflect.set(arg0, arg1, arg2);
|
|
2400
|
-
return ret;
|
|
2401
|
-
}, arguments); },
|
|
2402
|
-
__wbg_set_af5932e3f78b5648: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2403
|
-
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2404
|
-
}, arguments); },
|
|
2405
|
-
__wbg_set_alpha_6dea851a46253adf: function(arg0, arg1) {
|
|
2406
|
-
arg0.alpha = arg1 !== 0;
|
|
3886
|
+
__wbg_set_tone_mapping_320c1aad31db2e7f: function(arg0, arg1) {
|
|
3887
|
+
arg0.toneMapping = arg1;
|
|
2407
3888
|
},
|
|
2408
|
-
|
|
2409
|
-
arg0.
|
|
3889
|
+
__wbg_set_topology_b92cfe523bd9653b: function(arg0, arg1) {
|
|
3890
|
+
arg0.topology = __wbindgen_enum_GpuPrimitiveTopology[arg1];
|
|
2410
3891
|
},
|
|
2411
|
-
|
|
2412
|
-
arg0.
|
|
3892
|
+
__wbg_set_type_43e0092f16775979: function(arg0, arg1) {
|
|
3893
|
+
arg0.type = __wbindgen_enum_GpuSamplerBindingType[arg1];
|
|
2413
3894
|
},
|
|
2414
|
-
|
|
2415
|
-
arg0.
|
|
3895
|
+
__wbg_set_type_79cec55caf4cdb6d: function(arg0, arg1) {
|
|
3896
|
+
arg0.type = __wbindgen_enum_GpuBufferBindingType[arg1];
|
|
2416
3897
|
},
|
|
2417
|
-
|
|
2418
|
-
arg0.
|
|
3898
|
+
__wbg_set_type_dcf75b2afa60c694: function(arg0, arg1, arg2) {
|
|
3899
|
+
arg0.type = getStringFromWasm0(arg1, arg2);
|
|
2419
3900
|
},
|
|
2420
|
-
|
|
2421
|
-
arg0.
|
|
3901
|
+
__wbg_set_unclipped_depth_32b7caf29fa5633d: function(arg0, arg1) {
|
|
3902
|
+
arg0.unclippedDepth = arg1 !== 0;
|
|
2422
3903
|
},
|
|
2423
|
-
|
|
2424
|
-
arg0.
|
|
3904
|
+
__wbg_set_usage_1ee33d98267e787d: function(arg0, arg1) {
|
|
3905
|
+
arg0.usage = arg1 >>> 0;
|
|
2425
3906
|
},
|
|
2426
|
-
|
|
2427
|
-
arg0.
|
|
3907
|
+
__wbg_set_usage_2365e2704b1fdb10: function(arg0, arg1) {
|
|
3908
|
+
arg0.usage = arg1 >>> 0;
|
|
2428
3909
|
},
|
|
2429
|
-
|
|
2430
|
-
arg0.
|
|
3910
|
+
__wbg_set_usage_d53ee6f0c7aedbfa: function(arg0, arg1) {
|
|
3911
|
+
arg0.usage = arg1 >>> 0;
|
|
2431
3912
|
},
|
|
2432
|
-
|
|
2433
|
-
arg0.
|
|
3913
|
+
__wbg_set_usage_f3e34822998d2147: function(arg0, arg1) {
|
|
3914
|
+
arg0.usage = arg1 >>> 0;
|
|
2434
3915
|
},
|
|
2435
|
-
|
|
2436
|
-
arg0.
|
|
3916
|
+
__wbg_set_vertex_77ed7a1229239b5a: function(arg0, arg1) {
|
|
3917
|
+
arg0.vertex = arg1;
|
|
3918
|
+
},
|
|
3919
|
+
__wbg_set_view_dimension_893e2d16561e56e8: function(arg0, arg1) {
|
|
3920
|
+
arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
3921
|
+
},
|
|
3922
|
+
__wbg_set_view_dimension_f2c5fe4bf927c3fe: function(arg0, arg1) {
|
|
3923
|
+
arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
3924
|
+
},
|
|
3925
|
+
__wbg_set_view_formats_427069064d8b7139: function(arg0, arg1, arg2) {
|
|
3926
|
+
arg0.viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3927
|
+
},
|
|
3928
|
+
__wbg_set_view_formats_9c2f01a6f3b365c7: function(arg0, arg1, arg2) {
|
|
3929
|
+
arg0.viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3930
|
+
},
|
|
3931
|
+
__wbg_set_view_gpu_texture_view_35f4655788535c4d: function(arg0, arg1) {
|
|
3932
|
+
arg0.view = arg1;
|
|
3933
|
+
},
|
|
3934
|
+
__wbg_set_view_gpu_texture_view_a532c825c52042c0: function(arg0, arg1) {
|
|
3935
|
+
arg0.view = arg1;
|
|
3936
|
+
},
|
|
3937
|
+
__wbg_set_visibility_d8a6821789538c25: function(arg0, arg1) {
|
|
3938
|
+
arg0.visibility = arg1 >>> 0;
|
|
3939
|
+
},
|
|
3940
|
+
__wbg_set_width_0ca908d167690992: function(arg0, arg1) {
|
|
3941
|
+
arg0.width = arg1 >>> 0;
|
|
3942
|
+
},
|
|
3943
|
+
__wbg_set_width_b0e1267db4b196b5: function(arg0, arg1) {
|
|
3944
|
+
arg0.width = arg1 >>> 0;
|
|
2437
3945
|
},
|
|
2438
|
-
|
|
2439
|
-
arg0.
|
|
3946
|
+
__wbg_set_width_b20525f5f4df4eb8: function(arg0, arg1) {
|
|
3947
|
+
arg0.width = arg1 >>> 0;
|
|
3948
|
+
},
|
|
3949
|
+
__wbg_set_write_mask_42d89f182ade6b2d: function(arg0, arg1) {
|
|
3950
|
+
arg0.writeMask = arg1 >>> 0;
|
|
3951
|
+
},
|
|
3952
|
+
__wbg_set_x_58965df5af1ad27d: function(arg0, arg1) {
|
|
3953
|
+
arg0.x = arg1 >>> 0;
|
|
3954
|
+
},
|
|
3955
|
+
__wbg_set_x_f470b03dd54724cd: function(arg0, arg1) {
|
|
3956
|
+
arg0.x = arg1 >>> 0;
|
|
3957
|
+
},
|
|
3958
|
+
__wbg_set_y_4c44eb40ebca5bfc: function(arg0, arg1) {
|
|
3959
|
+
arg0.y = arg1 >>> 0;
|
|
3960
|
+
},
|
|
3961
|
+
__wbg_set_y_b79cba22b145de99: function(arg0, arg1) {
|
|
3962
|
+
arg0.y = arg1 >>> 0;
|
|
3963
|
+
},
|
|
3964
|
+
__wbg_set_z_2e6820ef0f5821ed: function(arg0, arg1) {
|
|
3965
|
+
arg0.z = arg1 >>> 0;
|
|
2440
3966
|
},
|
|
2441
3967
|
__wbg_shaderSource_06379dac249994dd: function(arg0, arg1, arg2, arg3) {
|
|
2442
3968
|
arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
|
|
@@ -2448,10 +3974,6 @@ function __wbg_get_imports() {
|
|
|
2448
3974
|
const ret = arg0.signal;
|
|
2449
3975
|
return ret;
|
|
2450
3976
|
},
|
|
2451
|
-
__wbg_size_74c48d7329291685: function(arg0) {
|
|
2452
|
-
const ret = arg0.size;
|
|
2453
|
-
return ret;
|
|
2454
|
-
},
|
|
2455
3977
|
__wbg_static_accessor_GLOBAL_266715b9d96ba635: function() {
|
|
2456
3978
|
const ret = typeof global === 'undefined' ? null : global;
|
|
2457
3979
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -2472,11 +3994,17 @@ function __wbg_get_imports() {
|
|
|
2472
3994
|
const ret = arg0.status;
|
|
2473
3995
|
return ret;
|
|
2474
3996
|
},
|
|
2475
|
-
|
|
2476
|
-
arg0.
|
|
3997
|
+
__wbg_stencilFuncSeparate_3f31dcd12a0d4785: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3998
|
+
arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
2477
3999
|
},
|
|
2478
|
-
|
|
2479
|
-
arg0.
|
|
4000
|
+
__wbg_stencilFuncSeparate_f168b66c597aa85f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4001
|
+
arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
4002
|
+
},
|
|
4003
|
+
__wbg_stencilMaskSeparate_b30c097ea6b98504: function(arg0, arg1, arg2) {
|
|
4004
|
+
arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
4005
|
+
},
|
|
4006
|
+
__wbg_stencilMaskSeparate_ff739f8711e9fd42: function(arg0, arg1, arg2) {
|
|
4007
|
+
arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
2480
4008
|
},
|
|
2481
4009
|
__wbg_stencilMask_9e18cc018897c747: function(arg0, arg1) {
|
|
2482
4010
|
arg0.stencilMask(arg1 >>> 0);
|
|
@@ -2490,11 +4018,20 @@ function __wbg_get_imports() {
|
|
|
2490
4018
|
__wbg_stencilOpSeparate_c5af5f5dbd237bea: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2491
4019
|
arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
2492
4020
|
},
|
|
2493
|
-
|
|
2494
|
-
arg0.
|
|
4021
|
+
__wbg_subarray_002b94d5e13d1411: function(arg0, arg1, arg2) {
|
|
4022
|
+
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
4023
|
+
return ret;
|
|
4024
|
+
},
|
|
4025
|
+
__wbg_subgroupMaxSize_b43be0aa16182403: function(arg0) {
|
|
4026
|
+
const ret = arg0.subgroupMaxSize;
|
|
4027
|
+
return ret;
|
|
4028
|
+
},
|
|
4029
|
+
__wbg_subgroupMinSize_03feb6ee0cda6775: function(arg0) {
|
|
4030
|
+
const ret = arg0.subgroupMinSize;
|
|
4031
|
+
return ret;
|
|
2495
4032
|
},
|
|
2496
|
-
|
|
2497
|
-
arg0.
|
|
4033
|
+
__wbg_submit_077c85cc28e36892: function(arg0, arg1, arg2) {
|
|
4034
|
+
arg0.submit(getArrayJsValueViewFromWasm0(arg1, arg2));
|
|
2498
4035
|
},
|
|
2499
4036
|
__wbg_texImage2D_82bf2b4c8aa9a1db: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2500
4037
|
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
@@ -2505,6 +4042,12 @@ function __wbg_get_imports() {
|
|
|
2505
4042
|
__wbg_texImage2D_ca3d0fe24620ec85: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2506
4043
|
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
2507
4044
|
}, arguments); },
|
|
4045
|
+
__wbg_texImage3D_29a847f33877ed12: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
4046
|
+
arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
|
|
4047
|
+
}, arguments); },
|
|
4048
|
+
__wbg_texImage3D_78fb39719c620063: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
4049
|
+
arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
|
|
4050
|
+
}, arguments); },
|
|
2508
4051
|
__wbg_texParameteri_647fdb1426809cb5: function(arg0, arg1, arg2, arg3) {
|
|
2509
4052
|
arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
2510
4053
|
},
|
|
@@ -2517,21 +4060,48 @@ function __wbg_get_imports() {
|
|
|
2517
4060
|
__wbg_texStorage3D_74b701c2b176380c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2518
4061
|
arg0.texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6);
|
|
2519
4062
|
},
|
|
4063
|
+
__wbg_texSubImage2D_07337d0974e99c39: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
4064
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
4065
|
+
}, arguments); },
|
|
4066
|
+
__wbg_texSubImage2D_196472d4111ce5b6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
4067
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
4068
|
+
}, arguments); },
|
|
4069
|
+
__wbg_texSubImage2D_24cf5097ebaa84cc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
4070
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
4071
|
+
}, arguments); },
|
|
2520
4072
|
__wbg_texSubImage2D_31a0c2797aa04f32: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2521
4073
|
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
2522
4074
|
}, arguments); },
|
|
2523
4075
|
__wbg_texSubImage2D_5e90c7a719d40256: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2524
4076
|
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
2525
4077
|
}, arguments); },
|
|
4078
|
+
__wbg_texSubImage2D_64e36398b8f046ac: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
4079
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
4080
|
+
}, arguments); },
|
|
2526
4081
|
__wbg_texSubImage2D_bb322aae90f7657f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2527
4082
|
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
2528
4083
|
}, arguments); },
|
|
4084
|
+
__wbg_texSubImage2D_d7bffff06a3b8315: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
4085
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
4086
|
+
}, arguments); },
|
|
4087
|
+
__wbg_texSubImage3D_001f2e62ed945b72: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
4088
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
4089
|
+
}, arguments); },
|
|
2529
4090
|
__wbg_texSubImage3D_5143d5af7e182ddc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2530
4091
|
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
2531
4092
|
}, arguments); },
|
|
4093
|
+
__wbg_texSubImage3D_53c6014e2d129891: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
4094
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
4095
|
+
}, arguments); },
|
|
2532
4096
|
__wbg_texSubImage3D_5d773fc7a8cd4d08: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2533
4097
|
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
2534
4098
|
}, arguments); },
|
|
4099
|
+
__wbg_texSubImage3D_adb96e37e6949ec9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
4100
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
4101
|
+
}, arguments); },
|
|
4102
|
+
__wbg_texSubImage3D_d4e74595e01f7f71: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
4103
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
4104
|
+
}, arguments); },
|
|
2535
4105
|
__wbg_texSubImage3D_e0d113b7047a5130: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
2536
4106
|
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
2537
4107
|
}, arguments); },
|
|
@@ -2543,9 +4113,8 @@ function __wbg_get_imports() {
|
|
|
2543
4113
|
const ret = arg0.then(arg1);
|
|
2544
4114
|
return ret;
|
|
2545
4115
|
},
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
return ret;
|
|
4116
|
+
__wbg_unconfigure_835307f58dc68d80: function(arg0) {
|
|
4117
|
+
arg0.unconfigure();
|
|
2549
4118
|
},
|
|
2550
4119
|
__wbg_uniform1f_9cfecfaeb8cf43c1: function(arg0, arg1, arg2) {
|
|
2551
4120
|
arg0.uniform1f(arg1, arg2);
|
|
@@ -2553,36 +4122,15 @@ function __wbg_get_imports() {
|
|
|
2553
4122
|
__wbg_uniform1f_b5856e35a43b65a1: function(arg0, arg1, arg2) {
|
|
2554
4123
|
arg0.uniform1f(arg1, arg2);
|
|
2555
4124
|
},
|
|
2556
|
-
__wbg_uniform1fv_1bf537fc926ef8b9: function(arg0, arg1, arg2, arg3) {
|
|
2557
|
-
arg0.uniform1fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
2558
|
-
},
|
|
2559
|
-
__wbg_uniform1fv_1cc1d09bc13b03bf: function(arg0, arg1, arg2, arg3) {
|
|
2560
|
-
arg0.uniform1fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
2561
|
-
},
|
|
2562
4125
|
__wbg_uniform1i_531b98c4a7177366: function(arg0, arg1, arg2) {
|
|
2563
4126
|
arg0.uniform1i(arg1, arg2);
|
|
2564
4127
|
},
|
|
2565
4128
|
__wbg_uniform1i_fc2dc8cadc49d8ec: function(arg0, arg1, arg2) {
|
|
2566
4129
|
arg0.uniform1i(arg1, arg2);
|
|
2567
4130
|
},
|
|
2568
|
-
__wbg_uniform1iv_4b8cbceccddfaa62: function(arg0, arg1, arg2, arg3) {
|
|
2569
|
-
arg0.uniform1iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
2570
|
-
},
|
|
2571
|
-
__wbg_uniform1iv_8fc880ae80c77c74: function(arg0, arg1, arg2, arg3) {
|
|
2572
|
-
arg0.uniform1iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
2573
|
-
},
|
|
2574
4131
|
__wbg_uniform1ui_353c67ec681b540c: function(arg0, arg1, arg2) {
|
|
2575
4132
|
arg0.uniform1ui(arg1, arg2 >>> 0);
|
|
2576
4133
|
},
|
|
2577
|
-
__wbg_uniform1uiv_ad5e946730aacbec: function(arg0, arg1, arg2, arg3) {
|
|
2578
|
-
arg0.uniform1uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
2579
|
-
},
|
|
2580
|
-
__wbg_uniform2f_131da2d4bf17e4b9: function(arg0, arg1, arg2, arg3) {
|
|
2581
|
-
arg0.uniform2f(arg1, arg2, arg3);
|
|
2582
|
-
},
|
|
2583
|
-
__wbg_uniform2f_a92b5bb95dc5b4d9: function(arg0, arg1, arg2, arg3) {
|
|
2584
|
-
arg0.uniform2f(arg1, arg2, arg3);
|
|
2585
|
-
},
|
|
2586
4134
|
__wbg_uniform2fv_319c49f0ce340f26: function(arg0, arg1, arg2, arg3) {
|
|
2587
4135
|
arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
2588
4136
|
},
|
|
@@ -2598,12 +4146,6 @@ function __wbg_get_imports() {
|
|
|
2598
4146
|
__wbg_uniform2uiv_c95af5fb653ccb86: function(arg0, arg1, arg2, arg3) {
|
|
2599
4147
|
arg0.uniform2uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
2600
4148
|
},
|
|
2601
|
-
__wbg_uniform3f_1211579ff87ccfad: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2602
|
-
arg0.uniform3f(arg1, arg2, arg3, arg4);
|
|
2603
|
-
},
|
|
2604
|
-
__wbg_uniform3f_ee105161897ee48a: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2605
|
-
arg0.uniform3f(arg1, arg2, arg3, arg4);
|
|
2606
|
-
},
|
|
2607
4149
|
__wbg_uniform3fv_055ea5ac38af4fce: function(arg0, arg1, arg2, arg3) {
|
|
2608
4150
|
arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
2609
4151
|
},
|
|
@@ -2640,24 +4182,58 @@ function __wbg_get_imports() {
|
|
|
2640
4182
|
__wbg_uniform4uiv_a6fb3237d9df7ed4: function(arg0, arg1, arg2, arg3) {
|
|
2641
4183
|
arg0.uniform4uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
2642
4184
|
},
|
|
4185
|
+
__wbg_uniformBlockBinding_07116582301fb019: function(arg0, arg1, arg2, arg3) {
|
|
4186
|
+
arg0.uniformBlockBinding(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
4187
|
+
},
|
|
4188
|
+
__wbg_uniformMatrix2fv_34b2245136106a2f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4189
|
+
arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
4190
|
+
},
|
|
4191
|
+
__wbg_uniformMatrix2fv_611c7fcb378f057e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4192
|
+
arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
4193
|
+
},
|
|
4194
|
+
__wbg_uniformMatrix2x3fv_6b33a76d09b6c00f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4195
|
+
arg0.uniformMatrix2x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
4196
|
+
},
|
|
4197
|
+
__wbg_uniformMatrix2x4fv_66c787e2d0a5dd0a: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4198
|
+
arg0.uniformMatrix2x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
4199
|
+
},
|
|
2643
4200
|
__wbg_uniformMatrix3fv_472e7824735acce1: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2644
4201
|
arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2645
4202
|
},
|
|
2646
4203
|
__wbg_uniformMatrix3fv_83fdc9c3c0d43204: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2647
4204
|
arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2648
4205
|
},
|
|
4206
|
+
__wbg_uniformMatrix3x2fv_33df849b78b8556e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4207
|
+
arg0.uniformMatrix3x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
4208
|
+
},
|
|
4209
|
+
__wbg_uniformMatrix3x4fv_8914dc5121a813b4: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4210
|
+
arg0.uniformMatrix3x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
4211
|
+
},
|
|
2649
4212
|
__wbg_uniformMatrix4fv_dff9738d995fd0b1: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2650
4213
|
arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2651
4214
|
},
|
|
2652
4215
|
__wbg_uniformMatrix4fv_e691d7f14d3609f7: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2653
4216
|
arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
2654
4217
|
},
|
|
4218
|
+
__wbg_uniformMatrix4x2fv_1c9ccf4427b82548: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4219
|
+
arg0.uniformMatrix4x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
4220
|
+
},
|
|
4221
|
+
__wbg_uniformMatrix4x3fv_a84b16e0a7abee2c: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4222
|
+
arg0.uniformMatrix4x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
4223
|
+
},
|
|
4224
|
+
__wbg_unmap_6a96b14c9ef5f7f5: function(arg0) {
|
|
4225
|
+
arg0.unmap();
|
|
4226
|
+
},
|
|
2655
4227
|
__wbg_useProgram_5bdae58fd9f9826f: function(arg0, arg1) {
|
|
2656
4228
|
arg0.useProgram(arg1);
|
|
2657
4229
|
},
|
|
2658
4230
|
__wbg_useProgram_e075c2902e420761: function(arg0, arg1) {
|
|
2659
4231
|
arg0.useProgram(arg1);
|
|
2660
4232
|
},
|
|
4233
|
+
__wbg_valueOf_02fd4d101b7553c7: function(arg0) {
|
|
4234
|
+
const ret = arg0.valueOf();
|
|
4235
|
+
return ret;
|
|
4236
|
+
},
|
|
2661
4237
|
__wbg_vertexAttribDivisorANGLE_659fb027198a47c3: function(arg0, arg1, arg2) {
|
|
2662
4238
|
arg0.vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
|
|
2663
4239
|
},
|
|
@@ -2673,6 +4249,14 @@ function __wbg_get_imports() {
|
|
|
2673
4249
|
__wbg_vertexAttribPointer_54d56b18f71a946d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2674
4250
|
arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
2675
4251
|
},
|
|
4252
|
+
__wbg_videoHeight_4070b88110b1ac0d: function(arg0) {
|
|
4253
|
+
const ret = arg0.videoHeight;
|
|
4254
|
+
return ret;
|
|
4255
|
+
},
|
|
4256
|
+
__wbg_videoWidth_ea74d0fb1493f025: function(arg0) {
|
|
4257
|
+
const ret = arg0.videoWidth;
|
|
4258
|
+
return ret;
|
|
4259
|
+
},
|
|
2676
4260
|
__wbg_viewport_16936692526e2ce6: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2677
4261
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
2678
4262
|
},
|
|
@@ -2682,56 +4266,98 @@ function __wbg_get_imports() {
|
|
|
2682
4266
|
__wbg_warn_13abc63e0d4b3527: function(arg0) {
|
|
2683
4267
|
console.warn(arg0);
|
|
2684
4268
|
},
|
|
4269
|
+
__wbg_width_3b5d66c5eac1eb28: function(arg0) {
|
|
4270
|
+
const ret = arg0.width;
|
|
4271
|
+
return ret;
|
|
4272
|
+
},
|
|
4273
|
+
__wbg_width_3d0dce3d9892e35e: function(arg0) {
|
|
4274
|
+
const ret = arg0.width;
|
|
4275
|
+
return ret;
|
|
4276
|
+
},
|
|
4277
|
+
__wbg_width_7a1b335e4a553dc3: function(arg0) {
|
|
4278
|
+
const ret = arg0.width;
|
|
4279
|
+
return ret;
|
|
4280
|
+
},
|
|
2685
4281
|
__wbg_width_8a9cc26363f10d5f: function(arg0) {
|
|
2686
4282
|
const ret = arg0.width;
|
|
2687
4283
|
return ret;
|
|
2688
4284
|
},
|
|
4285
|
+
__wbg_width_c9bfe09197f3b26e: function(arg0) {
|
|
4286
|
+
const ret = arg0.width;
|
|
4287
|
+
return ret;
|
|
4288
|
+
},
|
|
4289
|
+
__wbg_writeBuffer_f4bb3f54adfe1330: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
4290
|
+
arg0.writeBuffer(arg1, arg2, getArrayU8FromWasm0(arg3, arg4), arg5, arg6);
|
|
4291
|
+
}, arguments); },
|
|
4292
|
+
__wbg_writeTexture_30e592e8c061c3d9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4293
|
+
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
4294
|
+
}, arguments); },
|
|
2689
4295
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
2690
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
2691
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4296
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2376, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
4297
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true_);
|
|
4298
|
+
return ret;
|
|
4299
|
+
},
|
|
4300
|
+
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
4301
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 309, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
4302
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___sys__JsNullable_wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true_);
|
|
4303
|
+
return ret;
|
|
4304
|
+
},
|
|
4305
|
+
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
4306
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 313, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4307
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_);
|
|
2692
4308
|
return ret;
|
|
2693
4309
|
},
|
|
2694
|
-
|
|
4310
|
+
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
4311
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 309, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
4312
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___sys__JsNullable_wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true__130);
|
|
4313
|
+
return ret;
|
|
4314
|
+
},
|
|
4315
|
+
__wbindgen_generic_0000000000000005: function(arg0, arg1) {
|
|
4316
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 309, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
4317
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___sys__JsNullable_wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true__131);
|
|
4318
|
+
return ret;
|
|
4319
|
+
},
|
|
4320
|
+
__wbindgen_generic_0000000000000006: function(arg0) {
|
|
2695
4321
|
// Cast intrinsic for `F64 -> Externref`.
|
|
2696
4322
|
const ret = arg0;
|
|
2697
4323
|
return ret;
|
|
2698
4324
|
},
|
|
2699
|
-
|
|
4325
|
+
__wbindgen_generic_0000000000000007: function(arg0, arg1) {
|
|
2700
4326
|
// Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
|
|
2701
4327
|
const ret = getArrayF32FromWasm0(arg0, arg1);
|
|
2702
4328
|
return ret;
|
|
2703
4329
|
},
|
|
2704
|
-
|
|
4330
|
+
__wbindgen_generic_0000000000000008: function(arg0, arg1) {
|
|
2705
4331
|
// Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
|
|
2706
4332
|
const ret = getArrayI16FromWasm0(arg0, arg1);
|
|
2707
4333
|
return ret;
|
|
2708
4334
|
},
|
|
2709
|
-
|
|
4335
|
+
__wbindgen_generic_0000000000000009: function(arg0, arg1) {
|
|
2710
4336
|
// Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
|
|
2711
4337
|
const ret = getArrayI32FromWasm0(arg0, arg1);
|
|
2712
4338
|
return ret;
|
|
2713
4339
|
},
|
|
2714
|
-
|
|
4340
|
+
__wbindgen_generic_000000000000000a: function(arg0, arg1) {
|
|
2715
4341
|
// Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
|
|
2716
4342
|
const ret = getArrayI8FromWasm0(arg0, arg1);
|
|
2717
4343
|
return ret;
|
|
2718
4344
|
},
|
|
2719
|
-
|
|
4345
|
+
__wbindgen_generic_000000000000000b: function(arg0, arg1) {
|
|
2720
4346
|
// Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
|
|
2721
4347
|
const ret = getArrayU16FromWasm0(arg0, arg1);
|
|
2722
4348
|
return ret;
|
|
2723
4349
|
},
|
|
2724
|
-
|
|
4350
|
+
__wbindgen_generic_000000000000000c: function(arg0, arg1) {
|
|
2725
4351
|
// Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
|
|
2726
4352
|
const ret = getArrayU32FromWasm0(arg0, arg1);
|
|
2727
4353
|
return ret;
|
|
2728
4354
|
},
|
|
2729
|
-
|
|
4355
|
+
__wbindgen_generic_000000000000000d: function(arg0, arg1) {
|
|
2730
4356
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
2731
4357
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
2732
4358
|
return ret;
|
|
2733
4359
|
},
|
|
2734
|
-
|
|
4360
|
+
__wbindgen_generic_000000000000000e: function(arg0, arg1) {
|
|
2735
4361
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
2736
4362
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
2737
4363
|
return ret;
|
|
@@ -2748,32 +4374,138 @@ function __wbg_get_imports() {
|
|
|
2748
4374
|
};
|
|
2749
4375
|
return {
|
|
2750
4376
|
__proto__: null,
|
|
2751
|
-
"./
|
|
4377
|
+
"./isard_webgl2_bg.js": import0,
|
|
2752
4378
|
};
|
|
2753
4379
|
}
|
|
2754
4380
|
|
|
2755
|
-
function
|
|
2756
|
-
|
|
4381
|
+
function wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2) {
|
|
4382
|
+
wasm.wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2);
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4385
|
+
function wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true_(arg0, arg1, arg2) {
|
|
4386
|
+
const ret = wasm.wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true_(arg0, arg1, arg2);
|
|
4387
|
+
if (ret[1]) {
|
|
4388
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
4389
|
+
}
|
|
4390
|
+
}
|
|
4391
|
+
|
|
4392
|
+
function wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___sys__JsNullable_wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true_(arg0, arg1, arg2) {
|
|
4393
|
+
const ret = wasm.wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___sys__JsNullable_wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true_(arg0, arg1, arg2);
|
|
4394
|
+
if (ret[1]) {
|
|
4395
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
4396
|
+
}
|
|
4397
|
+
}
|
|
4398
|
+
|
|
4399
|
+
function wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___sys__JsNullable_wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true__130(arg0, arg1, arg2) {
|
|
4400
|
+
const ret = wasm.wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___sys__JsNullable_wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true__130(arg0, arg1, arg2);
|
|
4401
|
+
if (ret[1]) {
|
|
4402
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
4403
|
+
}
|
|
4404
|
+
}
|
|
4405
|
+
|
|
4406
|
+
function wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___sys__JsNullable_wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true__131(arg0, arg1, arg2) {
|
|
4407
|
+
const ret = wasm.wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___wasm_bindgen_4346cdda5a9d72ac___sys__JsNullable_wgpu_ce7204c20056c03e___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4346cdda5a9d72ac___JsError___true__131(arg0, arg1, arg2);
|
|
2757
4408
|
if (ret[1]) {
|
|
2758
4409
|
throw takeFromExternrefTable0(ret[0]);
|
|
2759
4410
|
}
|
|
2760
4411
|
}
|
|
2761
4412
|
|
|
2762
|
-
function
|
|
2763
|
-
wasm.
|
|
4413
|
+
function wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___js_sys_5e75a17f0680aa0e___Function_fn_wasm_bindgen_4346cdda5a9d72ac___JsValue_____wasm_bindgen_4346cdda5a9d72ac___sys__Undefined___js_sys_5e75a17f0680aa0e___Function_fn_wasm_bindgen_4346cdda5a9d72ac___JsValue_____wasm_bindgen_4346cdda5a9d72ac___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
4414
|
+
wasm.wasm_bindgen_4346cdda5a9d72ac___convert__closures_____invoke___js_sys_5e75a17f0680aa0e___Function_fn_wasm_bindgen_4346cdda5a9d72ac___JsValue_____wasm_bindgen_4346cdda5a9d72ac___sys__Undefined___js_sys_5e75a17f0680aa0e___Function_fn_wasm_bindgen_4346cdda5a9d72ac___JsValue_____wasm_bindgen_4346cdda5a9d72ac___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
2764
4415
|
}
|
|
2765
4416
|
|
|
2766
4417
|
|
|
2767
4418
|
const __wbindgen_enum_ColorSpaceConversion = ["none", "default"];
|
|
2768
4419
|
|
|
2769
4420
|
|
|
2770
|
-
const
|
|
4421
|
+
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
|
|
2771
4422
|
|
|
2772
4423
|
|
|
2773
|
-
const
|
|
4424
|
+
const __wbindgen_enum_GpuAutoLayoutMode = ["auto"];
|
|
4425
|
+
|
|
4426
|
+
|
|
4427
|
+
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"];
|
|
4428
|
+
|
|
4429
|
+
|
|
4430
|
+
const __wbindgen_enum_GpuBlendOperation = ["add", "subtract", "reverse-subtract", "min", "max"];
|
|
4431
|
+
|
|
4432
|
+
|
|
4433
|
+
const __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
|
|
4434
|
+
|
|
4435
|
+
|
|
4436
|
+
const __wbindgen_enum_GpuCanvasAlphaMode = ["opaque", "premultiplied"];
|
|
4437
|
+
|
|
4438
|
+
|
|
4439
|
+
const __wbindgen_enum_GpuCanvasToneMappingMode = ["standard", "extended"];
|
|
4440
|
+
|
|
4441
|
+
|
|
4442
|
+
const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equal", "greater", "not-equal", "greater-equal", "always"];
|
|
4443
|
+
|
|
4444
|
+
|
|
4445
|
+
const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
|
|
4446
|
+
|
|
4447
|
+
|
|
4448
|
+
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
4449
|
+
|
|
4450
|
+
|
|
4451
|
+
const __wbindgen_enum_GpuFilterMode = ["nearest", "linear"];
|
|
4452
|
+
|
|
4453
|
+
|
|
4454
|
+
const __wbindgen_enum_GpuFrontFace = ["ccw", "cw"];
|
|
4455
|
+
|
|
4456
|
+
|
|
4457
|
+
const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
|
|
4458
|
+
|
|
4459
|
+
|
|
4460
|
+
const __wbindgen_enum_GpuLoadOp = ["load", "clear"];
|
|
4461
|
+
|
|
4462
|
+
|
|
4463
|
+
const __wbindgen_enum_GpuMipmapFilterMode = ["nearest", "linear"];
|
|
4464
|
+
|
|
4465
|
+
|
|
4466
|
+
const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
|
|
2774
4467
|
|
|
2775
4468
|
|
|
2776
|
-
const
|
|
4469
|
+
const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
|
|
4470
|
+
|
|
4471
|
+
|
|
4472
|
+
const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
|
|
4473
|
+
|
|
4474
|
+
|
|
4475
|
+
const __wbindgen_enum_GpuStencilOperation = ["keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap"];
|
|
4476
|
+
|
|
4477
|
+
|
|
4478
|
+
const __wbindgen_enum_GpuStorageTextureAccess = ["write-only", "read-only", "read-write"];
|
|
4479
|
+
|
|
4480
|
+
|
|
4481
|
+
const __wbindgen_enum_GpuStoreOp = ["store", "discard"];
|
|
4482
|
+
|
|
4483
|
+
|
|
4484
|
+
const __wbindgen_enum_GpuTextureAspect = ["all", "stencil-only", "depth-only"];
|
|
4485
|
+
|
|
4486
|
+
|
|
4487
|
+
const __wbindgen_enum_GpuTextureDimension = ["1d", "2d", "3d"];
|
|
4488
|
+
|
|
4489
|
+
|
|
4490
|
+
const __wbindgen_enum_GpuTextureFormat = ["r8unorm", "r8snorm", "r8uint", "r8sint", "r16unorm", "r16snorm", "r16uint", "r16sint", "r16float", "rg8unorm", "rg8snorm", "rg8uint", "rg8sint", "r32uint", "r32sint", "r32float", "rg16unorm", "rg16snorm", "rg16uint", "rg16sint", "rg16float", "rgba8unorm", "rgba8unorm-srgb", "rgba8snorm", "rgba8uint", "rgba8sint", "bgra8unorm", "bgra8unorm-srgb", "rgb9e5ufloat", "rgb10a2uint", "rgb10a2unorm", "rg11b10ufloat", "rg32uint", "rg32sint", "rg32float", "rgba16unorm", "rgba16snorm", "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"];
|
|
4491
|
+
|
|
4492
|
+
|
|
4493
|
+
const __wbindgen_enum_GpuTextureSampleType = ["float", "unfilterable-float", "depth", "sint", "uint"];
|
|
4494
|
+
|
|
4495
|
+
|
|
4496
|
+
const __wbindgen_enum_GpuTextureViewDimension = ["1d", "2d", "2d-array", "cube", "cube-array", "3d"];
|
|
4497
|
+
|
|
4498
|
+
|
|
4499
|
+
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"];
|
|
4500
|
+
|
|
4501
|
+
|
|
4502
|
+
const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
|
|
4503
|
+
|
|
4504
|
+
|
|
4505
|
+
const __wbindgen_enum_PremultiplyAlpha = ["none", "premultiply", "default"];
|
|
4506
|
+
|
|
4507
|
+
|
|
4508
|
+
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
2777
4509
|
const EngineFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2778
4510
|
? { register: () => {}, unregister: () => {} }
|
|
2779
4511
|
: new FinalizationRegistry(ptr => wasm.__wbg_engine_free(ptr, 1));
|
|
@@ -2878,6 +4610,16 @@ function getArrayI8FromWasm0(ptr, len) {
|
|
|
2878
4610
|
return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
2879
4611
|
}
|
|
2880
4612
|
|
|
4613
|
+
function getArrayJsValueViewFromWasm0(ptr, len) {
|
|
4614
|
+
ptr = ptr >>> 0;
|
|
4615
|
+
const mem = getDataViewMemory0();
|
|
4616
|
+
const result = [];
|
|
4617
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
4618
|
+
result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
|
|
4619
|
+
}
|
|
4620
|
+
return result;
|
|
4621
|
+
}
|
|
4622
|
+
|
|
2881
4623
|
function getArrayU16FromWasm0(ptr, len) {
|
|
2882
4624
|
ptr = ptr >>> 0;
|
|
2883
4625
|
return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
@@ -3217,7 +4959,7 @@ async function __wbg_init(module_or_path) {
|
|
|
3217
4959
|
}
|
|
3218
4960
|
|
|
3219
4961
|
if (module_or_path === undefined) {
|
|
3220
|
-
module_or_path = new URL('
|
|
4962
|
+
module_or_path = new URL('isard_webgl2_bg.wasm', import.meta.url);
|
|
3221
4963
|
}
|
|
3222
4964
|
const imports = __wbg_get_imports();
|
|
3223
4965
|
|