@almadar/kernel 19.0.1 → 19.1.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/package.json +4 -2
- package/pkg/orbital_wasm.d.ts +153 -2
- package/pkg/orbital_wasm.js +1697 -38
- package/pkg/orbital_wasm_bg.wasm +0 -0
- package/pkg/orbital_wasm_bg.wasm.d.ts +41 -2
- package/pkg-client/orbital_wasm.d.ts +153 -2
- package/pkg-client/orbital_wasm.js +1697 -38
- package/pkg-client/orbital_wasm_bg.wasm +0 -0
- package/pkg-client/orbital_wasm_bg.wasm.d.ts +41 -2
|
@@ -1,5 +1,203 @@
|
|
|
1
1
|
/* @ts-self-types="./orbital_wasm.d.ts" */
|
|
2
2
|
|
|
3
|
+
export class Canvas3D {
|
|
4
|
+
static __wrap(ptr) {
|
|
5
|
+
const obj = Object.create(Canvas3D.prototype);
|
|
6
|
+
obj.__wbg_ptr = ptr;
|
|
7
|
+
Canvas3DFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
8
|
+
return obj;
|
|
9
|
+
}
|
|
10
|
+
__destroy_into_raw() {
|
|
11
|
+
const ptr = this.__wbg_ptr;
|
|
12
|
+
this.__wbg_ptr = 0;
|
|
13
|
+
Canvas3DFinalization.unregister(this);
|
|
14
|
+
return ptr;
|
|
15
|
+
}
|
|
16
|
+
free() {
|
|
17
|
+
const ptr = this.__destroy_into_raw();
|
|
18
|
+
wasm.__wbg_canvas3d_free(ptr, 0);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The camera as the user moved it, as JSON (`eye`, `target`, `up`, `projection`, `near`, `far`).
|
|
22
|
+
* @returns {string}
|
|
23
|
+
*/
|
|
24
|
+
camera() {
|
|
25
|
+
let deferred1_0;
|
|
26
|
+
let deferred1_1;
|
|
27
|
+
try {
|
|
28
|
+
const ret = wasm.canvas3d_camera(this.__wbg_ptr);
|
|
29
|
+
deferred1_0 = ret[0];
|
|
30
|
+
deferred1_1 = ret[1];
|
|
31
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
32
|
+
} finally {
|
|
33
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Opens (or joins) the shared device and makes a surface on `canvas`.
|
|
38
|
+
* @param {HTMLCanvasElement} canvas
|
|
39
|
+
* @returns {Promise<Canvas3D>}
|
|
40
|
+
*/
|
|
41
|
+
static create(canvas) {
|
|
42
|
+
const ret = wasm.canvas3d_create(canvas);
|
|
43
|
+
return ret;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Advances the canvas clock to `now_ms` (`performance.now()`) with the page clock `epoch_ms`
|
|
47
|
+
* (`performance.timeOrigin + now`); true when the frame changed.
|
|
48
|
+
* @param {number} now_ms
|
|
49
|
+
* @param {number} epoch_ms
|
|
50
|
+
* @returns {boolean}
|
|
51
|
+
*/
|
|
52
|
+
frame(now_ms, epoch_ms) {
|
|
53
|
+
const ret = wasm.canvas3d_frame(this.__wbg_ptr, now_ms, epoch_ms);
|
|
54
|
+
if (ret[2]) {
|
|
55
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
56
|
+
}
|
|
57
|
+
return ret[0] !== 0;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @param {string} target_json
|
|
61
|
+
* @returns {boolean}
|
|
62
|
+
*/
|
|
63
|
+
lookAt(target_json) {
|
|
64
|
+
const ptr0 = passStringToWasm0(target_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
65
|
+
const len0 = WASM_VECTOR_LEN;
|
|
66
|
+
const ret = wasm.canvas3d_lookAt(this.__wbg_ptr, ptr0, len0);
|
|
67
|
+
if (ret[2]) {
|
|
68
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
69
|
+
}
|
|
70
|
+
return ret[0] !== 0;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @param {number} id
|
|
74
|
+
* @param {number} x
|
|
75
|
+
* @param {number} y
|
|
76
|
+
* @param {number} button_code
|
|
77
|
+
* @param {boolean} touch
|
|
78
|
+
*/
|
|
79
|
+
pointerDown(id, x, y, button_code, touch) {
|
|
80
|
+
wasm.canvas3d_pointerDown(this.__wbg_ptr, id, x, y, button_code, touch);
|
|
81
|
+
}
|
|
82
|
+
pointerLeave() {
|
|
83
|
+
wasm.canvas3d_pointerLeave(this.__wbg_ptr);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @param {number} id
|
|
87
|
+
* @param {number} x
|
|
88
|
+
* @param {number} y
|
|
89
|
+
* @returns {boolean}
|
|
90
|
+
*/
|
|
91
|
+
pointerMove(id, x, y) {
|
|
92
|
+
const ret = wasm.canvas3d_pointerMove(this.__wbg_ptr, id, x, y);
|
|
93
|
+
if (ret[2]) {
|
|
94
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
95
|
+
}
|
|
96
|
+
return ret[0] !== 0;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* What the release did, as JSON: `{"unit":{"id","x","z"}}`, `{"tile":{"x","z"}}`, `{"select":{"id"}}`,
|
|
100
|
+
* `{"move":{"id","x","y"}}`, `{"shape":<the pattern's click payload>}`, or `null`.
|
|
101
|
+
* @param {number} id
|
|
102
|
+
* @param {number} x
|
|
103
|
+
* @param {number} y
|
|
104
|
+
* @param {boolean} unit_events
|
|
105
|
+
* @param {boolean} tile_events
|
|
106
|
+
* @returns {string}
|
|
107
|
+
*/
|
|
108
|
+
pointerUp(id, x, y, unit_events, tile_events) {
|
|
109
|
+
let deferred2_0;
|
|
110
|
+
let deferred2_1;
|
|
111
|
+
try {
|
|
112
|
+
const ret = wasm.canvas3d_pointerUp(this.__wbg_ptr, id, x, y, unit_events, tile_events);
|
|
113
|
+
var ptr1 = ret[0];
|
|
114
|
+
var len1 = ret[1];
|
|
115
|
+
if (ret[3]) {
|
|
116
|
+
ptr1 = 0; len1 = 0;
|
|
117
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
118
|
+
}
|
|
119
|
+
deferred2_0 = ptr1;
|
|
120
|
+
deferred2_1 = len1;
|
|
121
|
+
return getStringFromWasm0(ptr1, len1);
|
|
122
|
+
} finally {
|
|
123
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
render() {
|
|
127
|
+
const ret = wasm.canvas3d_render(this.__wbg_ptr);
|
|
128
|
+
if (ret[1]) {
|
|
129
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @returns {boolean}
|
|
134
|
+
*/
|
|
135
|
+
resetCamera() {
|
|
136
|
+
const ret = wasm.canvas3d_resetCamera(this.__wbg_ptr);
|
|
137
|
+
return ret !== 0;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @param {number} css_width
|
|
141
|
+
* @param {number} css_height
|
|
142
|
+
* @param {number} pixel_ratio
|
|
143
|
+
*/
|
|
144
|
+
resize(css_width, css_height, pixel_ratio) {
|
|
145
|
+
wasm.canvas3d_resize(this.__wbg_ptr, css_width, css_height, pixel_ratio);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* `[x, y, z]` as JSON; true when the camera moved.
|
|
149
|
+
* @param {string} position_json
|
|
150
|
+
* @returns {boolean}
|
|
151
|
+
*/
|
|
152
|
+
setCameraPosition(position_json) {
|
|
153
|
+
const ptr0 = passStringToWasm0(position_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
154
|
+
const len0 = WASM_VECTOR_LEN;
|
|
155
|
+
const ret = wasm.canvas3d_setCameraPosition(this.__wbg_ptr, ptr0, len0);
|
|
156
|
+
if (ret[2]) {
|
|
157
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
158
|
+
}
|
|
159
|
+
return ret[0] !== 0;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* @param {boolean} reduced
|
|
163
|
+
*/
|
|
164
|
+
setReducedMotion(reduced) {
|
|
165
|
+
wasm.canvas3d_setReducedMotion(this.__wbg_ptr, reduced);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* `node_json`: the 3D render node; `theme_json`: the page's resolved canvas theme, or `null` for none.
|
|
169
|
+
* @param {string} node_json
|
|
170
|
+
* @param {string} theme_json
|
|
171
|
+
*/
|
|
172
|
+
setScene(node_json, theme_json) {
|
|
173
|
+
const ptr0 = passStringToWasm0(node_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
174
|
+
const len0 = WASM_VECTOR_LEN;
|
|
175
|
+
const ptr1 = passStringToWasm0(theme_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
176
|
+
const len1 = WASM_VECTOR_LEN;
|
|
177
|
+
const ret = wasm.canvas3d_setScene(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
178
|
+
if (ret[1]) {
|
|
179
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* False when this canvas runs on the WebGL2 fallback (no GPU drawables there).
|
|
184
|
+
* @returns {boolean}
|
|
185
|
+
*/
|
|
186
|
+
webgpu() {
|
|
187
|
+
const ret = wasm.canvas3d_webgpu(this.__wbg_ptr);
|
|
188
|
+
return ret !== 0;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* @param {number} delta_y
|
|
192
|
+
* @returns {boolean}
|
|
193
|
+
*/
|
|
194
|
+
wheel(delta_y) {
|
|
195
|
+
const ret = wasm.canvas3d_wheel(this.__wbg_ptr, delta_y);
|
|
196
|
+
return ret !== 0;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
if (Symbol.dispose) Canvas3D.prototype[Symbol.dispose] = Canvas3D.prototype.free;
|
|
200
|
+
|
|
3
201
|
/**
|
|
4
202
|
* The encrypted credential store for a host whose rows answer asynchronously: the host lists its rows and `load`s them,
|
|
5
203
|
* runs an operation, then applies `takeWrites()` to its medium in order. See `credentials::VaultApi`.
|
|
@@ -408,6 +606,29 @@ export class CredentialVault {
|
|
|
408
606
|
}
|
|
409
607
|
if (Symbol.dispose) CredentialVault.prototype[Symbol.dispose] = CredentialVault.prototype.free;
|
|
410
608
|
|
|
609
|
+
export class GpuHost {
|
|
610
|
+
__destroy_into_raw() {
|
|
611
|
+
const ptr = this.__wbg_ptr;
|
|
612
|
+
this.__wbg_ptr = 0;
|
|
613
|
+
GpuHostFinalization.unregister(this);
|
|
614
|
+
return ptr;
|
|
615
|
+
}
|
|
616
|
+
free() {
|
|
617
|
+
const ptr = this.__destroy_into_raw();
|
|
618
|
+
wasm.__wbg_gpuhost_free(ptr, 0);
|
|
619
|
+
}
|
|
620
|
+
closeAll() {
|
|
621
|
+
wasm.gpuhost_closeAll(this.__wbg_ptr);
|
|
622
|
+
}
|
|
623
|
+
constructor() {
|
|
624
|
+
const ret = wasm.gpuhost_new();
|
|
625
|
+
this.__wbg_ptr = ret;
|
|
626
|
+
GpuHostFinalization.register(this, this.__wbg_ptr, this);
|
|
627
|
+
return this;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
if (Symbol.dispose) GpuHost.prototype[Symbol.dispose] = GpuHost.prototype.free;
|
|
631
|
+
|
|
411
632
|
export class Kernel {
|
|
412
633
|
__destroy_into_raw() {
|
|
413
634
|
const ptr = this.__wbg_ptr;
|
|
@@ -580,6 +801,38 @@ export class Kernel {
|
|
|
580
801
|
wasm.__wbindgen_free(deferred6_0, deferred6_1, 1);
|
|
581
802
|
}
|
|
582
803
|
}
|
|
804
|
+
/**
|
|
805
|
+
* Dispatch a held completion: `event` on `traitName` with the payload held under `heldPayload`, taken once.
|
|
806
|
+
* @param {string} trait_name
|
|
807
|
+
* @param {string | null | undefined} entity_id
|
|
808
|
+
* @param {string} event
|
|
809
|
+
* @param {number} held_payload
|
|
810
|
+
* @returns {string}
|
|
811
|
+
*/
|
|
812
|
+
dispatchHeld(trait_name, entity_id, event, held_payload) {
|
|
813
|
+
let deferred5_0;
|
|
814
|
+
let deferred5_1;
|
|
815
|
+
try {
|
|
816
|
+
const ptr0 = passStringToWasm0(trait_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
817
|
+
const len0 = WASM_VECTOR_LEN;
|
|
818
|
+
var ptr1 = isLikeNone(entity_id) ? 0 : passStringToWasm0(entity_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
819
|
+
var len1 = WASM_VECTOR_LEN;
|
|
820
|
+
const ptr2 = passStringToWasm0(event, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
821
|
+
const len2 = WASM_VECTOR_LEN;
|
|
822
|
+
const ret = wasm.kernel_dispatchHeld(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, held_payload);
|
|
823
|
+
var ptr4 = ret[0];
|
|
824
|
+
var len4 = ret[1];
|
|
825
|
+
if (ret[3]) {
|
|
826
|
+
ptr4 = 0; len4 = 0;
|
|
827
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
828
|
+
}
|
|
829
|
+
deferred5_0 = ptr4;
|
|
830
|
+
deferred5_1 = len4;
|
|
831
|
+
return getStringFromWasm0(ptr4, len4);
|
|
832
|
+
} finally {
|
|
833
|
+
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
583
836
|
/**
|
|
584
837
|
* The kernel's dispatch mode for a registered trait, as JSON text.
|
|
585
838
|
* @param {string} trait_name
|
|
@@ -638,6 +891,18 @@ export class Kernel {
|
|
|
638
891
|
wasm.__wbindgen_free(deferred6_0, deferred6_1, 1);
|
|
639
892
|
}
|
|
640
893
|
}
|
|
894
|
+
/**
|
|
895
|
+
* Drop a held completion payload no dispatch will take (the host could not deliver it).
|
|
896
|
+
* @param {number} held_payload
|
|
897
|
+
* @returns {boolean}
|
|
898
|
+
*/
|
|
899
|
+
dropHeldPayload(held_payload) {
|
|
900
|
+
const ret = wasm.kernel_dropHeldPayload(this.__wbg_ptr, held_payload);
|
|
901
|
+
if (ret[2]) {
|
|
902
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
903
|
+
}
|
|
904
|
+
return ret[0] !== 0;
|
|
905
|
+
}
|
|
641
906
|
/**
|
|
642
907
|
* @param {number} flight
|
|
643
908
|
* @returns {boolean}
|
|
@@ -798,6 +1063,17 @@ export class Kernel {
|
|
|
798
1063
|
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
799
1064
|
}
|
|
800
1065
|
}
|
|
1066
|
+
/**
|
|
1067
|
+
* Install the GPU answerer: from now on every `gpu/` ask is held in the kernel and answered here in ask order, and
|
|
1068
|
+
* each outcome's route event is handed to `onCompletion` (see [`drain_client_gpu`]) for the host to dispatch with
|
|
1069
|
+
* `dispatchHeld`, so no handle or byte crosses to JavaScript.
|
|
1070
|
+
* @param {GpuHost} gpu
|
|
1071
|
+
* @param {Function} on_completion
|
|
1072
|
+
*/
|
|
1073
|
+
installGpu(gpu, on_completion) {
|
|
1074
|
+
_assertClass(gpu, GpuHost);
|
|
1075
|
+
wasm.kernel_installGpu(this.__wbg_ptr, gpu.__wbg_ptr, on_completion);
|
|
1076
|
+
}
|
|
801
1077
|
/**
|
|
802
1078
|
* @returns {string}
|
|
803
1079
|
*/
|
|
@@ -1607,6 +1883,131 @@ export class MemoryStore {
|
|
|
1607
1883
|
}
|
|
1608
1884
|
if (Symbol.dispose) MemoryStore.prototype[Symbol.dispose] = MemoryStore.prototype.free;
|
|
1609
1885
|
|
|
1886
|
+
export class SceneCanvas {
|
|
1887
|
+
static __wrap(ptr) {
|
|
1888
|
+
const obj = Object.create(SceneCanvas.prototype);
|
|
1889
|
+
obj.__wbg_ptr = ptr;
|
|
1890
|
+
SceneCanvasFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1891
|
+
return obj;
|
|
1892
|
+
}
|
|
1893
|
+
__destroy_into_raw() {
|
|
1894
|
+
const ptr = this.__wbg_ptr;
|
|
1895
|
+
this.__wbg_ptr = 0;
|
|
1896
|
+
SceneCanvasFinalization.unregister(this);
|
|
1897
|
+
return ptr;
|
|
1898
|
+
}
|
|
1899
|
+
free() {
|
|
1900
|
+
const ptr = this.__destroy_into_raw();
|
|
1901
|
+
wasm.__wbg_scenecanvas_free(ptr, 0);
|
|
1902
|
+
}
|
|
1903
|
+
/**
|
|
1904
|
+
* @param {HTMLCanvasElement} canvas
|
|
1905
|
+
* @returns {Promise<SceneCanvas>}
|
|
1906
|
+
*/
|
|
1907
|
+
static create(canvas) {
|
|
1908
|
+
const ret = wasm.scenecanvas_create(canvas);
|
|
1909
|
+
return ret;
|
|
1910
|
+
}
|
|
1911
|
+
/**
|
|
1912
|
+
* @param {number} x
|
|
1913
|
+
* @param {number} y
|
|
1914
|
+
*/
|
|
1915
|
+
doubleTap(x, y) {
|
|
1916
|
+
wasm.scenecanvas_doubleTap(this.__wbg_ptr, x, y);
|
|
1917
|
+
}
|
|
1918
|
+
/**
|
|
1919
|
+
* Advances the scene clock to `now_ms`; true while the page should keep drawing.
|
|
1920
|
+
* @param {number} now_ms
|
|
1921
|
+
* @returns {boolean}
|
|
1922
|
+
*/
|
|
1923
|
+
frame(now_ms) {
|
|
1924
|
+
const ret = wasm.scenecanvas_frame(this.__wbg_ptr, now_ms);
|
|
1925
|
+
return ret !== 0;
|
|
1926
|
+
}
|
|
1927
|
+
/**
|
|
1928
|
+
* A pointer event in CSS pixels: `touch-down`, `touch-move`, `touch-up` or `touch-cancel`.
|
|
1929
|
+
* @param {string} kind
|
|
1930
|
+
* @param {number} x
|
|
1931
|
+
* @param {number} y
|
|
1932
|
+
* @param {number} button
|
|
1933
|
+
*/
|
|
1934
|
+
input(kind, x, y, button) {
|
|
1935
|
+
const ptr0 = passStringToWasm0(kind, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1936
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1937
|
+
wasm.scenecanvas_input(this.__wbg_ptr, ptr0, len0, x, y, button);
|
|
1938
|
+
}
|
|
1939
|
+
render() {
|
|
1940
|
+
const ret = wasm.scenecanvas_render(this.__wbg_ptr);
|
|
1941
|
+
if (ret[1]) {
|
|
1942
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
/**
|
|
1946
|
+
* @param {number} css_width
|
|
1947
|
+
* @param {number} css_height
|
|
1948
|
+
* @param {number} pixel_ratio
|
|
1949
|
+
*/
|
|
1950
|
+
resize(css_width, css_height, pixel_ratio) {
|
|
1951
|
+
const ret = wasm.scenecanvas_resize(this.__wbg_ptr, css_width, css_height, pixel_ratio);
|
|
1952
|
+
if (ret[1]) {
|
|
1953
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
/**
|
|
1957
|
+
* @param {boolean} enabled
|
|
1958
|
+
*/
|
|
1959
|
+
setMotion(enabled) {
|
|
1960
|
+
wasm.scenecanvas_setMotion(this.__wbg_ptr, enabled);
|
|
1961
|
+
}
|
|
1962
|
+
/**
|
|
1963
|
+
* `node_json`: the render node (`{ "type": "physics-canvas", … }`).
|
|
1964
|
+
* @param {string} node_json
|
|
1965
|
+
*/
|
|
1966
|
+
setScene(node_json) {
|
|
1967
|
+
const ptr0 = passStringToWasm0(node_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1968
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1969
|
+
const ret = wasm.scenecanvas_setScene(this.__wbg_ptr, ptr0, len0);
|
|
1970
|
+
if (ret[1]) {
|
|
1971
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* The scene events input queued, as JSON `[{ "event", "payload" }]`.
|
|
1976
|
+
* @returns {string}
|
|
1977
|
+
*/
|
|
1978
|
+
takeEvents() {
|
|
1979
|
+
let deferred1_0;
|
|
1980
|
+
let deferred1_1;
|
|
1981
|
+
try {
|
|
1982
|
+
const ret = wasm.scenecanvas_takeEvents(this.__wbg_ptr);
|
|
1983
|
+
deferred1_0 = ret[0];
|
|
1984
|
+
deferred1_1 = ret[1];
|
|
1985
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1986
|
+
} finally {
|
|
1987
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
/**
|
|
1991
|
+
* @returns {boolean}
|
|
1992
|
+
*/
|
|
1993
|
+
webgpu() {
|
|
1994
|
+
const ret = wasm.scenecanvas_webgpu(this.__wbg_ptr);
|
|
1995
|
+
return ret !== 0;
|
|
1996
|
+
}
|
|
1997
|
+
/**
|
|
1998
|
+
* Whether the scene took the zoom; the page scrolls when it did not.
|
|
1999
|
+
* @param {number} factor
|
|
2000
|
+
* @param {number} x
|
|
2001
|
+
* @param {number} y
|
|
2002
|
+
* @returns {boolean}
|
|
2003
|
+
*/
|
|
2004
|
+
zoom(factor, x, y) {
|
|
2005
|
+
const ret = wasm.scenecanvas_zoom(this.__wbg_ptr, factor, x, y);
|
|
2006
|
+
return ret !== 0;
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
if (Symbol.dispose) SceneCanvas.prototype[Symbol.dispose] = SceneCanvas.prototype.free;
|
|
2010
|
+
|
|
1610
2011
|
/**
|
|
1611
2012
|
* The server role: `start` a request, answer the I/O it asks for, `resume` the flight until it is done.
|
|
1612
2013
|
*/
|
|
@@ -1639,8 +2040,22 @@ export class Server {
|
|
|
1639
2040
|
return ret[0] !== 0;
|
|
1640
2041
|
}
|
|
1641
2042
|
/**
|
|
1642
|
-
*
|
|
1643
|
-
*
|
|
2043
|
+
* Answer the held `gpu/` ask `ticket` (an `IoRequestWire` of kind `gpu`): resolves to the `IoAnswerWire` JSON to
|
|
2044
|
+
* reply with. A deferred completion is handed to `onCompletion` (see [`answer_held`]).
|
|
2045
|
+
* @param {number} ticket
|
|
2046
|
+
* @param {Function} on_completion
|
|
2047
|
+
* @returns {Promise<any>}
|
|
2048
|
+
*/
|
|
2049
|
+
answerGpu(ticket, on_completion) {
|
|
2050
|
+
const ret = wasm.server_answerGpu(this.__wbg_ptr, ticket, on_completion);
|
|
2051
|
+
if (ret[2]) {
|
|
2052
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
2053
|
+
}
|
|
2054
|
+
return takeFromExternrefTable0(ret[0]);
|
|
2055
|
+
}
|
|
2056
|
+
/**
|
|
2057
|
+
* @param {string} side
|
|
2058
|
+
* @returns {string}
|
|
1644
2059
|
*/
|
|
1645
2060
|
bootMounts(side) {
|
|
1646
2061
|
let deferred3_0;
|
|
@@ -1726,6 +2141,18 @@ export class Server {
|
|
|
1726
2141
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
1727
2142
|
}
|
|
1728
2143
|
}
|
|
2144
|
+
/**
|
|
2145
|
+
* Drop a held completion payload the host will not start (its call was cancelled).
|
|
2146
|
+
* @param {number} ticket
|
|
2147
|
+
* @returns {boolean}
|
|
2148
|
+
*/
|
|
2149
|
+
dropHeldPayload(ticket) {
|
|
2150
|
+
const ret = wasm.server_dropHeldPayload(this.__wbg_ptr, ticket);
|
|
2151
|
+
if (ret[2]) {
|
|
2152
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
2153
|
+
}
|
|
2154
|
+
return ret[0] !== 0;
|
|
2155
|
+
}
|
|
1729
2156
|
/**
|
|
1730
2157
|
* @param {string} url
|
|
1731
2158
|
* @returns {boolean}
|
|
@@ -1821,6 +2248,15 @@ export class Server {
|
|
|
1821
2248
|
const ret = wasm.server_inFlight(this.__wbg_ptr);
|
|
1822
2249
|
return ret >>> 0;
|
|
1823
2250
|
}
|
|
2251
|
+
/**
|
|
2252
|
+
* Install the GPU answerer: from now on the server holds every `gpu/` ask, and the host answers it by ticket
|
|
2253
|
+
* with `answerGpu`, so no argument or answer crosses to JavaScript.
|
|
2254
|
+
* @param {GpuHost} gpu
|
|
2255
|
+
*/
|
|
2256
|
+
installGpu(gpu) {
|
|
2257
|
+
_assertClass(gpu, GpuHost);
|
|
2258
|
+
wasm.server_installGpu(this.__wbg_ptr, gpu.__wbg_ptr);
|
|
2259
|
+
}
|
|
1824
2260
|
/**
|
|
1825
2261
|
* @returns {string}
|
|
1826
2262
|
*/
|
|
@@ -3163,6 +3599,11 @@ function __wbg_get_imports() {
|
|
|
3163
3599
|
const ret = arg0.WorkerGlobalScope;
|
|
3164
3600
|
return ret;
|
|
3165
3601
|
},
|
|
3602
|
+
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
3603
|
+
const v = arg0;
|
|
3604
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
3605
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
3606
|
+
},
|
|
3166
3607
|
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
3167
3608
|
const ret = debugString(arg1);
|
|
3168
3609
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -3191,20 +3632,146 @@ function __wbg_get_imports() {
|
|
|
3191
3632
|
const ret = arg0 === undefined;
|
|
3192
3633
|
return ret;
|
|
3193
3634
|
},
|
|
3635
|
+
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
|
|
3636
|
+
const obj = arg1;
|
|
3637
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
3638
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
3639
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
3640
|
+
},
|
|
3641
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
3642
|
+
const obj = arg1;
|
|
3643
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
3644
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3645
|
+
var len1 = WASM_VECTOR_LEN;
|
|
3646
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3647
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3648
|
+
},
|
|
3194
3649
|
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
3195
3650
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
3196
3651
|
},
|
|
3197
3652
|
__wbg__wbg_cb_unref_fffb441def202758: function(arg0) {
|
|
3198
3653
|
arg0._wbg_cb_unref();
|
|
3199
3654
|
},
|
|
3655
|
+
__wbg_activeTexture_92b04d918019d603: function(arg0, arg1) {
|
|
3656
|
+
arg0.activeTexture(arg1 >>> 0);
|
|
3657
|
+
},
|
|
3658
|
+
__wbg_activeTexture_d12958674e97a118: function(arg0, arg1) {
|
|
3659
|
+
arg0.activeTexture(arg1 >>> 0);
|
|
3660
|
+
},
|
|
3200
3661
|
__wbg_arrayBuffer_3b637f0fa65c5351: function() { return handleError(function (arg0) {
|
|
3201
3662
|
const ret = arg0.arrayBuffer();
|
|
3202
3663
|
return ret;
|
|
3203
3664
|
}, arguments); },
|
|
3665
|
+
__wbg_attachShader_5f7f4077e124e23b: function(arg0, arg1, arg2) {
|
|
3666
|
+
arg0.attachShader(arg1, arg2);
|
|
3667
|
+
},
|
|
3668
|
+
__wbg_attachShader_8971266b4c9bc514: function(arg0, arg1, arg2) {
|
|
3669
|
+
arg0.attachShader(arg1, arg2);
|
|
3670
|
+
},
|
|
3671
|
+
__wbg_beginComputePass_1fc169dd9fc89475: function(arg0, arg1) {
|
|
3672
|
+
const ret = arg0.beginComputePass(arg1);
|
|
3673
|
+
return ret;
|
|
3674
|
+
},
|
|
3675
|
+
__wbg_beginQuery_042a1f99e870066c: function(arg0, arg1, arg2) {
|
|
3676
|
+
arg0.beginQuery(arg1 >>> 0, arg2);
|
|
3677
|
+
},
|
|
3204
3678
|
__wbg_beginRenderPass_8f60a9940800c223: function() { return handleError(function (arg0, arg1) {
|
|
3205
3679
|
const ret = arg0.beginRenderPass(arg1);
|
|
3206
3680
|
return ret;
|
|
3207
3681
|
}, arguments); },
|
|
3682
|
+
__wbg_bindAttribLocation_0fe5da7e01ac0d15: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3683
|
+
arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
3684
|
+
},
|
|
3685
|
+
__wbg_bindAttribLocation_94202d7a59ab7863: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3686
|
+
arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
3687
|
+
},
|
|
3688
|
+
__wbg_bindBufferRange_f5c29912db0476e9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3689
|
+
arg0.bindBufferRange(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
3690
|
+
},
|
|
3691
|
+
__wbg_bindBuffer_1e00cfb4321ef9a4: function(arg0, arg1, arg2) {
|
|
3692
|
+
arg0.bindBuffer(arg1 >>> 0, arg2);
|
|
3693
|
+
},
|
|
3694
|
+
__wbg_bindBuffer_a01497b1abdcdd9a: function(arg0, arg1, arg2) {
|
|
3695
|
+
arg0.bindBuffer(arg1 >>> 0, arg2);
|
|
3696
|
+
},
|
|
3697
|
+
__wbg_bindFramebuffer_390311eff3896937: function(arg0, arg1, arg2) {
|
|
3698
|
+
arg0.bindFramebuffer(arg1 >>> 0, arg2);
|
|
3699
|
+
},
|
|
3700
|
+
__wbg_bindFramebuffer_658e4b06f7ee8bb4: function(arg0, arg1, arg2) {
|
|
3701
|
+
arg0.bindFramebuffer(arg1 >>> 0, arg2);
|
|
3702
|
+
},
|
|
3703
|
+
__wbg_bindRenderbuffer_75e8469e930840fa: function(arg0, arg1, arg2) {
|
|
3704
|
+
arg0.bindRenderbuffer(arg1 >>> 0, arg2);
|
|
3705
|
+
},
|
|
3706
|
+
__wbg_bindRenderbuffer_c3d0c4b8cd1c3891: function(arg0, arg1, arg2) {
|
|
3707
|
+
arg0.bindRenderbuffer(arg1 >>> 0, arg2);
|
|
3708
|
+
},
|
|
3709
|
+
__wbg_bindSampler_ce608f0de9d31acf: function(arg0, arg1, arg2) {
|
|
3710
|
+
arg0.bindSampler(arg1 >>> 0, arg2);
|
|
3711
|
+
},
|
|
3712
|
+
__wbg_bindTexture_28eff4bbd8aaab54: function(arg0, arg1, arg2) {
|
|
3713
|
+
arg0.bindTexture(arg1 >>> 0, arg2);
|
|
3714
|
+
},
|
|
3715
|
+
__wbg_bindTexture_9b04b1b7c00d4dd6: function(arg0, arg1, arg2) {
|
|
3716
|
+
arg0.bindTexture(arg1 >>> 0, arg2);
|
|
3717
|
+
},
|
|
3718
|
+
__wbg_bindVertexArrayOES_5cad2205a17e8990: function(arg0, arg1) {
|
|
3719
|
+
arg0.bindVertexArrayOES(arg1);
|
|
3720
|
+
},
|
|
3721
|
+
__wbg_bindVertexArray_427eeac0c1764d8a: function(arg0, arg1) {
|
|
3722
|
+
arg0.bindVertexArray(arg1);
|
|
3723
|
+
},
|
|
3724
|
+
__wbg_blendColor_793b560dc69ddd0b: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3725
|
+
arg0.blendColor(arg1, arg2, arg3, arg4);
|
|
3726
|
+
},
|
|
3727
|
+
__wbg_blendColor_eae0cd578a2c7d15: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3728
|
+
arg0.blendColor(arg1, arg2, arg3, arg4);
|
|
3729
|
+
},
|
|
3730
|
+
__wbg_blendEquationSeparate_043e2f50f6ecb2d3: function(arg0, arg1, arg2) {
|
|
3731
|
+
arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
3732
|
+
},
|
|
3733
|
+
__wbg_blendEquationSeparate_c7e2b2261c94e1c5: function(arg0, arg1, arg2) {
|
|
3734
|
+
arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
3735
|
+
},
|
|
3736
|
+
__wbg_blendEquation_455b8986ededabc0: function(arg0, arg1) {
|
|
3737
|
+
arg0.blendEquation(arg1 >>> 0);
|
|
3738
|
+
},
|
|
3739
|
+
__wbg_blendEquation_f5c5272993f6cb01: function(arg0, arg1) {
|
|
3740
|
+
arg0.blendEquation(arg1 >>> 0);
|
|
3741
|
+
},
|
|
3742
|
+
__wbg_blendFuncSeparate_37156309688f8f88: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3743
|
+
arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
3744
|
+
},
|
|
3745
|
+
__wbg_blendFuncSeparate_3ee6d939a9f3938b: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3746
|
+
arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
3747
|
+
},
|
|
3748
|
+
__wbg_blendFunc_114dc7056ccfeb8d: function(arg0, arg1, arg2) {
|
|
3749
|
+
arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
3750
|
+
},
|
|
3751
|
+
__wbg_blendFunc_a854d7e4459150ba: function(arg0, arg1, arg2) {
|
|
3752
|
+
arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
3753
|
+
},
|
|
3754
|
+
__wbg_blitFramebuffer_a1215976f663b058: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
3755
|
+
arg0.blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);
|
|
3756
|
+
},
|
|
3757
|
+
__wbg_bufferData_073a7c6abef7a55f: function(arg0, arg1, arg2, arg3) {
|
|
3758
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3759
|
+
},
|
|
3760
|
+
__wbg_bufferData_3d4f29bdfb1fa46c: function(arg0, arg1, arg2, arg3) {
|
|
3761
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3762
|
+
},
|
|
3763
|
+
__wbg_bufferData_90ef588bac2be2f5: function(arg0, arg1, arg2, arg3) {
|
|
3764
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3765
|
+
},
|
|
3766
|
+
__wbg_bufferData_ce4f44d56e9ddab5: function(arg0, arg1, arg2, arg3) {
|
|
3767
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3768
|
+
},
|
|
3769
|
+
__wbg_bufferSubData_bae930b21e9c1c48: function(arg0, arg1, arg2, arg3) {
|
|
3770
|
+
arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
|
|
3771
|
+
},
|
|
3772
|
+
__wbg_bufferSubData_ce9854d3d337e2cf: function(arg0, arg1, arg2, arg3) {
|
|
3773
|
+
arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
|
|
3774
|
+
},
|
|
3208
3775
|
__wbg_buffer_54b87055582c8a81: function(arg0) {
|
|
3209
3776
|
const ret = arg0.buffer;
|
|
3210
3777
|
return ret;
|
|
@@ -3213,12 +3780,104 @@ function __wbg_get_imports() {
|
|
|
3213
3780
|
const ret = arg0.call(arg1, arg2);
|
|
3214
3781
|
return ret;
|
|
3215
3782
|
}, arguments); },
|
|
3783
|
+
__wbg_canvas3d_new: function(arg0) {
|
|
3784
|
+
const ret = Canvas3D.__wrap(arg0);
|
|
3785
|
+
return ret;
|
|
3786
|
+
},
|
|
3787
|
+
__wbg_clearBuffer_5c4f30438f07155a: function(arg0, arg1, arg2, arg3) {
|
|
3788
|
+
arg0.clearBuffer(arg1, arg2, arg3);
|
|
3789
|
+
},
|
|
3790
|
+
__wbg_clearBuffer_de7e8cd418b56c30: function(arg0, arg1, arg2) {
|
|
3791
|
+
arg0.clearBuffer(arg1, arg2);
|
|
3792
|
+
},
|
|
3793
|
+
__wbg_clearBufferfv_2e0f1a0ea56de859: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3794
|
+
arg0.clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4));
|
|
3795
|
+
},
|
|
3796
|
+
__wbg_clearBufferiv_0360269bf6e34c54: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3797
|
+
arg0.clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
|
|
3798
|
+
},
|
|
3799
|
+
__wbg_clearBufferuiv_df94a395d4915377: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3800
|
+
arg0.clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4));
|
|
3801
|
+
},
|
|
3802
|
+
__wbg_clearDepth_8b5d226aae155082: function(arg0, arg1) {
|
|
3803
|
+
arg0.clearDepth(arg1);
|
|
3804
|
+
},
|
|
3805
|
+
__wbg_clearDepth_ca9b22d41551b513: function(arg0, arg1) {
|
|
3806
|
+
arg0.clearDepth(arg1);
|
|
3807
|
+
},
|
|
3808
|
+
__wbg_clearStencil_58f2af46612bccae: function(arg0, arg1) {
|
|
3809
|
+
arg0.clearStencil(arg1);
|
|
3810
|
+
},
|
|
3811
|
+
__wbg_clearStencil_a66fe23df6313fc7: function(arg0, arg1) {
|
|
3812
|
+
arg0.clearStencil(arg1);
|
|
3813
|
+
},
|
|
3814
|
+
__wbg_clear_53d71d234e14e4c1: function(arg0, arg1) {
|
|
3815
|
+
arg0.clear(arg1 >>> 0);
|
|
3816
|
+
},
|
|
3817
|
+
__wbg_clear_dd06a0da4ce8e13f: function(arg0, arg1) {
|
|
3818
|
+
arg0.clear(arg1 >>> 0);
|
|
3819
|
+
},
|
|
3820
|
+
__wbg_clientWaitSync_cf8e49f8ba228377: function(arg0, arg1, arg2, arg3) {
|
|
3821
|
+
const ret = arg0.clientWaitSync(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
3822
|
+
return ret;
|
|
3823
|
+
},
|
|
3824
|
+
__wbg_colorMask_44ebb91cad2502f2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3825
|
+
arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
|
|
3826
|
+
},
|
|
3827
|
+
__wbg_colorMask_a4d164c2039b5731: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3828
|
+
arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
|
|
3829
|
+
},
|
|
3830
|
+
__wbg_compileShader_9bdfd792722cf704: function(arg0, arg1) {
|
|
3831
|
+
arg0.compileShader(arg1);
|
|
3832
|
+
},
|
|
3833
|
+
__wbg_compileShader_fc2e4b73240d4fd7: function(arg0, arg1) {
|
|
3834
|
+
arg0.compileShader(arg1);
|
|
3835
|
+
},
|
|
3836
|
+
__wbg_compressedTexSubImage2D_c1362291573c7268: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
3837
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9);
|
|
3838
|
+
},
|
|
3839
|
+
__wbg_compressedTexSubImage2D_da01674d2975d1ae: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
3840
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
|
|
3841
|
+
},
|
|
3842
|
+
__wbg_compressedTexSubImage2D_dd6dc580749eb5cf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
3843
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
|
|
3844
|
+
},
|
|
3845
|
+
__wbg_compressedTexSubImage3D_04cb8b046c4321fe: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
3846
|
+
arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11);
|
|
3847
|
+
},
|
|
3848
|
+
__wbg_compressedTexSubImage3D_af0228a80ffd5993: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
3849
|
+
arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10);
|
|
3850
|
+
},
|
|
3216
3851
|
__wbg_configure_6e4ddb3faabc6005: function() { return handleError(function (arg0, arg1) {
|
|
3217
3852
|
arg0.configure(arg1);
|
|
3218
3853
|
}, arguments); },
|
|
3854
|
+
__wbg_copyBufferSubData_cdf61f74aa6e0902: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3855
|
+
arg0.copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
3856
|
+
},
|
|
3857
|
+
__wbg_copyBufferToBuffer_55e9540007aef863: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3858
|
+
arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4);
|
|
3859
|
+
}, arguments); },
|
|
3860
|
+
__wbg_copyBufferToBuffer_7adcb79ef87447dc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3861
|
+
arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
3862
|
+
}, arguments); },
|
|
3863
|
+
__wbg_copyBufferToTexture_f0fc6311345a3dea: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3864
|
+
arg0.copyBufferToTexture(arg1, arg2, arg3);
|
|
3865
|
+
}, arguments); },
|
|
3866
|
+
__wbg_copyTexSubImage2D_8daea651fc408645: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
3867
|
+
arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
|
3868
|
+
},
|
|
3869
|
+
__wbg_copyTexSubImage2D_c73f91f1d7022402: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
3870
|
+
arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
|
3871
|
+
},
|
|
3872
|
+
__wbg_copyTexSubImage3D_bfe7a14dac9ad777: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
3873
|
+
arg0.copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
|
|
3874
|
+
},
|
|
3219
3875
|
__wbg_copyTextureToBuffer_09ba100a04b1b001: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3220
3876
|
arg0.copyTextureToBuffer(arg1, arg2, arg3);
|
|
3221
3877
|
}, arguments); },
|
|
3878
|
+
__wbg_copyTextureToTexture_66ab51b863dec546: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3879
|
+
arg0.copyTextureToTexture(arg1, arg2, arg3);
|
|
3880
|
+
}, arguments); },
|
|
3222
3881
|
__wbg_createBindGroupLayout_1dad97f44fda2929: function() { return handleError(function (arg0, arg1) {
|
|
3223
3882
|
const ret = arg0.createBindGroupLayout(arg1);
|
|
3224
3883
|
return ret;
|
|
@@ -3227,6 +3886,14 @@ function __wbg_get_imports() {
|
|
|
3227
3886
|
const ret = arg0.createBindGroup(arg1);
|
|
3228
3887
|
return ret;
|
|
3229
3888
|
},
|
|
3889
|
+
__wbg_createBuffer_01568a9d930d90dd: function(arg0) {
|
|
3890
|
+
const ret = arg0.createBuffer();
|
|
3891
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3892
|
+
},
|
|
3893
|
+
__wbg_createBuffer_2075765bde5035d5: function(arg0) {
|
|
3894
|
+
const ret = arg0.createBuffer();
|
|
3895
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3896
|
+
},
|
|
3230
3897
|
__wbg_createBuffer_474baee88e74f68a: function() { return handleError(function (arg0, arg1) {
|
|
3231
3898
|
const ret = arg0.createBuffer(arg1);
|
|
3232
3899
|
return ret;
|
|
@@ -3235,26 +3902,90 @@ function __wbg_get_imports() {
|
|
|
3235
3902
|
const ret = arg0.createCommandEncoder(arg1);
|
|
3236
3903
|
return ret;
|
|
3237
3904
|
},
|
|
3905
|
+
__wbg_createComputePipeline_1cd8bf7e02a1a06d: function(arg0, arg1) {
|
|
3906
|
+
const ret = arg0.createComputePipeline(arg1);
|
|
3907
|
+
return ret;
|
|
3908
|
+
},
|
|
3909
|
+
__wbg_createFramebuffer_b24d2c80a8b9e7cc: function(arg0) {
|
|
3910
|
+
const ret = arg0.createFramebuffer();
|
|
3911
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3912
|
+
},
|
|
3913
|
+
__wbg_createFramebuffer_de0d521f546e7534: function(arg0) {
|
|
3914
|
+
const ret = arg0.createFramebuffer();
|
|
3915
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3916
|
+
},
|
|
3238
3917
|
__wbg_createPipelineLayout_bf0deba7918ca157: function(arg0, arg1) {
|
|
3239
3918
|
const ret = arg0.createPipelineLayout(arg1);
|
|
3240
3919
|
return ret;
|
|
3241
3920
|
},
|
|
3921
|
+
__wbg_createProgram_118becaac3a20318: function(arg0) {
|
|
3922
|
+
const ret = arg0.createProgram();
|
|
3923
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3924
|
+
},
|
|
3925
|
+
__wbg_createProgram_538c9777a4ac084f: function(arg0) {
|
|
3926
|
+
const ret = arg0.createProgram();
|
|
3927
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3928
|
+
},
|
|
3929
|
+
__wbg_createQuerySet_595e31c333f5e833: function() { return handleError(function (arg0, arg1) {
|
|
3930
|
+
const ret = arg0.createQuerySet(arg1);
|
|
3931
|
+
return ret;
|
|
3932
|
+
}, arguments); },
|
|
3933
|
+
__wbg_createQuery_047c7c524e4ac4f8: function(arg0) {
|
|
3934
|
+
const ret = arg0.createQuery();
|
|
3935
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3936
|
+
},
|
|
3242
3937
|
__wbg_createRenderPipeline_7baf812b1e7e39e8: function() { return handleError(function (arg0, arg1) {
|
|
3243
3938
|
const ret = arg0.createRenderPipeline(arg1);
|
|
3244
3939
|
return ret;
|
|
3245
3940
|
}, arguments); },
|
|
3941
|
+
__wbg_createRenderbuffer_71af5c0d615e9271: function(arg0) {
|
|
3942
|
+
const ret = arg0.createRenderbuffer();
|
|
3943
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3944
|
+
},
|
|
3945
|
+
__wbg_createRenderbuffer_9d801bf44c314f44: function(arg0) {
|
|
3946
|
+
const ret = arg0.createRenderbuffer();
|
|
3947
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3948
|
+
},
|
|
3246
3949
|
__wbg_createSampler_5970d585f322df95: function(arg0, arg1) {
|
|
3247
3950
|
const ret = arg0.createSampler(arg1);
|
|
3248
3951
|
return ret;
|
|
3249
3952
|
},
|
|
3953
|
+
__wbg_createSampler_70c8392d98896235: function(arg0) {
|
|
3954
|
+
const ret = arg0.createSampler();
|
|
3955
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3956
|
+
},
|
|
3250
3957
|
__wbg_createShaderModule_744311a1dd685c14: function(arg0, arg1) {
|
|
3251
3958
|
const ret = arg0.createShaderModule(arg1);
|
|
3252
3959
|
return ret;
|
|
3253
3960
|
},
|
|
3961
|
+
__wbg_createShader_78bc8b7e9a88e1a8: function(arg0, arg1) {
|
|
3962
|
+
const ret = arg0.createShader(arg1 >>> 0);
|
|
3963
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3964
|
+
},
|
|
3965
|
+
__wbg_createShader_7d139f2d50f77365: function(arg0, arg1) {
|
|
3966
|
+
const ret = arg0.createShader(arg1 >>> 0);
|
|
3967
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3968
|
+
},
|
|
3969
|
+
__wbg_createTexture_0ee0fa5f924f3d14: function(arg0) {
|
|
3970
|
+
const ret = arg0.createTexture();
|
|
3971
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3972
|
+
},
|
|
3973
|
+
__wbg_createTexture_d13f98e0d3d912f4: function(arg0) {
|
|
3974
|
+
const ret = arg0.createTexture();
|
|
3975
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3976
|
+
},
|
|
3254
3977
|
__wbg_createTexture_f357c38256411287: function() { return handleError(function (arg0, arg1) {
|
|
3255
3978
|
const ret = arg0.createTexture(arg1);
|
|
3256
3979
|
return ret;
|
|
3257
3980
|
}, arguments); },
|
|
3981
|
+
__wbg_createVertexArrayOES_2fa3e59eebd5f674: function(arg0) {
|
|
3982
|
+
const ret = arg0.createVertexArrayOES();
|
|
3983
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3984
|
+
},
|
|
3985
|
+
__wbg_createVertexArray_baf9eef7ea5a2c7a: function(arg0) {
|
|
3986
|
+
const ret = arg0.createVertexArray();
|
|
3987
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3988
|
+
},
|
|
3258
3989
|
__wbg_createView_e7a36ec95c4190f3: function() { return handleError(function (arg0, arg1) {
|
|
3259
3990
|
const ret = arg0.createView(arg1);
|
|
3260
3991
|
return ret;
|
|
@@ -3263,15 +3994,172 @@ function __wbg_get_imports() {
|
|
|
3263
3994
|
const ret = arg0.crypto;
|
|
3264
3995
|
return ret;
|
|
3265
3996
|
},
|
|
3997
|
+
__wbg_cullFace_62bbea3bef0e6b99: function(arg0, arg1) {
|
|
3998
|
+
arg0.cullFace(arg1 >>> 0);
|
|
3999
|
+
},
|
|
4000
|
+
__wbg_cullFace_f1c75ae19b07eaf3: function(arg0, arg1) {
|
|
4001
|
+
arg0.cullFace(arg1 >>> 0);
|
|
4002
|
+
},
|
|
4003
|
+
__wbg_deleteBuffer_08eb938e35c27967: function(arg0, arg1) {
|
|
4004
|
+
arg0.deleteBuffer(arg1);
|
|
4005
|
+
},
|
|
4006
|
+
__wbg_deleteBuffer_1ca3ffe668a488e7: function(arg0, arg1) {
|
|
4007
|
+
arg0.deleteBuffer(arg1);
|
|
4008
|
+
},
|
|
4009
|
+
__wbg_deleteFramebuffer_963cd69957209d37: function(arg0, arg1) {
|
|
4010
|
+
arg0.deleteFramebuffer(arg1);
|
|
4011
|
+
},
|
|
4012
|
+
__wbg_deleteFramebuffer_d1a36e889b009344: function(arg0, arg1) {
|
|
4013
|
+
arg0.deleteFramebuffer(arg1);
|
|
4014
|
+
},
|
|
4015
|
+
__wbg_deleteProgram_09bd45a51105b2f6: function(arg0, arg1) {
|
|
4016
|
+
arg0.deleteProgram(arg1);
|
|
4017
|
+
},
|
|
4018
|
+
__wbg_deleteProgram_132e191baa9fa84f: function(arg0, arg1) {
|
|
4019
|
+
arg0.deleteProgram(arg1);
|
|
4020
|
+
},
|
|
4021
|
+
__wbg_deleteQuery_0d1dcc4402a86ee1: function(arg0, arg1) {
|
|
4022
|
+
arg0.deleteQuery(arg1);
|
|
4023
|
+
},
|
|
4024
|
+
__wbg_deleteRenderbuffer_52bdbf5ab2cbe62a: function(arg0, arg1) {
|
|
4025
|
+
arg0.deleteRenderbuffer(arg1);
|
|
4026
|
+
},
|
|
4027
|
+
__wbg_deleteRenderbuffer_ca999f7883b777af: function(arg0, arg1) {
|
|
4028
|
+
arg0.deleteRenderbuffer(arg1);
|
|
4029
|
+
},
|
|
4030
|
+
__wbg_deleteSampler_0abb528566c4ab3b: function(arg0, arg1) {
|
|
4031
|
+
arg0.deleteSampler(arg1);
|
|
4032
|
+
},
|
|
4033
|
+
__wbg_deleteShader_3120790d36063afe: function(arg0, arg1) {
|
|
4034
|
+
arg0.deleteShader(arg1);
|
|
4035
|
+
},
|
|
4036
|
+
__wbg_deleteShader_993edb4beb3c4d53: function(arg0, arg1) {
|
|
4037
|
+
arg0.deleteShader(arg1);
|
|
4038
|
+
},
|
|
4039
|
+
__wbg_deleteSync_9b0e43580942a0f6: function(arg0, arg1) {
|
|
4040
|
+
arg0.deleteSync(arg1);
|
|
4041
|
+
},
|
|
4042
|
+
__wbg_deleteTexture_2b163b157ea1be24: function(arg0, arg1) {
|
|
4043
|
+
arg0.deleteTexture(arg1);
|
|
4044
|
+
},
|
|
4045
|
+
__wbg_deleteTexture_bdc2202d7a50dcea: function(arg0, arg1) {
|
|
4046
|
+
arg0.deleteTexture(arg1);
|
|
4047
|
+
},
|
|
4048
|
+
__wbg_deleteVertexArrayOES_7fa59c32cfdfa6fa: function(arg0, arg1) {
|
|
4049
|
+
arg0.deleteVertexArrayOES(arg1);
|
|
4050
|
+
},
|
|
4051
|
+
__wbg_deleteVertexArray_475d4e969aac1dd0: function(arg0, arg1) {
|
|
4052
|
+
arg0.deleteVertexArray(arg1);
|
|
4053
|
+
},
|
|
4054
|
+
__wbg_depthFunc_455cfeb8a9d2fb4c: function(arg0, arg1) {
|
|
4055
|
+
arg0.depthFunc(arg1 >>> 0);
|
|
4056
|
+
},
|
|
4057
|
+
__wbg_depthFunc_74a8f8acf8973c86: function(arg0, arg1) {
|
|
4058
|
+
arg0.depthFunc(arg1 >>> 0);
|
|
4059
|
+
},
|
|
4060
|
+
__wbg_depthMask_4bd6c73b1339d257: function(arg0, arg1) {
|
|
4061
|
+
arg0.depthMask(arg1 !== 0);
|
|
4062
|
+
},
|
|
4063
|
+
__wbg_depthMask_a644a67deced3257: function(arg0, arg1) {
|
|
4064
|
+
arg0.depthMask(arg1 !== 0);
|
|
4065
|
+
},
|
|
4066
|
+
__wbg_depthRange_38b2287ffbea14fd: function(arg0, arg1, arg2) {
|
|
4067
|
+
arg0.depthRange(arg1, arg2);
|
|
4068
|
+
},
|
|
4069
|
+
__wbg_depthRange_5e90d4d236280ff5: function(arg0, arg1, arg2) {
|
|
4070
|
+
arg0.depthRange(arg1, arg2);
|
|
4071
|
+
},
|
|
4072
|
+
__wbg_destroy_5c2c9c8b0b52b456: function(arg0) {
|
|
4073
|
+
arg0.destroy();
|
|
4074
|
+
},
|
|
4075
|
+
__wbg_destroy_8a3f7d0f7c49852f: function(arg0) {
|
|
4076
|
+
arg0.destroy();
|
|
4077
|
+
},
|
|
4078
|
+
__wbg_disableVertexAttribArray_160060fbd7e97de0: function(arg0, arg1) {
|
|
4079
|
+
arg0.disableVertexAttribArray(arg1 >>> 0);
|
|
4080
|
+
},
|
|
4081
|
+
__wbg_disableVertexAttribArray_c7915eb0de6dd8f1: function(arg0, arg1) {
|
|
4082
|
+
arg0.disableVertexAttribArray(arg1 >>> 0);
|
|
4083
|
+
},
|
|
4084
|
+
__wbg_disable_1659d1b7d50c31e7: function(arg0, arg1) {
|
|
4085
|
+
arg0.disable(arg1 >>> 0);
|
|
4086
|
+
},
|
|
4087
|
+
__wbg_disable_40c3975167c1ee07: function(arg0, arg1) {
|
|
4088
|
+
arg0.disable(arg1 >>> 0);
|
|
4089
|
+
},
|
|
4090
|
+
__wbg_dispatchWorkgroups_727fa35f9c69d73c: function(arg0, arg1, arg2, arg3) {
|
|
4091
|
+
arg0.dispatchWorkgroups(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
4092
|
+
},
|
|
4093
|
+
__wbg_document_179650d6cb13c263: function(arg0) {
|
|
4094
|
+
const ret = arg0.document;
|
|
4095
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4096
|
+
},
|
|
4097
|
+
__wbg_drawArraysInstancedANGLE_d58dbd2d38fdebaa: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4098
|
+
arg0.drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
|
|
4099
|
+
},
|
|
4100
|
+
__wbg_drawArraysInstanced_51b161548a3f10c4: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4101
|
+
arg0.drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
|
|
4102
|
+
},
|
|
4103
|
+
__wbg_drawArrays_676becae0149ed65: function(arg0, arg1, arg2, arg3) {
|
|
4104
|
+
arg0.drawArrays(arg1 >>> 0, arg2, arg3);
|
|
4105
|
+
},
|
|
4106
|
+
__wbg_drawArrays_b0c59a6e158122f2: function(arg0, arg1, arg2, arg3) {
|
|
4107
|
+
arg0.drawArrays(arg1 >>> 0, arg2, arg3);
|
|
4108
|
+
},
|
|
4109
|
+
__wbg_drawBuffersWEBGL_c9b47f7f207125cf: function(arg0, arg1) {
|
|
4110
|
+
arg0.drawBuffersWEBGL(arg1);
|
|
4111
|
+
},
|
|
4112
|
+
__wbg_drawBuffers_1c1ec9b292442a2a: function(arg0, arg1) {
|
|
4113
|
+
arg0.drawBuffers(arg1);
|
|
4114
|
+
},
|
|
4115
|
+
__wbg_drawElementsInstancedANGLE_9b58c4013373b180: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4116
|
+
arg0.drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
4117
|
+
},
|
|
4118
|
+
__wbg_drawElementsInstanced_c7f96ea02e6d5326: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4119
|
+
arg0.drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
4120
|
+
},
|
|
4121
|
+
__wbg_drawIndexed_2ab8259f769f352d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4122
|
+
arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
4123
|
+
},
|
|
3266
4124
|
__wbg_draw_b93abd56938fa3b6: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3267
4125
|
arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
3268
4126
|
},
|
|
4127
|
+
__wbg_enableVertexAttribArray_4c08219124740f14: function(arg0, arg1) {
|
|
4128
|
+
arg0.enableVertexAttribArray(arg1 >>> 0);
|
|
4129
|
+
},
|
|
4130
|
+
__wbg_enableVertexAttribArray_7470ba2dcf2606e3: function(arg0, arg1) {
|
|
4131
|
+
arg0.enableVertexAttribArray(arg1 >>> 0);
|
|
4132
|
+
},
|
|
4133
|
+
__wbg_enable_28bbeed576131d1f: function(arg0, arg1) {
|
|
4134
|
+
arg0.enable(arg1 >>> 0);
|
|
4135
|
+
},
|
|
4136
|
+
__wbg_enable_611804c0ac1504ce: function(arg0, arg1) {
|
|
4137
|
+
arg0.enable(arg1 >>> 0);
|
|
4138
|
+
},
|
|
4139
|
+
__wbg_endQuery_a50f7fc49cfe56e9: function(arg0, arg1) {
|
|
4140
|
+
arg0.endQuery(arg1 >>> 0);
|
|
4141
|
+
},
|
|
4142
|
+
__wbg_end_2398df10208cf1ee: function(arg0) {
|
|
4143
|
+
arg0.end();
|
|
4144
|
+
},
|
|
3269
4145
|
__wbg_end_2fdce848e1c526bc: function(arg0) {
|
|
3270
4146
|
arg0.end();
|
|
3271
4147
|
},
|
|
3272
4148
|
__wbg_error_96e899f14d8344a2: function(arg0, arg1) {
|
|
3273
4149
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
3274
4150
|
},
|
|
4151
|
+
__wbg_features_139b41635cafee99: function(arg0) {
|
|
4152
|
+
const ret = arg0.features;
|
|
4153
|
+
return ret;
|
|
4154
|
+
},
|
|
4155
|
+
__wbg_features_3fa0fe4fc37163a7: function(arg0) {
|
|
4156
|
+
const ret = arg0.features;
|
|
4157
|
+
return ret;
|
|
4158
|
+
},
|
|
4159
|
+
__wbg_fenceSync_fe2cdba4a0d73679: function(arg0, arg1, arg2) {
|
|
4160
|
+
const ret = arg0.fenceSync(arg1 >>> 0, arg2 >>> 0);
|
|
4161
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4162
|
+
},
|
|
3275
4163
|
__wbg_fetch_58167e2c1ef32e0a: function(arg0, arg1, arg2) {
|
|
3276
4164
|
const ret = arg0.fetch(getStringFromWasm0(arg1, arg2));
|
|
3277
4165
|
return ret;
|
|
@@ -3284,6 +4172,63 @@ function __wbg_get_imports() {
|
|
|
3284
4172
|
const ret = arg0.finish(arg1);
|
|
3285
4173
|
return ret;
|
|
3286
4174
|
},
|
|
4175
|
+
__wbg_flush_db77b4a63d6b337d: function(arg0) {
|
|
4176
|
+
arg0.flush();
|
|
4177
|
+
},
|
|
4178
|
+
__wbg_flush_e03c08da6863b5ab: function(arg0) {
|
|
4179
|
+
arg0.flush();
|
|
4180
|
+
},
|
|
4181
|
+
__wbg_framebufferRenderbuffer_4404cf9f9cb76937: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4182
|
+
arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
4183
|
+
},
|
|
4184
|
+
__wbg_framebufferRenderbuffer_ba8bd5e008ee87eb: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4185
|
+
arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
4186
|
+
},
|
|
4187
|
+
__wbg_framebufferTexture2D_3c2abd606fc53f31: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4188
|
+
arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
|
|
4189
|
+
},
|
|
4190
|
+
__wbg_framebufferTexture2D_e1fb64212fcda219: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4191
|
+
arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
|
|
4192
|
+
},
|
|
4193
|
+
__wbg_framebufferTextureLayer_f2d9db097bfbb863: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4194
|
+
arg0.framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
4195
|
+
},
|
|
4196
|
+
__wbg_framebufferTextureMultiviewOVR_28d492b9dc484220: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
4197
|
+
arg0.framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5, arg6);
|
|
4198
|
+
},
|
|
4199
|
+
__wbg_frontFace_29ef7151de8b5ed9: function(arg0, arg1) {
|
|
4200
|
+
arg0.frontFace(arg1 >>> 0);
|
|
4201
|
+
},
|
|
4202
|
+
__wbg_frontFace_fc6d98dafa42de87: function(arg0, arg1) {
|
|
4203
|
+
arg0.frontFace(arg1 >>> 0);
|
|
4204
|
+
},
|
|
4205
|
+
__wbg_getBindGroupLayout_0b3b7dd9f45e8e19: function(arg0, arg1) {
|
|
4206
|
+
const ret = arg0.getBindGroupLayout(arg1 >>> 0);
|
|
4207
|
+
return ret;
|
|
4208
|
+
},
|
|
4209
|
+
__wbg_getBindGroupLayout_9fc232d022bf8cca: function(arg0, arg1) {
|
|
4210
|
+
const ret = arg0.getBindGroupLayout(arg1 >>> 0);
|
|
4211
|
+
return ret;
|
|
4212
|
+
},
|
|
4213
|
+
__wbg_getBufferSubData_11018928c908ac2c: function(arg0, arg1, arg2, arg3) {
|
|
4214
|
+
arg0.getBufferSubData(arg1 >>> 0, arg2, arg3);
|
|
4215
|
+
},
|
|
4216
|
+
__wbg_getContext_7476e39fa008047e: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4217
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
|
|
4218
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4219
|
+
}, arguments); },
|
|
4220
|
+
__wbg_getContext_ca12bb65aab778a4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4221
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
|
|
4222
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4223
|
+
}, arguments); },
|
|
4224
|
+
__wbg_getContext_e79ddf6a9cb3cc76: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4225
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
4226
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4227
|
+
}, arguments); },
|
|
4228
|
+
__wbg_getContext_fd298c901058eb31: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4229
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
4230
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4231
|
+
}, arguments); },
|
|
3287
4232
|
__wbg_getCurrentTexture_628ddb7c08d25190: function() { return handleError(function (arg0) {
|
|
3288
4233
|
const ret = arg0.getCurrentTexture();
|
|
3289
4234
|
return ret;
|
|
@@ -3296,6 +4241,10 @@ function __wbg_get_imports() {
|
|
|
3296
4241
|
const ret = arg0.getDay();
|
|
3297
4242
|
return ret;
|
|
3298
4243
|
},
|
|
4244
|
+
__wbg_getExtension_101c7e41de3e4d90: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4245
|
+
const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
|
|
4246
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4247
|
+
}, arguments); },
|
|
3299
4248
|
__wbg_getFullYear_6af8b229792ae254: function(arg0) {
|
|
3300
4249
|
const ret = arg0.getFullYear();
|
|
3301
4250
|
return ret;
|
|
@@ -3304,6 +4253,10 @@ function __wbg_get_imports() {
|
|
|
3304
4253
|
const ret = arg0.getHours();
|
|
3305
4254
|
return ret;
|
|
3306
4255
|
},
|
|
4256
|
+
__wbg_getIndexedParameter_6d7a5bcccaa0f3e2: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4257
|
+
const ret = arg0.getIndexedParameter(arg1 >>> 0, arg2 >>> 0);
|
|
4258
|
+
return ret;
|
|
4259
|
+
}, arguments); },
|
|
3307
4260
|
__wbg_getMappedRange_9f13d158ba3946fd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3308
4261
|
const ret = arg0.getMappedRange(arg1, arg2);
|
|
3309
4262
|
return ret;
|
|
@@ -3316,51 +4269,211 @@ function __wbg_get_imports() {
|
|
|
3316
4269
|
const ret = arg0.getMonth();
|
|
3317
4270
|
return ret;
|
|
3318
4271
|
},
|
|
4272
|
+
__wbg_getParameter_039a5899307fab55: function() { return handleError(function (arg0, arg1) {
|
|
4273
|
+
const ret = arg0.getParameter(arg1 >>> 0);
|
|
4274
|
+
return ret;
|
|
4275
|
+
}, arguments); },
|
|
4276
|
+
__wbg_getParameter_d39f59581389af1b: function() { return handleError(function (arg0, arg1) {
|
|
4277
|
+
const ret = arg0.getParameter(arg1 >>> 0);
|
|
4278
|
+
return ret;
|
|
4279
|
+
}, arguments); },
|
|
3319
4280
|
__wbg_getPreferredCanvasFormat_a2b6306e828c2f60: function(arg0) {
|
|
3320
4281
|
const ret = arg0.getPreferredCanvasFormat();
|
|
3321
4282
|
return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 96) - 1;
|
|
3322
4283
|
},
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
}, arguments); },
|
|
3326
|
-
__wbg_get_18e0163e38e5048d: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3327
|
-
const ret = arg1.get(getStringFromWasm0(arg2, arg3));
|
|
4284
|
+
__wbg_getProgramInfoLog_c4762e0513468a26: function(arg0, arg1, arg2) {
|
|
4285
|
+
const ret = arg1.getProgramInfoLog(arg2);
|
|
3328
4286
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3329
4287
|
var len1 = WASM_VECTOR_LEN;
|
|
3330
4288
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3331
4289
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3332
|
-
}, arguments); },
|
|
3333
|
-
__wbg_gpu_ac6dc8fb638a26c3: function(arg0) {
|
|
3334
|
-
const ret = arg0.gpu;
|
|
3335
|
-
return ret;
|
|
3336
4290
|
},
|
|
3337
|
-
|
|
3338
|
-
const ret =
|
|
4291
|
+
__wbg_getProgramInfoLog_d1ce570463a68779: function(arg0, arg1, arg2) {
|
|
4292
|
+
const ret = arg1.getProgramInfoLog(arg2);
|
|
4293
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4294
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4295
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4296
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4297
|
+
},
|
|
4298
|
+
__wbg_getProgramParameter_b9995b56c258ac86: function(arg0, arg1, arg2) {
|
|
4299
|
+
const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
|
|
3339
4300
|
return ret;
|
|
3340
4301
|
},
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
try {
|
|
3344
|
-
result = arg0 instanceof GPUAdapter;
|
|
3345
|
-
} catch (_) {
|
|
3346
|
-
result = false;
|
|
3347
|
-
}
|
|
3348
|
-
const ret = result;
|
|
4302
|
+
__wbg_getProgramParameter_c8d1154fbb3c0890: function(arg0, arg1, arg2) {
|
|
4303
|
+
const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
|
|
3349
4304
|
return ret;
|
|
3350
4305
|
},
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
try {
|
|
3354
|
-
result = arg0 instanceof Response;
|
|
3355
|
-
} catch (_) {
|
|
3356
|
-
result = false;
|
|
3357
|
-
}
|
|
3358
|
-
const ret = result;
|
|
4306
|
+
__wbg_getQueryParameter_919125495ccb17ca: function(arg0, arg1, arg2) {
|
|
4307
|
+
const ret = arg0.getQueryParameter(arg1, arg2 >>> 0);
|
|
3359
4308
|
return ret;
|
|
3360
4309
|
},
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
4310
|
+
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
4311
|
+
arg0.getRandomValues(arg1);
|
|
4312
|
+
}, arguments); },
|
|
4313
|
+
__wbg_getShaderInfoLog_5cee2add982c7165: function(arg0, arg1, arg2) {
|
|
4314
|
+
const ret = arg1.getShaderInfoLog(arg2);
|
|
4315
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4316
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4317
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4318
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4319
|
+
},
|
|
4320
|
+
__wbg_getShaderInfoLog_bc236afe696c1283: function(arg0, arg1, arg2) {
|
|
4321
|
+
const ret = arg1.getShaderInfoLog(arg2);
|
|
4322
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4323
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4324
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4325
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4326
|
+
},
|
|
4327
|
+
__wbg_getShaderParameter_3394e75dcb97f380: function(arg0, arg1, arg2) {
|
|
4328
|
+
const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
|
|
4329
|
+
return ret;
|
|
4330
|
+
},
|
|
4331
|
+
__wbg_getShaderParameter_cbcc0995e8e16214: function(arg0, arg1, arg2) {
|
|
4332
|
+
const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
|
|
4333
|
+
return ret;
|
|
4334
|
+
},
|
|
4335
|
+
__wbg_getSupportedExtensions_2a7458ec45e82560: function(arg0) {
|
|
4336
|
+
const ret = arg0.getSupportedExtensions();
|
|
4337
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4338
|
+
},
|
|
4339
|
+
__wbg_getSupportedProfiles_90a4f330938d0241: function(arg0) {
|
|
4340
|
+
const ret = arg0.getSupportedProfiles();
|
|
4341
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4342
|
+
},
|
|
4343
|
+
__wbg_getSyncParameter_d8f6c145657a3550: function(arg0, arg1, arg2) {
|
|
4344
|
+
const ret = arg0.getSyncParameter(arg1, arg2 >>> 0);
|
|
4345
|
+
return ret;
|
|
4346
|
+
},
|
|
4347
|
+
__wbg_getUniformBlockIndex_cfee6ff6d323c784: function(arg0, arg1, arg2, arg3) {
|
|
4348
|
+
const ret = arg0.getUniformBlockIndex(arg1, getStringFromWasm0(arg2, arg3));
|
|
4349
|
+
return ret;
|
|
4350
|
+
},
|
|
4351
|
+
__wbg_getUniformLocation_24ef46cdda2148ab: function(arg0, arg1, arg2, arg3) {
|
|
4352
|
+
const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
|
|
4353
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4354
|
+
},
|
|
4355
|
+
__wbg_getUniformLocation_788a34295dd6fabe: function(arg0, arg1, arg2, arg3) {
|
|
4356
|
+
const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
|
|
4357
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4358
|
+
},
|
|
4359
|
+
__wbg_get_18e0163e38e5048d: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4360
|
+
const ret = arg1.get(getStringFromWasm0(arg2, arg3));
|
|
4361
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4362
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4363
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4364
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4365
|
+
}, arguments); },
|
|
4366
|
+
__wbg_get_b2053e9bfdf3ca8e: function(arg0, arg1) {
|
|
4367
|
+
const ret = arg0[arg1 >>> 0];
|
|
4368
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4369
|
+
},
|
|
4370
|
+
__wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
|
|
4371
|
+
const ret = arg0[arg1 >>> 0];
|
|
4372
|
+
return ret;
|
|
4373
|
+
},
|
|
4374
|
+
__wbg_gpu_ac6dc8fb638a26c3: function(arg0) {
|
|
4375
|
+
const ret = arg0.gpu;
|
|
4376
|
+
return ret;
|
|
4377
|
+
},
|
|
4378
|
+
__wbg_has_ffcf0ac839d1b8fb: function(arg0, arg1, arg2) {
|
|
4379
|
+
const ret = arg0.has(getStringFromWasm0(arg1, arg2));
|
|
4380
|
+
return ret;
|
|
4381
|
+
},
|
|
4382
|
+
__wbg_headers_cf9c80f30e2a4eff: function(arg0) {
|
|
4383
|
+
const ret = arg0.headers;
|
|
4384
|
+
return ret;
|
|
4385
|
+
},
|
|
4386
|
+
__wbg_height_6eec812c213259a1: function(arg0) {
|
|
4387
|
+
const ret = arg0.height;
|
|
4388
|
+
return ret;
|
|
4389
|
+
},
|
|
4390
|
+
__wbg_includes_78c9a3115b08eddc: function(arg0, arg1, arg2) {
|
|
4391
|
+
const ret = arg0.includes(arg1, arg2);
|
|
4392
|
+
return ret;
|
|
4393
|
+
},
|
|
4394
|
+
__wbg_instanceof_GpuAdapter_fb230cdccb184887: function(arg0) {
|
|
4395
|
+
let result;
|
|
4396
|
+
try {
|
|
4397
|
+
result = arg0 instanceof GPUAdapter;
|
|
4398
|
+
} catch (_) {
|
|
4399
|
+
result = false;
|
|
4400
|
+
}
|
|
4401
|
+
const ret = result;
|
|
4402
|
+
return ret;
|
|
4403
|
+
},
|
|
4404
|
+
__wbg_instanceof_GpuCanvasContext_48ec5330c4425d84: function(arg0) {
|
|
4405
|
+
let result;
|
|
4406
|
+
try {
|
|
4407
|
+
result = arg0 instanceof GPUCanvasContext;
|
|
4408
|
+
} catch (_) {
|
|
4409
|
+
result = false;
|
|
4410
|
+
}
|
|
4411
|
+
const ret = result;
|
|
4412
|
+
return ret;
|
|
4413
|
+
},
|
|
4414
|
+
__wbg_instanceof_GpuOutOfMemoryError_7b1554dded417c4f: function(arg0) {
|
|
4415
|
+
let result;
|
|
4416
|
+
try {
|
|
4417
|
+
result = arg0 instanceof GPUOutOfMemoryError;
|
|
4418
|
+
} catch (_) {
|
|
4419
|
+
result = false;
|
|
4420
|
+
}
|
|
4421
|
+
const ret = result;
|
|
4422
|
+
return ret;
|
|
4423
|
+
},
|
|
4424
|
+
__wbg_instanceof_GpuValidationError_124458c5a6bb3b58: function(arg0) {
|
|
4425
|
+
let result;
|
|
4426
|
+
try {
|
|
4427
|
+
result = arg0 instanceof GPUValidationError;
|
|
4428
|
+
} catch (_) {
|
|
4429
|
+
result = false;
|
|
4430
|
+
}
|
|
4431
|
+
const ret = result;
|
|
4432
|
+
return ret;
|
|
4433
|
+
},
|
|
4434
|
+
__wbg_instanceof_HtmlCanvasElement_ed02ed9136056019: function(arg0) {
|
|
4435
|
+
let result;
|
|
4436
|
+
try {
|
|
4437
|
+
result = arg0 instanceof HTMLCanvasElement;
|
|
4438
|
+
} catch (_) {
|
|
4439
|
+
result = false;
|
|
4440
|
+
}
|
|
4441
|
+
const ret = result;
|
|
4442
|
+
return ret;
|
|
4443
|
+
},
|
|
4444
|
+
__wbg_instanceof_Object_33f20e6f12439f3e: function(arg0) {
|
|
4445
|
+
let result;
|
|
4446
|
+
try {
|
|
4447
|
+
result = arg0 instanceof Object;
|
|
4448
|
+
} catch (_) {
|
|
4449
|
+
result = false;
|
|
4450
|
+
}
|
|
4451
|
+
const ret = result;
|
|
4452
|
+
return ret;
|
|
4453
|
+
},
|
|
4454
|
+
__wbg_instanceof_Response_c8b64b2256f01bec: function(arg0) {
|
|
4455
|
+
let result;
|
|
4456
|
+
try {
|
|
4457
|
+
result = arg0 instanceof Response;
|
|
4458
|
+
} catch (_) {
|
|
4459
|
+
result = false;
|
|
4460
|
+
}
|
|
4461
|
+
const ret = result;
|
|
4462
|
+
return ret;
|
|
4463
|
+
},
|
|
4464
|
+
__wbg_instanceof_WebGl2RenderingContext_90225152e4e3c799: function(arg0) {
|
|
4465
|
+
let result;
|
|
4466
|
+
try {
|
|
4467
|
+
result = arg0 instanceof WebGL2RenderingContext;
|
|
4468
|
+
} catch (_) {
|
|
4469
|
+
result = false;
|
|
4470
|
+
}
|
|
4471
|
+
const ret = result;
|
|
4472
|
+
return ret;
|
|
4473
|
+
},
|
|
4474
|
+
__wbg_instanceof_Window_05ba1ee4f6781663: function(arg0) {
|
|
4475
|
+
let result;
|
|
4476
|
+
try {
|
|
3364
4477
|
result = arg0 instanceof Window;
|
|
3365
4478
|
} catch (_) {
|
|
3366
4479
|
result = false;
|
|
@@ -3368,6 +4481,13 @@ function __wbg_get_imports() {
|
|
|
3368
4481
|
const ret = result;
|
|
3369
4482
|
return ret;
|
|
3370
4483
|
},
|
|
4484
|
+
__wbg_invalidateFramebuffer_343bbfb15e6835fd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4485
|
+
arg0.invalidateFramebuffer(arg1 >>> 0, arg2);
|
|
4486
|
+
}, arguments); },
|
|
4487
|
+
__wbg_is_7b9d0b289033c7de: function(arg0, arg1) {
|
|
4488
|
+
const ret = Object.is(arg0, arg1);
|
|
4489
|
+
return ret;
|
|
4490
|
+
},
|
|
3371
4491
|
__wbg_label_84abde6506fa15b7: function(arg0, arg1) {
|
|
3372
4492
|
const ret = arg1.label;
|
|
3373
4493
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -3379,6 +4499,10 @@ function __wbg_get_imports() {
|
|
|
3379
4499
|
const ret = arg0.length;
|
|
3380
4500
|
return ret;
|
|
3381
4501
|
},
|
|
4502
|
+
__wbg_length_370319915dc99107: function(arg0) {
|
|
4503
|
+
const ret = arg0.length;
|
|
4504
|
+
return ret;
|
|
4505
|
+
},
|
|
3382
4506
|
__wbg_limits_a80585efb442d985: function(arg0) {
|
|
3383
4507
|
const ret = arg0.limits;
|
|
3384
4508
|
return ret;
|
|
@@ -3387,6 +4511,12 @@ function __wbg_get_imports() {
|
|
|
3387
4511
|
const ret = arg0.limits;
|
|
3388
4512
|
return ret;
|
|
3389
4513
|
},
|
|
4514
|
+
__wbg_linkProgram_4e047fb3197a0348: function(arg0, arg1) {
|
|
4515
|
+
arg0.linkProgram(arg1);
|
|
4516
|
+
},
|
|
4517
|
+
__wbg_linkProgram_d7c71c539c8c6a43: function(arg0, arg1) {
|
|
4518
|
+
arg0.linkProgram(arg1);
|
|
4519
|
+
},
|
|
3390
4520
|
__wbg_mapAsync_3546b4b874e14738: function(arg0, arg1, arg2, arg3) {
|
|
3391
4521
|
const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
|
|
3392
4522
|
return ret;
|
|
@@ -3499,6 +4629,13 @@ function __wbg_get_imports() {
|
|
|
3499
4629
|
const ret = arg0.maxVertexBuffers;
|
|
3500
4630
|
return ret;
|
|
3501
4631
|
},
|
|
4632
|
+
__wbg_message_bd5755a324c3b999: function(arg0, arg1) {
|
|
4633
|
+
const ret = arg1.message;
|
|
4634
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4635
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4636
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4637
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4638
|
+
},
|
|
3502
4639
|
__wbg_minStorageBufferOffsetAlignment_58fcc139ce14bbb9: function(arg0) {
|
|
3503
4640
|
const ret = arg0.minStorageBufferOffsetAlignment;
|
|
3504
4641
|
return ret;
|
|
@@ -3539,6 +4676,24 @@ function __wbg_get_imports() {
|
|
|
3539
4676
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
3540
4677
|
return ret;
|
|
3541
4678
|
},
|
|
4679
|
+
__wbg_new_typed_1824d93f294193e5: function(arg0, arg1) {
|
|
4680
|
+
try {
|
|
4681
|
+
var state0 = {a: arg0, b: arg1};
|
|
4682
|
+
var cb0 = (arg0, arg1) => {
|
|
4683
|
+
const a = state0.a;
|
|
4684
|
+
state0.a = 0;
|
|
4685
|
+
try {
|
|
4686
|
+
return wasm_bindgen__convert__closures_____invoke__h1149b643047c36f1(a, state0.b, arg0, arg1);
|
|
4687
|
+
} finally {
|
|
4688
|
+
state0.a = a;
|
|
4689
|
+
}
|
|
4690
|
+
};
|
|
4691
|
+
const ret = new Promise(cb0);
|
|
4692
|
+
return ret;
|
|
4693
|
+
} finally {
|
|
4694
|
+
state0.a = 0;
|
|
4695
|
+
}
|
|
4696
|
+
},
|
|
3542
4697
|
__wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
|
|
3543
4698
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
3544
4699
|
return ret;
|
|
@@ -3555,14 +4710,38 @@ function __wbg_get_imports() {
|
|
|
3555
4710
|
const ret = Date.now();
|
|
3556
4711
|
return ret;
|
|
3557
4712
|
},
|
|
4713
|
+
__wbg_of_85f52f8b6491a7ca: function(arg0) {
|
|
4714
|
+
const ret = Array.of(arg0);
|
|
4715
|
+
return ret;
|
|
4716
|
+
},
|
|
3558
4717
|
__wbg_ok_acc5e3fb89668864: function(arg0) {
|
|
3559
4718
|
const ret = arg0.ok;
|
|
3560
4719
|
return ret;
|
|
3561
4720
|
},
|
|
4721
|
+
__wbg_onSubmittedWorkDone_5c020973b11ab15f: function(arg0) {
|
|
4722
|
+
const ret = arg0.onSubmittedWorkDone();
|
|
4723
|
+
return ret;
|
|
4724
|
+
},
|
|
3562
4725
|
__wbg_parse_1c0d8a8656d7e016: function() { return handleError(function (arg0, arg1) {
|
|
3563
4726
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
3564
4727
|
return ret;
|
|
3565
4728
|
}, arguments); },
|
|
4729
|
+
__wbg_pixelStorei_2a93b18efde9acf8: function(arg0, arg1, arg2) {
|
|
4730
|
+
arg0.pixelStorei(arg1 >>> 0, arg2);
|
|
4731
|
+
},
|
|
4732
|
+
__wbg_pixelStorei_c844cd0db4f1fde6: function(arg0, arg1, arg2) {
|
|
4733
|
+
arg0.pixelStorei(arg1 >>> 0, arg2);
|
|
4734
|
+
},
|
|
4735
|
+
__wbg_polygonOffset_4eb460adf41db6cd: function(arg0, arg1, arg2) {
|
|
4736
|
+
arg0.polygonOffset(arg1, arg2);
|
|
4737
|
+
},
|
|
4738
|
+
__wbg_polygonOffset_eccb68e40a18f861: function(arg0, arg1, arg2) {
|
|
4739
|
+
arg0.polygonOffset(arg1, arg2);
|
|
4740
|
+
},
|
|
4741
|
+
__wbg_popErrorScope_20ec53d3d70b2173: function(arg0) {
|
|
4742
|
+
const ret = arg0.popErrorScope();
|
|
4743
|
+
return ret;
|
|
4744
|
+
},
|
|
3566
4745
|
__wbg_process_44c7a14e11e9f69e: function(arg0) {
|
|
3567
4746
|
const ret = arg0.process;
|
|
3568
4747
|
return ret;
|
|
@@ -3570,10 +4749,24 @@ function __wbg_get_imports() {
|
|
|
3570
4749
|
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
3571
4750
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
3572
4751
|
},
|
|
4752
|
+
__wbg_pushErrorScope_d3e17b69be8837df: function(arg0, arg1) {
|
|
4753
|
+
arg0.pushErrorScope(__wbindgen_enum_GpuErrorFilter[arg1]);
|
|
4754
|
+
},
|
|
3573
4755
|
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
3574
4756
|
const ret = arg0.push(arg1);
|
|
3575
4757
|
return ret;
|
|
3576
4758
|
},
|
|
4759
|
+
__wbg_queryCounterEXT_b74a4567ddfeecf0: function(arg0, arg1, arg2) {
|
|
4760
|
+
arg0.queryCounterEXT(arg1, arg2 >>> 0);
|
|
4761
|
+
},
|
|
4762
|
+
__wbg_querySelectorAll_7e98cbe256deaadd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4763
|
+
const ret = arg0.querySelectorAll(getStringFromWasm0(arg1, arg2));
|
|
4764
|
+
return ret;
|
|
4765
|
+
}, arguments); },
|
|
4766
|
+
__wbg_querySelector_fd7d157ebe17cd16: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4767
|
+
const ret = arg0.querySelector(getStringFromWasm0(arg1, arg2));
|
|
4768
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4769
|
+
}, arguments); },
|
|
3577
4770
|
__wbg_queueMicrotask_0ab5b2d2393e99b9: function(arg0) {
|
|
3578
4771
|
const ret = arg0.queueMicrotask;
|
|
3579
4772
|
return ret;
|
|
@@ -3588,6 +4781,27 @@ function __wbg_get_imports() {
|
|
|
3588
4781
|
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
3589
4782
|
arg0.randomFillSync(arg1);
|
|
3590
4783
|
}, arguments); },
|
|
4784
|
+
__wbg_readBuffer_4271437a70aae481: function(arg0, arg1) {
|
|
4785
|
+
arg0.readBuffer(arg1 >>> 0);
|
|
4786
|
+
},
|
|
4787
|
+
__wbg_readPixels_5f013a7d85b23800: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
4788
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
4789
|
+
}, arguments); },
|
|
4790
|
+
__wbg_readPixels_82c9dee754d58176: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
4791
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
4792
|
+
}, arguments); },
|
|
4793
|
+
__wbg_readPixels_c7861e25836bf57b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
4794
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
4795
|
+
}, arguments); },
|
|
4796
|
+
__wbg_renderbufferStorageMultisample_5c6e5d20c0eaa6ba: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4797
|
+
arg0.renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
4798
|
+
},
|
|
4799
|
+
__wbg_renderbufferStorage_0a8de92542893819: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4800
|
+
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
4801
|
+
},
|
|
4802
|
+
__wbg_renderbufferStorage_ab5f745ff8efce3d: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4803
|
+
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
4804
|
+
},
|
|
3591
4805
|
__wbg_requestAdapter_4814cb479d2dcf15: function(arg0, arg1) {
|
|
3592
4806
|
const ret = arg0.requestAdapter(arg1);
|
|
3593
4807
|
return ret;
|
|
@@ -3604,18 +4818,58 @@ function __wbg_get_imports() {
|
|
|
3604
4818
|
const ret = Promise.resolve(arg0);
|
|
3605
4819
|
return ret;
|
|
3606
4820
|
},
|
|
4821
|
+
__wbg_samplerParameterf_0b3308eeb1faa3a1: function(arg0, arg1, arg2, arg3) {
|
|
4822
|
+
arg0.samplerParameterf(arg1, arg2 >>> 0, arg3);
|
|
4823
|
+
},
|
|
4824
|
+
__wbg_samplerParameteri_7b1b4091de49aabb: function(arg0, arg1, arg2, arg3) {
|
|
4825
|
+
arg0.samplerParameteri(arg1, arg2 >>> 0, arg3);
|
|
4826
|
+
},
|
|
4827
|
+
__wbg_scenecanvas_new: function(arg0) {
|
|
4828
|
+
const ret = SceneCanvas.__wrap(arg0);
|
|
4829
|
+
return ret;
|
|
4830
|
+
},
|
|
4831
|
+
__wbg_scissor_105e756596bc35df: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4832
|
+
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
4833
|
+
},
|
|
4834
|
+
__wbg_scissor_573b844152316b8d: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4835
|
+
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
4836
|
+
},
|
|
4837
|
+
__wbg_setBindGroup_67bd9a0c57486387: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
4838
|
+
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
4839
|
+
}, arguments); },
|
|
3607
4840
|
__wbg_setBindGroup_9fdf11fd244aa68a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3608
4841
|
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
3609
4842
|
}, arguments); },
|
|
4843
|
+
__wbg_setBindGroup_a2a4442ac2a0be99: function(arg0, arg1, arg2) {
|
|
4844
|
+
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
4845
|
+
},
|
|
3610
4846
|
__wbg_setBindGroup_a7e88440d0ecac88: function(arg0, arg1, arg2) {
|
|
3611
4847
|
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
3612
4848
|
},
|
|
4849
|
+
__wbg_setIndexBuffer_34f864cca07ffcec: function(arg0, arg1, arg2, arg3) {
|
|
4850
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
|
|
4851
|
+
},
|
|
4852
|
+
__wbg_setIndexBuffer_495adb9486108a2f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4853
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
4854
|
+
},
|
|
3613
4855
|
__wbg_setPipeline_092493bfd77760ee: function(arg0, arg1) {
|
|
3614
4856
|
arg0.setPipeline(arg1);
|
|
3615
4857
|
},
|
|
4858
|
+
__wbg_setPipeline_50cfc53a5d0eb1d7: function(arg0, arg1) {
|
|
4859
|
+
arg0.setPipeline(arg1);
|
|
4860
|
+
},
|
|
4861
|
+
__wbg_setScissorRect_ab5c9964f1440456: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4862
|
+
arg0.setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
4863
|
+
},
|
|
3616
4864
|
__wbg_setVertexBuffer_1ed692dc2726f6c3: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3617
4865
|
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
|
|
3618
4866
|
},
|
|
4867
|
+
__wbg_setVertexBuffer_cc6e95bb408da360: function(arg0, arg1, arg2, arg3) {
|
|
4868
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
|
|
4869
|
+
},
|
|
4870
|
+
__wbg_setViewport_de0ebf5f8450da7e: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
4871
|
+
arg0.setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
4872
|
+
},
|
|
3619
4873
|
__wbg_set_61e45ae8061eca11: function(arg0, arg1, arg2) {
|
|
3620
4874
|
arg0.set(arg1, arg2 >>> 0);
|
|
3621
4875
|
},
|
|
@@ -3671,6 +4925,9 @@ function __wbg_get_imports() {
|
|
|
3671
4925
|
__wbg_set_beginning_of_pass_write_index_8e570668cd8cad5e: function(arg0, arg1) {
|
|
3672
4926
|
arg0.beginningOfPassWriteIndex = arg1 >>> 0;
|
|
3673
4927
|
},
|
|
4928
|
+
__wbg_set_beginning_of_pass_write_index_ddfc55f615254cc1: function(arg0, arg1) {
|
|
4929
|
+
arg0.beginningOfPassWriteIndex = arg1 >>> 0;
|
|
4930
|
+
},
|
|
3674
4931
|
__wbg_set_bind_group_layouts_436bd62a9b35e1ab: function(arg0, arg1) {
|
|
3675
4932
|
arg0.bindGroupLayouts = arg1;
|
|
3676
4933
|
},
|
|
@@ -3719,6 +4976,12 @@ function __wbg_get_imports() {
|
|
|
3719
4976
|
__wbg_set_compare_e61cc62d8f7e2191: function(arg0, arg1) {
|
|
3720
4977
|
arg0.compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
3721
4978
|
},
|
|
4979
|
+
__wbg_set_compute_dc74d722ba27aa5b: function(arg0, arg1) {
|
|
4980
|
+
arg0.compute = arg1;
|
|
4981
|
+
},
|
|
4982
|
+
__wbg_set_count_39e1b3c03c19b528: function(arg0, arg1) {
|
|
4983
|
+
arg0.count = arg1 >>> 0;
|
|
4984
|
+
},
|
|
3722
4985
|
__wbg_set_count_f285d8c62f4de679: function(arg0, arg1) {
|
|
3723
4986
|
arg0.count = arg1 >>> 0;
|
|
3724
4987
|
},
|
|
@@ -3779,6 +5042,9 @@ function __wbg_get_imports() {
|
|
|
3779
5042
|
__wbg_set_end_of_pass_write_index_568e7295b1b273a3: function(arg0, arg1) {
|
|
3780
5043
|
arg0.endOfPassWriteIndex = arg1 >>> 0;
|
|
3781
5044
|
},
|
|
5045
|
+
__wbg_set_end_of_pass_write_index_786588764311c9aa: function(arg0, arg1) {
|
|
5046
|
+
arg0.endOfPassWriteIndex = arg1 >>> 0;
|
|
5047
|
+
},
|
|
3782
5048
|
__wbg_set_entries_247b5e665db79583: function(arg0, arg1) {
|
|
3783
5049
|
arg0.entries = arg1;
|
|
3784
5050
|
},
|
|
@@ -3788,6 +5054,9 @@ function __wbg_get_imports() {
|
|
|
3788
5054
|
__wbg_set_entry_point_1d7ecf099e15fa2b: function(arg0, arg1, arg2) {
|
|
3789
5055
|
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
3790
5056
|
},
|
|
5057
|
+
__wbg_set_entry_point_3b13db51cfe0c5d6: function(arg0, arg1, arg2) {
|
|
5058
|
+
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
5059
|
+
},
|
|
3791
5060
|
__wbg_set_entry_point_a698bc91b472d5a9: function(arg0, arg1, arg2) {
|
|
3792
5061
|
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
3793
5062
|
},
|
|
@@ -3848,6 +5117,9 @@ function __wbg_get_imports() {
|
|
|
3848
5117
|
__wbg_set_label_22e57f4c5b38215f: function(arg0, arg1, arg2) {
|
|
3849
5118
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3850
5119
|
},
|
|
5120
|
+
__wbg_set_label_3341f59be0eb3205: function(arg0, arg1, arg2) {
|
|
5121
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
5122
|
+
},
|
|
3851
5123
|
__wbg_set_label_382417d222111912: function(arg0, arg1, arg2) {
|
|
3852
5124
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3853
5125
|
},
|
|
@@ -3857,6 +5129,12 @@ function __wbg_get_imports() {
|
|
|
3857
5129
|
__wbg_set_label_5724e5c6286e8a4e: function(arg0, arg1, arg2) {
|
|
3858
5130
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3859
5131
|
},
|
|
5132
|
+
__wbg_set_label_66fc1d23dd10d4f5: function(arg0, arg1, arg2) {
|
|
5133
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
5134
|
+
},
|
|
5135
|
+
__wbg_set_label_806446f85d68e201: function(arg0, arg1, arg2) {
|
|
5136
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
5137
|
+
},
|
|
3860
5138
|
__wbg_set_label_8354c6463558484f: function(arg0, arg1, arg2) {
|
|
3861
5139
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3862
5140
|
},
|
|
@@ -3884,6 +5162,9 @@ function __wbg_get_imports() {
|
|
|
3884
5162
|
__wbg_set_layout_44943c4c7d78f826: function(arg0, arg1) {
|
|
3885
5163
|
arg0.layout = arg1;
|
|
3886
5164
|
},
|
|
5165
|
+
__wbg_set_layout_726c6ae6f5919730: function(arg0, arg1) {
|
|
5166
|
+
arg0.layout = arg1;
|
|
5167
|
+
},
|
|
3887
5168
|
__wbg_set_load_op_103e6ce0a06327b3: function(arg0, arg1) {
|
|
3888
5169
|
arg0.loadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
3889
5170
|
},
|
|
@@ -3929,6 +5210,9 @@ function __wbg_get_imports() {
|
|
|
3929
5210
|
__wbg_set_module_3336e0ce2672c07c: function(arg0, arg1) {
|
|
3930
5211
|
arg0.module = arg1;
|
|
3931
5212
|
},
|
|
5213
|
+
__wbg_set_module_af2f871a0bed003c: function(arg0, arg1) {
|
|
5214
|
+
arg0.module = arg1;
|
|
5215
|
+
},
|
|
3932
5216
|
__wbg_set_multisample_1cdb4998c4f73341: function(arg0, arg1) {
|
|
3933
5217
|
arg0.multisample = arg1;
|
|
3934
5218
|
},
|
|
@@ -3965,6 +5249,9 @@ function __wbg_get_imports() {
|
|
|
3965
5249
|
__wbg_set_query_set_667d2dcfcedd1ec2: function(arg0, arg1) {
|
|
3966
5250
|
arg0.querySet = arg1;
|
|
3967
5251
|
},
|
|
5252
|
+
__wbg_set_query_set_aadbb433c8390a5c: function(arg0, arg1) {
|
|
5253
|
+
arg0.querySet = arg1;
|
|
5254
|
+
},
|
|
3968
5255
|
__wbg_set_r_13b3eba61d4ba4d9: function(arg0, arg1) {
|
|
3969
5256
|
arg0.r = arg1;
|
|
3970
5257
|
},
|
|
@@ -4052,6 +5339,9 @@ function __wbg_get_imports() {
|
|
|
4052
5339
|
__wbg_set_texture_a1baf7da91d20351: function(arg0, arg1) {
|
|
4053
5340
|
arg0.texture = arg1;
|
|
4054
5341
|
},
|
|
5342
|
+
__wbg_set_timestamp_writes_7fa18118aa24ddc1: function(arg0, arg1) {
|
|
5343
|
+
arg0.timestampWrites = arg1;
|
|
5344
|
+
},
|
|
4055
5345
|
__wbg_set_timestamp_writes_fdf8168751575b7f: function(arg0, arg1) {
|
|
4056
5346
|
arg0.timestampWrites = arg1;
|
|
4057
5347
|
},
|
|
@@ -4064,6 +5354,9 @@ function __wbg_get_imports() {
|
|
|
4064
5354
|
__wbg_set_type_55112c374bcc5a9d: function(arg0, arg1) {
|
|
4065
5355
|
arg0.type = __wbindgen_enum_GpuBufferBindingType[arg1];
|
|
4066
5356
|
},
|
|
5357
|
+
__wbg_set_type_9b9ab9961bd236f7: function(arg0, arg1) {
|
|
5358
|
+
arg0.type = __wbindgen_enum_GpuQueryType[arg1];
|
|
5359
|
+
},
|
|
4067
5360
|
__wbg_set_unclipped_depth_b15740038a226817: function(arg0, arg1) {
|
|
4068
5361
|
arg0.unclippedDepth = arg1 !== 0;
|
|
4069
5362
|
},
|
|
@@ -4124,6 +5417,12 @@ function __wbg_get_imports() {
|
|
|
4124
5417
|
__wbg_set_z_b6182f4c230116a7: function(arg0, arg1) {
|
|
4125
5418
|
arg0.z = arg1 >>> 0;
|
|
4126
5419
|
},
|
|
5420
|
+
__wbg_shaderSource_4cf90af97621ff49: function(arg0, arg1, arg2, arg3) {
|
|
5421
|
+
arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
|
|
5422
|
+
},
|
|
5423
|
+
__wbg_shaderSource_c3469dc2221dd528: function(arg0, arg1, arg2, arg3) {
|
|
5424
|
+
arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
|
|
5425
|
+
},
|
|
4127
5426
|
__wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
|
|
4128
5427
|
const ret = typeof global === 'undefined' ? null : global;
|
|
4129
5428
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -4144,6 +5443,30 @@ function __wbg_get_imports() {
|
|
|
4144
5443
|
const ret = arg0.status;
|
|
4145
5444
|
return ret;
|
|
4146
5445
|
},
|
|
5446
|
+
__wbg_stencilFuncSeparate_35136c4e5153406f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5447
|
+
arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
5448
|
+
},
|
|
5449
|
+
__wbg_stencilFuncSeparate_814300446c2969ef: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5450
|
+
arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
5451
|
+
},
|
|
5452
|
+
__wbg_stencilMaskSeparate_49367b0b5883a8bd: function(arg0, arg1, arg2) {
|
|
5453
|
+
arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
5454
|
+
},
|
|
5455
|
+
__wbg_stencilMaskSeparate_63976cc45fb94d84: function(arg0, arg1, arg2) {
|
|
5456
|
+
arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
5457
|
+
},
|
|
5458
|
+
__wbg_stencilMask_1c99b79b516d12dd: function(arg0, arg1) {
|
|
5459
|
+
arg0.stencilMask(arg1 >>> 0);
|
|
5460
|
+
},
|
|
5461
|
+
__wbg_stencilMask_9a844dc58a89992f: function(arg0, arg1) {
|
|
5462
|
+
arg0.stencilMask(arg1 >>> 0);
|
|
5463
|
+
},
|
|
5464
|
+
__wbg_stencilOpSeparate_b2cb9af05b803e02: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5465
|
+
arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
5466
|
+
},
|
|
5467
|
+
__wbg_stencilOpSeparate_c77fcb47561d0aee: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5468
|
+
arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
5469
|
+
},
|
|
4147
5470
|
__wbg_subarray_3ed232c8a6baee09: function(arg0, arg1, arg2) {
|
|
4148
5471
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
4149
5472
|
return ret;
|
|
@@ -4151,6 +5474,78 @@ function __wbg_get_imports() {
|
|
|
4151
5474
|
__wbg_submit_fc5b9a1154201a58: function(arg0, arg1) {
|
|
4152
5475
|
arg0.submit(arg1);
|
|
4153
5476
|
},
|
|
5477
|
+
__wbg_texImage2D_3813406af5bf54c8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5478
|
+
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5479
|
+
}, arguments); },
|
|
5480
|
+
__wbg_texImage2D_5abd8779d1d033c7: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5481
|
+
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5482
|
+
}, arguments); },
|
|
5483
|
+
__wbg_texImage2D_8d168171984f2a40: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5484
|
+
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5485
|
+
}, arguments); },
|
|
5486
|
+
__wbg_texImage3D_bdd9bebe42ed1f52: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
5487
|
+
arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
|
|
5488
|
+
}, arguments); },
|
|
5489
|
+
__wbg_texImage3D_ef16a1f721b3f908: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
5490
|
+
arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
|
|
5491
|
+
}, arguments); },
|
|
5492
|
+
__wbg_texParameteri_1fc451e0964fc91c: function(arg0, arg1, arg2, arg3) {
|
|
5493
|
+
arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
5494
|
+
},
|
|
5495
|
+
__wbg_texParameteri_9d0daa263d3a863f: function(arg0, arg1, arg2, arg3) {
|
|
5496
|
+
arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
5497
|
+
},
|
|
5498
|
+
__wbg_texStorage2D_7f947efc63dac273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5499
|
+
arg0.texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
5500
|
+
},
|
|
5501
|
+
__wbg_texStorage3D_f8f2e4b3386736f9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5502
|
+
arg0.texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6);
|
|
5503
|
+
},
|
|
5504
|
+
__wbg_texSubImage2D_047380bb2660e4f9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5505
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5506
|
+
}, arguments); },
|
|
5507
|
+
__wbg_texSubImage2D_5058af3d30a8e205: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5508
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5509
|
+
}, arguments); },
|
|
5510
|
+
__wbg_texSubImage2D_6a376bfc3a31436b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5511
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5512
|
+
}, arguments); },
|
|
5513
|
+
__wbg_texSubImage2D_98c43894eb217aa7: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5514
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5515
|
+
}, arguments); },
|
|
5516
|
+
__wbg_texSubImage2D_bed5e7a3cd81d409: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5517
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5518
|
+
}, arguments); },
|
|
5519
|
+
__wbg_texSubImage2D_d1af697e69f8a9e4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5520
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5521
|
+
}, arguments); },
|
|
5522
|
+
__wbg_texSubImage2D_d3cd09d0ffcb27be: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5523
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5524
|
+
}, arguments); },
|
|
5525
|
+
__wbg_texSubImage2D_e107b4f88c19b920: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5526
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5527
|
+
}, arguments); },
|
|
5528
|
+
__wbg_texSubImage3D_45e498ae6298998c: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5529
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5530
|
+
}, arguments); },
|
|
5531
|
+
__wbg_texSubImage3D_4fdd4cd95a2925c2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5532
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5533
|
+
}, arguments); },
|
|
5534
|
+
__wbg_texSubImage3D_6cb6cfd732dad145: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5535
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5536
|
+
}, arguments); },
|
|
5537
|
+
__wbg_texSubImage3D_8077e90ec309c414: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5538
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5539
|
+
}, arguments); },
|
|
5540
|
+
__wbg_texSubImage3D_93b38c69acb735c8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5541
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5542
|
+
}, arguments); },
|
|
5543
|
+
__wbg_texSubImage3D_c9e5a071796d412f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5544
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5545
|
+
}, arguments); },
|
|
5546
|
+
__wbg_texSubImage3D_feebaf7f0f4594c6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5547
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5548
|
+
}, arguments); },
|
|
4154
5549
|
__wbg_then_16d107c451e9905d: function(arg0, arg1, arg2) {
|
|
4155
5550
|
const ret = arg0.then(arg1, arg2);
|
|
4156
5551
|
return ret;
|
|
@@ -4163,23 +5558,162 @@ function __wbg_get_imports() {
|
|
|
4163
5558
|
const ret = arg0.then(arg1);
|
|
4164
5559
|
return ret;
|
|
4165
5560
|
},
|
|
5561
|
+
__wbg_uniform1f_62692c8fa8e7bf1e: function(arg0, arg1, arg2) {
|
|
5562
|
+
arg0.uniform1f(arg1, arg2);
|
|
5563
|
+
},
|
|
5564
|
+
__wbg_uniform1f_b79d0c5667f9fb40: function(arg0, arg1, arg2) {
|
|
5565
|
+
arg0.uniform1f(arg1, arg2);
|
|
5566
|
+
},
|
|
5567
|
+
__wbg_uniform1i_5830de6702add20a: function(arg0, arg1, arg2) {
|
|
5568
|
+
arg0.uniform1i(arg1, arg2);
|
|
5569
|
+
},
|
|
5570
|
+
__wbg_uniform1i_7621f908f78177df: function(arg0, arg1, arg2) {
|
|
5571
|
+
arg0.uniform1i(arg1, arg2);
|
|
5572
|
+
},
|
|
5573
|
+
__wbg_uniform1ui_cd7ad5581093b3df: function(arg0, arg1, arg2) {
|
|
5574
|
+
arg0.uniform1ui(arg1, arg2 >>> 0);
|
|
5575
|
+
},
|
|
5576
|
+
__wbg_uniform2fv_1b43656b33177d21: function(arg0, arg1, arg2, arg3) {
|
|
5577
|
+
arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5578
|
+
},
|
|
5579
|
+
__wbg_uniform2fv_948dab6a82b428ac: function(arg0, arg1, arg2, arg3) {
|
|
5580
|
+
arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5581
|
+
},
|
|
5582
|
+
__wbg_uniform2iv_859048b9d60f46ae: function(arg0, arg1, arg2, arg3) {
|
|
5583
|
+
arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5584
|
+
},
|
|
5585
|
+
__wbg_uniform2iv_f84a24961c0cfcd0: function(arg0, arg1, arg2, arg3) {
|
|
5586
|
+
arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5587
|
+
},
|
|
5588
|
+
__wbg_uniform2uiv_8a9cb3155271213b: function(arg0, arg1, arg2, arg3) {
|
|
5589
|
+
arg0.uniform2uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
5590
|
+
},
|
|
5591
|
+
__wbg_uniform3fv_8ecb5ebb510b7bce: function(arg0, arg1, arg2, arg3) {
|
|
5592
|
+
arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5593
|
+
},
|
|
5594
|
+
__wbg_uniform3fv_95d1933ea1440725: function(arg0, arg1, arg2, arg3) {
|
|
5595
|
+
arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5596
|
+
},
|
|
5597
|
+
__wbg_uniform3iv_09abae5eabd6b9d6: function(arg0, arg1, arg2, arg3) {
|
|
5598
|
+
arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5599
|
+
},
|
|
5600
|
+
__wbg_uniform3iv_a3a7008990fd84f0: function(arg0, arg1, arg2, arg3) {
|
|
5601
|
+
arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5602
|
+
},
|
|
5603
|
+
__wbg_uniform3uiv_3c0b163732f5b8f0: function(arg0, arg1, arg2, arg3) {
|
|
5604
|
+
arg0.uniform3uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
5605
|
+
},
|
|
5606
|
+
__wbg_uniform4f_9ff60fc65b0ed726: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5607
|
+
arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
|
|
5608
|
+
},
|
|
5609
|
+
__wbg_uniform4f_b25e39808b830021: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5610
|
+
arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
|
|
5611
|
+
},
|
|
5612
|
+
__wbg_uniform4fv_4ca8c114ca3de099: function(arg0, arg1, arg2, arg3) {
|
|
5613
|
+
arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5614
|
+
},
|
|
5615
|
+
__wbg_uniform4fv_674a247aeb15012d: function(arg0, arg1, arg2, arg3) {
|
|
5616
|
+
arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5617
|
+
},
|
|
5618
|
+
__wbg_uniform4iv_45ab52abcb3f882c: function(arg0, arg1, arg2, arg3) {
|
|
5619
|
+
arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5620
|
+
},
|
|
5621
|
+
__wbg_uniform4iv_d02934d7b94df609: function(arg0, arg1, arg2, arg3) {
|
|
5622
|
+
arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5623
|
+
},
|
|
5624
|
+
__wbg_uniform4uiv_0d1a8ed214f10c31: function(arg0, arg1, arg2, arg3) {
|
|
5625
|
+
arg0.uniform4uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
5626
|
+
},
|
|
5627
|
+
__wbg_uniformBlockBinding_a9ed6b750199e03c: function(arg0, arg1, arg2, arg3) {
|
|
5628
|
+
arg0.uniformBlockBinding(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
5629
|
+
},
|
|
5630
|
+
__wbg_uniformMatrix2fv_769725d64641341f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5631
|
+
arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5632
|
+
},
|
|
5633
|
+
__wbg_uniformMatrix2fv_9284424cc6aac672: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5634
|
+
arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5635
|
+
},
|
|
5636
|
+
__wbg_uniformMatrix2x3fv_dba00c4fc8eefe47: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5637
|
+
arg0.uniformMatrix2x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5638
|
+
},
|
|
5639
|
+
__wbg_uniformMatrix2x4fv_d801a561c3c18169: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5640
|
+
arg0.uniformMatrix2x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5641
|
+
},
|
|
5642
|
+
__wbg_uniformMatrix3fv_33e96c7d29dc1e22: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5643
|
+
arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5644
|
+
},
|
|
5645
|
+
__wbg_uniformMatrix3fv_568aa181379c8a75: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5646
|
+
arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5647
|
+
},
|
|
5648
|
+
__wbg_uniformMatrix3x2fv_ce43e8186ea60a1e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5649
|
+
arg0.uniformMatrix3x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5650
|
+
},
|
|
5651
|
+
__wbg_uniformMatrix3x4fv_8abccc5745b0dd90: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5652
|
+
arg0.uniformMatrix3x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5653
|
+
},
|
|
5654
|
+
__wbg_uniformMatrix4fv_25115a23e04f6db7: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5655
|
+
arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5656
|
+
},
|
|
5657
|
+
__wbg_uniformMatrix4fv_423b958042692150: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5658
|
+
arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5659
|
+
},
|
|
5660
|
+
__wbg_uniformMatrix4x2fv_1ac2bf986a322e3f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5661
|
+
arg0.uniformMatrix4x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5662
|
+
},
|
|
5663
|
+
__wbg_uniformMatrix4x3fv_8640fa85b90ea910: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5664
|
+
arg0.uniformMatrix4x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5665
|
+
},
|
|
4166
5666
|
__wbg_unmap_50b3be4aaf23fa39: function(arg0) {
|
|
4167
5667
|
arg0.unmap();
|
|
4168
5668
|
},
|
|
5669
|
+
__wbg_useProgram_182d120fe476921b: function(arg0, arg1) {
|
|
5670
|
+
arg0.useProgram(arg1);
|
|
5671
|
+
},
|
|
5672
|
+
__wbg_useProgram_49495850b446fa56: function(arg0, arg1) {
|
|
5673
|
+
arg0.useProgram(arg1);
|
|
5674
|
+
},
|
|
4169
5675
|
__wbg_versions_276b2795b1c6a219: function(arg0) {
|
|
4170
5676
|
const ret = arg0.versions;
|
|
4171
5677
|
return ret;
|
|
4172
5678
|
},
|
|
5679
|
+
__wbg_vertexAttribDivisorANGLE_978337b09d11ed84: function(arg0, arg1, arg2) {
|
|
5680
|
+
arg0.vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
|
|
5681
|
+
},
|
|
5682
|
+
__wbg_vertexAttribDivisor_fb31b5ed9bc856da: function(arg0, arg1, arg2) {
|
|
5683
|
+
arg0.vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
|
|
5684
|
+
},
|
|
5685
|
+
__wbg_vertexAttribIPointer_de08a8d8b625e253: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5686
|
+
arg0.vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
5687
|
+
},
|
|
5688
|
+
__wbg_vertexAttribPointer_a8f0af57269c2067: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5689
|
+
arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
5690
|
+
},
|
|
5691
|
+
__wbg_vertexAttribPointer_b300c8e000cdac93: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5692
|
+
arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
5693
|
+
},
|
|
5694
|
+
__wbg_viewport_affdf15c559df1e2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5695
|
+
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
5696
|
+
},
|
|
5697
|
+
__wbg_viewport_e8a16ca4a5085e5f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5698
|
+
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
5699
|
+
},
|
|
5700
|
+
__wbg_width_6d9315ecc7140ff6: function(arg0) {
|
|
5701
|
+
const ret = arg0.width;
|
|
5702
|
+
return ret;
|
|
5703
|
+
},
|
|
5704
|
+
__wbg_writeBuffer_7d54524c36f1c7e2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5705
|
+
arg0.writeBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
5706
|
+
}, arguments); },
|
|
4173
5707
|
__wbg_writeTexture_9d4c493be748d189: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4174
5708
|
arg0.writeTexture(arg1, arg2, arg3, arg4);
|
|
4175
5709
|
}, arguments); },
|
|
4176
5710
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
4177
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
4178
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5711
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2255, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5712
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h1592ff3f91e1224b);
|
|
4179
5713
|
return ret;
|
|
4180
5714
|
},
|
|
4181
5715
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
4182
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
5716
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 5955, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
4183
5717
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h63cbec796bb507b5);
|
|
4184
5718
|
return ret;
|
|
4185
5719
|
},
|
|
@@ -4189,11 +5723,41 @@ function __wbg_get_imports() {
|
|
|
4189
5723
|
return ret;
|
|
4190
5724
|
},
|
|
4191
5725
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
5726
|
+
// Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
|
|
5727
|
+
const ret = getArrayF32FromWasm0(arg0, arg1);
|
|
5728
|
+
return ret;
|
|
5729
|
+
},
|
|
5730
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
5731
|
+
// Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
|
|
5732
|
+
const ret = getArrayI16FromWasm0(arg0, arg1);
|
|
5733
|
+
return ret;
|
|
5734
|
+
},
|
|
5735
|
+
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
5736
|
+
// Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
|
|
5737
|
+
const ret = getArrayI32FromWasm0(arg0, arg1);
|
|
5738
|
+
return ret;
|
|
5739
|
+
},
|
|
5740
|
+
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
5741
|
+
// Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
|
|
5742
|
+
const ret = getArrayI8FromWasm0(arg0, arg1);
|
|
5743
|
+
return ret;
|
|
5744
|
+
},
|
|
5745
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
5746
|
+
// Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
|
|
5747
|
+
const ret = getArrayU16FromWasm0(arg0, arg1);
|
|
5748
|
+
return ret;
|
|
5749
|
+
},
|
|
5750
|
+
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
5751
|
+
// Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
|
|
5752
|
+
const ret = getArrayU32FromWasm0(arg0, arg1);
|
|
5753
|
+
return ret;
|
|
5754
|
+
},
|
|
5755
|
+
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
4192
5756
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
4193
5757
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
4194
5758
|
return ret;
|
|
4195
5759
|
},
|
|
4196
|
-
|
|
5760
|
+
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
4197
5761
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
4198
5762
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
4199
5763
|
return ret;
|
|
@@ -4214,8 +5778,8 @@ function __wbg_get_imports() {
|
|
|
4214
5778
|
};
|
|
4215
5779
|
}
|
|
4216
5780
|
|
|
4217
|
-
function
|
|
4218
|
-
wasm.
|
|
5781
|
+
function wasm_bindgen__convert__closures_____invoke__h1592ff3f91e1224b(arg0, arg1, arg2) {
|
|
5782
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1592ff3f91e1224b(arg0, arg1, arg2);
|
|
4219
5783
|
}
|
|
4220
5784
|
|
|
4221
5785
|
function wasm_bindgen__convert__closures_____invoke__h63cbec796bb507b5(arg0, arg1, arg2) {
|
|
@@ -4225,6 +5789,10 @@ function wasm_bindgen__convert__closures_____invoke__h63cbec796bb507b5(arg0, arg
|
|
|
4225
5789
|
}
|
|
4226
5790
|
}
|
|
4227
5791
|
|
|
5792
|
+
function wasm_bindgen__convert__closures_____invoke__h1149b643047c36f1(arg0, arg1, arg2, arg3) {
|
|
5793
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1149b643047c36f1(arg0, arg1, arg2, arg3);
|
|
5794
|
+
}
|
|
5795
|
+
|
|
4228
5796
|
|
|
4229
5797
|
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
|
|
4230
5798
|
|
|
@@ -4247,6 +5815,9 @@ const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equa
|
|
|
4247
5815
|
const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
|
|
4248
5816
|
|
|
4249
5817
|
|
|
5818
|
+
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
5819
|
+
|
|
5820
|
+
|
|
4250
5821
|
const __wbindgen_enum_GpuFilterMode = ["nearest", "linear"];
|
|
4251
5822
|
|
|
4252
5823
|
|
|
@@ -4268,6 +5839,9 @@ const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
|
|
|
4268
5839
|
const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
|
|
4269
5840
|
|
|
4270
5841
|
|
|
5842
|
+
const __wbindgen_enum_GpuQueryType = ["occlusion", "timestamp"];
|
|
5843
|
+
|
|
5844
|
+
|
|
4271
5845
|
const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
|
|
4272
5846
|
|
|
4273
5847
|
|
|
@@ -4299,15 +5873,24 @@ const __wbindgen_enum_GpuVertexFormat = ["uint8", "uint8x2", "uint8x4", "sint8",
|
|
|
4299
5873
|
|
|
4300
5874
|
|
|
4301
5875
|
const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
|
|
5876
|
+
const Canvas3DFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5877
|
+
? { register: () => {}, unregister: () => {} }
|
|
5878
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_canvas3d_free(ptr, 1));
|
|
4302
5879
|
const CredentialVaultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4303
5880
|
? { register: () => {}, unregister: () => {} }
|
|
4304
5881
|
: new FinalizationRegistry(ptr => wasm.__wbg_credentialvault_free(ptr, 1));
|
|
5882
|
+
const GpuHostFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5883
|
+
? { register: () => {}, unregister: () => {} }
|
|
5884
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_gpuhost_free(ptr, 1));
|
|
4305
5885
|
const KernelFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4306
5886
|
? { register: () => {}, unregister: () => {} }
|
|
4307
5887
|
: new FinalizationRegistry(ptr => wasm.__wbg_kernel_free(ptr, 1));
|
|
4308
5888
|
const MemoryStoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4309
5889
|
? { register: () => {}, unregister: () => {} }
|
|
4310
5890
|
: new FinalizationRegistry(ptr => wasm.__wbg_memorystore_free(ptr, 1));
|
|
5891
|
+
const SceneCanvasFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5892
|
+
? { register: () => {}, unregister: () => {} }
|
|
5893
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_scenecanvas_free(ptr, 1));
|
|
4311
5894
|
const ServerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4312
5895
|
? { register: () => {}, unregister: () => {} }
|
|
4313
5896
|
: new FinalizationRegistry(ptr => wasm.__wbg_server_free(ptr, 1));
|
|
@@ -4318,6 +5901,12 @@ function addToExternrefTable0(obj) {
|
|
|
4318
5901
|
return idx;
|
|
4319
5902
|
}
|
|
4320
5903
|
|
|
5904
|
+
function _assertClass(instance, klass) {
|
|
5905
|
+
if (!(instance instanceof klass)) {
|
|
5906
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
5907
|
+
}
|
|
5908
|
+
}
|
|
5909
|
+
|
|
4321
5910
|
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
4322
5911
|
? { register: () => {}, unregister: () => {} }
|
|
4323
5912
|
: new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure(state.a, state.b));
|
|
@@ -4387,6 +5976,31 @@ function debugString(val) {
|
|
|
4387
5976
|
return className;
|
|
4388
5977
|
}
|
|
4389
5978
|
|
|
5979
|
+
function getArrayF32FromWasm0(ptr, len) {
|
|
5980
|
+
ptr = ptr >>> 0;
|
|
5981
|
+
return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
5982
|
+
}
|
|
5983
|
+
|
|
5984
|
+
function getArrayI16FromWasm0(ptr, len) {
|
|
5985
|
+
ptr = ptr >>> 0;
|
|
5986
|
+
return getInt16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
5987
|
+
}
|
|
5988
|
+
|
|
5989
|
+
function getArrayI32FromWasm0(ptr, len) {
|
|
5990
|
+
ptr = ptr >>> 0;
|
|
5991
|
+
return getInt32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
5992
|
+
}
|
|
5993
|
+
|
|
5994
|
+
function getArrayI8FromWasm0(ptr, len) {
|
|
5995
|
+
ptr = ptr >>> 0;
|
|
5996
|
+
return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
5997
|
+
}
|
|
5998
|
+
|
|
5999
|
+
function getArrayU16FromWasm0(ptr, len) {
|
|
6000
|
+
ptr = ptr >>> 0;
|
|
6001
|
+
return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
6002
|
+
}
|
|
6003
|
+
|
|
4390
6004
|
function getArrayU32FromWasm0(ptr, len) {
|
|
4391
6005
|
ptr = ptr >>> 0;
|
|
4392
6006
|
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
@@ -4405,10 +6019,50 @@ function getDataViewMemory0() {
|
|
|
4405
6019
|
return cachedDataViewMemory0;
|
|
4406
6020
|
}
|
|
4407
6021
|
|
|
6022
|
+
let cachedFloat32ArrayMemory0 = null;
|
|
6023
|
+
function getFloat32ArrayMemory0() {
|
|
6024
|
+
if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
|
|
6025
|
+
cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
|
|
6026
|
+
}
|
|
6027
|
+
return cachedFloat32ArrayMemory0;
|
|
6028
|
+
}
|
|
6029
|
+
|
|
6030
|
+
let cachedInt16ArrayMemory0 = null;
|
|
6031
|
+
function getInt16ArrayMemory0() {
|
|
6032
|
+
if (cachedInt16ArrayMemory0 === null || cachedInt16ArrayMemory0.byteLength === 0) {
|
|
6033
|
+
cachedInt16ArrayMemory0 = new Int16Array(wasm.memory.buffer);
|
|
6034
|
+
}
|
|
6035
|
+
return cachedInt16ArrayMemory0;
|
|
6036
|
+
}
|
|
6037
|
+
|
|
6038
|
+
let cachedInt32ArrayMemory0 = null;
|
|
6039
|
+
function getInt32ArrayMemory0() {
|
|
6040
|
+
if (cachedInt32ArrayMemory0 === null || cachedInt32ArrayMemory0.byteLength === 0) {
|
|
6041
|
+
cachedInt32ArrayMemory0 = new Int32Array(wasm.memory.buffer);
|
|
6042
|
+
}
|
|
6043
|
+
return cachedInt32ArrayMemory0;
|
|
6044
|
+
}
|
|
6045
|
+
|
|
6046
|
+
let cachedInt8ArrayMemory0 = null;
|
|
6047
|
+
function getInt8ArrayMemory0() {
|
|
6048
|
+
if (cachedInt8ArrayMemory0 === null || cachedInt8ArrayMemory0.byteLength === 0) {
|
|
6049
|
+
cachedInt8ArrayMemory0 = new Int8Array(wasm.memory.buffer);
|
|
6050
|
+
}
|
|
6051
|
+
return cachedInt8ArrayMemory0;
|
|
6052
|
+
}
|
|
6053
|
+
|
|
4408
6054
|
function getStringFromWasm0(ptr, len) {
|
|
4409
6055
|
return decodeText(ptr >>> 0, len);
|
|
4410
6056
|
}
|
|
4411
6057
|
|
|
6058
|
+
let cachedUint16ArrayMemory0 = null;
|
|
6059
|
+
function getUint16ArrayMemory0() {
|
|
6060
|
+
if (cachedUint16ArrayMemory0 === null || cachedUint16ArrayMemory0.byteLength === 0) {
|
|
6061
|
+
cachedUint16ArrayMemory0 = new Uint16Array(wasm.memory.buffer);
|
|
6062
|
+
}
|
|
6063
|
+
return cachedUint16ArrayMemory0;
|
|
6064
|
+
}
|
|
6065
|
+
|
|
4412
6066
|
let cachedUint32ArrayMemory0 = null;
|
|
4413
6067
|
function getUint32ArrayMemory0() {
|
|
4414
6068
|
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
@@ -4544,6 +6198,11 @@ function __wbg_finalize_init(instance, module) {
|
|
|
4544
6198
|
wasm = instance.exports;
|
|
4545
6199
|
wasmModule = module;
|
|
4546
6200
|
cachedDataViewMemory0 = null;
|
|
6201
|
+
cachedFloat32ArrayMemory0 = null;
|
|
6202
|
+
cachedInt16ArrayMemory0 = null;
|
|
6203
|
+
cachedInt32ArrayMemory0 = null;
|
|
6204
|
+
cachedInt8ArrayMemory0 = null;
|
|
6205
|
+
cachedUint16ArrayMemory0 = null;
|
|
4547
6206
|
cachedUint32ArrayMemory0 = null;
|
|
4548
6207
|
cachedUint8ArrayMemory0 = null;
|
|
4549
6208
|
wasm.__wbindgen_start();
|