@dcl-regenesislabs/bevy-explorer-web 0.1.0-19077895582.commit-4d42ae9 → 0.1.0-19141763342.commit-02654f3
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/.env +1 -1
- package/index.html +8 -3
- package/main.js +49 -8
- package/package.json +3 -3
- package/pkg/webgpu_build.d.ts +10 -10
- package/pkg/webgpu_build.js +71 -54
- package/pkg/webgpu_build_bg.wasm +0 -0
- package/pkg/webgpu_build_bg.wasm.d.ts +9 -9
package/.env
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
1
|
+
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-19141763342.commit-02654f3"
|
package/index.html
CHANGED
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
}
|
|
102
102
|
</style>
|
|
103
103
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
104
|
-
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
104
|
+
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-19141763342.commit-02654f3";</script>
|
|
105
105
|
</head>
|
|
106
106
|
<body>
|
|
107
107
|
<div id="header" class="container">
|
|
@@ -118,10 +118,15 @@
|
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
120
|
<div class="input-group">
|
|
121
|
-
<label for="
|
|
121
|
+
<label for="systemScene">System Scene:</label>
|
|
122
122
|
<input type="text" id="systemScene" name="systemScene" placeholder="">
|
|
123
123
|
</div>
|
|
124
124
|
|
|
125
|
+
<div class="input-group">
|
|
126
|
+
<label for="preview">Preview Mode: </label>
|
|
127
|
+
<input type="checkbox" id="preview" name="preview">
|
|
128
|
+
</div>
|
|
129
|
+
|
|
125
130
|
<button id="initButton" disabled="true">Loading...</button>
|
|
126
131
|
|
|
127
132
|
</div>
|
|
@@ -130,6 +135,6 @@
|
|
|
130
135
|
</div>
|
|
131
136
|
<script src="https://cdn.jsdelivr.net/npm/livekit-client/dist/livekit-client.umd.min.js"></script>
|
|
132
137
|
<script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script>
|
|
133
|
-
<script type="module" src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
138
|
+
<script type="module" src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-19141763342.commit-02654f3/main.js"></script>
|
|
134
139
|
</body>
|
|
135
140
|
</html>
|
package/main.js
CHANGED
|
@@ -5,16 +5,16 @@ import init, { engine_init, engine_run } from "./pkg/webgpu_build.js"; // Ensure
|
|
|
5
5
|
const initialRealmInput = document.getElementById("initialRealm");
|
|
6
6
|
const locationInput = document.getElementById("location");
|
|
7
7
|
const systemSceneInput = document.getElementById("systemScene");
|
|
8
|
+
const previewInput = document.getElementById("preview");
|
|
8
9
|
const initButton = document.getElementById("initButton");
|
|
9
10
|
const canvas = document.getElementById("canvas-parent");
|
|
10
11
|
const header = document.getElementById("header");
|
|
11
12
|
|
|
12
|
-
let initialRealmGroup = document.getElementById("initialRealm")?.parentElement;
|
|
13
|
-
let locationGroup = document.getElementById("location")?.parentElement;
|
|
14
|
-
let systemSceneGroup = document.getElementById("systemScene")?.parentElement;
|
|
15
|
-
|
|
16
13
|
var autoStart = true;
|
|
17
14
|
|
|
15
|
+
const DEFAULT_SERVER = "https://realm-provider-ea.decentraland.org/main"
|
|
16
|
+
const DEFAULT_SYSTEMSCENE = "https://dclexplorer.github.io/bevy-ui-scene/BevyUiScene"
|
|
17
|
+
|
|
18
18
|
function populateInputsFromQueryParams() {
|
|
19
19
|
const queryParams = new URLSearchParams(window.location.search);
|
|
20
20
|
|
|
@@ -27,24 +27,34 @@ function populateInputsFromQueryParams() {
|
|
|
27
27
|
if (initialRealmInput && initialRealmParam) {
|
|
28
28
|
initialRealmInput.value = decodeURIComponent(initialRealmParam);
|
|
29
29
|
} else if (initialRealmInput) {
|
|
30
|
-
initialRealmInput.value =
|
|
30
|
+
initialRealmInput.value = DEFAULT_SERVER;
|
|
31
31
|
}
|
|
32
|
+
|
|
32
33
|
const locationParam = queryParams.get("location");
|
|
33
34
|
if (locationInput && locationParam) {
|
|
34
35
|
locationInput.value = decodeURIComponent(locationParam);
|
|
35
36
|
} else if (locationInput) {
|
|
36
37
|
locationInput.value = "";
|
|
37
38
|
}
|
|
39
|
+
|
|
38
40
|
const systemSceneParam = queryParams.get("systemScene");
|
|
39
41
|
if (systemSceneInput && systemSceneParam) {
|
|
40
42
|
systemSceneInput.value = decodeURIComponent(systemSceneParam);
|
|
41
43
|
} else if (systemSceneInput) {
|
|
42
|
-
systemSceneInput.value =
|
|
44
|
+
systemSceneInput.value = DEFAULT_SYSTEMSCENE;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const previewParam = queryParams.get("preview");
|
|
48
|
+
if (previewInput && previewParam) {
|
|
49
|
+
previewInput.checked = true;
|
|
50
|
+
} else if (previewInput) {
|
|
51
|
+
previewInput.checked = false;
|
|
43
52
|
}
|
|
44
53
|
|
|
45
54
|
initialRealmInput.disabled = autoStart;
|
|
46
55
|
locationInput.disabled = autoStart;
|
|
47
56
|
systemSceneInput.disabled = autoStart;
|
|
57
|
+
previewInput.disabled = autoStart;
|
|
48
58
|
}
|
|
49
59
|
function hideHeader() {
|
|
50
60
|
if (header) header.style.display = "none";
|
|
@@ -227,7 +237,7 @@ async function initEngine() {
|
|
|
227
237
|
await new Promise((resolve, _reject) => {
|
|
228
238
|
const basePath = window.location.pathname.replace(/\/$/, ''); // removes trailing slash if present
|
|
229
239
|
const assetLoaderPath = new URL(`${basePath}/asset_loader.js`, window.location.origin);
|
|
230
|
-
|
|
240
|
+
|
|
231
241
|
const assetLoader = new Worker(assetLoaderPath, { type: "module" });
|
|
232
242
|
assetLoader.onmessage = (workerEvent) => {
|
|
233
243
|
if (workerEvent.data.type === "READY") {
|
|
@@ -259,6 +269,7 @@ function start() {
|
|
|
259
269
|
const initialRealm = initialRealmInput.value;
|
|
260
270
|
const location = locationInput.value;
|
|
261
271
|
const systemScene = systemSceneInput.value;
|
|
272
|
+
const preview = previewInput.checked;
|
|
262
273
|
console.log(
|
|
263
274
|
`[Main JS] "Go" button clicked. Initial Realm: "${initialRealm}", Location: "${location}", System Scene: "${systemScene}"`
|
|
264
275
|
);
|
|
@@ -271,7 +282,7 @@ function start() {
|
|
|
271
282
|
return "unknown";
|
|
272
283
|
})();
|
|
273
284
|
|
|
274
|
-
engine_run(platform, initialRealm, location, systemScene, true, 1e6);
|
|
285
|
+
engine_run(platform, initialRealm, location, systemScene, true, preview, 1e6);
|
|
275
286
|
}
|
|
276
287
|
|
|
277
288
|
initButton.onclick = start;
|
|
@@ -290,3 +301,33 @@ Promise.all([initEngine(), initGpuCache()])
|
|
|
290
301
|
initButton.textContent = "Load Failed";
|
|
291
302
|
});
|
|
292
303
|
|
|
304
|
+
window.set_url_params = (x, y, server, system_scene, preview) => {
|
|
305
|
+
try {
|
|
306
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
307
|
+
|
|
308
|
+
urlParams.set("location", `${x},${y}`);
|
|
309
|
+
|
|
310
|
+
if (server != DEFAULT_SERVER) {
|
|
311
|
+
urlParams.set("initialServer", realm);
|
|
312
|
+
} else {
|
|
313
|
+
urlParams.delete("initialServer");
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if (system_scene != DEFAULT_SYSTEMSCENE) {
|
|
317
|
+
urlParams.set("systemScene", system_scene);
|
|
318
|
+
} else {
|
|
319
|
+
urlParams.delete("systemScene");
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
if (preview) {
|
|
323
|
+
urlParams.set("preview", true);
|
|
324
|
+
} else {
|
|
325
|
+
urlParams.delete("preview");
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
const newPath = window.location.pathname + '?' + urlParams.toString();
|
|
329
|
+
history.replaceState(null, '', newPath);
|
|
330
|
+
} catch (e) {
|
|
331
|
+
console.log(`set url params failed: ${e}`);
|
|
332
|
+
}
|
|
333
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl-regenesislabs/bevy-explorer-web",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-19141763342.commit-02654f3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"postinstall": "node ./scripts/prebuild.js"
|
|
6
6
|
},
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/bevy-explorer.git"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
12
|
-
"commit": "
|
|
11
|
+
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-19141763342.commit-02654f3",
|
|
12
|
+
"commit": "02654f314d8caa1e79de739514fd870f53168e8a"
|
|
13
13
|
}
|
package/pkg/webgpu_build.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export function init_asset_load_thread(): void;
|
|
7
7
|
export function engine_init(): Promise<any>;
|
|
8
|
-
export function engine_run(platform: string, realm: string, location: string, system_scene: string, with_thread_loader: boolean, rabpf: number): void;
|
|
8
|
+
export function engine_run(platform: string, realm: string, location: string, system_scene: string, with_thread_loader: boolean, preview: boolean, rabpf: number): void;
|
|
9
9
|
export function op_webstorage_length(state: WorkerContext): number;
|
|
10
10
|
export function op_webstorage_key(state: WorkerContext, index: number): string | undefined;
|
|
11
11
|
export function op_webstorage_set(state: WorkerContext, key_name: string, value: string): void;
|
|
@@ -103,7 +103,7 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
103
103
|
|
|
104
104
|
export interface InitOutput {
|
|
105
105
|
readonly engine_init: () => any;
|
|
106
|
-
readonly engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
106
|
+
readonly engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
107
107
|
readonly init_asset_load_thread: () => void;
|
|
108
108
|
readonly op_webstorage_length: (a: number) => number;
|
|
109
109
|
readonly op_webstorage_key: (a: number, b: number) => [number, number];
|
|
@@ -204,19 +204,19 @@ export interface InitOutput {
|
|
|
204
204
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
205
205
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
206
206
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
207
|
-
readonly
|
|
208
|
-
readonly
|
|
207
|
+
readonly closure15251_externref_shim: (a: number, b: number, c: number, d: any) => void;
|
|
208
|
+
readonly closure47651_externref_shim: (a: number, b: number, c: any) => void;
|
|
209
209
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haf6d1d6eca19ebd1: (a: number, b: number) => void;
|
|
210
210
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h88ef16e697def3fb: (a: number, b: number) => void;
|
|
211
|
-
readonly
|
|
211
|
+
readonly closure51473_externref_shim: (a: number, b: number, c: any) => void;
|
|
212
212
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9bfa50ac2770910f: (a: number, b: number) => void;
|
|
213
213
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heedd0a6395901798: (a: number, b: number) => void;
|
|
214
|
-
readonly
|
|
214
|
+
readonly closure56516_externref_shim: (a: number, b: number, c: any) => void;
|
|
215
215
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0c78161a9a71767b: (a: number, b: number) => void;
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
216
|
+
readonly closure56529_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
217
|
+
readonly closure116689_externref_shim: (a: number, b: number, c: any) => void;
|
|
218
|
+
readonly closure131720_externref_shim: (a: number, b: number, c: any) => void;
|
|
219
|
+
readonly closure134624_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
220
220
|
readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
221
221
|
readonly __wbindgen_start: (a: number) => void;
|
|
222
222
|
}
|
package/pkg/webgpu_build.js
CHANGED
|
@@ -236,9 +236,10 @@ export function engine_init() {
|
|
|
236
236
|
* @param {string} location
|
|
237
237
|
* @param {string} system_scene
|
|
238
238
|
* @param {boolean} with_thread_loader
|
|
239
|
+
* @param {boolean} preview
|
|
239
240
|
* @param {number} rabpf
|
|
240
241
|
*/
|
|
241
|
-
export function engine_run(platform, realm, location, system_scene, with_thread_loader, rabpf) {
|
|
242
|
+
export function engine_run(platform, realm, location, system_scene, with_thread_loader, preview, rabpf) {
|
|
242
243
|
const ptr0 = passStringToWasm0(platform, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
243
244
|
const len0 = WASM_VECTOR_LEN;
|
|
244
245
|
const ptr1 = passStringToWasm0(realm, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -247,7 +248,7 @@ export function engine_run(platform, realm, location, system_scene, with_thread_
|
|
|
247
248
|
const len2 = WASM_VECTOR_LEN;
|
|
248
249
|
const ptr3 = passStringToWasm0(system_scene, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
249
250
|
const len3 = WASM_VECTOR_LEN;
|
|
250
|
-
wasm.engine_run(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, with_thread_loader, rabpf);
|
|
251
|
+
wasm.engine_run(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, with_thread_loader, preview, rabpf);
|
|
251
252
|
}
|
|
252
253
|
|
|
253
254
|
function _assertClass(instance, klass) {
|
|
@@ -1315,11 +1316,11 @@ export function is_super(state) {
|
|
|
1315
1316
|
}
|
|
1316
1317
|
|
|
1317
1318
|
function __wbg_adapter_62(arg0, arg1, arg2, arg3) {
|
|
1318
|
-
wasm.
|
|
1319
|
+
wasm.closure15251_externref_shim(arg0, arg1, arg2, arg3);
|
|
1319
1320
|
}
|
|
1320
1321
|
|
|
1321
1322
|
function __wbg_adapter_65(arg0, arg1, arg2) {
|
|
1322
|
-
wasm.
|
|
1323
|
+
wasm.closure47651_externref_shim(arg0, arg1, arg2);
|
|
1323
1324
|
}
|
|
1324
1325
|
|
|
1325
1326
|
function __wbg_adapter_68(arg0, arg1) {
|
|
@@ -1331,7 +1332,7 @@ function __wbg_adapter_71(arg0, arg1) {
|
|
|
1331
1332
|
}
|
|
1332
1333
|
|
|
1333
1334
|
function __wbg_adapter_74(arg0, arg1, arg2) {
|
|
1334
|
-
wasm.
|
|
1335
|
+
wasm.closure51473_externref_shim(arg0, arg1, arg2);
|
|
1335
1336
|
}
|
|
1336
1337
|
|
|
1337
1338
|
function __wbg_adapter_81(arg0, arg1) {
|
|
@@ -1343,7 +1344,7 @@ function __wbg_adapter_84(arg0, arg1) {
|
|
|
1343
1344
|
}
|
|
1344
1345
|
|
|
1345
1346
|
function __wbg_adapter_87(arg0, arg1, arg2) {
|
|
1346
|
-
wasm.
|
|
1347
|
+
wasm.closure56516_externref_shim(arg0, arg1, arg2);
|
|
1347
1348
|
}
|
|
1348
1349
|
|
|
1349
1350
|
function __wbg_adapter_98(arg0, arg1) {
|
|
@@ -1351,19 +1352,19 @@ function __wbg_adapter_98(arg0, arg1) {
|
|
|
1351
1352
|
}
|
|
1352
1353
|
|
|
1353
1354
|
function __wbg_adapter_105(arg0, arg1, arg2, arg3) {
|
|
1354
|
-
wasm.
|
|
1355
|
+
wasm.closure56529_externref_shim(arg0, arg1, arg2, arg3);
|
|
1355
1356
|
}
|
|
1356
1357
|
|
|
1357
1358
|
function __wbg_adapter_108(arg0, arg1, arg2) {
|
|
1358
|
-
wasm.
|
|
1359
|
+
wasm.closure116689_externref_shim(arg0, arg1, arg2);
|
|
1359
1360
|
}
|
|
1360
1361
|
|
|
1361
1362
|
function __wbg_adapter_111(arg0, arg1, arg2) {
|
|
1362
|
-
wasm.
|
|
1363
|
+
wasm.closure131720_externref_shim(arg0, arg1, arg2);
|
|
1363
1364
|
}
|
|
1364
1365
|
|
|
1365
|
-
function
|
|
1366
|
-
wasm.
|
|
1366
|
+
function __wbg_adapter_1523(arg0, arg1, arg2, arg3) {
|
|
1367
|
+
wasm.closure134624_externref_shim(arg0, arg1, arg2, arg3);
|
|
1367
1368
|
}
|
|
1368
1369
|
|
|
1369
1370
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
@@ -2660,7 +2661,7 @@ function __wbg_get_imports() {
|
|
|
2660
2661
|
const a = state0.a;
|
|
2661
2662
|
state0.a = 0;
|
|
2662
2663
|
try {
|
|
2663
|
-
return
|
|
2664
|
+
return __wbg_adapter_1523(a, state0.b, arg0, arg1);
|
|
2664
2665
|
} finally {
|
|
2665
2666
|
state0.a = a;
|
|
2666
2667
|
}
|
|
@@ -3758,6 +3759,22 @@ function __wbg_get_imports() {
|
|
|
3758
3759
|
imports.wbg.__wbg_settype_b4b2fc6fbad39aeb = function(arg0, arg1) {
|
|
3759
3760
|
arg0.type = __wbindgen_enum_GpuSamplerBindingType[arg1];
|
|
3760
3761
|
};
|
|
3762
|
+
imports.wbg.__wbg_seturlparams_954efdcc1f22d897 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3763
|
+
let deferred0_0;
|
|
3764
|
+
let deferred0_1;
|
|
3765
|
+
try {
|
|
3766
|
+
deferred0_0 = arg2;
|
|
3767
|
+
deferred0_1 = arg3;
|
|
3768
|
+
let v1;
|
|
3769
|
+
if (arg4 !== 0) {
|
|
3770
|
+
v1 = getStringFromWasm0(arg4, arg5).slice();
|
|
3771
|
+
wasm.__wbindgen_free(arg4, arg5 * 1, 1);
|
|
3772
|
+
}
|
|
3773
|
+
window.set_url_params(arg0, arg1, getStringFromWasm0(arg2, arg3), v1, arg6 !== 0);
|
|
3774
|
+
} finally {
|
|
3775
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3776
|
+
}
|
|
3777
|
+
};
|
|
3761
3778
|
imports.wbg.__wbg_setusage_3bf7bce356282919 = function(arg0, arg1) {
|
|
3762
3779
|
arg0.usage = arg1 >>> 0;
|
|
3763
3780
|
};
|
|
@@ -4155,88 +4172,88 @@ function __wbg_get_imports() {
|
|
|
4155
4172
|
const ret = false;
|
|
4156
4173
|
return ret;
|
|
4157
4174
|
};
|
|
4158
|
-
imports.wbg.
|
|
4159
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4175
|
+
imports.wbg.__wbindgen_closure_wrapper149437 = function(arg0, arg1, arg2) {
|
|
4176
|
+
const ret = makeMutClosure(arg0, arg1, 116690, __wbg_adapter_108);
|
|
4160
4177
|
return ret;
|
|
4161
4178
|
};
|
|
4162
|
-
imports.wbg.
|
|
4163
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4179
|
+
imports.wbg.__wbindgen_closure_wrapper169888 = function(arg0, arg1, arg2) {
|
|
4180
|
+
const ret = makeMutClosure(arg0, arg1, 131721, __wbg_adapter_111);
|
|
4164
4181
|
return ret;
|
|
4165
4182
|
};
|
|
4166
|
-
imports.wbg.
|
|
4167
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4183
|
+
imports.wbg.__wbindgen_closure_wrapper169890 = function(arg0, arg1, arg2) {
|
|
4184
|
+
const ret = makeMutClosure(arg0, arg1, 131721, __wbg_adapter_111);
|
|
4168
4185
|
return ret;
|
|
4169
4186
|
};
|
|
4170
|
-
imports.wbg.
|
|
4171
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4187
|
+
imports.wbg.__wbindgen_closure_wrapper20136 = function(arg0, arg1, arg2) {
|
|
4188
|
+
const ret = makeMutClosure(arg0, arg1, 15252, __wbg_adapter_62);
|
|
4172
4189
|
return ret;
|
|
4173
4190
|
};
|
|
4174
|
-
imports.wbg.
|
|
4175
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4191
|
+
imports.wbg.__wbindgen_closure_wrapper64007 = function(arg0, arg1, arg2) {
|
|
4192
|
+
const ret = makeMutClosure(arg0, arg1, 47652, __wbg_adapter_65);
|
|
4176
4193
|
return ret;
|
|
4177
4194
|
};
|
|
4178
|
-
imports.wbg.
|
|
4179
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4195
|
+
imports.wbg.__wbindgen_closure_wrapper64195 = function(arg0, arg1, arg2) {
|
|
4196
|
+
const ret = makeMutClosure(arg0, arg1, 47757, __wbg_adapter_68);
|
|
4180
4197
|
return ret;
|
|
4181
4198
|
};
|
|
4182
|
-
imports.wbg.
|
|
4183
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4199
|
+
imports.wbg.__wbindgen_closure_wrapper68213 = function(arg0, arg1, arg2) {
|
|
4200
|
+
const ret = makeMutClosure(arg0, arg1, 50827, __wbg_adapter_71);
|
|
4184
4201
|
return ret;
|
|
4185
4202
|
};
|
|
4186
|
-
imports.wbg.
|
|
4187
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4203
|
+
imports.wbg.__wbindgen_closure_wrapper70251 = function(arg0, arg1, arg2) {
|
|
4204
|
+
const ret = makeMutClosure(arg0, arg1, 51474, __wbg_adapter_74);
|
|
4188
4205
|
return ret;
|
|
4189
4206
|
};
|
|
4190
|
-
imports.wbg.
|
|
4191
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4207
|
+
imports.wbg.__wbindgen_closure_wrapper70253 = function(arg0, arg1, arg2) {
|
|
4208
|
+
const ret = makeMutClosure(arg0, arg1, 51474, __wbg_adapter_74);
|
|
4192
4209
|
return ret;
|
|
4193
4210
|
};
|
|
4194
|
-
imports.wbg.
|
|
4195
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4211
|
+
imports.wbg.__wbindgen_closure_wrapper70255 = function(arg0, arg1, arg2) {
|
|
4212
|
+
const ret = makeMutClosure(arg0, arg1, 51474, __wbg_adapter_74);
|
|
4196
4213
|
return ret;
|
|
4197
4214
|
};
|
|
4198
|
-
imports.wbg.
|
|
4199
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4215
|
+
imports.wbg.__wbindgen_closure_wrapper74106 = function(arg0, arg1, arg2) {
|
|
4216
|
+
const ret = makeMutClosure(arg0, arg1, 54699, __wbg_adapter_81);
|
|
4200
4217
|
return ret;
|
|
4201
4218
|
};
|
|
4202
|
-
imports.wbg.
|
|
4203
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4219
|
+
imports.wbg.__wbindgen_closure_wrapper74925 = function(arg0, arg1, arg2) {
|
|
4220
|
+
const ret = makeMutClosure(arg0, arg1, 55016, __wbg_adapter_84);
|
|
4204
4221
|
return ret;
|
|
4205
4222
|
};
|
|
4206
|
-
imports.wbg.
|
|
4207
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4223
|
+
imports.wbg.__wbindgen_closure_wrapper77165 = function(arg0, arg1, arg2) {
|
|
4224
|
+
const ret = makeMutClosure(arg0, arg1, 56517, __wbg_adapter_87);
|
|
4208
4225
|
return ret;
|
|
4209
4226
|
};
|
|
4210
|
-
imports.wbg.
|
|
4211
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4227
|
+
imports.wbg.__wbindgen_closure_wrapper77167 = function(arg0, arg1, arg2) {
|
|
4228
|
+
const ret = makeMutClosure(arg0, arg1, 56517, __wbg_adapter_87);
|
|
4212
4229
|
return ret;
|
|
4213
4230
|
};
|
|
4214
|
-
imports.wbg.
|
|
4215
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4231
|
+
imports.wbg.__wbindgen_closure_wrapper77169 = function(arg0, arg1, arg2) {
|
|
4232
|
+
const ret = makeMutClosure(arg0, arg1, 56517, __wbg_adapter_87);
|
|
4216
4233
|
return ret;
|
|
4217
4234
|
};
|
|
4218
|
-
imports.wbg.
|
|
4219
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4235
|
+
imports.wbg.__wbindgen_closure_wrapper77171 = function(arg0, arg1, arg2) {
|
|
4236
|
+
const ret = makeMutClosure(arg0, arg1, 56517, __wbg_adapter_87);
|
|
4220
4237
|
return ret;
|
|
4221
4238
|
};
|
|
4222
|
-
imports.wbg.
|
|
4223
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4239
|
+
imports.wbg.__wbindgen_closure_wrapper77173 = function(arg0, arg1, arg2) {
|
|
4240
|
+
const ret = makeMutClosure(arg0, arg1, 56517, __wbg_adapter_87);
|
|
4224
4241
|
return ret;
|
|
4225
4242
|
};
|
|
4226
|
-
imports.wbg.
|
|
4227
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4243
|
+
imports.wbg.__wbindgen_closure_wrapper77175 = function(arg0, arg1, arg2) {
|
|
4244
|
+
const ret = makeMutClosure(arg0, arg1, 56517, __wbg_adapter_98);
|
|
4228
4245
|
return ret;
|
|
4229
4246
|
};
|
|
4230
|
-
imports.wbg.
|
|
4231
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4247
|
+
imports.wbg.__wbindgen_closure_wrapper77177 = function(arg0, arg1, arg2) {
|
|
4248
|
+
const ret = makeMutClosure(arg0, arg1, 56517, __wbg_adapter_87);
|
|
4232
4249
|
return ret;
|
|
4233
4250
|
};
|
|
4234
|
-
imports.wbg.
|
|
4235
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4251
|
+
imports.wbg.__wbindgen_closure_wrapper77179 = function(arg0, arg1, arg2) {
|
|
4252
|
+
const ret = makeMutClosure(arg0, arg1, 56517, __wbg_adapter_87);
|
|
4236
4253
|
return ret;
|
|
4237
4254
|
};
|
|
4238
|
-
imports.wbg.
|
|
4239
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4255
|
+
imports.wbg.__wbindgen_closure_wrapper77181 = function(arg0, arg1, arg2) {
|
|
4256
|
+
const ret = makeMutClosure(arg0, arg1, 56517, __wbg_adapter_105);
|
|
4240
4257
|
return ret;
|
|
4241
4258
|
};
|
|
4242
4259
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/pkg/webgpu_build_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const engine_init: () => any;
|
|
4
|
-
export const engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
4
|
+
export const engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
5
5
|
export const init_asset_load_thread: () => void;
|
|
6
6
|
export const op_webstorage_length: (a: number) => number;
|
|
7
7
|
export const op_webstorage_key: (a: number, b: number) => [number, number];
|
|
@@ -102,18 +102,18 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
102
102
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
103
103
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
104
104
|
export const __externref_table_dealloc: (a: number) => void;
|
|
105
|
-
export const
|
|
106
|
-
export const
|
|
105
|
+
export const closure15251_externref_shim: (a: number, b: number, c: number, d: any) => void;
|
|
106
|
+
export const closure47651_externref_shim: (a: number, b: number, c: any) => void;
|
|
107
107
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haf6d1d6eca19ebd1: (a: number, b: number) => void;
|
|
108
108
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h88ef16e697def3fb: (a: number, b: number) => void;
|
|
109
|
-
export const
|
|
109
|
+
export const closure51473_externref_shim: (a: number, b: number, c: any) => void;
|
|
110
110
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9bfa50ac2770910f: (a: number, b: number) => void;
|
|
111
111
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heedd0a6395901798: (a: number, b: number) => void;
|
|
112
|
-
export const
|
|
112
|
+
export const closure56516_externref_shim: (a: number, b: number, c: any) => void;
|
|
113
113
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0c78161a9a71767b: (a: number, b: number) => void;
|
|
114
|
-
export const
|
|
115
|
-
export const
|
|
116
|
-
export const
|
|
117
|
-
export const
|
|
114
|
+
export const closure56529_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
115
|
+
export const closure116689_externref_shim: (a: number, b: number, c: any) => void;
|
|
116
|
+
export const closure131720_externref_shim: (a: number, b: number, c: any) => void;
|
|
117
|
+
export const closure134624_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
118
118
|
export const __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
119
119
|
export const __wbindgen_start: (a: number) => void;
|