alpha2 0.2.1 → 0.3.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.
@@ -59,7 +59,7 @@ export class ClockStep {
59
59
  */
60
60
  readonly audible: boolean;
61
61
  /**
62
- * The timeline time to show, in ticks.
62
+ * The start of the frame to show, in ticks.
63
63
  */
64
64
  readonly tick: number;
65
65
  /**
@@ -171,6 +171,47 @@ export class RasterizedText {
171
171
  readonly descriptor: string;
172
172
  }
173
173
 
174
+ /**
175
+ * Measures text generators with caller-supplied fonts, without a GPU:
176
+ * where the engine draws each one's text on the canvas. Given the fonts
177
+ * a renderer draws with, in the same order, it answers for that
178
+ * renderer's frames.
179
+ */
180
+ export class WasmTextMeasurer {
181
+ free(): void;
182
+ [Symbol.dispose](): void;
183
+ /**
184
+ * Appends an OpenType font to the fallback stack.
185
+ *
186
+ * # Errors
187
+ * Rejects malformed font bytes.
188
+ */
189
+ addFont(family: string, bytes: Uint8Array, face_index: number): void;
190
+ /**
191
+ * Drops every font.
192
+ */
193
+ clearFonts(): void;
194
+ /**
195
+ * Where the text generator `generator_json` (`{ "type": "text",
196
+ * "text", "style" }`, as a project holds it) lies on a `width` by
197
+ * `height` canvas, as JSON `{ layout, content, ink, lineCount }`:
198
+ * each a `{ left, top, right, bottom }` rectangle in fractions of the
199
+ * canvas, as the style's position is, on the picture the generator
200
+ * draws before its clip's transform; `ink` is `null` when the text
201
+ * draws nothing. Measure at the project's canvas size: text laid out
202
+ * at another size can break its lines elsewhere.
203
+ *
204
+ * # Errors
205
+ * Rejects JSON that is no valid text generator, an empty canvas, and
206
+ * a measurer without fonts.
207
+ */
208
+ measure(generator_json: string, width: number, height: number): string;
209
+ /**
210
+ * A measurer with no fonts; add them in fallback order.
211
+ */
212
+ constructor();
213
+ }
214
+
174
215
  /**
175
216
  * Shapes and rasterizes text from caller-supplied fonts, in wasm.
176
217
  */
@@ -606,9 +647,11 @@ export class WebEffectRegistry {
606
647
  * Evaluates and presents one project frame on the worker-owned canvas.
607
648
  *
608
649
  * Returns JSON `{ requestedTimeTicks, presentedTimeTicks, missingSources,
609
- * missingFrames, repeated }`: `presentedTimeTicks` is `null` until a frame
610
- * has been presented, and `missingFrames` names the exact source time
611
- * each missing source was needed at.
650
+ * missingFrames, repeated, unchanged }`: `presentedTimeTicks` is `null`
651
+ * until a frame has been presented, and `missingFrames` names the exact
652
+ * source time each missing source was needed at. `unchanged` says the
653
+ * frame equals the one presented last (see `Player::render_at`): nothing
654
+ * was rendered or presented, and the canvas still shows it.
612
655
  */
613
656
  renderAt(time_ticks: bigint): string;
614
657
  /**
@@ -684,6 +727,16 @@ export class WebEffectRegistry {
684
727
  * Every other field of `diagnostics()` is always available.
685
728
  */
686
729
  setPassTiming(enabled: boolean): void;
730
+ /**
731
+ * Renders preview frames at `scale` times the project's size from now
732
+ * on (the preview quality profile's resolution scale; 0.5 until set, 1
733
+ * renders at the project's resolution). Drops the held frame, so the
734
+ * next `renderAt` presents. Size the surface to `previewSize` after it.
735
+ *
736
+ * # Errors
737
+ * Rejects a scale that is not finite, above 0 and at most 8.
738
+ */
739
+ setPreviewScale(scale: number): void;
687
740
  /**
688
741
  * Lets rendered results (each clip's finished picture and the frame)
689
742
  * occupy up to `bytes` of GPU memory, to be found again when a frame
@@ -765,6 +818,13 @@ export class WebEffectRegistry {
765
818
  * and read an interpolation sample or two beyond.
766
819
  */
767
820
  uploadAudioBlock(source_id: string, start_sample: bigint, sample_rate: number, layout: any, samples: Float32Array, ends_source?: boolean | null): void;
821
+ /**
822
+ * [`Self::upload_presented_video_frame`] for a bitmap made of the frame
823
+ * with `createImageBitmap(frame, { premultiplyAlpha: "none" })`, which
824
+ * skips the canvas draw where `videoFrameCopy` is `"bitmap"`. Always
825
+ * closes `bitmap`; a source the project declares HDR is refused.
826
+ */
827
+ uploadPresentedImageBitmap(source_id: string, media_time_ticks: bigint, bitmap: ImageBitmap, output_width: number, output_height: number, rotation_degrees: number, mirror: boolean): any;
768
828
  /**
769
829
  * Like [`Self::upload_presented_rgba_frame`], for premultiplied
770
830
  * linear-light RGBA half floats (their bits) in BT.709 primaries, as
@@ -800,6 +860,7 @@ export class WebEffectRegistry {
800
860
  * Browser WebGPU copies the frame into a texture directly, or, where the
801
861
  * browser does not take a `VideoFrame` (Firefox), copies it through a
802
862
  * reused 2D canvas's bitmap. WebGL2 always uploads that bitmap.
863
+ * `videoFrameCopy` says which.
803
864
  *
804
865
  * Both copies go through the page's own color conversion, so an HDR
805
866
  * frame (PQ or HLG, by the color the project declares for the source,
@@ -871,6 +932,14 @@ export class WebEffectRegistry {
871
932
  * error is not that: it failed alone, and the binding renders on.
872
933
  */
873
934
  readonly deviceLost: boolean;
935
+ /**
936
+ * The loaded project's render size at the preview scale, `[width,
937
+ * height]`: the size `renderAt` renders and the surface should have.
938
+ *
939
+ * # Errors
940
+ * Fails when no project is loaded.
941
+ */
942
+ readonly previewSize: Uint32Array;
874
943
  /**
875
944
  * Returns replaced generations still awaiting explicit release.
876
945
  */
@@ -889,6 +958,12 @@ export class WebEffectRegistry {
889
958
  * Returns the number of browser frames currently retained by the binding.
890
959
  */
891
960
  readonly uploadedFrameCount: number;
961
+ /**
962
+ * How [`Self::upload_presented_video_frame`] copies a frame: `"direct"`,
963
+ * `"bitmap"` (through a canvas, once WebGPU refused a frame), `"untried"`,
964
+ * or `"canvas"` on WebGL2.
965
+ */
966
+ readonly videoFrameCopy: string;
892
967
  }
893
968
 
894
969
  /**
@@ -952,6 +1027,20 @@ export function conformProject(project: string, catalog: string, purpose: string
952
1027
  */
953
1028
  export function fontFamily(bytes: Uint8Array, face_index: number): string | undefined;
954
1029
 
1030
+ /**
1031
+ * The answers of the geometry queries the native tests pin
1032
+ * (`tests/golden/geometry_queries.json`), computed by this module.
1033
+ */
1034
+ export function geometryParityAnswers(): string;
1035
+
1036
+ /**
1037
+ * The front-most paint under a normalized point, or `undefined`.
1038
+ *
1039
+ * # Errors
1040
+ * Rejects items that are not a valid content tree, or a bad size or time.
1041
+ */
1042
+ export function hitTest(items_json: string, time: number, width: number, height: number, x: number, y: number): string | undefined;
1043
+
955
1044
  /**
956
1045
  * A project's non-fatal diagnostics (`Project::lint`), as a JSON array of
957
1046
  * issues (`alpha2/project`'s `LintIssue`).
@@ -961,6 +1050,22 @@ export function fontFamily(bytes: Uint8Array, face_index: number): string | unde
961
1050
  */
962
1051
  export function lintProject(project_json: string): string;
963
1052
 
1053
+ /**
1054
+ * The polyline a position travels between its keyframes.
1055
+ *
1056
+ * # Errors
1057
+ * Rejects an invalid position or size.
1058
+ */
1059
+ export function motionPath(point_json: string, width: number, height: number): string;
1060
+
1061
+ /**
1062
+ * The point of a path nearest a normalized point, as JSON or `null`.
1063
+ *
1064
+ * # Errors
1065
+ * Rejects an invalid path or size.
1066
+ */
1067
+ export function nearestPoint(path_json: string, width: number, height: number, x: number, y: number): string;
1068
+
964
1069
  /**
965
1070
  * Reads a subtitle file (`format` is `srt` or `webvtt`) into caption cues,
966
1071
  * returned as JSON `{ rows, skipped }`.
@@ -976,6 +1081,14 @@ export function lintProject(project_json: string): string;
976
1081
  */
977
1082
  export function parseCaptions(text: string, format: string): string;
978
1083
 
1084
+ /**
1085
+ * Each subpath's length in pixels, as a JSON array.
1086
+ *
1087
+ * # Errors
1088
+ * Rejects an invalid path or size.
1089
+ */
1090
+ export function pathLength(path_json: string, width: number, height: number): string;
1091
+
979
1092
  /**
980
1093
  * The gain that brings a measured mix (a `loudnessReport` JSON) to
981
1094
  * `target_lufs` without its true peak passing `ceiling_dbtp`, or its sample
@@ -1008,6 +1121,14 @@ export function presentationSlackTicks(num: bigint, den: bigint, quantum: bigint
1008
1121
  */
1009
1122
  export function qualityLevels(): string;
1010
1123
 
1124
+ /**
1125
+ * A path with the given vertex count per subpath, as a path.
1126
+ *
1127
+ * # Errors
1128
+ * Rejects an invalid path or size, or a count past the vertex limit.
1129
+ */
1130
+ export function resamplePath(path_json: string, width: number, height: number, counts: Uint32Array): string;
1131
+
1011
1132
  /**
1012
1133
  * Resolves a quality level into a stereo audio bitrate in bits per second.
1013
1134
  *
@@ -1030,6 +1151,14 @@ export function resolveRateControl(codec: string, width: number, height: number,
1030
1151
  */
1031
1152
  export function roundingQuantum(timestamps: BigInt64Array): bigint;
1032
1153
 
1154
+ /**
1155
+ * Each item's normalized bounds; see the geometry module.
1156
+ *
1157
+ * # Errors
1158
+ * Rejects items that are not a valid content tree, or a bad size or time.
1159
+ */
1160
+ export function shapeBounds(items_json: string, time: number, width: number, height: number): string;
1161
+
1033
1162
  /**
1034
1163
  * Installs the panic reporter as the module is instantiated.
1035
1164
  *
@@ -1038,6 +1167,28 @@ export function roundingQuantum(timestamps: BigInt64Array): bigint;
1038
1167
  */
1039
1168
  export function start(): void;
1040
1169
 
1170
+ /**
1171
+ * A rectangle, ellipse, or polystar as a path of the same outline.
1172
+ *
1173
+ * # Errors
1174
+ * Rejects an invalid geometry, size, or time.
1175
+ */
1176
+ export function toPath(geometry_json: string, time: number, width: number, height: number): string;
1177
+
1178
+ /**
1179
+ * The part of a path a trim keeps, as a path.
1180
+ *
1181
+ * # Errors
1182
+ * Rejects an invalid path, size, or span.
1183
+ */
1184
+ export function trimPath(path_json: string, width: number, height: number, start: number, end: number, offset: number): string;
1185
+
1186
+ /**
1187
+ * The vector coverage and scene hashes the native tests pin
1188
+ * (`tests/golden/vector_coverage.json`), computed by this module.
1189
+ */
1190
+ export function vectorParityHashes(): string;
1191
+
1041
1192
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
1042
1193
 
1043
1194
  export interface InitOutput {
@@ -1048,6 +1199,7 @@ export interface InitOutput {
1048
1199
  readonly __wbg_loudnessmeter_free: (a: number, b: number) => void;
1049
1200
  readonly __wbg_playbackclock_free: (a: number, b: number) => void;
1050
1201
  readonly __wbg_rasterizedtext_free: (a: number, b: number) => void;
1202
+ readonly __wbg_wasmtextmeasurer_free: (a: number, b: number) => void;
1051
1203
  readonly __wbg_wasmtextrasterizer_free: (a: number, b: number) => void;
1052
1204
  readonly __wbg_waveformbuilder_free: (a: number, b: number) => void;
1053
1205
  readonly __wbg_waveformresult_free: (a: number, b: number) => void;
@@ -1067,13 +1219,18 @@ export interface InitOutput {
1067
1219
  readonly compiledeffect_id: (a: number) => [number, number];
1068
1220
  readonly conformProject: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
1069
1221
  readonly fontFamily: (a: number, b: number, c: number) => [number, number];
1222
+ readonly geometryParityAnswers: () => [number, number];
1223
+ readonly hitTest: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number, number];
1070
1224
  readonly lintProject: (a: number, b: number) => [number, number, number, number];
1071
1225
  readonly loudnessmeter_momentaryLufs: (a: number) => [number, number];
1072
1226
  readonly loudnessmeter_new: (a: number, b: number) => [number, number, number];
1073
1227
  readonly loudnessmeter_push: (a: number, b: number, c: number) => [number, number];
1074
1228
  readonly loudnessmeter_report: (a: number) => [number, number];
1075
1229
  readonly loudnessmeter_shortTermLufs: (a: number) => [number, number];
1230
+ readonly motionPath: (a: number, b: number, c: number, d: number) => [number, number, number, number];
1231
+ readonly nearestPoint: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
1076
1232
  readonly parseCaptions: (a: number, b: number, c: number, d: number) => [number, number, number, number];
1233
+ readonly pathLength: (a: number, b: number, c: number, d: number) => [number, number, number, number];
1077
1234
  readonly planLoudnessNormalization: (a: number, b: number, c: number, d: number) => [number, number, number, number];
1078
1235
  readonly playbackclock_audible: (a: number, b: number, c: number) => [number, number, number];
1079
1236
  readonly playbackclock_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number];
@@ -1082,10 +1239,19 @@ export interface InitOutput {
1082
1239
  readonly qualityLevels: () => [number, number];
1083
1240
  readonly rasterizedtext_descriptor: (a: number) => [number, number];
1084
1241
  readonly rasterizedtext_takePixels: (a: number) => any;
1242
+ readonly resamplePath: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
1085
1243
  readonly resolveAudioBitrate: (a: number, b: number, c: number, d: number) => [number, number, number];
1086
1244
  readonly resolveRateControl: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
1087
1245
  readonly roundingQuantum: (a: number, b: number) => bigint;
1246
+ readonly shapeBounds: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
1088
1247
  readonly start: () => void;
1248
+ readonly toPath: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
1249
+ readonly trimPath: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number, number];
1250
+ readonly vectorParityHashes: () => [number, number];
1251
+ readonly wasmtextmeasurer_addFont: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
1252
+ readonly wasmtextmeasurer_clearFonts: (a: number) => void;
1253
+ readonly wasmtextmeasurer_measure: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
1254
+ readonly wasmtextmeasurer_new: () => number;
1089
1255
  readonly wasmtextrasterizer_addFont: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
1090
1256
  readonly wasmtextrasterizer_cacheSize: (a: number) => number;
1091
1257
  readonly wasmtextrasterizer_clear: (a: number) => void;
@@ -1135,6 +1301,7 @@ export interface InitOutput {
1135
1301
  readonly webeffectregistry_loadProject: (a: number, b: number, c: number) => [number, number];
1136
1302
  readonly webeffectregistry_loudnessReport: (a: number) => [number, number];
1137
1303
  readonly webeffectregistry_presentUploadedFrame: (a: number, b: number, c: number, d: bigint) => [number, number];
1304
+ readonly webeffectregistry_previewSize: (a: number) => [number, number, number, number];
1138
1305
  readonly webeffectregistry_registerCompiledEffect: (a: number, b: number) => [number, number, number, number];
1139
1306
  readonly webeffectregistry_registerLut3d: (a: number, b: number, c: number, d: number, e: number) => [number, number];
1140
1307
  readonly webeffectregistry_releaseAudioSource: (a: number, b: number, c: number) => number;
@@ -1152,6 +1319,7 @@ export interface InitOutput {
1152
1319
  readonly webeffectregistry_setLoudnessMetering: (a: number, b: number) => [number, number];
1153
1320
  readonly webeffectregistry_setNormalizationGainDb: (a: number, b: number) => [number, number];
1154
1321
  readonly webeffectregistry_setPassTiming: (a: number, b: number) => void;
1322
+ readonly webeffectregistry_setPreviewScale: (a: number, b: number) => [number, number];
1155
1323
  readonly webeffectregistry_setResultCacheBudget: (a: number, b: number) => [number, number];
1156
1324
  readonly webeffectregistry_setUploadedFrameBudget: (a: number, b: number) => [number, number];
1157
1325
  readonly webeffectregistry_sourceColorMetadata: (a: number, b: number, c: number) => [number, number];
@@ -1162,6 +1330,7 @@ export interface InitOutput {
1162
1330
  readonly webeffectregistry_unregisterEffect: (a: number, b: number, c: number, d: number) => number;
1163
1331
  readonly webeffectregistry_unregisterEffectResource: (a: number, b: number, c: number) => number;
1164
1332
  readonly webeffectregistry_uploadAudioBlock: (a: number, b: number, c: number, d: bigint, e: number, f: any, g: any, h: number) => [number, number];
1333
+ readonly webeffectregistry_uploadPresentedImageBitmap: (a: number, b: number, c: number, d: bigint, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
1165
1334
  readonly webeffectregistry_uploadPresentedLinearFrame: (a: number, b: number, c: number, d: bigint, e: number, f: number, g: number, h: number, i: number, j: number) => [number, number, number];
1166
1335
  readonly webeffectregistry_uploadPresentedLinearImage: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => [number, number, number];
1167
1336
  readonly webeffectregistry_uploadPresentedRgbaFrame: (a: number, b: number, c: number, d: bigint, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => [number, number, number];
@@ -1173,15 +1342,16 @@ export interface InitOutput {
1173
1342
  readonly webeffectregistry_uploadYuvFrame: (a: number, b: number, c: number, d: bigint, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number) => [number, number, number];
1174
1343
  readonly webeffectregistry_uploadedFrameBytes: (a: number) => bigint;
1175
1344
  readonly webeffectregistry_uploadedFrameCount: (a: number) => number;
1345
+ readonly webeffectregistry_videoFrameCopy: (a: number) => [number, number];
1176
1346
  readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___js_sys_dcf218532b47778c___Function_fn_wasm_bindgen_d171202afaeab6f2___JsValue_____wasm_bindgen_d171202afaeab6f2___sys__Undefined___js_sys_dcf218532b47778c___Function_fn_wasm_bindgen_d171202afaeab6f2___JsValue_____wasm_bindgen_d171202afaeab6f2___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
1177
1347
  readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_: (a: number, b: number, c: any) => [number, number];
1178
1348
  readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_: (a: number, b: number, c: any) => [number, number];
1179
- readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__125: (a: number, b: number, c: any) => [number, number];
1180
- readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__128: (a: number, b: number, c: any) => [number, number];
1181
- readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__129: (a: number, b: number, c: any) => [number, number];
1349
+ readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__143: (a: number, b: number, c: any) => [number, number];
1350
+ readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__146: (a: number, b: number, c: any) => [number, number];
1351
+ readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__147: (a: number, b: number, c: any) => [number, number];
1182
1352
  readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___web_sys_9e2ae0ace5131457___features__gen_Event__Event______true_: (a: number, b: number, c: any) => void;
1183
1353
  readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_: (a: number, b: number, c: any) => void;
1184
- readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__127: (a: number, b: number, c: any) => void;
1354
+ readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__145: (a: number, b: number, c: any) => void;
1185
1355
  readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke_______true_: (a: number, b: number) => void;
1186
1356
  readonly __wbindgen_malloc: (a: number, b: number) => number;
1187
1357
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;