@almadar/kernel 19.0.1 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pkg/orbital_wasm.d.ts +164 -5
- package/pkg/orbital_wasm.js +1780 -67
- package/pkg/orbital_wasm_bg.wasm +0 -0
- package/pkg/orbital_wasm_bg.wasm.d.ts +49 -4
- package/pkg-client/orbital_wasm.d.ts +164 -5
- package/pkg-client/orbital_wasm.js +1780 -67
- package/pkg-client/orbital_wasm_bg.wasm +0 -0
- package/pkg-client/orbital_wasm_bg.wasm.d.ts +49 -4
|
@@ -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
|
|
@@ -610,11 +863,12 @@ export class Kernel {
|
|
|
610
863
|
* @param {string | null} [entity_id]
|
|
611
864
|
* @param {string | null} [payload_json]
|
|
612
865
|
* @param {string | null} [route]
|
|
866
|
+
* @param {string | null} [crumb]
|
|
613
867
|
* @returns {string}
|
|
614
868
|
*/
|
|
615
|
-
dispatchMount(seeds_json, entity_id, payload_json, route) {
|
|
616
|
-
let
|
|
617
|
-
let
|
|
869
|
+
dispatchMount(seeds_json, entity_id, payload_json, route, crumb) {
|
|
870
|
+
let deferred7_0;
|
|
871
|
+
let deferred7_1;
|
|
618
872
|
try {
|
|
619
873
|
const ptr0 = passStringToWasm0(seeds_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
620
874
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -624,19 +878,33 @@ export class Kernel {
|
|
|
624
878
|
var len2 = WASM_VECTOR_LEN;
|
|
625
879
|
var ptr3 = isLikeNone(route) ? 0 : passStringToWasm0(route, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
626
880
|
var len3 = WASM_VECTOR_LEN;
|
|
627
|
-
|
|
628
|
-
var
|
|
629
|
-
|
|
881
|
+
var ptr4 = isLikeNone(crumb) ? 0 : passStringToWasm0(crumb, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
882
|
+
var len4 = WASM_VECTOR_LEN;
|
|
883
|
+
const ret = wasm.kernel_dispatchMount(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
884
|
+
var ptr6 = ret[0];
|
|
885
|
+
var len6 = ret[1];
|
|
630
886
|
if (ret[3]) {
|
|
631
|
-
|
|
887
|
+
ptr6 = 0; len6 = 0;
|
|
632
888
|
throw takeFromExternrefTable0(ret[2]);
|
|
633
889
|
}
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
return getStringFromWasm0(
|
|
890
|
+
deferred7_0 = ptr6;
|
|
891
|
+
deferred7_1 = len6;
|
|
892
|
+
return getStringFromWasm0(ptr6, len6);
|
|
637
893
|
} finally {
|
|
638
|
-
wasm.__wbindgen_free(
|
|
894
|
+
wasm.__wbindgen_free(deferred7_0, deferred7_1, 1);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* Drop a held completion payload no dispatch will take (the host could not deliver it).
|
|
899
|
+
* @param {number} held_payload
|
|
900
|
+
* @returns {boolean}
|
|
901
|
+
*/
|
|
902
|
+
dropHeldPayload(held_payload) {
|
|
903
|
+
const ret = wasm.kernel_dropHeldPayload(this.__wbg_ptr, held_payload);
|
|
904
|
+
if (ret[2]) {
|
|
905
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
639
906
|
}
|
|
907
|
+
return ret[0] !== 0;
|
|
640
908
|
}
|
|
641
909
|
/**
|
|
642
910
|
* @param {number} flight
|
|
@@ -798,6 +1066,17 @@ export class Kernel {
|
|
|
798
1066
|
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
799
1067
|
}
|
|
800
1068
|
}
|
|
1069
|
+
/**
|
|
1070
|
+
* Install the GPU answerer: from now on every `gpu/` ask is held in the kernel and answered here in ask order, and
|
|
1071
|
+
* each outcome's route event is handed to `onCompletion` (see [`drain_client_gpu`]) for the host to dispatch with
|
|
1072
|
+
* `dispatchHeld`, so no handle or byte crosses to JavaScript.
|
|
1073
|
+
* @param {GpuHost} gpu
|
|
1074
|
+
* @param {Function} on_completion
|
|
1075
|
+
*/
|
|
1076
|
+
installGpu(gpu, on_completion) {
|
|
1077
|
+
_assertClass(gpu, GpuHost);
|
|
1078
|
+
wasm.kernel_installGpu(this.__wbg_ptr, gpu.__wbg_ptr, on_completion);
|
|
1079
|
+
}
|
|
801
1080
|
/**
|
|
802
1081
|
* @returns {string}
|
|
803
1082
|
*/
|
|
@@ -1607,78 +1886,268 @@ export class MemoryStore {
|
|
|
1607
1886
|
}
|
|
1608
1887
|
if (Symbol.dispose) MemoryStore.prototype[Symbol.dispose] = MemoryStore.prototype.free;
|
|
1609
1888
|
|
|
1610
|
-
|
|
1611
|
-
* The server role: `start` a request, answer the I/O it asks for, `resume` the flight until it is done.
|
|
1612
|
-
*/
|
|
1613
|
-
export class Server {
|
|
1889
|
+
export class SceneCanvas {
|
|
1614
1890
|
static __wrap(ptr) {
|
|
1615
|
-
const obj = Object.create(
|
|
1891
|
+
const obj = Object.create(SceneCanvas.prototype);
|
|
1616
1892
|
obj.__wbg_ptr = ptr;
|
|
1617
|
-
|
|
1893
|
+
SceneCanvasFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1618
1894
|
return obj;
|
|
1619
1895
|
}
|
|
1620
1896
|
__destroy_into_raw() {
|
|
1621
1897
|
const ptr = this.__wbg_ptr;
|
|
1622
1898
|
this.__wbg_ptr = 0;
|
|
1623
|
-
|
|
1899
|
+
SceneCanvasFinalization.unregister(this);
|
|
1624
1900
|
return ptr;
|
|
1625
1901
|
}
|
|
1626
1902
|
free() {
|
|
1627
1903
|
const ptr = this.__destroy_into_raw();
|
|
1628
|
-
wasm.
|
|
1904
|
+
wasm.__wbg_scenecanvas_free(ptr, 0);
|
|
1629
1905
|
}
|
|
1630
1906
|
/**
|
|
1631
|
-
* @param {
|
|
1632
|
-
* @returns {
|
|
1907
|
+
* @param {HTMLCanvasElement} canvas
|
|
1908
|
+
* @returns {Promise<SceneCanvas>}
|
|
1633
1909
|
*/
|
|
1634
|
-
|
|
1635
|
-
const ret = wasm.
|
|
1636
|
-
|
|
1637
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
1638
|
-
}
|
|
1639
|
-
return ret[0] !== 0;
|
|
1910
|
+
static create(canvas) {
|
|
1911
|
+
const ret = wasm.scenecanvas_create(canvas);
|
|
1912
|
+
return ret;
|
|
1640
1913
|
}
|
|
1641
1914
|
/**
|
|
1642
|
-
* @param {
|
|
1643
|
-
* @
|
|
1915
|
+
* @param {number} x
|
|
1916
|
+
* @param {number} y
|
|
1644
1917
|
*/
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
let deferred3_1;
|
|
1648
|
-
try {
|
|
1649
|
-
const ptr0 = passStringToWasm0(side, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1650
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1651
|
-
const ret = wasm.server_bootMounts(this.__wbg_ptr, ptr0, len0);
|
|
1652
|
-
var ptr2 = ret[0];
|
|
1653
|
-
var len2 = ret[1];
|
|
1654
|
-
if (ret[3]) {
|
|
1655
|
-
ptr2 = 0; len2 = 0;
|
|
1656
|
-
throw takeFromExternrefTable0(ret[2]);
|
|
1657
|
-
}
|
|
1658
|
-
deferred3_0 = ptr2;
|
|
1659
|
-
deferred3_1 = len2;
|
|
1660
|
-
return getStringFromWasm0(ptr2, len2);
|
|
1661
|
-
} finally {
|
|
1662
|
-
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
1663
|
-
}
|
|
1918
|
+
doubleTap(x, y) {
|
|
1919
|
+
wasm.scenecanvas_doubleTap(this.__wbg_ptr, x, y);
|
|
1664
1920
|
}
|
|
1665
1921
|
/**
|
|
1666
|
-
*
|
|
1922
|
+
* Advances the scene clock to `now_ms`; true while the page should keep drawing.
|
|
1923
|
+
* @param {number} now_ms
|
|
1667
1924
|
* @returns {boolean}
|
|
1668
1925
|
*/
|
|
1669
|
-
|
|
1670
|
-
const ret = wasm.
|
|
1671
|
-
|
|
1672
|
-
|
|
1926
|
+
frame(now_ms) {
|
|
1927
|
+
const ret = wasm.scenecanvas_frame(this.__wbg_ptr, now_ms);
|
|
1928
|
+
return ret !== 0;
|
|
1929
|
+
}
|
|
1930
|
+
/**
|
|
1931
|
+
* A pointer event in CSS pixels: `touch-down`, `touch-move`, `touch-up` or `touch-cancel`.
|
|
1932
|
+
* @param {string} kind
|
|
1933
|
+
* @param {number} x
|
|
1934
|
+
* @param {number} y
|
|
1935
|
+
* @param {number} button
|
|
1936
|
+
*/
|
|
1937
|
+
input(kind, x, y, button) {
|
|
1938
|
+
const ptr0 = passStringToWasm0(kind, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1939
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1940
|
+
wasm.scenecanvas_input(this.__wbg_ptr, ptr0, len0, x, y, button);
|
|
1941
|
+
}
|
|
1942
|
+
render() {
|
|
1943
|
+
const ret = wasm.scenecanvas_render(this.__wbg_ptr);
|
|
1944
|
+
if (ret[1]) {
|
|
1945
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1673
1946
|
}
|
|
1674
|
-
return ret[0] !== 0;
|
|
1675
1947
|
}
|
|
1676
1948
|
/**
|
|
1677
|
-
*
|
|
1678
|
-
* @param {
|
|
1679
|
-
* @
|
|
1949
|
+
* @param {number} css_width
|
|
1950
|
+
* @param {number} css_height
|
|
1951
|
+
* @param {number} pixel_ratio
|
|
1680
1952
|
*/
|
|
1681
|
-
|
|
1953
|
+
resize(css_width, css_height, pixel_ratio) {
|
|
1954
|
+
const ret = wasm.scenecanvas_resize(this.__wbg_ptr, css_width, css_height, pixel_ratio);
|
|
1955
|
+
if (ret[1]) {
|
|
1956
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
/**
|
|
1960
|
+
* @param {boolean} enabled
|
|
1961
|
+
*/
|
|
1962
|
+
setMotion(enabled) {
|
|
1963
|
+
wasm.scenecanvas_setMotion(this.__wbg_ptr, enabled);
|
|
1964
|
+
}
|
|
1965
|
+
/**
|
|
1966
|
+
* `node_json`: the render node (`{ "type": "physics-canvas", … }`).
|
|
1967
|
+
* @param {string} node_json
|
|
1968
|
+
*/
|
|
1969
|
+
setScene(node_json) {
|
|
1970
|
+
const ptr0 = passStringToWasm0(node_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1971
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1972
|
+
const ret = wasm.scenecanvas_setScene(this.__wbg_ptr, ptr0, len0);
|
|
1973
|
+
if (ret[1]) {
|
|
1974
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
/**
|
|
1978
|
+
* The scene events input queued, as JSON `[{ "event", "payload" }]`.
|
|
1979
|
+
* @returns {string}
|
|
1980
|
+
*/
|
|
1981
|
+
takeEvents() {
|
|
1982
|
+
let deferred1_0;
|
|
1983
|
+
let deferred1_1;
|
|
1984
|
+
try {
|
|
1985
|
+
const ret = wasm.scenecanvas_takeEvents(this.__wbg_ptr);
|
|
1986
|
+
deferred1_0 = ret[0];
|
|
1987
|
+
deferred1_1 = ret[1];
|
|
1988
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1989
|
+
} finally {
|
|
1990
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
/**
|
|
1994
|
+
* @returns {boolean}
|
|
1995
|
+
*/
|
|
1996
|
+
webgpu() {
|
|
1997
|
+
const ret = wasm.scenecanvas_webgpu(this.__wbg_ptr);
|
|
1998
|
+
return ret !== 0;
|
|
1999
|
+
}
|
|
2000
|
+
/**
|
|
2001
|
+
* Whether the scene took the zoom; the page scrolls when it did not.
|
|
2002
|
+
* @param {number} factor
|
|
2003
|
+
* @param {number} x
|
|
2004
|
+
* @param {number} y
|
|
2005
|
+
* @returns {boolean}
|
|
2006
|
+
*/
|
|
2007
|
+
zoom(factor, x, y) {
|
|
2008
|
+
const ret = wasm.scenecanvas_zoom(this.__wbg_ptr, factor, x, y);
|
|
2009
|
+
return ret !== 0;
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
if (Symbol.dispose) SceneCanvas.prototype[Symbol.dispose] = SceneCanvas.prototype.free;
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* The server role: `start` a request, answer the I/O it asks for, `resume` the flight until it is done.
|
|
2016
|
+
*/
|
|
2017
|
+
export class Server {
|
|
2018
|
+
static __wrap(ptr) {
|
|
2019
|
+
const obj = Object.create(Server.prototype);
|
|
2020
|
+
obj.__wbg_ptr = ptr;
|
|
2021
|
+
ServerFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
2022
|
+
return obj;
|
|
2023
|
+
}
|
|
2024
|
+
__destroy_into_raw() {
|
|
2025
|
+
const ptr = this.__wbg_ptr;
|
|
2026
|
+
this.__wbg_ptr = 0;
|
|
2027
|
+
ServerFinalization.unregister(this);
|
|
2028
|
+
return ptr;
|
|
2029
|
+
}
|
|
2030
|
+
free() {
|
|
2031
|
+
const ptr = this.__destroy_into_raw();
|
|
2032
|
+
wasm.__wbg_server_free(ptr, 0);
|
|
2033
|
+
}
|
|
2034
|
+
/**
|
|
2035
|
+
* @param {number} flight
|
|
2036
|
+
* @returns {boolean}
|
|
2037
|
+
*/
|
|
2038
|
+
abandon(flight) {
|
|
2039
|
+
const ret = wasm.server_abandon(this.__wbg_ptr, flight);
|
|
2040
|
+
if (ret[2]) {
|
|
2041
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
2042
|
+
}
|
|
2043
|
+
return ret[0] !== 0;
|
|
2044
|
+
}
|
|
2045
|
+
/**
|
|
2046
|
+
* Answer the held `gpu/` ask `ticket` (an `IoRequestWire` of kind `gpu`): resolves to the `IoAnswerWire` JSON to
|
|
2047
|
+
* reply with. A deferred completion is handed to `onCompletion` (see [`answer_held`]).
|
|
2048
|
+
* @param {number} ticket
|
|
2049
|
+
* @param {Function} on_completion
|
|
2050
|
+
* @returns {Promise<any>}
|
|
2051
|
+
*/
|
|
2052
|
+
answerGpu(ticket, on_completion) {
|
|
2053
|
+
const ret = wasm.server_answerGpu(this.__wbg_ptr, ticket, on_completion);
|
|
2054
|
+
if (ret[2]) {
|
|
2055
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
2056
|
+
}
|
|
2057
|
+
return takeFromExternrefTable0(ret[0]);
|
|
2058
|
+
}
|
|
2059
|
+
/**
|
|
2060
|
+
* @param {string} side
|
|
2061
|
+
* @returns {string}
|
|
2062
|
+
*/
|
|
2063
|
+
bootMounts(side) {
|
|
2064
|
+
let deferred3_0;
|
|
2065
|
+
let deferred3_1;
|
|
2066
|
+
try {
|
|
2067
|
+
const ptr0 = passStringToWasm0(side, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2068
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2069
|
+
const ret = wasm.server_bootMounts(this.__wbg_ptr, ptr0, len0);
|
|
2070
|
+
var ptr2 = ret[0];
|
|
2071
|
+
var len2 = ret[1];
|
|
2072
|
+
if (ret[3]) {
|
|
2073
|
+
ptr2 = 0; len2 = 0;
|
|
2074
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
2075
|
+
}
|
|
2076
|
+
deferred3_0 = ptr2;
|
|
2077
|
+
deferred3_1 = len2;
|
|
2078
|
+
return getStringFromWasm0(ptr2, len2);
|
|
2079
|
+
} finally {
|
|
2080
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
/**
|
|
2084
|
+
* @param {string} trait_name
|
|
2085
|
+
* @param {string} payload_json
|
|
2086
|
+
* @returns {string}
|
|
2087
|
+
*/
|
|
2088
|
+
browserCompletionPayload(trait_name, payload_json) {
|
|
2089
|
+
let deferred4_0;
|
|
2090
|
+
let deferred4_1;
|
|
2091
|
+
try {
|
|
2092
|
+
const ptr0 = passStringToWasm0(trait_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2093
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2094
|
+
const ptr1 = passStringToWasm0(payload_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2095
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2096
|
+
const ret = wasm.server_browserCompletionPayload(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
2097
|
+
var ptr3 = ret[0];
|
|
2098
|
+
var len3 = ret[1];
|
|
2099
|
+
if (ret[3]) {
|
|
2100
|
+
ptr3 = 0; len3 = 0;
|
|
2101
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
2102
|
+
}
|
|
2103
|
+
deferred4_0 = ptr3;
|
|
2104
|
+
deferred4_1 = len3;
|
|
2105
|
+
return getStringFromWasm0(ptr3, len3);
|
|
2106
|
+
} finally {
|
|
2107
|
+
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
2110
|
+
/**
|
|
2111
|
+
* @param {string} response_json
|
|
2112
|
+
* @returns {string}
|
|
2113
|
+
*/
|
|
2114
|
+
clientView(response_json) {
|
|
2115
|
+
let deferred3_0;
|
|
2116
|
+
let deferred3_1;
|
|
2117
|
+
try {
|
|
2118
|
+
const ptr0 = passStringToWasm0(response_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2119
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2120
|
+
const ret = wasm.server_clientView(this.__wbg_ptr, ptr0, len0);
|
|
2121
|
+
var ptr2 = ret[0];
|
|
2122
|
+
var len2 = ret[1];
|
|
2123
|
+
if (ret[3]) {
|
|
2124
|
+
ptr2 = 0; len2 = 0;
|
|
2125
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
2126
|
+
}
|
|
2127
|
+
deferred3_0 = ptr2;
|
|
2128
|
+
deferred3_1 = len2;
|
|
2129
|
+
return getStringFromWasm0(ptr2, len2);
|
|
2130
|
+
} finally {
|
|
2131
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
2134
|
+
/**
|
|
2135
|
+
* @param {number} id
|
|
2136
|
+
* @returns {boolean}
|
|
2137
|
+
*/
|
|
2138
|
+
closeSessionStream(id) {
|
|
2139
|
+
const ret = wasm.server_closeSessionStream(this.__wbg_ptr, id);
|
|
2140
|
+
if (ret[2]) {
|
|
2141
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
2142
|
+
}
|
|
2143
|
+
return ret[0] !== 0;
|
|
2144
|
+
}
|
|
2145
|
+
/**
|
|
2146
|
+
* One question about the registered program (a `ContractQuery` as JSON): its answer as JSON.
|
|
2147
|
+
* @param {string} query_json
|
|
2148
|
+
* @returns {string}
|
|
2149
|
+
*/
|
|
2150
|
+
contractQuery(query_json) {
|
|
1682
2151
|
let deferred3_0;
|
|
1683
2152
|
let deferred3_1;
|
|
1684
2153
|
try {
|
|
@@ -1726,6 +2195,18 @@ export class Server {
|
|
|
1726
2195
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
1727
2196
|
}
|
|
1728
2197
|
}
|
|
2198
|
+
/**
|
|
2199
|
+
* Drop a held completion payload the host will not start (its call was cancelled).
|
|
2200
|
+
* @param {number} ticket
|
|
2201
|
+
* @returns {boolean}
|
|
2202
|
+
*/
|
|
2203
|
+
dropHeldPayload(ticket) {
|
|
2204
|
+
const ret = wasm.server_dropHeldPayload(this.__wbg_ptr, ticket);
|
|
2205
|
+
if (ret[2]) {
|
|
2206
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
2207
|
+
}
|
|
2208
|
+
return ret[0] !== 0;
|
|
2209
|
+
}
|
|
1729
2210
|
/**
|
|
1730
2211
|
* @param {string} url
|
|
1731
2212
|
* @returns {boolean}
|
|
@@ -1821,6 +2302,15 @@ export class Server {
|
|
|
1821
2302
|
const ret = wasm.server_inFlight(this.__wbg_ptr);
|
|
1822
2303
|
return ret >>> 0;
|
|
1823
2304
|
}
|
|
2305
|
+
/**
|
|
2306
|
+
* Install the GPU answerer: from now on the server holds every `gpu/` ask, and the host answers it by ticket
|
|
2307
|
+
* with `answerGpu`, so no argument or answer crosses to JavaScript.
|
|
2308
|
+
* @param {GpuHost} gpu
|
|
2309
|
+
*/
|
|
2310
|
+
installGpu(gpu) {
|
|
2311
|
+
_assertClass(gpu, GpuHost);
|
|
2312
|
+
wasm.server_installGpu(this.__wbg_ptr, gpu.__wbg_ptr);
|
|
2313
|
+
}
|
|
1824
2314
|
/**
|
|
1825
2315
|
* @returns {string}
|
|
1826
2316
|
*/
|
|
@@ -3163,6 +3653,11 @@ function __wbg_get_imports() {
|
|
|
3163
3653
|
const ret = arg0.WorkerGlobalScope;
|
|
3164
3654
|
return ret;
|
|
3165
3655
|
},
|
|
3656
|
+
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
3657
|
+
const v = arg0;
|
|
3658
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
3659
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
3660
|
+
},
|
|
3166
3661
|
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
3167
3662
|
const ret = debugString(arg1);
|
|
3168
3663
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -3191,20 +3686,146 @@ function __wbg_get_imports() {
|
|
|
3191
3686
|
const ret = arg0 === undefined;
|
|
3192
3687
|
return ret;
|
|
3193
3688
|
},
|
|
3689
|
+
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
|
|
3690
|
+
const obj = arg1;
|
|
3691
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
3692
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
3693
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
3694
|
+
},
|
|
3695
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
3696
|
+
const obj = arg1;
|
|
3697
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
3698
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3699
|
+
var len1 = WASM_VECTOR_LEN;
|
|
3700
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3701
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3702
|
+
},
|
|
3194
3703
|
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
3195
3704
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
3196
3705
|
},
|
|
3197
3706
|
__wbg__wbg_cb_unref_fffb441def202758: function(arg0) {
|
|
3198
3707
|
arg0._wbg_cb_unref();
|
|
3199
3708
|
},
|
|
3709
|
+
__wbg_activeTexture_92b04d918019d603: function(arg0, arg1) {
|
|
3710
|
+
arg0.activeTexture(arg1 >>> 0);
|
|
3711
|
+
},
|
|
3712
|
+
__wbg_activeTexture_d12958674e97a118: function(arg0, arg1) {
|
|
3713
|
+
arg0.activeTexture(arg1 >>> 0);
|
|
3714
|
+
},
|
|
3200
3715
|
__wbg_arrayBuffer_3b637f0fa65c5351: function() { return handleError(function (arg0) {
|
|
3201
3716
|
const ret = arg0.arrayBuffer();
|
|
3202
3717
|
return ret;
|
|
3203
3718
|
}, arguments); },
|
|
3719
|
+
__wbg_attachShader_5f7f4077e124e23b: function(arg0, arg1, arg2) {
|
|
3720
|
+
arg0.attachShader(arg1, arg2);
|
|
3721
|
+
},
|
|
3722
|
+
__wbg_attachShader_8971266b4c9bc514: function(arg0, arg1, arg2) {
|
|
3723
|
+
arg0.attachShader(arg1, arg2);
|
|
3724
|
+
},
|
|
3725
|
+
__wbg_beginComputePass_1fc169dd9fc89475: function(arg0, arg1) {
|
|
3726
|
+
const ret = arg0.beginComputePass(arg1);
|
|
3727
|
+
return ret;
|
|
3728
|
+
},
|
|
3729
|
+
__wbg_beginQuery_042a1f99e870066c: function(arg0, arg1, arg2) {
|
|
3730
|
+
arg0.beginQuery(arg1 >>> 0, arg2);
|
|
3731
|
+
},
|
|
3204
3732
|
__wbg_beginRenderPass_8f60a9940800c223: function() { return handleError(function (arg0, arg1) {
|
|
3205
3733
|
const ret = arg0.beginRenderPass(arg1);
|
|
3206
3734
|
return ret;
|
|
3207
3735
|
}, arguments); },
|
|
3736
|
+
__wbg_bindAttribLocation_0fe5da7e01ac0d15: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3737
|
+
arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
3738
|
+
},
|
|
3739
|
+
__wbg_bindAttribLocation_94202d7a59ab7863: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3740
|
+
arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
|
|
3741
|
+
},
|
|
3742
|
+
__wbg_bindBufferRange_f5c29912db0476e9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3743
|
+
arg0.bindBufferRange(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
3744
|
+
},
|
|
3745
|
+
__wbg_bindBuffer_1e00cfb4321ef9a4: function(arg0, arg1, arg2) {
|
|
3746
|
+
arg0.bindBuffer(arg1 >>> 0, arg2);
|
|
3747
|
+
},
|
|
3748
|
+
__wbg_bindBuffer_a01497b1abdcdd9a: function(arg0, arg1, arg2) {
|
|
3749
|
+
arg0.bindBuffer(arg1 >>> 0, arg2);
|
|
3750
|
+
},
|
|
3751
|
+
__wbg_bindFramebuffer_390311eff3896937: function(arg0, arg1, arg2) {
|
|
3752
|
+
arg0.bindFramebuffer(arg1 >>> 0, arg2);
|
|
3753
|
+
},
|
|
3754
|
+
__wbg_bindFramebuffer_658e4b06f7ee8bb4: function(arg0, arg1, arg2) {
|
|
3755
|
+
arg0.bindFramebuffer(arg1 >>> 0, arg2);
|
|
3756
|
+
},
|
|
3757
|
+
__wbg_bindRenderbuffer_75e8469e930840fa: function(arg0, arg1, arg2) {
|
|
3758
|
+
arg0.bindRenderbuffer(arg1 >>> 0, arg2);
|
|
3759
|
+
},
|
|
3760
|
+
__wbg_bindRenderbuffer_c3d0c4b8cd1c3891: function(arg0, arg1, arg2) {
|
|
3761
|
+
arg0.bindRenderbuffer(arg1 >>> 0, arg2);
|
|
3762
|
+
},
|
|
3763
|
+
__wbg_bindSampler_ce608f0de9d31acf: function(arg0, arg1, arg2) {
|
|
3764
|
+
arg0.bindSampler(arg1 >>> 0, arg2);
|
|
3765
|
+
},
|
|
3766
|
+
__wbg_bindTexture_28eff4bbd8aaab54: function(arg0, arg1, arg2) {
|
|
3767
|
+
arg0.bindTexture(arg1 >>> 0, arg2);
|
|
3768
|
+
},
|
|
3769
|
+
__wbg_bindTexture_9b04b1b7c00d4dd6: function(arg0, arg1, arg2) {
|
|
3770
|
+
arg0.bindTexture(arg1 >>> 0, arg2);
|
|
3771
|
+
},
|
|
3772
|
+
__wbg_bindVertexArrayOES_5cad2205a17e8990: function(arg0, arg1) {
|
|
3773
|
+
arg0.bindVertexArrayOES(arg1);
|
|
3774
|
+
},
|
|
3775
|
+
__wbg_bindVertexArray_427eeac0c1764d8a: function(arg0, arg1) {
|
|
3776
|
+
arg0.bindVertexArray(arg1);
|
|
3777
|
+
},
|
|
3778
|
+
__wbg_blendColor_793b560dc69ddd0b: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3779
|
+
arg0.blendColor(arg1, arg2, arg3, arg4);
|
|
3780
|
+
},
|
|
3781
|
+
__wbg_blendColor_eae0cd578a2c7d15: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3782
|
+
arg0.blendColor(arg1, arg2, arg3, arg4);
|
|
3783
|
+
},
|
|
3784
|
+
__wbg_blendEquationSeparate_043e2f50f6ecb2d3: function(arg0, arg1, arg2) {
|
|
3785
|
+
arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
3786
|
+
},
|
|
3787
|
+
__wbg_blendEquationSeparate_c7e2b2261c94e1c5: function(arg0, arg1, arg2) {
|
|
3788
|
+
arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
3789
|
+
},
|
|
3790
|
+
__wbg_blendEquation_455b8986ededabc0: function(arg0, arg1) {
|
|
3791
|
+
arg0.blendEquation(arg1 >>> 0);
|
|
3792
|
+
},
|
|
3793
|
+
__wbg_blendEquation_f5c5272993f6cb01: function(arg0, arg1) {
|
|
3794
|
+
arg0.blendEquation(arg1 >>> 0);
|
|
3795
|
+
},
|
|
3796
|
+
__wbg_blendFuncSeparate_37156309688f8f88: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3797
|
+
arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
3798
|
+
},
|
|
3799
|
+
__wbg_blendFuncSeparate_3ee6d939a9f3938b: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3800
|
+
arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
3801
|
+
},
|
|
3802
|
+
__wbg_blendFunc_114dc7056ccfeb8d: function(arg0, arg1, arg2) {
|
|
3803
|
+
arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
3804
|
+
},
|
|
3805
|
+
__wbg_blendFunc_a854d7e4459150ba: function(arg0, arg1, arg2) {
|
|
3806
|
+
arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
3807
|
+
},
|
|
3808
|
+
__wbg_blitFramebuffer_a1215976f663b058: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
3809
|
+
arg0.blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);
|
|
3810
|
+
},
|
|
3811
|
+
__wbg_bufferData_073a7c6abef7a55f: function(arg0, arg1, arg2, arg3) {
|
|
3812
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3813
|
+
},
|
|
3814
|
+
__wbg_bufferData_3d4f29bdfb1fa46c: function(arg0, arg1, arg2, arg3) {
|
|
3815
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3816
|
+
},
|
|
3817
|
+
__wbg_bufferData_90ef588bac2be2f5: function(arg0, arg1, arg2, arg3) {
|
|
3818
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3819
|
+
},
|
|
3820
|
+
__wbg_bufferData_ce4f44d56e9ddab5: function(arg0, arg1, arg2, arg3) {
|
|
3821
|
+
arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3822
|
+
},
|
|
3823
|
+
__wbg_bufferSubData_bae930b21e9c1c48: function(arg0, arg1, arg2, arg3) {
|
|
3824
|
+
arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
|
|
3825
|
+
},
|
|
3826
|
+
__wbg_bufferSubData_ce9854d3d337e2cf: function(arg0, arg1, arg2, arg3) {
|
|
3827
|
+
arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
|
|
3828
|
+
},
|
|
3208
3829
|
__wbg_buffer_54b87055582c8a81: function(arg0) {
|
|
3209
3830
|
const ret = arg0.buffer;
|
|
3210
3831
|
return ret;
|
|
@@ -3213,12 +3834,104 @@ function __wbg_get_imports() {
|
|
|
3213
3834
|
const ret = arg0.call(arg1, arg2);
|
|
3214
3835
|
return ret;
|
|
3215
3836
|
}, arguments); },
|
|
3837
|
+
__wbg_canvas3d_new: function(arg0) {
|
|
3838
|
+
const ret = Canvas3D.__wrap(arg0);
|
|
3839
|
+
return ret;
|
|
3840
|
+
},
|
|
3841
|
+
__wbg_clearBuffer_5c4f30438f07155a: function(arg0, arg1, arg2, arg3) {
|
|
3842
|
+
arg0.clearBuffer(arg1, arg2, arg3);
|
|
3843
|
+
},
|
|
3844
|
+
__wbg_clearBuffer_de7e8cd418b56c30: function(arg0, arg1, arg2) {
|
|
3845
|
+
arg0.clearBuffer(arg1, arg2);
|
|
3846
|
+
},
|
|
3847
|
+
__wbg_clearBufferfv_2e0f1a0ea56de859: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3848
|
+
arg0.clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4));
|
|
3849
|
+
},
|
|
3850
|
+
__wbg_clearBufferiv_0360269bf6e34c54: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3851
|
+
arg0.clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
|
|
3852
|
+
},
|
|
3853
|
+
__wbg_clearBufferuiv_df94a395d4915377: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3854
|
+
arg0.clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4));
|
|
3855
|
+
},
|
|
3856
|
+
__wbg_clearDepth_8b5d226aae155082: function(arg0, arg1) {
|
|
3857
|
+
arg0.clearDepth(arg1);
|
|
3858
|
+
},
|
|
3859
|
+
__wbg_clearDepth_ca9b22d41551b513: function(arg0, arg1) {
|
|
3860
|
+
arg0.clearDepth(arg1);
|
|
3861
|
+
},
|
|
3862
|
+
__wbg_clearStencil_58f2af46612bccae: function(arg0, arg1) {
|
|
3863
|
+
arg0.clearStencil(arg1);
|
|
3864
|
+
},
|
|
3865
|
+
__wbg_clearStencil_a66fe23df6313fc7: function(arg0, arg1) {
|
|
3866
|
+
arg0.clearStencil(arg1);
|
|
3867
|
+
},
|
|
3868
|
+
__wbg_clear_53d71d234e14e4c1: function(arg0, arg1) {
|
|
3869
|
+
arg0.clear(arg1 >>> 0);
|
|
3870
|
+
},
|
|
3871
|
+
__wbg_clear_dd06a0da4ce8e13f: function(arg0, arg1) {
|
|
3872
|
+
arg0.clear(arg1 >>> 0);
|
|
3873
|
+
},
|
|
3874
|
+
__wbg_clientWaitSync_cf8e49f8ba228377: function(arg0, arg1, arg2, arg3) {
|
|
3875
|
+
const ret = arg0.clientWaitSync(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
3876
|
+
return ret;
|
|
3877
|
+
},
|
|
3878
|
+
__wbg_colorMask_44ebb91cad2502f2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3879
|
+
arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
|
|
3880
|
+
},
|
|
3881
|
+
__wbg_colorMask_a4d164c2039b5731: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3882
|
+
arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
|
|
3883
|
+
},
|
|
3884
|
+
__wbg_compileShader_9bdfd792722cf704: function(arg0, arg1) {
|
|
3885
|
+
arg0.compileShader(arg1);
|
|
3886
|
+
},
|
|
3887
|
+
__wbg_compileShader_fc2e4b73240d4fd7: function(arg0, arg1) {
|
|
3888
|
+
arg0.compileShader(arg1);
|
|
3889
|
+
},
|
|
3890
|
+
__wbg_compressedTexSubImage2D_c1362291573c7268: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
3891
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9);
|
|
3892
|
+
},
|
|
3893
|
+
__wbg_compressedTexSubImage2D_da01674d2975d1ae: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
3894
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
|
|
3895
|
+
},
|
|
3896
|
+
__wbg_compressedTexSubImage2D_dd6dc580749eb5cf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
3897
|
+
arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
|
|
3898
|
+
},
|
|
3899
|
+
__wbg_compressedTexSubImage3D_04cb8b046c4321fe: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
3900
|
+
arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11);
|
|
3901
|
+
},
|
|
3902
|
+
__wbg_compressedTexSubImage3D_af0228a80ffd5993: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
3903
|
+
arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10);
|
|
3904
|
+
},
|
|
3216
3905
|
__wbg_configure_6e4ddb3faabc6005: function() { return handleError(function (arg0, arg1) {
|
|
3217
3906
|
arg0.configure(arg1);
|
|
3218
3907
|
}, arguments); },
|
|
3908
|
+
__wbg_copyBufferSubData_cdf61f74aa6e0902: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3909
|
+
arg0.copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
3910
|
+
},
|
|
3911
|
+
__wbg_copyBufferToBuffer_55e9540007aef863: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3912
|
+
arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4);
|
|
3913
|
+
}, arguments); },
|
|
3914
|
+
__wbg_copyBufferToBuffer_7adcb79ef87447dc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3915
|
+
arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
3916
|
+
}, arguments); },
|
|
3917
|
+
__wbg_copyBufferToTexture_f0fc6311345a3dea: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3918
|
+
arg0.copyBufferToTexture(arg1, arg2, arg3);
|
|
3919
|
+
}, arguments); },
|
|
3920
|
+
__wbg_copyTexSubImage2D_8daea651fc408645: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
3921
|
+
arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
|
3922
|
+
},
|
|
3923
|
+
__wbg_copyTexSubImage2D_c73f91f1d7022402: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
3924
|
+
arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
|
|
3925
|
+
},
|
|
3926
|
+
__wbg_copyTexSubImage3D_bfe7a14dac9ad777: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
3927
|
+
arg0.copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
|
|
3928
|
+
},
|
|
3219
3929
|
__wbg_copyTextureToBuffer_09ba100a04b1b001: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3220
3930
|
arg0.copyTextureToBuffer(arg1, arg2, arg3);
|
|
3221
3931
|
}, arguments); },
|
|
3932
|
+
__wbg_copyTextureToTexture_66ab51b863dec546: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3933
|
+
arg0.copyTextureToTexture(arg1, arg2, arg3);
|
|
3934
|
+
}, arguments); },
|
|
3222
3935
|
__wbg_createBindGroupLayout_1dad97f44fda2929: function() { return handleError(function (arg0, arg1) {
|
|
3223
3936
|
const ret = arg0.createBindGroupLayout(arg1);
|
|
3224
3937
|
return ret;
|
|
@@ -3227,6 +3940,14 @@ function __wbg_get_imports() {
|
|
|
3227
3940
|
const ret = arg0.createBindGroup(arg1);
|
|
3228
3941
|
return ret;
|
|
3229
3942
|
},
|
|
3943
|
+
__wbg_createBuffer_01568a9d930d90dd: function(arg0) {
|
|
3944
|
+
const ret = arg0.createBuffer();
|
|
3945
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3946
|
+
},
|
|
3947
|
+
__wbg_createBuffer_2075765bde5035d5: function(arg0) {
|
|
3948
|
+
const ret = arg0.createBuffer();
|
|
3949
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3950
|
+
},
|
|
3230
3951
|
__wbg_createBuffer_474baee88e74f68a: function() { return handleError(function (arg0, arg1) {
|
|
3231
3952
|
const ret = arg0.createBuffer(arg1);
|
|
3232
3953
|
return ret;
|
|
@@ -3235,26 +3956,90 @@ function __wbg_get_imports() {
|
|
|
3235
3956
|
const ret = arg0.createCommandEncoder(arg1);
|
|
3236
3957
|
return ret;
|
|
3237
3958
|
},
|
|
3959
|
+
__wbg_createComputePipeline_1cd8bf7e02a1a06d: function(arg0, arg1) {
|
|
3960
|
+
const ret = arg0.createComputePipeline(arg1);
|
|
3961
|
+
return ret;
|
|
3962
|
+
},
|
|
3963
|
+
__wbg_createFramebuffer_b24d2c80a8b9e7cc: function(arg0) {
|
|
3964
|
+
const ret = arg0.createFramebuffer();
|
|
3965
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3966
|
+
},
|
|
3967
|
+
__wbg_createFramebuffer_de0d521f546e7534: function(arg0) {
|
|
3968
|
+
const ret = arg0.createFramebuffer();
|
|
3969
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3970
|
+
},
|
|
3238
3971
|
__wbg_createPipelineLayout_bf0deba7918ca157: function(arg0, arg1) {
|
|
3239
3972
|
const ret = arg0.createPipelineLayout(arg1);
|
|
3240
3973
|
return ret;
|
|
3241
3974
|
},
|
|
3975
|
+
__wbg_createProgram_118becaac3a20318: function(arg0) {
|
|
3976
|
+
const ret = arg0.createProgram();
|
|
3977
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3978
|
+
},
|
|
3979
|
+
__wbg_createProgram_538c9777a4ac084f: function(arg0) {
|
|
3980
|
+
const ret = arg0.createProgram();
|
|
3981
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3982
|
+
},
|
|
3983
|
+
__wbg_createQuerySet_595e31c333f5e833: function() { return handleError(function (arg0, arg1) {
|
|
3984
|
+
const ret = arg0.createQuerySet(arg1);
|
|
3985
|
+
return ret;
|
|
3986
|
+
}, arguments); },
|
|
3987
|
+
__wbg_createQuery_047c7c524e4ac4f8: function(arg0) {
|
|
3988
|
+
const ret = arg0.createQuery();
|
|
3989
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3990
|
+
},
|
|
3242
3991
|
__wbg_createRenderPipeline_7baf812b1e7e39e8: function() { return handleError(function (arg0, arg1) {
|
|
3243
3992
|
const ret = arg0.createRenderPipeline(arg1);
|
|
3244
3993
|
return ret;
|
|
3245
3994
|
}, arguments); },
|
|
3995
|
+
__wbg_createRenderbuffer_71af5c0d615e9271: function(arg0) {
|
|
3996
|
+
const ret = arg0.createRenderbuffer();
|
|
3997
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3998
|
+
},
|
|
3999
|
+
__wbg_createRenderbuffer_9d801bf44c314f44: function(arg0) {
|
|
4000
|
+
const ret = arg0.createRenderbuffer();
|
|
4001
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4002
|
+
},
|
|
3246
4003
|
__wbg_createSampler_5970d585f322df95: function(arg0, arg1) {
|
|
3247
4004
|
const ret = arg0.createSampler(arg1);
|
|
3248
4005
|
return ret;
|
|
3249
4006
|
},
|
|
4007
|
+
__wbg_createSampler_70c8392d98896235: function(arg0) {
|
|
4008
|
+
const ret = arg0.createSampler();
|
|
4009
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4010
|
+
},
|
|
3250
4011
|
__wbg_createShaderModule_744311a1dd685c14: function(arg0, arg1) {
|
|
3251
4012
|
const ret = arg0.createShaderModule(arg1);
|
|
3252
4013
|
return ret;
|
|
3253
4014
|
},
|
|
4015
|
+
__wbg_createShader_78bc8b7e9a88e1a8: function(arg0, arg1) {
|
|
4016
|
+
const ret = arg0.createShader(arg1 >>> 0);
|
|
4017
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4018
|
+
},
|
|
4019
|
+
__wbg_createShader_7d139f2d50f77365: function(arg0, arg1) {
|
|
4020
|
+
const ret = arg0.createShader(arg1 >>> 0);
|
|
4021
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4022
|
+
},
|
|
4023
|
+
__wbg_createTexture_0ee0fa5f924f3d14: function(arg0) {
|
|
4024
|
+
const ret = arg0.createTexture();
|
|
4025
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4026
|
+
},
|
|
4027
|
+
__wbg_createTexture_d13f98e0d3d912f4: function(arg0) {
|
|
4028
|
+
const ret = arg0.createTexture();
|
|
4029
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4030
|
+
},
|
|
3254
4031
|
__wbg_createTexture_f357c38256411287: function() { return handleError(function (arg0, arg1) {
|
|
3255
4032
|
const ret = arg0.createTexture(arg1);
|
|
3256
4033
|
return ret;
|
|
3257
4034
|
}, arguments); },
|
|
4035
|
+
__wbg_createVertexArrayOES_2fa3e59eebd5f674: function(arg0) {
|
|
4036
|
+
const ret = arg0.createVertexArrayOES();
|
|
4037
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4038
|
+
},
|
|
4039
|
+
__wbg_createVertexArray_baf9eef7ea5a2c7a: function(arg0) {
|
|
4040
|
+
const ret = arg0.createVertexArray();
|
|
4041
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4042
|
+
},
|
|
3258
4043
|
__wbg_createView_e7a36ec95c4190f3: function() { return handleError(function (arg0, arg1) {
|
|
3259
4044
|
const ret = arg0.createView(arg1);
|
|
3260
4045
|
return ret;
|
|
@@ -3263,15 +4048,172 @@ function __wbg_get_imports() {
|
|
|
3263
4048
|
const ret = arg0.crypto;
|
|
3264
4049
|
return ret;
|
|
3265
4050
|
},
|
|
4051
|
+
__wbg_cullFace_62bbea3bef0e6b99: function(arg0, arg1) {
|
|
4052
|
+
arg0.cullFace(arg1 >>> 0);
|
|
4053
|
+
},
|
|
4054
|
+
__wbg_cullFace_f1c75ae19b07eaf3: function(arg0, arg1) {
|
|
4055
|
+
arg0.cullFace(arg1 >>> 0);
|
|
4056
|
+
},
|
|
4057
|
+
__wbg_deleteBuffer_08eb938e35c27967: function(arg0, arg1) {
|
|
4058
|
+
arg0.deleteBuffer(arg1);
|
|
4059
|
+
},
|
|
4060
|
+
__wbg_deleteBuffer_1ca3ffe668a488e7: function(arg0, arg1) {
|
|
4061
|
+
arg0.deleteBuffer(arg1);
|
|
4062
|
+
},
|
|
4063
|
+
__wbg_deleteFramebuffer_963cd69957209d37: function(arg0, arg1) {
|
|
4064
|
+
arg0.deleteFramebuffer(arg1);
|
|
4065
|
+
},
|
|
4066
|
+
__wbg_deleteFramebuffer_d1a36e889b009344: function(arg0, arg1) {
|
|
4067
|
+
arg0.deleteFramebuffer(arg1);
|
|
4068
|
+
},
|
|
4069
|
+
__wbg_deleteProgram_09bd45a51105b2f6: function(arg0, arg1) {
|
|
4070
|
+
arg0.deleteProgram(arg1);
|
|
4071
|
+
},
|
|
4072
|
+
__wbg_deleteProgram_132e191baa9fa84f: function(arg0, arg1) {
|
|
4073
|
+
arg0.deleteProgram(arg1);
|
|
4074
|
+
},
|
|
4075
|
+
__wbg_deleteQuery_0d1dcc4402a86ee1: function(arg0, arg1) {
|
|
4076
|
+
arg0.deleteQuery(arg1);
|
|
4077
|
+
},
|
|
4078
|
+
__wbg_deleteRenderbuffer_52bdbf5ab2cbe62a: function(arg0, arg1) {
|
|
4079
|
+
arg0.deleteRenderbuffer(arg1);
|
|
4080
|
+
},
|
|
4081
|
+
__wbg_deleteRenderbuffer_ca999f7883b777af: function(arg0, arg1) {
|
|
4082
|
+
arg0.deleteRenderbuffer(arg1);
|
|
4083
|
+
},
|
|
4084
|
+
__wbg_deleteSampler_0abb528566c4ab3b: function(arg0, arg1) {
|
|
4085
|
+
arg0.deleteSampler(arg1);
|
|
4086
|
+
},
|
|
4087
|
+
__wbg_deleteShader_3120790d36063afe: function(arg0, arg1) {
|
|
4088
|
+
arg0.deleteShader(arg1);
|
|
4089
|
+
},
|
|
4090
|
+
__wbg_deleteShader_993edb4beb3c4d53: function(arg0, arg1) {
|
|
4091
|
+
arg0.deleteShader(arg1);
|
|
4092
|
+
},
|
|
4093
|
+
__wbg_deleteSync_9b0e43580942a0f6: function(arg0, arg1) {
|
|
4094
|
+
arg0.deleteSync(arg1);
|
|
4095
|
+
},
|
|
4096
|
+
__wbg_deleteTexture_2b163b157ea1be24: function(arg0, arg1) {
|
|
4097
|
+
arg0.deleteTexture(arg1);
|
|
4098
|
+
},
|
|
4099
|
+
__wbg_deleteTexture_bdc2202d7a50dcea: function(arg0, arg1) {
|
|
4100
|
+
arg0.deleteTexture(arg1);
|
|
4101
|
+
},
|
|
4102
|
+
__wbg_deleteVertexArrayOES_7fa59c32cfdfa6fa: function(arg0, arg1) {
|
|
4103
|
+
arg0.deleteVertexArrayOES(arg1);
|
|
4104
|
+
},
|
|
4105
|
+
__wbg_deleteVertexArray_475d4e969aac1dd0: function(arg0, arg1) {
|
|
4106
|
+
arg0.deleteVertexArray(arg1);
|
|
4107
|
+
},
|
|
4108
|
+
__wbg_depthFunc_455cfeb8a9d2fb4c: function(arg0, arg1) {
|
|
4109
|
+
arg0.depthFunc(arg1 >>> 0);
|
|
4110
|
+
},
|
|
4111
|
+
__wbg_depthFunc_74a8f8acf8973c86: function(arg0, arg1) {
|
|
4112
|
+
arg0.depthFunc(arg1 >>> 0);
|
|
4113
|
+
},
|
|
4114
|
+
__wbg_depthMask_4bd6c73b1339d257: function(arg0, arg1) {
|
|
4115
|
+
arg0.depthMask(arg1 !== 0);
|
|
4116
|
+
},
|
|
4117
|
+
__wbg_depthMask_a644a67deced3257: function(arg0, arg1) {
|
|
4118
|
+
arg0.depthMask(arg1 !== 0);
|
|
4119
|
+
},
|
|
4120
|
+
__wbg_depthRange_38b2287ffbea14fd: function(arg0, arg1, arg2) {
|
|
4121
|
+
arg0.depthRange(arg1, arg2);
|
|
4122
|
+
},
|
|
4123
|
+
__wbg_depthRange_5e90d4d236280ff5: function(arg0, arg1, arg2) {
|
|
4124
|
+
arg0.depthRange(arg1, arg2);
|
|
4125
|
+
},
|
|
4126
|
+
__wbg_destroy_5c2c9c8b0b52b456: function(arg0) {
|
|
4127
|
+
arg0.destroy();
|
|
4128
|
+
},
|
|
4129
|
+
__wbg_destroy_8a3f7d0f7c49852f: function(arg0) {
|
|
4130
|
+
arg0.destroy();
|
|
4131
|
+
},
|
|
4132
|
+
__wbg_disableVertexAttribArray_160060fbd7e97de0: function(arg0, arg1) {
|
|
4133
|
+
arg0.disableVertexAttribArray(arg1 >>> 0);
|
|
4134
|
+
},
|
|
4135
|
+
__wbg_disableVertexAttribArray_c7915eb0de6dd8f1: function(arg0, arg1) {
|
|
4136
|
+
arg0.disableVertexAttribArray(arg1 >>> 0);
|
|
4137
|
+
},
|
|
4138
|
+
__wbg_disable_1659d1b7d50c31e7: function(arg0, arg1) {
|
|
4139
|
+
arg0.disable(arg1 >>> 0);
|
|
4140
|
+
},
|
|
4141
|
+
__wbg_disable_40c3975167c1ee07: function(arg0, arg1) {
|
|
4142
|
+
arg0.disable(arg1 >>> 0);
|
|
4143
|
+
},
|
|
4144
|
+
__wbg_dispatchWorkgroups_727fa35f9c69d73c: function(arg0, arg1, arg2, arg3) {
|
|
4145
|
+
arg0.dispatchWorkgroups(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
4146
|
+
},
|
|
4147
|
+
__wbg_document_179650d6cb13c263: function(arg0) {
|
|
4148
|
+
const ret = arg0.document;
|
|
4149
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4150
|
+
},
|
|
4151
|
+
__wbg_drawArraysInstancedANGLE_d58dbd2d38fdebaa: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4152
|
+
arg0.drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
|
|
4153
|
+
},
|
|
4154
|
+
__wbg_drawArraysInstanced_51b161548a3f10c4: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4155
|
+
arg0.drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
|
|
4156
|
+
},
|
|
4157
|
+
__wbg_drawArrays_676becae0149ed65: function(arg0, arg1, arg2, arg3) {
|
|
4158
|
+
arg0.drawArrays(arg1 >>> 0, arg2, arg3);
|
|
4159
|
+
},
|
|
4160
|
+
__wbg_drawArrays_b0c59a6e158122f2: function(arg0, arg1, arg2, arg3) {
|
|
4161
|
+
arg0.drawArrays(arg1 >>> 0, arg2, arg3);
|
|
4162
|
+
},
|
|
4163
|
+
__wbg_drawBuffersWEBGL_c9b47f7f207125cf: function(arg0, arg1) {
|
|
4164
|
+
arg0.drawBuffersWEBGL(arg1);
|
|
4165
|
+
},
|
|
4166
|
+
__wbg_drawBuffers_1c1ec9b292442a2a: function(arg0, arg1) {
|
|
4167
|
+
arg0.drawBuffers(arg1);
|
|
4168
|
+
},
|
|
4169
|
+
__wbg_drawElementsInstancedANGLE_9b58c4013373b180: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4170
|
+
arg0.drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
4171
|
+
},
|
|
4172
|
+
__wbg_drawElementsInstanced_c7f96ea02e6d5326: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4173
|
+
arg0.drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
4174
|
+
},
|
|
4175
|
+
__wbg_drawIndexed_2ab8259f769f352d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4176
|
+
arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
4177
|
+
},
|
|
3266
4178
|
__wbg_draw_b93abd56938fa3b6: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3267
4179
|
arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
3268
4180
|
},
|
|
4181
|
+
__wbg_enableVertexAttribArray_4c08219124740f14: function(arg0, arg1) {
|
|
4182
|
+
arg0.enableVertexAttribArray(arg1 >>> 0);
|
|
4183
|
+
},
|
|
4184
|
+
__wbg_enableVertexAttribArray_7470ba2dcf2606e3: function(arg0, arg1) {
|
|
4185
|
+
arg0.enableVertexAttribArray(arg1 >>> 0);
|
|
4186
|
+
},
|
|
4187
|
+
__wbg_enable_28bbeed576131d1f: function(arg0, arg1) {
|
|
4188
|
+
arg0.enable(arg1 >>> 0);
|
|
4189
|
+
},
|
|
4190
|
+
__wbg_enable_611804c0ac1504ce: function(arg0, arg1) {
|
|
4191
|
+
arg0.enable(arg1 >>> 0);
|
|
4192
|
+
},
|
|
4193
|
+
__wbg_endQuery_a50f7fc49cfe56e9: function(arg0, arg1) {
|
|
4194
|
+
arg0.endQuery(arg1 >>> 0);
|
|
4195
|
+
},
|
|
4196
|
+
__wbg_end_2398df10208cf1ee: function(arg0) {
|
|
4197
|
+
arg0.end();
|
|
4198
|
+
},
|
|
3269
4199
|
__wbg_end_2fdce848e1c526bc: function(arg0) {
|
|
3270
4200
|
arg0.end();
|
|
3271
4201
|
},
|
|
3272
4202
|
__wbg_error_96e899f14d8344a2: function(arg0, arg1) {
|
|
3273
4203
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
3274
4204
|
},
|
|
4205
|
+
__wbg_features_139b41635cafee99: function(arg0) {
|
|
4206
|
+
const ret = arg0.features;
|
|
4207
|
+
return ret;
|
|
4208
|
+
},
|
|
4209
|
+
__wbg_features_3fa0fe4fc37163a7: function(arg0) {
|
|
4210
|
+
const ret = arg0.features;
|
|
4211
|
+
return ret;
|
|
4212
|
+
},
|
|
4213
|
+
__wbg_fenceSync_fe2cdba4a0d73679: function(arg0, arg1, arg2) {
|
|
4214
|
+
const ret = arg0.fenceSync(arg1 >>> 0, arg2 >>> 0);
|
|
4215
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4216
|
+
},
|
|
3275
4217
|
__wbg_fetch_58167e2c1ef32e0a: function(arg0, arg1, arg2) {
|
|
3276
4218
|
const ret = arg0.fetch(getStringFromWasm0(arg1, arg2));
|
|
3277
4219
|
return ret;
|
|
@@ -3284,6 +4226,63 @@ function __wbg_get_imports() {
|
|
|
3284
4226
|
const ret = arg0.finish(arg1);
|
|
3285
4227
|
return ret;
|
|
3286
4228
|
},
|
|
4229
|
+
__wbg_flush_db77b4a63d6b337d: function(arg0) {
|
|
4230
|
+
arg0.flush();
|
|
4231
|
+
},
|
|
4232
|
+
__wbg_flush_e03c08da6863b5ab: function(arg0) {
|
|
4233
|
+
arg0.flush();
|
|
4234
|
+
},
|
|
4235
|
+
__wbg_framebufferRenderbuffer_4404cf9f9cb76937: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4236
|
+
arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
4237
|
+
},
|
|
4238
|
+
__wbg_framebufferRenderbuffer_ba8bd5e008ee87eb: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4239
|
+
arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
4240
|
+
},
|
|
4241
|
+
__wbg_framebufferTexture2D_3c2abd606fc53f31: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4242
|
+
arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
|
|
4243
|
+
},
|
|
4244
|
+
__wbg_framebufferTexture2D_e1fb64212fcda219: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4245
|
+
arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
|
|
4246
|
+
},
|
|
4247
|
+
__wbg_framebufferTextureLayer_f2d9db097bfbb863: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4248
|
+
arg0.framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
4249
|
+
},
|
|
4250
|
+
__wbg_framebufferTextureMultiviewOVR_28d492b9dc484220: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
4251
|
+
arg0.framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5, arg6);
|
|
4252
|
+
},
|
|
4253
|
+
__wbg_frontFace_29ef7151de8b5ed9: function(arg0, arg1) {
|
|
4254
|
+
arg0.frontFace(arg1 >>> 0);
|
|
4255
|
+
},
|
|
4256
|
+
__wbg_frontFace_fc6d98dafa42de87: function(arg0, arg1) {
|
|
4257
|
+
arg0.frontFace(arg1 >>> 0);
|
|
4258
|
+
},
|
|
4259
|
+
__wbg_getBindGroupLayout_0b3b7dd9f45e8e19: function(arg0, arg1) {
|
|
4260
|
+
const ret = arg0.getBindGroupLayout(arg1 >>> 0);
|
|
4261
|
+
return ret;
|
|
4262
|
+
},
|
|
4263
|
+
__wbg_getBindGroupLayout_9fc232d022bf8cca: function(arg0, arg1) {
|
|
4264
|
+
const ret = arg0.getBindGroupLayout(arg1 >>> 0);
|
|
4265
|
+
return ret;
|
|
4266
|
+
},
|
|
4267
|
+
__wbg_getBufferSubData_11018928c908ac2c: function(arg0, arg1, arg2, arg3) {
|
|
4268
|
+
arg0.getBufferSubData(arg1 >>> 0, arg2, arg3);
|
|
4269
|
+
},
|
|
4270
|
+
__wbg_getContext_7476e39fa008047e: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4271
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
|
|
4272
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4273
|
+
}, arguments); },
|
|
4274
|
+
__wbg_getContext_ca12bb65aab778a4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4275
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
|
|
4276
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4277
|
+
}, arguments); },
|
|
4278
|
+
__wbg_getContext_e79ddf6a9cb3cc76: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4279
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
4280
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4281
|
+
}, arguments); },
|
|
4282
|
+
__wbg_getContext_fd298c901058eb31: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4283
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
4284
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4285
|
+
}, arguments); },
|
|
3287
4286
|
__wbg_getCurrentTexture_628ddb7c08d25190: function() { return handleError(function (arg0) {
|
|
3288
4287
|
const ret = arg0.getCurrentTexture();
|
|
3289
4288
|
return ret;
|
|
@@ -3296,6 +4295,10 @@ function __wbg_get_imports() {
|
|
|
3296
4295
|
const ret = arg0.getDay();
|
|
3297
4296
|
return ret;
|
|
3298
4297
|
},
|
|
4298
|
+
__wbg_getExtension_101c7e41de3e4d90: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4299
|
+
const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
|
|
4300
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4301
|
+
}, arguments); },
|
|
3299
4302
|
__wbg_getFullYear_6af8b229792ae254: function(arg0) {
|
|
3300
4303
|
const ret = arg0.getFullYear();
|
|
3301
4304
|
return ret;
|
|
@@ -3304,6 +4307,10 @@ function __wbg_get_imports() {
|
|
|
3304
4307
|
const ret = arg0.getHours();
|
|
3305
4308
|
return ret;
|
|
3306
4309
|
},
|
|
4310
|
+
__wbg_getIndexedParameter_6d7a5bcccaa0f3e2: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4311
|
+
const ret = arg0.getIndexedParameter(arg1 >>> 0, arg2 >>> 0);
|
|
4312
|
+
return ret;
|
|
4313
|
+
}, arguments); },
|
|
3307
4314
|
__wbg_getMappedRange_9f13d158ba3946fd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3308
4315
|
const ret = arg0.getMappedRange(arg1, arg2);
|
|
3309
4316
|
return ret;
|
|
@@ -3316,13 +4323,93 @@ function __wbg_get_imports() {
|
|
|
3316
4323
|
const ret = arg0.getMonth();
|
|
3317
4324
|
return ret;
|
|
3318
4325
|
},
|
|
4326
|
+
__wbg_getParameter_039a5899307fab55: function() { return handleError(function (arg0, arg1) {
|
|
4327
|
+
const ret = arg0.getParameter(arg1 >>> 0);
|
|
4328
|
+
return ret;
|
|
4329
|
+
}, arguments); },
|
|
4330
|
+
__wbg_getParameter_d39f59581389af1b: function() { return handleError(function (arg0, arg1) {
|
|
4331
|
+
const ret = arg0.getParameter(arg1 >>> 0);
|
|
4332
|
+
return ret;
|
|
4333
|
+
}, arguments); },
|
|
3319
4334
|
__wbg_getPreferredCanvasFormat_a2b6306e828c2f60: function(arg0) {
|
|
3320
4335
|
const ret = arg0.getPreferredCanvasFormat();
|
|
3321
4336
|
return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 96) - 1;
|
|
3322
4337
|
},
|
|
4338
|
+
__wbg_getProgramInfoLog_c4762e0513468a26: function(arg0, arg1, arg2) {
|
|
4339
|
+
const ret = arg1.getProgramInfoLog(arg2);
|
|
4340
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4341
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4342
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4343
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4344
|
+
},
|
|
4345
|
+
__wbg_getProgramInfoLog_d1ce570463a68779: function(arg0, arg1, arg2) {
|
|
4346
|
+
const ret = arg1.getProgramInfoLog(arg2);
|
|
4347
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4348
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4349
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4350
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4351
|
+
},
|
|
4352
|
+
__wbg_getProgramParameter_b9995b56c258ac86: function(arg0, arg1, arg2) {
|
|
4353
|
+
const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
|
|
4354
|
+
return ret;
|
|
4355
|
+
},
|
|
4356
|
+
__wbg_getProgramParameter_c8d1154fbb3c0890: function(arg0, arg1, arg2) {
|
|
4357
|
+
const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
|
|
4358
|
+
return ret;
|
|
4359
|
+
},
|
|
4360
|
+
__wbg_getQueryParameter_919125495ccb17ca: function(arg0, arg1, arg2) {
|
|
4361
|
+
const ret = arg0.getQueryParameter(arg1, arg2 >>> 0);
|
|
4362
|
+
return ret;
|
|
4363
|
+
},
|
|
3323
4364
|
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
3324
4365
|
arg0.getRandomValues(arg1);
|
|
3325
4366
|
}, arguments); },
|
|
4367
|
+
__wbg_getShaderInfoLog_5cee2add982c7165: function(arg0, arg1, arg2) {
|
|
4368
|
+
const ret = arg1.getShaderInfoLog(arg2);
|
|
4369
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4370
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4371
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4372
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4373
|
+
},
|
|
4374
|
+
__wbg_getShaderInfoLog_bc236afe696c1283: function(arg0, arg1, arg2) {
|
|
4375
|
+
const ret = arg1.getShaderInfoLog(arg2);
|
|
4376
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4377
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4378
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4379
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4380
|
+
},
|
|
4381
|
+
__wbg_getShaderParameter_3394e75dcb97f380: function(arg0, arg1, arg2) {
|
|
4382
|
+
const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
|
|
4383
|
+
return ret;
|
|
4384
|
+
},
|
|
4385
|
+
__wbg_getShaderParameter_cbcc0995e8e16214: function(arg0, arg1, arg2) {
|
|
4386
|
+
const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
|
|
4387
|
+
return ret;
|
|
4388
|
+
},
|
|
4389
|
+
__wbg_getSupportedExtensions_2a7458ec45e82560: function(arg0) {
|
|
4390
|
+
const ret = arg0.getSupportedExtensions();
|
|
4391
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4392
|
+
},
|
|
4393
|
+
__wbg_getSupportedProfiles_90a4f330938d0241: function(arg0) {
|
|
4394
|
+
const ret = arg0.getSupportedProfiles();
|
|
4395
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4396
|
+
},
|
|
4397
|
+
__wbg_getSyncParameter_d8f6c145657a3550: function(arg0, arg1, arg2) {
|
|
4398
|
+
const ret = arg0.getSyncParameter(arg1, arg2 >>> 0);
|
|
4399
|
+
return ret;
|
|
4400
|
+
},
|
|
4401
|
+
__wbg_getUniformBlockIndex_cfee6ff6d323c784: function(arg0, arg1, arg2, arg3) {
|
|
4402
|
+
const ret = arg0.getUniformBlockIndex(arg1, getStringFromWasm0(arg2, arg3));
|
|
4403
|
+
return ret;
|
|
4404
|
+
},
|
|
4405
|
+
__wbg_getUniformLocation_24ef46cdda2148ab: function(arg0, arg1, arg2, arg3) {
|
|
4406
|
+
const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
|
|
4407
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4408
|
+
},
|
|
4409
|
+
__wbg_getUniformLocation_788a34295dd6fabe: function(arg0, arg1, arg2, arg3) {
|
|
4410
|
+
const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
|
|
4411
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4412
|
+
},
|
|
3326
4413
|
__wbg_get_18e0163e38e5048d: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3327
4414
|
const ret = arg1.get(getStringFromWasm0(arg2, arg3));
|
|
3328
4415
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -3330,14 +4417,34 @@ function __wbg_get_imports() {
|
|
|
3330
4417
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3331
4418
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3332
4419
|
}, arguments); },
|
|
4420
|
+
__wbg_get_b2053e9bfdf3ca8e: function(arg0, arg1) {
|
|
4421
|
+
const ret = arg0[arg1 >>> 0];
|
|
4422
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4423
|
+
},
|
|
4424
|
+
__wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
|
|
4425
|
+
const ret = arg0[arg1 >>> 0];
|
|
4426
|
+
return ret;
|
|
4427
|
+
},
|
|
3333
4428
|
__wbg_gpu_ac6dc8fb638a26c3: function(arg0) {
|
|
3334
4429
|
const ret = arg0.gpu;
|
|
3335
4430
|
return ret;
|
|
3336
4431
|
},
|
|
4432
|
+
__wbg_has_ffcf0ac839d1b8fb: function(arg0, arg1, arg2) {
|
|
4433
|
+
const ret = arg0.has(getStringFromWasm0(arg1, arg2));
|
|
4434
|
+
return ret;
|
|
4435
|
+
},
|
|
3337
4436
|
__wbg_headers_cf9c80f30e2a4eff: function(arg0) {
|
|
3338
4437
|
const ret = arg0.headers;
|
|
3339
4438
|
return ret;
|
|
3340
4439
|
},
|
|
4440
|
+
__wbg_height_6eec812c213259a1: function(arg0) {
|
|
4441
|
+
const ret = arg0.height;
|
|
4442
|
+
return ret;
|
|
4443
|
+
},
|
|
4444
|
+
__wbg_includes_78c9a3115b08eddc: function(arg0, arg1, arg2) {
|
|
4445
|
+
const ret = arg0.includes(arg1, arg2);
|
|
4446
|
+
return ret;
|
|
4447
|
+
},
|
|
3341
4448
|
__wbg_instanceof_GpuAdapter_fb230cdccb184887: function(arg0) {
|
|
3342
4449
|
let result;
|
|
3343
4450
|
try {
|
|
@@ -3348,6 +4455,56 @@ function __wbg_get_imports() {
|
|
|
3348
4455
|
const ret = result;
|
|
3349
4456
|
return ret;
|
|
3350
4457
|
},
|
|
4458
|
+
__wbg_instanceof_GpuCanvasContext_48ec5330c4425d84: function(arg0) {
|
|
4459
|
+
let result;
|
|
4460
|
+
try {
|
|
4461
|
+
result = arg0 instanceof GPUCanvasContext;
|
|
4462
|
+
} catch (_) {
|
|
4463
|
+
result = false;
|
|
4464
|
+
}
|
|
4465
|
+
const ret = result;
|
|
4466
|
+
return ret;
|
|
4467
|
+
},
|
|
4468
|
+
__wbg_instanceof_GpuOutOfMemoryError_7b1554dded417c4f: function(arg0) {
|
|
4469
|
+
let result;
|
|
4470
|
+
try {
|
|
4471
|
+
result = arg0 instanceof GPUOutOfMemoryError;
|
|
4472
|
+
} catch (_) {
|
|
4473
|
+
result = false;
|
|
4474
|
+
}
|
|
4475
|
+
const ret = result;
|
|
4476
|
+
return ret;
|
|
4477
|
+
},
|
|
4478
|
+
__wbg_instanceof_GpuValidationError_124458c5a6bb3b58: function(arg0) {
|
|
4479
|
+
let result;
|
|
4480
|
+
try {
|
|
4481
|
+
result = arg0 instanceof GPUValidationError;
|
|
4482
|
+
} catch (_) {
|
|
4483
|
+
result = false;
|
|
4484
|
+
}
|
|
4485
|
+
const ret = result;
|
|
4486
|
+
return ret;
|
|
4487
|
+
},
|
|
4488
|
+
__wbg_instanceof_HtmlCanvasElement_ed02ed9136056019: function(arg0) {
|
|
4489
|
+
let result;
|
|
4490
|
+
try {
|
|
4491
|
+
result = arg0 instanceof HTMLCanvasElement;
|
|
4492
|
+
} catch (_) {
|
|
4493
|
+
result = false;
|
|
4494
|
+
}
|
|
4495
|
+
const ret = result;
|
|
4496
|
+
return ret;
|
|
4497
|
+
},
|
|
4498
|
+
__wbg_instanceof_Object_33f20e6f12439f3e: function(arg0) {
|
|
4499
|
+
let result;
|
|
4500
|
+
try {
|
|
4501
|
+
result = arg0 instanceof Object;
|
|
4502
|
+
} catch (_) {
|
|
4503
|
+
result = false;
|
|
4504
|
+
}
|
|
4505
|
+
const ret = result;
|
|
4506
|
+
return ret;
|
|
4507
|
+
},
|
|
3351
4508
|
__wbg_instanceof_Response_c8b64b2256f01bec: function(arg0) {
|
|
3352
4509
|
let result;
|
|
3353
4510
|
try {
|
|
@@ -3358,6 +4515,16 @@ function __wbg_get_imports() {
|
|
|
3358
4515
|
const ret = result;
|
|
3359
4516
|
return ret;
|
|
3360
4517
|
},
|
|
4518
|
+
__wbg_instanceof_WebGl2RenderingContext_90225152e4e3c799: function(arg0) {
|
|
4519
|
+
let result;
|
|
4520
|
+
try {
|
|
4521
|
+
result = arg0 instanceof WebGL2RenderingContext;
|
|
4522
|
+
} catch (_) {
|
|
4523
|
+
result = false;
|
|
4524
|
+
}
|
|
4525
|
+
const ret = result;
|
|
4526
|
+
return ret;
|
|
4527
|
+
},
|
|
3361
4528
|
__wbg_instanceof_Window_05ba1ee4f6781663: function(arg0) {
|
|
3362
4529
|
let result;
|
|
3363
4530
|
try {
|
|
@@ -3368,6 +4535,13 @@ function __wbg_get_imports() {
|
|
|
3368
4535
|
const ret = result;
|
|
3369
4536
|
return ret;
|
|
3370
4537
|
},
|
|
4538
|
+
__wbg_invalidateFramebuffer_343bbfb15e6835fd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4539
|
+
arg0.invalidateFramebuffer(arg1 >>> 0, arg2);
|
|
4540
|
+
}, arguments); },
|
|
4541
|
+
__wbg_is_7b9d0b289033c7de: function(arg0, arg1) {
|
|
4542
|
+
const ret = Object.is(arg0, arg1);
|
|
4543
|
+
return ret;
|
|
4544
|
+
},
|
|
3371
4545
|
__wbg_label_84abde6506fa15b7: function(arg0, arg1) {
|
|
3372
4546
|
const ret = arg1.label;
|
|
3373
4547
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -3379,6 +4553,10 @@ function __wbg_get_imports() {
|
|
|
3379
4553
|
const ret = arg0.length;
|
|
3380
4554
|
return ret;
|
|
3381
4555
|
},
|
|
4556
|
+
__wbg_length_370319915dc99107: function(arg0) {
|
|
4557
|
+
const ret = arg0.length;
|
|
4558
|
+
return ret;
|
|
4559
|
+
},
|
|
3382
4560
|
__wbg_limits_a80585efb442d985: function(arg0) {
|
|
3383
4561
|
const ret = arg0.limits;
|
|
3384
4562
|
return ret;
|
|
@@ -3387,6 +4565,12 @@ function __wbg_get_imports() {
|
|
|
3387
4565
|
const ret = arg0.limits;
|
|
3388
4566
|
return ret;
|
|
3389
4567
|
},
|
|
4568
|
+
__wbg_linkProgram_4e047fb3197a0348: function(arg0, arg1) {
|
|
4569
|
+
arg0.linkProgram(arg1);
|
|
4570
|
+
},
|
|
4571
|
+
__wbg_linkProgram_d7c71c539c8c6a43: function(arg0, arg1) {
|
|
4572
|
+
arg0.linkProgram(arg1);
|
|
4573
|
+
},
|
|
3390
4574
|
__wbg_mapAsync_3546b4b874e14738: function(arg0, arg1, arg2, arg3) {
|
|
3391
4575
|
const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
|
|
3392
4576
|
return ret;
|
|
@@ -3499,6 +4683,13 @@ function __wbg_get_imports() {
|
|
|
3499
4683
|
const ret = arg0.maxVertexBuffers;
|
|
3500
4684
|
return ret;
|
|
3501
4685
|
},
|
|
4686
|
+
__wbg_message_bd5755a324c3b999: function(arg0, arg1) {
|
|
4687
|
+
const ret = arg1.message;
|
|
4688
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4689
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4690
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4691
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4692
|
+
},
|
|
3502
4693
|
__wbg_minStorageBufferOffsetAlignment_58fcc139ce14bbb9: function(arg0) {
|
|
3503
4694
|
const ret = arg0.minStorageBufferOffsetAlignment;
|
|
3504
4695
|
return ret;
|
|
@@ -3539,6 +4730,24 @@ function __wbg_get_imports() {
|
|
|
3539
4730
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
3540
4731
|
return ret;
|
|
3541
4732
|
},
|
|
4733
|
+
__wbg_new_typed_1824d93f294193e5: function(arg0, arg1) {
|
|
4734
|
+
try {
|
|
4735
|
+
var state0 = {a: arg0, b: arg1};
|
|
4736
|
+
var cb0 = (arg0, arg1) => {
|
|
4737
|
+
const a = state0.a;
|
|
4738
|
+
state0.a = 0;
|
|
4739
|
+
try {
|
|
4740
|
+
return wasm_bindgen__convert__closures_____invoke__h5df8ebf7fa42a7ee(a, state0.b, arg0, arg1);
|
|
4741
|
+
} finally {
|
|
4742
|
+
state0.a = a;
|
|
4743
|
+
}
|
|
4744
|
+
};
|
|
4745
|
+
const ret = new Promise(cb0);
|
|
4746
|
+
return ret;
|
|
4747
|
+
} finally {
|
|
4748
|
+
state0.a = 0;
|
|
4749
|
+
}
|
|
4750
|
+
},
|
|
3542
4751
|
__wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
|
|
3543
4752
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
3544
4753
|
return ret;
|
|
@@ -3555,14 +4764,38 @@ function __wbg_get_imports() {
|
|
|
3555
4764
|
const ret = Date.now();
|
|
3556
4765
|
return ret;
|
|
3557
4766
|
},
|
|
4767
|
+
__wbg_of_85f52f8b6491a7ca: function(arg0) {
|
|
4768
|
+
const ret = Array.of(arg0);
|
|
4769
|
+
return ret;
|
|
4770
|
+
},
|
|
3558
4771
|
__wbg_ok_acc5e3fb89668864: function(arg0) {
|
|
3559
4772
|
const ret = arg0.ok;
|
|
3560
4773
|
return ret;
|
|
3561
4774
|
},
|
|
4775
|
+
__wbg_onSubmittedWorkDone_5c020973b11ab15f: function(arg0) {
|
|
4776
|
+
const ret = arg0.onSubmittedWorkDone();
|
|
4777
|
+
return ret;
|
|
4778
|
+
},
|
|
3562
4779
|
__wbg_parse_1c0d8a8656d7e016: function() { return handleError(function (arg0, arg1) {
|
|
3563
4780
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
3564
4781
|
return ret;
|
|
3565
4782
|
}, arguments); },
|
|
4783
|
+
__wbg_pixelStorei_2a93b18efde9acf8: function(arg0, arg1, arg2) {
|
|
4784
|
+
arg0.pixelStorei(arg1 >>> 0, arg2);
|
|
4785
|
+
},
|
|
4786
|
+
__wbg_pixelStorei_c844cd0db4f1fde6: function(arg0, arg1, arg2) {
|
|
4787
|
+
arg0.pixelStorei(arg1 >>> 0, arg2);
|
|
4788
|
+
},
|
|
4789
|
+
__wbg_polygonOffset_4eb460adf41db6cd: function(arg0, arg1, arg2) {
|
|
4790
|
+
arg0.polygonOffset(arg1, arg2);
|
|
4791
|
+
},
|
|
4792
|
+
__wbg_polygonOffset_eccb68e40a18f861: function(arg0, arg1, arg2) {
|
|
4793
|
+
arg0.polygonOffset(arg1, arg2);
|
|
4794
|
+
},
|
|
4795
|
+
__wbg_popErrorScope_20ec53d3d70b2173: function(arg0) {
|
|
4796
|
+
const ret = arg0.popErrorScope();
|
|
4797
|
+
return ret;
|
|
4798
|
+
},
|
|
3566
4799
|
__wbg_process_44c7a14e11e9f69e: function(arg0) {
|
|
3567
4800
|
const ret = arg0.process;
|
|
3568
4801
|
return ret;
|
|
@@ -3570,10 +4803,24 @@ function __wbg_get_imports() {
|
|
|
3570
4803
|
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
3571
4804
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
3572
4805
|
},
|
|
4806
|
+
__wbg_pushErrorScope_d3e17b69be8837df: function(arg0, arg1) {
|
|
4807
|
+
arg0.pushErrorScope(__wbindgen_enum_GpuErrorFilter[arg1]);
|
|
4808
|
+
},
|
|
3573
4809
|
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
3574
4810
|
const ret = arg0.push(arg1);
|
|
3575
4811
|
return ret;
|
|
3576
4812
|
},
|
|
4813
|
+
__wbg_queryCounterEXT_b74a4567ddfeecf0: function(arg0, arg1, arg2) {
|
|
4814
|
+
arg0.queryCounterEXT(arg1, arg2 >>> 0);
|
|
4815
|
+
},
|
|
4816
|
+
__wbg_querySelectorAll_7e98cbe256deaadd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4817
|
+
const ret = arg0.querySelectorAll(getStringFromWasm0(arg1, arg2));
|
|
4818
|
+
return ret;
|
|
4819
|
+
}, arguments); },
|
|
4820
|
+
__wbg_querySelector_fd7d157ebe17cd16: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4821
|
+
const ret = arg0.querySelector(getStringFromWasm0(arg1, arg2));
|
|
4822
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4823
|
+
}, arguments); },
|
|
3577
4824
|
__wbg_queueMicrotask_0ab5b2d2393e99b9: function(arg0) {
|
|
3578
4825
|
const ret = arg0.queueMicrotask;
|
|
3579
4826
|
return ret;
|
|
@@ -3588,6 +4835,27 @@ function __wbg_get_imports() {
|
|
|
3588
4835
|
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
3589
4836
|
arg0.randomFillSync(arg1);
|
|
3590
4837
|
}, arguments); },
|
|
4838
|
+
__wbg_readBuffer_4271437a70aae481: function(arg0, arg1) {
|
|
4839
|
+
arg0.readBuffer(arg1 >>> 0);
|
|
4840
|
+
},
|
|
4841
|
+
__wbg_readPixels_5f013a7d85b23800: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
4842
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
4843
|
+
}, arguments); },
|
|
4844
|
+
__wbg_readPixels_82c9dee754d58176: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
4845
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
4846
|
+
}, arguments); },
|
|
4847
|
+
__wbg_readPixels_c7861e25836bf57b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
4848
|
+
arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
4849
|
+
}, arguments); },
|
|
4850
|
+
__wbg_renderbufferStorageMultisample_5c6e5d20c0eaa6ba: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4851
|
+
arg0.renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
4852
|
+
},
|
|
4853
|
+
__wbg_renderbufferStorage_0a8de92542893819: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4854
|
+
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
4855
|
+
},
|
|
4856
|
+
__wbg_renderbufferStorage_ab5f745ff8efce3d: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4857
|
+
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
4858
|
+
},
|
|
3591
4859
|
__wbg_requestAdapter_4814cb479d2dcf15: function(arg0, arg1) {
|
|
3592
4860
|
const ret = arg0.requestAdapter(arg1);
|
|
3593
4861
|
return ret;
|
|
@@ -3604,18 +4872,58 @@ function __wbg_get_imports() {
|
|
|
3604
4872
|
const ret = Promise.resolve(arg0);
|
|
3605
4873
|
return ret;
|
|
3606
4874
|
},
|
|
4875
|
+
__wbg_samplerParameterf_0b3308eeb1faa3a1: function(arg0, arg1, arg2, arg3) {
|
|
4876
|
+
arg0.samplerParameterf(arg1, arg2 >>> 0, arg3);
|
|
4877
|
+
},
|
|
4878
|
+
__wbg_samplerParameteri_7b1b4091de49aabb: function(arg0, arg1, arg2, arg3) {
|
|
4879
|
+
arg0.samplerParameteri(arg1, arg2 >>> 0, arg3);
|
|
4880
|
+
},
|
|
4881
|
+
__wbg_scenecanvas_new: function(arg0) {
|
|
4882
|
+
const ret = SceneCanvas.__wrap(arg0);
|
|
4883
|
+
return ret;
|
|
4884
|
+
},
|
|
4885
|
+
__wbg_scissor_105e756596bc35df: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4886
|
+
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
4887
|
+
},
|
|
4888
|
+
__wbg_scissor_573b844152316b8d: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4889
|
+
arg0.scissor(arg1, arg2, arg3, arg4);
|
|
4890
|
+
},
|
|
4891
|
+
__wbg_setBindGroup_67bd9a0c57486387: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
4892
|
+
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
4893
|
+
}, arguments); },
|
|
3607
4894
|
__wbg_setBindGroup_9fdf11fd244aa68a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3608
4895
|
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
3609
4896
|
}, arguments); },
|
|
4897
|
+
__wbg_setBindGroup_a2a4442ac2a0be99: function(arg0, arg1, arg2) {
|
|
4898
|
+
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
4899
|
+
},
|
|
3610
4900
|
__wbg_setBindGroup_a7e88440d0ecac88: function(arg0, arg1, arg2) {
|
|
3611
4901
|
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
3612
4902
|
},
|
|
4903
|
+
__wbg_setIndexBuffer_34f864cca07ffcec: function(arg0, arg1, arg2, arg3) {
|
|
4904
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
|
|
4905
|
+
},
|
|
4906
|
+
__wbg_setIndexBuffer_495adb9486108a2f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4907
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
4908
|
+
},
|
|
3613
4909
|
__wbg_setPipeline_092493bfd77760ee: function(arg0, arg1) {
|
|
3614
4910
|
arg0.setPipeline(arg1);
|
|
3615
4911
|
},
|
|
4912
|
+
__wbg_setPipeline_50cfc53a5d0eb1d7: function(arg0, arg1) {
|
|
4913
|
+
arg0.setPipeline(arg1);
|
|
4914
|
+
},
|
|
4915
|
+
__wbg_setScissorRect_ab5c9964f1440456: function(arg0, arg1, arg2, arg3, arg4) {
|
|
4916
|
+
arg0.setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
4917
|
+
},
|
|
3616
4918
|
__wbg_setVertexBuffer_1ed692dc2726f6c3: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3617
4919
|
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
|
|
3618
4920
|
},
|
|
4921
|
+
__wbg_setVertexBuffer_cc6e95bb408da360: function(arg0, arg1, arg2, arg3) {
|
|
4922
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
|
|
4923
|
+
},
|
|
4924
|
+
__wbg_setViewport_de0ebf5f8450da7e: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
4925
|
+
arg0.setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
4926
|
+
},
|
|
3619
4927
|
__wbg_set_61e45ae8061eca11: function(arg0, arg1, arg2) {
|
|
3620
4928
|
arg0.set(arg1, arg2 >>> 0);
|
|
3621
4929
|
},
|
|
@@ -3671,6 +4979,9 @@ function __wbg_get_imports() {
|
|
|
3671
4979
|
__wbg_set_beginning_of_pass_write_index_8e570668cd8cad5e: function(arg0, arg1) {
|
|
3672
4980
|
arg0.beginningOfPassWriteIndex = arg1 >>> 0;
|
|
3673
4981
|
},
|
|
4982
|
+
__wbg_set_beginning_of_pass_write_index_ddfc55f615254cc1: function(arg0, arg1) {
|
|
4983
|
+
arg0.beginningOfPassWriteIndex = arg1 >>> 0;
|
|
4984
|
+
},
|
|
3674
4985
|
__wbg_set_bind_group_layouts_436bd62a9b35e1ab: function(arg0, arg1) {
|
|
3675
4986
|
arg0.bindGroupLayouts = arg1;
|
|
3676
4987
|
},
|
|
@@ -3719,6 +5030,12 @@ function __wbg_get_imports() {
|
|
|
3719
5030
|
__wbg_set_compare_e61cc62d8f7e2191: function(arg0, arg1) {
|
|
3720
5031
|
arg0.compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
3721
5032
|
},
|
|
5033
|
+
__wbg_set_compute_dc74d722ba27aa5b: function(arg0, arg1) {
|
|
5034
|
+
arg0.compute = arg1;
|
|
5035
|
+
},
|
|
5036
|
+
__wbg_set_count_39e1b3c03c19b528: function(arg0, arg1) {
|
|
5037
|
+
arg0.count = arg1 >>> 0;
|
|
5038
|
+
},
|
|
3722
5039
|
__wbg_set_count_f285d8c62f4de679: function(arg0, arg1) {
|
|
3723
5040
|
arg0.count = arg1 >>> 0;
|
|
3724
5041
|
},
|
|
@@ -3779,6 +5096,9 @@ function __wbg_get_imports() {
|
|
|
3779
5096
|
__wbg_set_end_of_pass_write_index_568e7295b1b273a3: function(arg0, arg1) {
|
|
3780
5097
|
arg0.endOfPassWriteIndex = arg1 >>> 0;
|
|
3781
5098
|
},
|
|
5099
|
+
__wbg_set_end_of_pass_write_index_786588764311c9aa: function(arg0, arg1) {
|
|
5100
|
+
arg0.endOfPassWriteIndex = arg1 >>> 0;
|
|
5101
|
+
},
|
|
3782
5102
|
__wbg_set_entries_247b5e665db79583: function(arg0, arg1) {
|
|
3783
5103
|
arg0.entries = arg1;
|
|
3784
5104
|
},
|
|
@@ -3788,6 +5108,9 @@ function __wbg_get_imports() {
|
|
|
3788
5108
|
__wbg_set_entry_point_1d7ecf099e15fa2b: function(arg0, arg1, arg2) {
|
|
3789
5109
|
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
3790
5110
|
},
|
|
5111
|
+
__wbg_set_entry_point_3b13db51cfe0c5d6: function(arg0, arg1, arg2) {
|
|
5112
|
+
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
5113
|
+
},
|
|
3791
5114
|
__wbg_set_entry_point_a698bc91b472d5a9: function(arg0, arg1, arg2) {
|
|
3792
5115
|
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
3793
5116
|
},
|
|
@@ -3848,6 +5171,9 @@ function __wbg_get_imports() {
|
|
|
3848
5171
|
__wbg_set_label_22e57f4c5b38215f: function(arg0, arg1, arg2) {
|
|
3849
5172
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3850
5173
|
},
|
|
5174
|
+
__wbg_set_label_3341f59be0eb3205: function(arg0, arg1, arg2) {
|
|
5175
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
5176
|
+
},
|
|
3851
5177
|
__wbg_set_label_382417d222111912: function(arg0, arg1, arg2) {
|
|
3852
5178
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3853
5179
|
},
|
|
@@ -3857,6 +5183,12 @@ function __wbg_get_imports() {
|
|
|
3857
5183
|
__wbg_set_label_5724e5c6286e8a4e: function(arg0, arg1, arg2) {
|
|
3858
5184
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3859
5185
|
},
|
|
5186
|
+
__wbg_set_label_66fc1d23dd10d4f5: function(arg0, arg1, arg2) {
|
|
5187
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
5188
|
+
},
|
|
5189
|
+
__wbg_set_label_806446f85d68e201: function(arg0, arg1, arg2) {
|
|
5190
|
+
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
5191
|
+
},
|
|
3860
5192
|
__wbg_set_label_8354c6463558484f: function(arg0, arg1, arg2) {
|
|
3861
5193
|
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3862
5194
|
},
|
|
@@ -3884,6 +5216,9 @@ function __wbg_get_imports() {
|
|
|
3884
5216
|
__wbg_set_layout_44943c4c7d78f826: function(arg0, arg1) {
|
|
3885
5217
|
arg0.layout = arg1;
|
|
3886
5218
|
},
|
|
5219
|
+
__wbg_set_layout_726c6ae6f5919730: function(arg0, arg1) {
|
|
5220
|
+
arg0.layout = arg1;
|
|
5221
|
+
},
|
|
3887
5222
|
__wbg_set_load_op_103e6ce0a06327b3: function(arg0, arg1) {
|
|
3888
5223
|
arg0.loadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
3889
5224
|
},
|
|
@@ -3929,6 +5264,9 @@ function __wbg_get_imports() {
|
|
|
3929
5264
|
__wbg_set_module_3336e0ce2672c07c: function(arg0, arg1) {
|
|
3930
5265
|
arg0.module = arg1;
|
|
3931
5266
|
},
|
|
5267
|
+
__wbg_set_module_af2f871a0bed003c: function(arg0, arg1) {
|
|
5268
|
+
arg0.module = arg1;
|
|
5269
|
+
},
|
|
3932
5270
|
__wbg_set_multisample_1cdb4998c4f73341: function(arg0, arg1) {
|
|
3933
5271
|
arg0.multisample = arg1;
|
|
3934
5272
|
},
|
|
@@ -3965,6 +5303,9 @@ function __wbg_get_imports() {
|
|
|
3965
5303
|
__wbg_set_query_set_667d2dcfcedd1ec2: function(arg0, arg1) {
|
|
3966
5304
|
arg0.querySet = arg1;
|
|
3967
5305
|
},
|
|
5306
|
+
__wbg_set_query_set_aadbb433c8390a5c: function(arg0, arg1) {
|
|
5307
|
+
arg0.querySet = arg1;
|
|
5308
|
+
},
|
|
3968
5309
|
__wbg_set_r_13b3eba61d4ba4d9: function(arg0, arg1) {
|
|
3969
5310
|
arg0.r = arg1;
|
|
3970
5311
|
},
|
|
@@ -4052,6 +5393,9 @@ function __wbg_get_imports() {
|
|
|
4052
5393
|
__wbg_set_texture_a1baf7da91d20351: function(arg0, arg1) {
|
|
4053
5394
|
arg0.texture = arg1;
|
|
4054
5395
|
},
|
|
5396
|
+
__wbg_set_timestamp_writes_7fa18118aa24ddc1: function(arg0, arg1) {
|
|
5397
|
+
arg0.timestampWrites = arg1;
|
|
5398
|
+
},
|
|
4055
5399
|
__wbg_set_timestamp_writes_fdf8168751575b7f: function(arg0, arg1) {
|
|
4056
5400
|
arg0.timestampWrites = arg1;
|
|
4057
5401
|
},
|
|
@@ -4064,6 +5408,9 @@ function __wbg_get_imports() {
|
|
|
4064
5408
|
__wbg_set_type_55112c374bcc5a9d: function(arg0, arg1) {
|
|
4065
5409
|
arg0.type = __wbindgen_enum_GpuBufferBindingType[arg1];
|
|
4066
5410
|
},
|
|
5411
|
+
__wbg_set_type_9b9ab9961bd236f7: function(arg0, arg1) {
|
|
5412
|
+
arg0.type = __wbindgen_enum_GpuQueryType[arg1];
|
|
5413
|
+
},
|
|
4067
5414
|
__wbg_set_unclipped_depth_b15740038a226817: function(arg0, arg1) {
|
|
4068
5415
|
arg0.unclippedDepth = arg1 !== 0;
|
|
4069
5416
|
},
|
|
@@ -4124,6 +5471,12 @@ function __wbg_get_imports() {
|
|
|
4124
5471
|
__wbg_set_z_b6182f4c230116a7: function(arg0, arg1) {
|
|
4125
5472
|
arg0.z = arg1 >>> 0;
|
|
4126
5473
|
},
|
|
5474
|
+
__wbg_shaderSource_4cf90af97621ff49: function(arg0, arg1, arg2, arg3) {
|
|
5475
|
+
arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
|
|
5476
|
+
},
|
|
5477
|
+
__wbg_shaderSource_c3469dc2221dd528: function(arg0, arg1, arg2, arg3) {
|
|
5478
|
+
arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
|
|
5479
|
+
},
|
|
4127
5480
|
__wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
|
|
4128
5481
|
const ret = typeof global === 'undefined' ? null : global;
|
|
4129
5482
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -4144,6 +5497,30 @@ function __wbg_get_imports() {
|
|
|
4144
5497
|
const ret = arg0.status;
|
|
4145
5498
|
return ret;
|
|
4146
5499
|
},
|
|
5500
|
+
__wbg_stencilFuncSeparate_35136c4e5153406f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5501
|
+
arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
5502
|
+
},
|
|
5503
|
+
__wbg_stencilFuncSeparate_814300446c2969ef: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5504
|
+
arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
|
|
5505
|
+
},
|
|
5506
|
+
__wbg_stencilMaskSeparate_49367b0b5883a8bd: function(arg0, arg1, arg2) {
|
|
5507
|
+
arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
5508
|
+
},
|
|
5509
|
+
__wbg_stencilMaskSeparate_63976cc45fb94d84: function(arg0, arg1, arg2) {
|
|
5510
|
+
arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
|
|
5511
|
+
},
|
|
5512
|
+
__wbg_stencilMask_1c99b79b516d12dd: function(arg0, arg1) {
|
|
5513
|
+
arg0.stencilMask(arg1 >>> 0);
|
|
5514
|
+
},
|
|
5515
|
+
__wbg_stencilMask_9a844dc58a89992f: function(arg0, arg1) {
|
|
5516
|
+
arg0.stencilMask(arg1 >>> 0);
|
|
5517
|
+
},
|
|
5518
|
+
__wbg_stencilOpSeparate_b2cb9af05b803e02: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5519
|
+
arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
5520
|
+
},
|
|
5521
|
+
__wbg_stencilOpSeparate_c77fcb47561d0aee: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5522
|
+
arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
5523
|
+
},
|
|
4147
5524
|
__wbg_subarray_3ed232c8a6baee09: function(arg0, arg1, arg2) {
|
|
4148
5525
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
4149
5526
|
return ret;
|
|
@@ -4151,6 +5528,78 @@ function __wbg_get_imports() {
|
|
|
4151
5528
|
__wbg_submit_fc5b9a1154201a58: function(arg0, arg1) {
|
|
4152
5529
|
arg0.submit(arg1);
|
|
4153
5530
|
},
|
|
5531
|
+
__wbg_texImage2D_3813406af5bf54c8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5532
|
+
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5533
|
+
}, arguments); },
|
|
5534
|
+
__wbg_texImage2D_5abd8779d1d033c7: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5535
|
+
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5536
|
+
}, arguments); },
|
|
5537
|
+
__wbg_texImage2D_8d168171984f2a40: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5538
|
+
arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5539
|
+
}, arguments); },
|
|
5540
|
+
__wbg_texImage3D_bdd9bebe42ed1f52: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
5541
|
+
arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
|
|
5542
|
+
}, arguments); },
|
|
5543
|
+
__wbg_texImage3D_ef16a1f721b3f908: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
5544
|
+
arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
|
|
5545
|
+
}, arguments); },
|
|
5546
|
+
__wbg_texParameteri_1fc451e0964fc91c: function(arg0, arg1, arg2, arg3) {
|
|
5547
|
+
arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
5548
|
+
},
|
|
5549
|
+
__wbg_texParameteri_9d0daa263d3a863f: function(arg0, arg1, arg2, arg3) {
|
|
5550
|
+
arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
5551
|
+
},
|
|
5552
|
+
__wbg_texStorage2D_7f947efc63dac273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5553
|
+
arg0.texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
5554
|
+
},
|
|
5555
|
+
__wbg_texStorage3D_f8f2e4b3386736f9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5556
|
+
arg0.texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6);
|
|
5557
|
+
},
|
|
5558
|
+
__wbg_texSubImage2D_047380bb2660e4f9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5559
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5560
|
+
}, arguments); },
|
|
5561
|
+
__wbg_texSubImage2D_5058af3d30a8e205: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5562
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5563
|
+
}, arguments); },
|
|
5564
|
+
__wbg_texSubImage2D_6a376bfc3a31436b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5565
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5566
|
+
}, arguments); },
|
|
5567
|
+
__wbg_texSubImage2D_98c43894eb217aa7: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5568
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5569
|
+
}, arguments); },
|
|
5570
|
+
__wbg_texSubImage2D_bed5e7a3cd81d409: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5571
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5572
|
+
}, arguments); },
|
|
5573
|
+
__wbg_texSubImage2D_d1af697e69f8a9e4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5574
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5575
|
+
}, arguments); },
|
|
5576
|
+
__wbg_texSubImage2D_d3cd09d0ffcb27be: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5577
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5578
|
+
}, arguments); },
|
|
5579
|
+
__wbg_texSubImage2D_e107b4f88c19b920: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5580
|
+
arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
5581
|
+
}, arguments); },
|
|
5582
|
+
__wbg_texSubImage3D_45e498ae6298998c: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5583
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5584
|
+
}, arguments); },
|
|
5585
|
+
__wbg_texSubImage3D_4fdd4cd95a2925c2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5586
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5587
|
+
}, arguments); },
|
|
5588
|
+
__wbg_texSubImage3D_6cb6cfd732dad145: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5589
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5590
|
+
}, arguments); },
|
|
5591
|
+
__wbg_texSubImage3D_8077e90ec309c414: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5592
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5593
|
+
}, arguments); },
|
|
5594
|
+
__wbg_texSubImage3D_93b38c69acb735c8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5595
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5596
|
+
}, arguments); },
|
|
5597
|
+
__wbg_texSubImage3D_c9e5a071796d412f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5598
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5599
|
+
}, arguments); },
|
|
5600
|
+
__wbg_texSubImage3D_feebaf7f0f4594c6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
5601
|
+
arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
|
|
5602
|
+
}, arguments); },
|
|
4154
5603
|
__wbg_then_16d107c451e9905d: function(arg0, arg1, arg2) {
|
|
4155
5604
|
const ret = arg0.then(arg1, arg2);
|
|
4156
5605
|
return ret;
|
|
@@ -4163,24 +5612,163 @@ function __wbg_get_imports() {
|
|
|
4163
5612
|
const ret = arg0.then(arg1);
|
|
4164
5613
|
return ret;
|
|
4165
5614
|
},
|
|
5615
|
+
__wbg_uniform1f_62692c8fa8e7bf1e: function(arg0, arg1, arg2) {
|
|
5616
|
+
arg0.uniform1f(arg1, arg2);
|
|
5617
|
+
},
|
|
5618
|
+
__wbg_uniform1f_b79d0c5667f9fb40: function(arg0, arg1, arg2) {
|
|
5619
|
+
arg0.uniform1f(arg1, arg2);
|
|
5620
|
+
},
|
|
5621
|
+
__wbg_uniform1i_5830de6702add20a: function(arg0, arg1, arg2) {
|
|
5622
|
+
arg0.uniform1i(arg1, arg2);
|
|
5623
|
+
},
|
|
5624
|
+
__wbg_uniform1i_7621f908f78177df: function(arg0, arg1, arg2) {
|
|
5625
|
+
arg0.uniform1i(arg1, arg2);
|
|
5626
|
+
},
|
|
5627
|
+
__wbg_uniform1ui_cd7ad5581093b3df: function(arg0, arg1, arg2) {
|
|
5628
|
+
arg0.uniform1ui(arg1, arg2 >>> 0);
|
|
5629
|
+
},
|
|
5630
|
+
__wbg_uniform2fv_1b43656b33177d21: function(arg0, arg1, arg2, arg3) {
|
|
5631
|
+
arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5632
|
+
},
|
|
5633
|
+
__wbg_uniform2fv_948dab6a82b428ac: function(arg0, arg1, arg2, arg3) {
|
|
5634
|
+
arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5635
|
+
},
|
|
5636
|
+
__wbg_uniform2iv_859048b9d60f46ae: function(arg0, arg1, arg2, arg3) {
|
|
5637
|
+
arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5638
|
+
},
|
|
5639
|
+
__wbg_uniform2iv_f84a24961c0cfcd0: function(arg0, arg1, arg2, arg3) {
|
|
5640
|
+
arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5641
|
+
},
|
|
5642
|
+
__wbg_uniform2uiv_8a9cb3155271213b: function(arg0, arg1, arg2, arg3) {
|
|
5643
|
+
arg0.uniform2uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
5644
|
+
},
|
|
5645
|
+
__wbg_uniform3fv_8ecb5ebb510b7bce: function(arg0, arg1, arg2, arg3) {
|
|
5646
|
+
arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5647
|
+
},
|
|
5648
|
+
__wbg_uniform3fv_95d1933ea1440725: function(arg0, arg1, arg2, arg3) {
|
|
5649
|
+
arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5650
|
+
},
|
|
5651
|
+
__wbg_uniform3iv_09abae5eabd6b9d6: function(arg0, arg1, arg2, arg3) {
|
|
5652
|
+
arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5653
|
+
},
|
|
5654
|
+
__wbg_uniform3iv_a3a7008990fd84f0: function(arg0, arg1, arg2, arg3) {
|
|
5655
|
+
arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5656
|
+
},
|
|
5657
|
+
__wbg_uniform3uiv_3c0b163732f5b8f0: function(arg0, arg1, arg2, arg3) {
|
|
5658
|
+
arg0.uniform3uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
5659
|
+
},
|
|
5660
|
+
__wbg_uniform4f_9ff60fc65b0ed726: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5661
|
+
arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
|
|
5662
|
+
},
|
|
5663
|
+
__wbg_uniform4f_b25e39808b830021: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5664
|
+
arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
|
|
5665
|
+
},
|
|
5666
|
+
__wbg_uniform4fv_4ca8c114ca3de099: function(arg0, arg1, arg2, arg3) {
|
|
5667
|
+
arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5668
|
+
},
|
|
5669
|
+
__wbg_uniform4fv_674a247aeb15012d: function(arg0, arg1, arg2, arg3) {
|
|
5670
|
+
arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
|
|
5671
|
+
},
|
|
5672
|
+
__wbg_uniform4iv_45ab52abcb3f882c: function(arg0, arg1, arg2, arg3) {
|
|
5673
|
+
arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5674
|
+
},
|
|
5675
|
+
__wbg_uniform4iv_d02934d7b94df609: function(arg0, arg1, arg2, arg3) {
|
|
5676
|
+
arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
|
|
5677
|
+
},
|
|
5678
|
+
__wbg_uniform4uiv_0d1a8ed214f10c31: function(arg0, arg1, arg2, arg3) {
|
|
5679
|
+
arg0.uniform4uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
|
|
5680
|
+
},
|
|
5681
|
+
__wbg_uniformBlockBinding_a9ed6b750199e03c: function(arg0, arg1, arg2, arg3) {
|
|
5682
|
+
arg0.uniformBlockBinding(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
5683
|
+
},
|
|
5684
|
+
__wbg_uniformMatrix2fv_769725d64641341f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5685
|
+
arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5686
|
+
},
|
|
5687
|
+
__wbg_uniformMatrix2fv_9284424cc6aac672: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5688
|
+
arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5689
|
+
},
|
|
5690
|
+
__wbg_uniformMatrix2x3fv_dba00c4fc8eefe47: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5691
|
+
arg0.uniformMatrix2x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5692
|
+
},
|
|
5693
|
+
__wbg_uniformMatrix2x4fv_d801a561c3c18169: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5694
|
+
arg0.uniformMatrix2x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5695
|
+
},
|
|
5696
|
+
__wbg_uniformMatrix3fv_33e96c7d29dc1e22: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5697
|
+
arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5698
|
+
},
|
|
5699
|
+
__wbg_uniformMatrix3fv_568aa181379c8a75: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5700
|
+
arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5701
|
+
},
|
|
5702
|
+
__wbg_uniformMatrix3x2fv_ce43e8186ea60a1e: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5703
|
+
arg0.uniformMatrix3x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5704
|
+
},
|
|
5705
|
+
__wbg_uniformMatrix3x4fv_8abccc5745b0dd90: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5706
|
+
arg0.uniformMatrix3x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5707
|
+
},
|
|
5708
|
+
__wbg_uniformMatrix4fv_25115a23e04f6db7: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5709
|
+
arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5710
|
+
},
|
|
5711
|
+
__wbg_uniformMatrix4fv_423b958042692150: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5712
|
+
arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5713
|
+
},
|
|
5714
|
+
__wbg_uniformMatrix4x2fv_1ac2bf986a322e3f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5715
|
+
arg0.uniformMatrix4x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5716
|
+
},
|
|
5717
|
+
__wbg_uniformMatrix4x3fv_8640fa85b90ea910: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5718
|
+
arg0.uniformMatrix4x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
5719
|
+
},
|
|
4166
5720
|
__wbg_unmap_50b3be4aaf23fa39: function(arg0) {
|
|
4167
5721
|
arg0.unmap();
|
|
4168
5722
|
},
|
|
5723
|
+
__wbg_useProgram_182d120fe476921b: function(arg0, arg1) {
|
|
5724
|
+
arg0.useProgram(arg1);
|
|
5725
|
+
},
|
|
5726
|
+
__wbg_useProgram_49495850b446fa56: function(arg0, arg1) {
|
|
5727
|
+
arg0.useProgram(arg1);
|
|
5728
|
+
},
|
|
4169
5729
|
__wbg_versions_276b2795b1c6a219: function(arg0) {
|
|
4170
5730
|
const ret = arg0.versions;
|
|
4171
5731
|
return ret;
|
|
4172
5732
|
},
|
|
5733
|
+
__wbg_vertexAttribDivisorANGLE_978337b09d11ed84: function(arg0, arg1, arg2) {
|
|
5734
|
+
arg0.vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
|
|
5735
|
+
},
|
|
5736
|
+
__wbg_vertexAttribDivisor_fb31b5ed9bc856da: function(arg0, arg1, arg2) {
|
|
5737
|
+
arg0.vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
|
|
5738
|
+
},
|
|
5739
|
+
__wbg_vertexAttribIPointer_de08a8d8b625e253: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5740
|
+
arg0.vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
5741
|
+
},
|
|
5742
|
+
__wbg_vertexAttribPointer_a8f0af57269c2067: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5743
|
+
arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
5744
|
+
},
|
|
5745
|
+
__wbg_vertexAttribPointer_b300c8e000cdac93: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5746
|
+
arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
5747
|
+
},
|
|
5748
|
+
__wbg_viewport_affdf15c559df1e2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5749
|
+
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
5750
|
+
},
|
|
5751
|
+
__wbg_viewport_e8a16ca4a5085e5f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5752
|
+
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
5753
|
+
},
|
|
5754
|
+
__wbg_width_6d9315ecc7140ff6: function(arg0) {
|
|
5755
|
+
const ret = arg0.width;
|
|
5756
|
+
return ret;
|
|
5757
|
+
},
|
|
5758
|
+
__wbg_writeBuffer_7d54524c36f1c7e2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5759
|
+
arg0.writeBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
5760
|
+
}, arguments); },
|
|
4173
5761
|
__wbg_writeTexture_9d4c493be748d189: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4174
5762
|
arg0.writeTexture(arg1, arg2, arg3, arg4);
|
|
4175
5763
|
}, arguments); },
|
|
4176
5764
|
__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,
|
|
5765
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2118, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5766
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h6eb4df6a702050d9);
|
|
4179
5767
|
return ret;
|
|
4180
5768
|
},
|
|
4181
5769
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
4182
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
4183
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5770
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 5835, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5771
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h8eb4db3657af0602);
|
|
4184
5772
|
return ret;
|
|
4185
5773
|
},
|
|
4186
5774
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -4189,11 +5777,41 @@ function __wbg_get_imports() {
|
|
|
4189
5777
|
return ret;
|
|
4190
5778
|
},
|
|
4191
5779
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
5780
|
+
// Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
|
|
5781
|
+
const ret = getArrayF32FromWasm0(arg0, arg1);
|
|
5782
|
+
return ret;
|
|
5783
|
+
},
|
|
5784
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
5785
|
+
// Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
|
|
5786
|
+
const ret = getArrayI16FromWasm0(arg0, arg1);
|
|
5787
|
+
return ret;
|
|
5788
|
+
},
|
|
5789
|
+
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
5790
|
+
// Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
|
|
5791
|
+
const ret = getArrayI32FromWasm0(arg0, arg1);
|
|
5792
|
+
return ret;
|
|
5793
|
+
},
|
|
5794
|
+
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
5795
|
+
// Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
|
|
5796
|
+
const ret = getArrayI8FromWasm0(arg0, arg1);
|
|
5797
|
+
return ret;
|
|
5798
|
+
},
|
|
5799
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
5800
|
+
// Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
|
|
5801
|
+
const ret = getArrayU16FromWasm0(arg0, arg1);
|
|
5802
|
+
return ret;
|
|
5803
|
+
},
|
|
5804
|
+
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
5805
|
+
// Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
|
|
5806
|
+
const ret = getArrayU32FromWasm0(arg0, arg1);
|
|
5807
|
+
return ret;
|
|
5808
|
+
},
|
|
5809
|
+
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
4192
5810
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
4193
5811
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
4194
5812
|
return ret;
|
|
4195
5813
|
},
|
|
4196
|
-
|
|
5814
|
+
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
4197
5815
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
4198
5816
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
4199
5817
|
return ret;
|
|
@@ -4214,17 +5832,21 @@ function __wbg_get_imports() {
|
|
|
4214
5832
|
};
|
|
4215
5833
|
}
|
|
4216
5834
|
|
|
4217
|
-
function
|
|
4218
|
-
wasm.
|
|
5835
|
+
function wasm_bindgen__convert__closures_____invoke__h6eb4df6a702050d9(arg0, arg1, arg2) {
|
|
5836
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h6eb4df6a702050d9(arg0, arg1, arg2);
|
|
4219
5837
|
}
|
|
4220
5838
|
|
|
4221
|
-
function
|
|
4222
|
-
const ret = wasm.
|
|
5839
|
+
function wasm_bindgen__convert__closures_____invoke__h8eb4db3657af0602(arg0, arg1, arg2) {
|
|
5840
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h8eb4db3657af0602(arg0, arg1, arg2);
|
|
4223
5841
|
if (ret[1]) {
|
|
4224
5842
|
throw takeFromExternrefTable0(ret[0]);
|
|
4225
5843
|
}
|
|
4226
5844
|
}
|
|
4227
5845
|
|
|
5846
|
+
function wasm_bindgen__convert__closures_____invoke__h5df8ebf7fa42a7ee(arg0, arg1, arg2, arg3) {
|
|
5847
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5df8ebf7fa42a7ee(arg0, arg1, arg2, arg3);
|
|
5848
|
+
}
|
|
5849
|
+
|
|
4228
5850
|
|
|
4229
5851
|
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
|
|
4230
5852
|
|
|
@@ -4247,6 +5869,9 @@ const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equa
|
|
|
4247
5869
|
const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
|
|
4248
5870
|
|
|
4249
5871
|
|
|
5872
|
+
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
5873
|
+
|
|
5874
|
+
|
|
4250
5875
|
const __wbindgen_enum_GpuFilterMode = ["nearest", "linear"];
|
|
4251
5876
|
|
|
4252
5877
|
|
|
@@ -4268,6 +5893,9 @@ const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
|
|
|
4268
5893
|
const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
|
|
4269
5894
|
|
|
4270
5895
|
|
|
5896
|
+
const __wbindgen_enum_GpuQueryType = ["occlusion", "timestamp"];
|
|
5897
|
+
|
|
5898
|
+
|
|
4271
5899
|
const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
|
|
4272
5900
|
|
|
4273
5901
|
|
|
@@ -4299,15 +5927,24 @@ const __wbindgen_enum_GpuVertexFormat = ["uint8", "uint8x2", "uint8x4", "sint8",
|
|
|
4299
5927
|
|
|
4300
5928
|
|
|
4301
5929
|
const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
|
|
5930
|
+
const Canvas3DFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5931
|
+
? { register: () => {}, unregister: () => {} }
|
|
5932
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_canvas3d_free(ptr, 1));
|
|
4302
5933
|
const CredentialVaultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4303
5934
|
? { register: () => {}, unregister: () => {} }
|
|
4304
5935
|
: new FinalizationRegistry(ptr => wasm.__wbg_credentialvault_free(ptr, 1));
|
|
5936
|
+
const GpuHostFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5937
|
+
? { register: () => {}, unregister: () => {} }
|
|
5938
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_gpuhost_free(ptr, 1));
|
|
4305
5939
|
const KernelFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4306
5940
|
? { register: () => {}, unregister: () => {} }
|
|
4307
5941
|
: new FinalizationRegistry(ptr => wasm.__wbg_kernel_free(ptr, 1));
|
|
4308
5942
|
const MemoryStoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4309
5943
|
? { register: () => {}, unregister: () => {} }
|
|
4310
5944
|
: new FinalizationRegistry(ptr => wasm.__wbg_memorystore_free(ptr, 1));
|
|
5945
|
+
const SceneCanvasFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5946
|
+
? { register: () => {}, unregister: () => {} }
|
|
5947
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_scenecanvas_free(ptr, 1));
|
|
4311
5948
|
const ServerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4312
5949
|
? { register: () => {}, unregister: () => {} }
|
|
4313
5950
|
: new FinalizationRegistry(ptr => wasm.__wbg_server_free(ptr, 1));
|
|
@@ -4318,6 +5955,12 @@ function addToExternrefTable0(obj) {
|
|
|
4318
5955
|
return idx;
|
|
4319
5956
|
}
|
|
4320
5957
|
|
|
5958
|
+
function _assertClass(instance, klass) {
|
|
5959
|
+
if (!(instance instanceof klass)) {
|
|
5960
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
5961
|
+
}
|
|
5962
|
+
}
|
|
5963
|
+
|
|
4321
5964
|
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
4322
5965
|
? { register: () => {}, unregister: () => {} }
|
|
4323
5966
|
: new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure(state.a, state.b));
|
|
@@ -4387,6 +6030,31 @@ function debugString(val) {
|
|
|
4387
6030
|
return className;
|
|
4388
6031
|
}
|
|
4389
6032
|
|
|
6033
|
+
function getArrayF32FromWasm0(ptr, len) {
|
|
6034
|
+
ptr = ptr >>> 0;
|
|
6035
|
+
return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
6036
|
+
}
|
|
6037
|
+
|
|
6038
|
+
function getArrayI16FromWasm0(ptr, len) {
|
|
6039
|
+
ptr = ptr >>> 0;
|
|
6040
|
+
return getInt16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
6041
|
+
}
|
|
6042
|
+
|
|
6043
|
+
function getArrayI32FromWasm0(ptr, len) {
|
|
6044
|
+
ptr = ptr >>> 0;
|
|
6045
|
+
return getInt32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
6046
|
+
}
|
|
6047
|
+
|
|
6048
|
+
function getArrayI8FromWasm0(ptr, len) {
|
|
6049
|
+
ptr = ptr >>> 0;
|
|
6050
|
+
return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
6051
|
+
}
|
|
6052
|
+
|
|
6053
|
+
function getArrayU16FromWasm0(ptr, len) {
|
|
6054
|
+
ptr = ptr >>> 0;
|
|
6055
|
+
return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
6056
|
+
}
|
|
6057
|
+
|
|
4390
6058
|
function getArrayU32FromWasm0(ptr, len) {
|
|
4391
6059
|
ptr = ptr >>> 0;
|
|
4392
6060
|
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
@@ -4405,10 +6073,50 @@ function getDataViewMemory0() {
|
|
|
4405
6073
|
return cachedDataViewMemory0;
|
|
4406
6074
|
}
|
|
4407
6075
|
|
|
6076
|
+
let cachedFloat32ArrayMemory0 = null;
|
|
6077
|
+
function getFloat32ArrayMemory0() {
|
|
6078
|
+
if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
|
|
6079
|
+
cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
|
|
6080
|
+
}
|
|
6081
|
+
return cachedFloat32ArrayMemory0;
|
|
6082
|
+
}
|
|
6083
|
+
|
|
6084
|
+
let cachedInt16ArrayMemory0 = null;
|
|
6085
|
+
function getInt16ArrayMemory0() {
|
|
6086
|
+
if (cachedInt16ArrayMemory0 === null || cachedInt16ArrayMemory0.byteLength === 0) {
|
|
6087
|
+
cachedInt16ArrayMemory0 = new Int16Array(wasm.memory.buffer);
|
|
6088
|
+
}
|
|
6089
|
+
return cachedInt16ArrayMemory0;
|
|
6090
|
+
}
|
|
6091
|
+
|
|
6092
|
+
let cachedInt32ArrayMemory0 = null;
|
|
6093
|
+
function getInt32ArrayMemory0() {
|
|
6094
|
+
if (cachedInt32ArrayMemory0 === null || cachedInt32ArrayMemory0.byteLength === 0) {
|
|
6095
|
+
cachedInt32ArrayMemory0 = new Int32Array(wasm.memory.buffer);
|
|
6096
|
+
}
|
|
6097
|
+
return cachedInt32ArrayMemory0;
|
|
6098
|
+
}
|
|
6099
|
+
|
|
6100
|
+
let cachedInt8ArrayMemory0 = null;
|
|
6101
|
+
function getInt8ArrayMemory0() {
|
|
6102
|
+
if (cachedInt8ArrayMemory0 === null || cachedInt8ArrayMemory0.byteLength === 0) {
|
|
6103
|
+
cachedInt8ArrayMemory0 = new Int8Array(wasm.memory.buffer);
|
|
6104
|
+
}
|
|
6105
|
+
return cachedInt8ArrayMemory0;
|
|
6106
|
+
}
|
|
6107
|
+
|
|
4408
6108
|
function getStringFromWasm0(ptr, len) {
|
|
4409
6109
|
return decodeText(ptr >>> 0, len);
|
|
4410
6110
|
}
|
|
4411
6111
|
|
|
6112
|
+
let cachedUint16ArrayMemory0 = null;
|
|
6113
|
+
function getUint16ArrayMemory0() {
|
|
6114
|
+
if (cachedUint16ArrayMemory0 === null || cachedUint16ArrayMemory0.byteLength === 0) {
|
|
6115
|
+
cachedUint16ArrayMemory0 = new Uint16Array(wasm.memory.buffer);
|
|
6116
|
+
}
|
|
6117
|
+
return cachedUint16ArrayMemory0;
|
|
6118
|
+
}
|
|
6119
|
+
|
|
4412
6120
|
let cachedUint32ArrayMemory0 = null;
|
|
4413
6121
|
function getUint32ArrayMemory0() {
|
|
4414
6122
|
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
@@ -4544,6 +6252,11 @@ function __wbg_finalize_init(instance, module) {
|
|
|
4544
6252
|
wasm = instance.exports;
|
|
4545
6253
|
wasmModule = module;
|
|
4546
6254
|
cachedDataViewMemory0 = null;
|
|
6255
|
+
cachedFloat32ArrayMemory0 = null;
|
|
6256
|
+
cachedInt16ArrayMemory0 = null;
|
|
6257
|
+
cachedInt32ArrayMemory0 = null;
|
|
6258
|
+
cachedInt8ArrayMemory0 = null;
|
|
6259
|
+
cachedUint16ArrayMemory0 = null;
|
|
4547
6260
|
cachedUint32ArrayMemory0 = null;
|
|
4548
6261
|
cachedUint8ArrayMemory0 = null;
|
|
4549
6262
|
wasm.__wbindgen_start();
|