@rerun-io/web-viewer 0.16.0-rc.1 → 0.16.0-rc.3

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/README.md CHANGED
@@ -41,7 +41,7 @@ viewer.stop();
41
41
  ```
42
42
 
43
43
  The `rrd` in the snippet above should be a URL pointing to either:
44
- - A hosted `.rrd` file, such as <https://app.rerun.io/version/0.16.0-rc.1/examples/dna.rrd>
44
+ - A hosted `.rrd` file, such as <https://app.rerun.io/version/0.16.0-rc.3/examples/dna.rrd>
45
45
  - A WebSocket connection to the SDK opened via the [`serve`](https://www.rerun.io/docs/reference/sdk-operating-modes#serve) API
46
46
 
47
47
  If `rrd` is not set, the Viewer will display the same welcome screen as <https://app.rerun.io>.
package/index.d.ts CHANGED
@@ -18,8 +18,13 @@ declare module '@rerun-io/web-viewer' {
18
18
  * The viewer must have been started via `WebViewer.start`.
19
19
  *
20
20
  * @param rrd URLs to `.rrd` files or WebSocket connections to our SDK.
21
+ * @param options
22
+ * - follow_if_http: Whether Rerun should open the resource in "Following" mode when streaming
23
+ * from an HTTP url. Defaults to `false`. Ignored for non-HTTP URLs.
21
24
  */
22
- open(rrd: string | string[]): void;
25
+ open(rrd: string | string[], options?: {
26
+ follow_if_http?: boolean;
27
+ }): void;
23
28
  /**
24
29
  * Close a recording.
25
30
  *
@@ -129,8 +134,18 @@ declare module '@rerun-io/web-viewer/re_viewer.js' {
129
134
  panic_message(): string | undefined;
130
135
 
131
136
  panic_callstack(): string | undefined;
132
-
133
- add_receiver(url: string): void;
137
+ /**
138
+ * Add a new receiver streaming data from the given url.
139
+ *
140
+ * If `follow_if_http` is `true`, and the url is an HTTP source, the viewer will open the stream
141
+ * in `Following` mode rather than `Playing` mode.
142
+ *
143
+ * Websocket streams are always opened in `Following` mode.
144
+ *
145
+ * It is an error to open a channel twice with the same id.
146
+ *
147
+ */
148
+ add_receiver(url: string, follow_if_http?: boolean): void;
134
149
 
135
150
  remove_receiver(url: string): void;
136
151
  /**
package/index.d.ts.map CHANGED
@@ -18,5 +18,5 @@
18
18
  null,
19
19
  null
20
20
  ],
21
- "mappings": ";cAuBaA,SAASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkJTC,UAAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBC/JPC,SAASA;;eAGZC,wBAAwBA;;;;;;;;;;;;;;eAuBxBC,kBAAkBA;;;;;;;;;;eAmBlBC,oBAAoBA;;;;;;;;eAapBC,SAASA"
21
+ "mappings": ";cAuBaA,SAASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqJTC,UAAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBClKPC,SAASA;;eAGZC,wBAAwBA;;;;;;;;;;;;;;eAuBxBC,kBAAkBA;;;;;;;;;;eAmBlBC,oBAAoBA;;;;;;;;eAapBC,SAASA"
22
22
  }
package/index.js CHANGED
@@ -88,14 +88,17 @@ export class WebViewer {
88
88
  * @see {WebViewer.start}
89
89
  *
90
90
  * @param {string | string[]} rrd URLs to `.rrd` files or WebSocket connections to our SDK.
91
+ * @param {{ follow_if_http?: boolean }} options
92
+ * - follow_if_http: Whether Rerun should open the resource in "Following" mode when streaming
93
+ * from an HTTP url. Defaults to `false`. Ignored for non-HTTP URLs.
91
94
  */
92
- open(rrd) {
95
+ open(rrd, options = {}) {
93
96
  if (!this.#handle) {
94
97
  throw new Error(`attempted to open \`${rrd}\` in a stopped viewer`);
95
98
  }
96
99
  const urls = Array.isArray(rrd) ? rrd : [rrd];
97
100
  for (const url of urls) {
98
- this.#handle.add_receiver(url);
101
+ this.#handle.add_receiver(url, options.follow_if_http);
99
102
  if (this.#handle.has_panicked()) {
100
103
  throw new Error(`Web viewer crashed: ${this.#handle.panic_message()}`);
101
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rerun-io/web-viewer",
3
- "version": "0.16.0-rc.1",
3
+ "version": "0.16.0-rc.3",
4
4
  "description": "Embed the Rerun web viewer in your app",
5
5
  "licenses": [
6
6
  {
package/re_viewer.d.ts CHANGED
@@ -99,9 +99,18 @@ export class WebHandle {
99
99
  */
100
100
  panic_callstack(): string | undefined;
101
101
  /**
102
+ * Add a new receiver streaming data from the given url.
103
+ *
104
+ * If `follow_if_http` is `true`, and the url is an HTTP source, the viewer will open the stream
105
+ * in `Following` mode rather than `Playing` mode.
106
+ *
107
+ * Websocket streams are always opened in `Following` mode.
108
+ *
109
+ * It is an error to open a channel twice with the same id.
102
110
  * @param {string} url
111
+ * @param {boolean | undefined} [follow_if_http]
103
112
  */
104
- add_receiver(url: string): void;
113
+ add_receiver(url: string, follow_if_http?: boolean): void;
105
114
  /**
106
115
  * @param {string} url
107
116
  */
package/re_viewer_bg.js CHANGED
@@ -10,20 +10,6 @@ heap.push(undefined, null, true, false);
10
10
 
11
11
  function getObject(idx) { return heap[idx]; }
12
12
 
13
- let heap_next = heap.length;
14
-
15
- function dropObject(idx) {
16
- if (idx < 132) return;
17
- heap[idx] = heap_next;
18
- heap_next = idx;
19
- }
20
-
21
- function takeObject(idx) {
22
- const ret = getObject(idx);
23
- dropObject(idx);
24
- return ret;
25
- }
26
-
27
13
  let WASM_VECTOR_LEN = 0;
28
14
 
29
15
  let cachedUint8Memory0 = null;
@@ -103,6 +89,20 @@ function getInt32Memory0() {
103
89
  return cachedInt32Memory0;
104
90
  }
105
91
 
92
+ let heap_next = heap.length;
93
+
94
+ function dropObject(idx) {
95
+ if (idx < 132) return;
96
+ heap[idx] = heap_next;
97
+ heap_next = idx;
98
+ }
99
+
100
+ function takeObject(idx) {
101
+ const ret = getObject(idx);
102
+ dropObject(idx);
103
+ return ret;
104
+ }
105
+
106
106
  const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
107
107
 
108
108
  let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
@@ -222,29 +222,29 @@ function makeMutClosure(arg0, arg1, dtor, f) {
222
222
  return real;
223
223
  }
224
224
  function __wbg_adapter_32(arg0, arg1) {
225
- wasm.wasm_bindgen__convert__closures__invoke0_mut__he30d1dfc9e8f5ac2(arg0, arg1);
225
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5b1e3d49288de840(arg0, arg1);
226
226
  }
227
227
 
228
228
  function __wbg_adapter_35(arg0, arg1, arg2) {
229
- wasm.wasm_bindgen__convert__closures__invoke1_mut__h0ffc7cb7c87c9f75(arg0, arg1, addHeapObject(arg2));
229
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ff5e9949b0a21b5(arg0, arg1, addHeapObject(arg2));
230
230
  }
231
231
 
232
232
  function __wbg_adapter_38(arg0, arg1) {
233
233
  wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he3e77c8746920ad8(arg0, arg1);
234
234
  }
235
235
 
236
- function __wbg_adapter_41(arg0, arg1) {
237
- wasm.wasm_bindgen__convert__closures__invoke0_mut__h14967c128432cda5(arg0, arg1);
236
+ function __wbg_adapter_41(arg0, arg1, arg2) {
237
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h545ec82ded2d9534(arg0, arg1, addHeapObject(arg2));
238
238
  }
239
239
 
240
- function __wbg_adapter_44(arg0, arg1, arg2) {
241
- wasm.wasm_bindgen__convert__closures__invoke1_mut__hebd269c5f48077b6(arg0, arg1, addHeapObject(arg2));
240
+ function __wbg_adapter_44(arg0, arg1) {
241
+ wasm.wasm_bindgen__convert__closures__invoke0_mut__h3e523de377ad9304(arg0, arg1);
242
242
  }
243
243
 
244
244
  function __wbg_adapter_47(arg0, arg1) {
245
245
  try {
246
246
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
247
- wasm.wasm_bindgen__convert__closures__invoke0_mut__h3b27d7d9583e3626(retptr, arg0, arg1);
247
+ wasm.wasm_bindgen__convert__closures__invoke0_mut__h48ee5bf1e8dab96d(retptr, arg0, arg1);
248
248
  var r0 = getInt32Memory0()[retptr / 4 + 0];
249
249
  var r1 = getInt32Memory0()[retptr / 4 + 1];
250
250
  if (r1) {
@@ -256,7 +256,7 @@ function __wbg_adapter_47(arg0, arg1) {
256
256
  }
257
257
 
258
258
  function __wbg_adapter_50(arg0, arg1, arg2) {
259
- wasm.wasm_bindgen__convert__closures__invoke1_mut__h3ee698780fa9dba3(arg0, arg1, addHeapObject(arg2));
259
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h389a8557fc3a6c1d(arg0, arg1, addHeapObject(arg2));
260
260
  }
261
261
 
262
262
  function __wbg_adapter_55(arg0, arg1, arg2) {
@@ -264,7 +264,7 @@ function __wbg_adapter_55(arg0, arg1, arg2) {
264
264
  }
265
265
 
266
266
  function __wbg_adapter_64(arg0, arg1, arg2) {
267
- wasm.wasm_bindgen__convert__closures__invoke1_mut__h4d63b450ab3203e8(arg0, arg1, addHeapObject(arg2));
267
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h1825eb34d949dd69(arg0, arg1, addHeapObject(arg2));
268
268
  }
269
269
 
270
270
  function __wbg_adapter_67(arg0, arg1, arg2) {
@@ -568,12 +568,21 @@ export class WebHandle {
568
568
  }
569
569
  }
570
570
  /**
571
+ * Add a new receiver streaming data from the given url.
572
+ *
573
+ * If `follow_if_http` is `true`, and the url is an HTTP source, the viewer will open the stream
574
+ * in `Following` mode rather than `Playing` mode.
575
+ *
576
+ * Websocket streams are always opened in `Following` mode.
577
+ *
578
+ * It is an error to open a channel twice with the same id.
571
579
  * @param {string} url
580
+ * @param {boolean | undefined} [follow_if_http]
572
581
  */
573
- add_receiver(url) {
582
+ add_receiver(url, follow_if_http) {
574
583
  const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
575
584
  const len0 = WASM_VECTOR_LEN;
576
- wasm.webhandle_add_receiver(this.__wbg_ptr, ptr0, len0);
585
+ wasm.webhandle_add_receiver(this.__wbg_ptr, ptr0, len0, isLikeNone(follow_if_http) ? 0xFFFFFF : follow_if_http ? 1 : 0);
577
586
  }
578
587
  /**
579
588
  * @param {string} url
@@ -622,10 +631,6 @@ export class WebHandle {
622
631
  }
623
632
  }
624
633
 
625
- export function __wbindgen_object_drop_ref(arg0) {
626
- takeObject(arg0);
627
- };
628
-
629
634
  export function __wbindgen_string_get(arg0, arg1) {
630
635
  const obj = getObject(arg1);
631
636
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -635,6 +640,10 @@ export function __wbindgen_string_get(arg0, arg1) {
635
640
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
636
641
  };
637
642
 
643
+ export function __wbindgen_object_drop_ref(arg0) {
644
+ takeObject(arg0);
645
+ };
646
+
638
647
  export function __wbindgen_string_new(arg0, arg1) {
639
648
  const ret = getStringFromWasm0(arg0, arg1);
640
649
  return addHeapObject(ret);
@@ -687,12 +696,12 @@ export function __wbindgen_number_get(arg0, arg1) {
687
696
  getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
688
697
  };
689
698
 
690
- export function __wbg_new_3b60d0096210ee64() {
699
+ export function __wbg_new_83d61ca77025d6af() {
691
700
  const ret = new Error();
692
701
  return addHeapObject(ret);
693
702
  };
694
703
 
695
- export function __wbg_stack_846fa1b4ea2c7ca6(arg0, arg1) {
704
+ export function __wbg_stack_829a27f9f3a30c38(arg0, arg1) {
696
705
  const ret = getObject(arg1).stack;
697
706
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
698
707
  const len1 = WASM_VECTOR_LEN;
@@ -738,58 +747,96 @@ export function __wbindgen_number_new(arg0) {
738
747
  return addHeapObject(ret);
739
748
  };
740
749
 
741
- export function __wbg_finish_5753cfe75b8ff1af(arg0) {
742
- const ret = getObject(arg0).finish();
750
+ export function __wbg_features_0d562755efddf72c(arg0) {
751
+ const ret = getObject(arg0).features;
743
752
  return addHeapObject(ret);
744
753
  };
745
754
 
746
- export function __wbg_finish_b9839222e037a51e(arg0, arg1) {
747
- const ret = getObject(arg0).finish(getObject(arg1));
755
+ export function __wbg_limits_55da1c99f0e976e9(arg0) {
756
+ const ret = getObject(arg0).limits;
748
757
  return addHeapObject(ret);
749
758
  };
750
759
 
751
- export function __wbg_setBindGroup_f94d316567f1d0fc(arg0, arg1, arg2) {
752
- getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
760
+ export function __wbg_queue_15e94b1ed1ba16f8(arg0) {
761
+ const ret = getObject(arg0).queue;
762
+ return addHeapObject(ret);
753
763
  };
754
764
 
755
- export function __wbg_setBindGroup_48f3fbe512864ad9(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
756
- getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2), getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
765
+ export function __wbg_setonuncapturederror_3ee57f1a17c2830d(arg0, arg1) {
766
+ getObject(arg0).onuncapturederror = getObject(arg1);
757
767
  };
758
768
 
759
- export function __wbg_draw_96226af23cab0d85(arg0, arg1, arg2, arg3, arg4) {
760
- getObject(arg0).draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
769
+ export function __wbg_createBindGroup_5123902bc1e36cc4(arg0, arg1) {
770
+ const ret = getObject(arg0).createBindGroup(getObject(arg1));
771
+ return addHeapObject(ret);
761
772
  };
762
773
 
763
- export function __wbg_drawIndexed_1c467644a1bc89ff(arg0, arg1, arg2, arg3, arg4, arg5) {
764
- getObject(arg0).drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
774
+ export function __wbg_createBindGroupLayout_b0c2f3a6f7d18059(arg0, arg1) {
775
+ const ret = getObject(arg0).createBindGroupLayout(getObject(arg1));
776
+ return addHeapObject(ret);
765
777
  };
766
778
 
767
- export function __wbg_drawIndexedIndirect_279217c40eb67f68(arg0, arg1, arg2) {
768
- getObject(arg0).drawIndexedIndirect(getObject(arg1), arg2);
779
+ export function __wbg_createBuffer_8c862fe4a28b2d51(arg0, arg1) {
780
+ const ret = getObject(arg0).createBuffer(getObject(arg1));
781
+ return addHeapObject(ret);
769
782
  };
770
783
 
771
- export function __wbg_drawIndirect_a9bee61f493b639e(arg0, arg1, arg2) {
772
- getObject(arg0).drawIndirect(getObject(arg1), arg2);
784
+ export function __wbg_createCommandEncoder_9012d7db325fa03e(arg0, arg1) {
785
+ const ret = getObject(arg0).createCommandEncoder(getObject(arg1));
786
+ return addHeapObject(ret);
773
787
  };
774
788
 
775
- export function __wbg_setIndexBuffer_204a2b9a6758ab63(arg0, arg1, arg2, arg3) {
776
- getObject(arg0).setIndexBuffer(getObject(arg1), takeObject(arg2), arg3);
789
+ export function __wbg_createComputePipeline_5ae4b1f242668dfa(arg0, arg1) {
790
+ const ret = getObject(arg0).createComputePipeline(getObject(arg1));
791
+ return addHeapObject(ret);
777
792
  };
778
793
 
779
- export function __wbg_setIndexBuffer_67342e26f64e0712(arg0, arg1, arg2, arg3, arg4) {
780
- getObject(arg0).setIndexBuffer(getObject(arg1), takeObject(arg2), arg3, arg4);
794
+ export function __wbg_createPipelineLayout_37e0e3af31059fc1(arg0, arg1) {
795
+ const ret = getObject(arg0).createPipelineLayout(getObject(arg1));
796
+ return addHeapObject(ret);
781
797
  };
782
798
 
783
- export function __wbg_setPipeline_e38eb1f97f5ecafa(arg0, arg1) {
784
- getObject(arg0).setPipeline(getObject(arg1));
799
+ export function __wbg_createQuerySet_d54619d368d7dd22(arg0, arg1) {
800
+ const ret = getObject(arg0).createQuerySet(getObject(arg1));
801
+ return addHeapObject(ret);
785
802
  };
786
803
 
787
- export function __wbg_setVertexBuffer_49de4dcb44a2ab41(arg0, arg1, arg2, arg3) {
788
- getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3);
804
+ export function __wbg_createRenderBundleEncoder_5ae7675de454fbf0(arg0, arg1) {
805
+ const ret = getObject(arg0).createRenderBundleEncoder(getObject(arg1));
806
+ return addHeapObject(ret);
789
807
  };
790
808
 
791
- export function __wbg_setVertexBuffer_b0f91a955af9a83c(arg0, arg1, arg2, arg3, arg4) {
792
- getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3, arg4);
809
+ export function __wbg_createRenderPipeline_4d68c3e986df2a75(arg0, arg1) {
810
+ const ret = getObject(arg0).createRenderPipeline(getObject(arg1));
811
+ return addHeapObject(ret);
812
+ };
813
+
814
+ export function __wbg_createSampler_de0d16cd11a5cc7b(arg0, arg1) {
815
+ const ret = getObject(arg0).createSampler(getObject(arg1));
816
+ return addHeapObject(ret);
817
+ };
818
+
819
+ export function __wbg_createShaderModule_f7e713da42dbb7ea(arg0, arg1) {
820
+ const ret = getObject(arg0).createShaderModule(getObject(arg1));
821
+ return addHeapObject(ret);
822
+ };
823
+
824
+ export function __wbg_createTexture_5f896538314d2e64(arg0, arg1) {
825
+ const ret = getObject(arg0).createTexture(getObject(arg1));
826
+ return addHeapObject(ret);
827
+ };
828
+
829
+ export function __wbg_destroy_8ce1f83528791ca9(arg0) {
830
+ getObject(arg0).destroy();
831
+ };
832
+
833
+ export function __wbg_popErrorScope_305d6755b4ec5d8d(arg0) {
834
+ const ret = getObject(arg0).popErrorScope();
835
+ return addHeapObject(ret);
836
+ };
837
+
838
+ export function __wbg_pushErrorScope_ce2f5d4046ca31f6(arg0, arg1) {
839
+ getObject(arg0).pushErrorScope(takeObject(arg1));
793
840
  };
794
841
 
795
842
  export function __wbg_getPreferredCanvasFormat_45283b0bce3a7bda(arg0) {
@@ -844,112 +891,68 @@ export function __wbg_getBindGroupLayout_2ac2d497e38802ef(arg0, arg1) {
844
891
  return addHeapObject(ret);
845
892
  };
846
893
 
847
- export function __wbg_features_0d562755efddf72c(arg0) {
848
- const ret = getObject(arg0).features;
849
- return addHeapObject(ret);
850
- };
851
-
852
- export function __wbg_limits_55da1c99f0e976e9(arg0) {
853
- const ret = getObject(arg0).limits;
854
- return addHeapObject(ret);
855
- };
856
-
857
- export function __wbg_queue_15e94b1ed1ba16f8(arg0) {
858
- const ret = getObject(arg0).queue;
859
- return addHeapObject(ret);
860
- };
861
-
862
- export function __wbg_setonuncapturederror_3ee57f1a17c2830d(arg0, arg1) {
863
- getObject(arg0).onuncapturederror = getObject(arg1);
864
- };
865
-
866
- export function __wbg_createBindGroup_5123902bc1e36cc4(arg0, arg1) {
867
- const ret = getObject(arg0).createBindGroup(getObject(arg1));
894
+ export function __wbg_finish_5753cfe75b8ff1af(arg0) {
895
+ const ret = getObject(arg0).finish();
868
896
  return addHeapObject(ret);
869
897
  };
870
898
 
871
- export function __wbg_createBindGroupLayout_b0c2f3a6f7d18059(arg0, arg1) {
872
- const ret = getObject(arg0).createBindGroupLayout(getObject(arg1));
899
+ export function __wbg_finish_b9839222e037a51e(arg0, arg1) {
900
+ const ret = getObject(arg0).finish(getObject(arg1));
873
901
  return addHeapObject(ret);
874
902
  };
875
903
 
876
- export function __wbg_createBuffer_8c862fe4a28b2d51(arg0, arg1) {
877
- const ret = getObject(arg0).createBuffer(getObject(arg1));
878
- return addHeapObject(ret);
904
+ export function __wbg_setBindGroup_f94d316567f1d0fc(arg0, arg1, arg2) {
905
+ getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
879
906
  };
880
907
 
881
- export function __wbg_createCommandEncoder_9012d7db325fa03e(arg0, arg1) {
882
- const ret = getObject(arg0).createCommandEncoder(getObject(arg1));
883
- return addHeapObject(ret);
908
+ export function __wbg_setBindGroup_48f3fbe512864ad9(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
909
+ getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2), getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
884
910
  };
885
911
 
886
- export function __wbg_createComputePipeline_5ae4b1f242668dfa(arg0, arg1) {
887
- const ret = getObject(arg0).createComputePipeline(getObject(arg1));
888
- return addHeapObject(ret);
912
+ export function __wbg_draw_96226af23cab0d85(arg0, arg1, arg2, arg3, arg4) {
913
+ getObject(arg0).draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
889
914
  };
890
915
 
891
- export function __wbg_createPipelineLayout_37e0e3af31059fc1(arg0, arg1) {
892
- const ret = getObject(arg0).createPipelineLayout(getObject(arg1));
893
- return addHeapObject(ret);
916
+ export function __wbg_drawIndexed_1c467644a1bc89ff(arg0, arg1, arg2, arg3, arg4, arg5) {
917
+ getObject(arg0).drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
894
918
  };
895
919
 
896
- export function __wbg_createQuerySet_d54619d368d7dd22(arg0, arg1) {
897
- const ret = getObject(arg0).createQuerySet(getObject(arg1));
898
- return addHeapObject(ret);
920
+ export function __wbg_drawIndexedIndirect_279217c40eb67f68(arg0, arg1, arg2) {
921
+ getObject(arg0).drawIndexedIndirect(getObject(arg1), arg2);
899
922
  };
900
923
 
901
- export function __wbg_createRenderBundleEncoder_5ae7675de454fbf0(arg0, arg1) {
902
- const ret = getObject(arg0).createRenderBundleEncoder(getObject(arg1));
903
- return addHeapObject(ret);
924
+ export function __wbg_drawIndirect_a9bee61f493b639e(arg0, arg1, arg2) {
925
+ getObject(arg0).drawIndirect(getObject(arg1), arg2);
904
926
  };
905
927
 
906
- export function __wbg_createRenderPipeline_4d68c3e986df2a75(arg0, arg1) {
907
- const ret = getObject(arg0).createRenderPipeline(getObject(arg1));
908
- return addHeapObject(ret);
928
+ export function __wbg_setIndexBuffer_204a2b9a6758ab63(arg0, arg1, arg2, arg3) {
929
+ getObject(arg0).setIndexBuffer(getObject(arg1), takeObject(arg2), arg3);
909
930
  };
910
931
 
911
- export function __wbg_createSampler_de0d16cd11a5cc7b(arg0, arg1) {
912
- const ret = getObject(arg0).createSampler(getObject(arg1));
913
- return addHeapObject(ret);
932
+ export function __wbg_setIndexBuffer_67342e26f64e0712(arg0, arg1, arg2, arg3, arg4) {
933
+ getObject(arg0).setIndexBuffer(getObject(arg1), takeObject(arg2), arg3, arg4);
914
934
  };
915
935
 
916
- export function __wbg_createShaderModule_f7e713da42dbb7ea(arg0, arg1) {
917
- const ret = getObject(arg0).createShaderModule(getObject(arg1));
918
- return addHeapObject(ret);
936
+ export function __wbg_setPipeline_e38eb1f97f5ecafa(arg0, arg1) {
937
+ getObject(arg0).setPipeline(getObject(arg1));
919
938
  };
920
939
 
921
- export function __wbg_createTexture_5f896538314d2e64(arg0, arg1) {
922
- const ret = getObject(arg0).createTexture(getObject(arg1));
923
- return addHeapObject(ret);
940
+ export function __wbg_setVertexBuffer_49de4dcb44a2ab41(arg0, arg1, arg2, arg3) {
941
+ getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3);
924
942
  };
925
943
 
926
- export function __wbg_destroy_8ce1f83528791ca9(arg0) {
927
- getObject(arg0).destroy();
944
+ export function __wbg_setVertexBuffer_b0f91a955af9a83c(arg0, arg1, arg2, arg3, arg4) {
945
+ getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3, arg4);
928
946
  };
929
947
 
930
- export function __wbg_popErrorScope_305d6755b4ec5d8d(arg0) {
931
- const ret = getObject(arg0).popErrorScope();
948
+ export function __wbg_error_11c623b752f3ff0f(arg0) {
949
+ const ret = getObject(arg0).error;
932
950
  return addHeapObject(ret);
933
951
  };
934
952
 
935
- export function __wbg_pushErrorScope_ce2f5d4046ca31f6(arg0, arg1) {
936
- getObject(arg0).pushErrorScope(takeObject(arg1));
937
- };
938
-
939
- export function __wbg_copyExternalImageToTexture_48505f2ff1cb0cf0(arg0, arg1, arg2, arg3) {
940
- getObject(arg0).copyExternalImageToTexture(getObject(arg1), getObject(arg2), getObject(arg3));
941
- };
942
-
943
- export function __wbg_submit_f2517011b025285f(arg0, arg1) {
944
- getObject(arg0).submit(getObject(arg1));
945
- };
946
-
947
- export function __wbg_writeBuffer_a9ad83e7a9ac9d1e(arg0, arg1, arg2, arg3, arg4, arg5) {
948
- getObject(arg0).writeBuffer(getObject(arg1), arg2, getObject(arg3), arg4, arg5);
949
- };
950
-
951
- export function __wbg_writeTexture_e418dedbd3c77a1c(arg0, arg1, arg2, arg3, arg4) {
952
- getObject(arg0).writeTexture(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4));
953
+ export function __wbg_has_6dc604737cc778ea(arg0, arg1, arg2) {
954
+ const ret = getObject(arg0).has(getStringFromWasm0(arg1, arg2));
955
+ return ret;
953
956
  };
954
957
 
955
958
  export function __wbg_maxTextureDimension1D_ddcb46c74b7a0ecc(arg0) {
@@ -1027,16 +1030,6 @@ export function __wbg_maxStorageBufferBindingSize_f13debb16f988742(arg0) {
1027
1030
  return ret;
1028
1031
  };
1029
1032
 
1030
- export function __wbg_minUniformBufferOffsetAlignment_f21bc6f52f591b23(arg0) {
1031
- const ret = getObject(arg0).minUniformBufferOffsetAlignment;
1032
- return ret;
1033
- };
1034
-
1035
- export function __wbg_minStorageBufferOffsetAlignment_9a4902d10ccd3652(arg0) {
1036
- const ret = getObject(arg0).minStorageBufferOffsetAlignment;
1037
- return ret;
1038
- };
1039
-
1040
1033
  export function __wbg_maxVertexBuffers_c76a6144b8e6ece0(arg0) {
1041
1034
  const ret = getObject(arg0).maxVertexBuffers;
1042
1035
  return ret;
@@ -1057,6 +1050,16 @@ export function __wbg_maxVertexBufferArrayStride_ecc8a29222dea85e(arg0) {
1057
1050
  return ret;
1058
1051
  };
1059
1052
 
1053
+ export function __wbg_minUniformBufferOffsetAlignment_f21bc6f52f591b23(arg0) {
1054
+ const ret = getObject(arg0).minUniformBufferOffsetAlignment;
1055
+ return ret;
1056
+ };
1057
+
1058
+ export function __wbg_minStorageBufferOffsetAlignment_9a4902d10ccd3652(arg0) {
1059
+ const ret = getObject(arg0).minStorageBufferOffsetAlignment;
1060
+ return ret;
1061
+ };
1062
+
1060
1063
  export function __wbg_maxInterStageShaderComponents_863b889702752696(arg0) {
1061
1064
  const ret = getObject(arg0).maxInterStageShaderComponents;
1062
1065
  return ret;
@@ -1092,16 +1095,6 @@ export function __wbg_maxComputeWorkgroupsPerDimension_efc3e953c71f81b3(arg0) {
1092
1095
  return ret;
1093
1096
  };
1094
1097
 
1095
- export function __wbg_error_11c623b752f3ff0f(arg0) {
1096
- const ret = getObject(arg0).error;
1097
- return addHeapObject(ret);
1098
- };
1099
-
1100
- export function __wbg_has_6dc604737cc778ea(arg0, arg1, arg2) {
1101
- const ret = getObject(arg0).has(getStringFromWasm0(arg1, arg2));
1102
- return ret;
1103
- };
1104
-
1105
1098
  export function __wbindgen_is_object(arg0) {
1106
1099
  const val = getObject(arg0);
1107
1100
  const ret = typeof(val) === 'object' && val !== null;
@@ -1225,6 +1218,18 @@ export function __wbg_resolveQuerySet_c9db96541b4a0f9d(arg0, arg1, arg2, arg3, a
1225
1218
  getObject(arg0).resolveQuerySet(getObject(arg1), arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5 >>> 0);
1226
1219
  };
1227
1220
 
1221
+ export function __wbg_writeBuffer_a9ad83e7a9ac9d1e(arg0, arg1, arg2, arg3, arg4, arg5) {
1222
+ getObject(arg0).writeBuffer(getObject(arg1), arg2, getObject(arg3), arg4, arg5);
1223
+ };
1224
+
1225
+ export function __wbg_writeTexture_e418dedbd3c77a1c(arg0, arg1, arg2, arg3, arg4) {
1226
+ getObject(arg0).writeTexture(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4));
1227
+ };
1228
+
1229
+ export function __wbg_copyExternalImageToTexture_48505f2ff1cb0cf0(arg0, arg1, arg2, arg3) {
1230
+ getObject(arg0).copyExternalImageToTexture(getObject(arg1), getObject(arg2), getObject(arg3));
1231
+ };
1232
+
1228
1233
  export function __wbg_setPipeline_5927afa82a66b006(arg0, arg1) {
1229
1234
  getObject(arg0).setPipeline(getObject(arg1));
1230
1235
  };
@@ -1309,6 +1314,10 @@ export function __wbg_executeBundles_0af360b832437e34(arg0, arg1) {
1309
1314
  getObject(arg0).executeBundles(getObject(arg1));
1310
1315
  };
1311
1316
 
1317
+ export function __wbg_submit_f2517011b025285f(arg0, arg1) {
1318
+ getObject(arg0).submit(getObject(arg1));
1319
+ };
1320
+
1312
1321
  export function __wbg_message_f2a2e76018f5d52f(arg0, arg1) {
1313
1322
  const ret = getObject(arg1).message;
1314
1323
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -3429,19 +3438,19 @@ export function __wbg_changedTouches_9667f17739458e92(arg0) {
3429
3438
  return addHeapObject(ret);
3430
3439
  };
3431
3440
 
3432
- export function __wbg_warn_3b89708a527b6c87(arg0, arg1) {
3441
+ export function __wbg_warn_92f59beb04c257f2(arg0, arg1) {
3433
3442
  console.warn(getStringFromWasm0(arg0, arg1));
3434
3443
  };
3435
3444
 
3436
- export function __wbg_info_ce28bfb4f8adfafd(arg0, arg1) {
3445
+ export function __wbg_info_27e26841845d55b3(arg0, arg1) {
3437
3446
  console.info(getStringFromWasm0(arg0, arg1));
3438
3447
  };
3439
3448
 
3440
- export function __wbg_debug_69fa60f6ef09ee57(arg0, arg1) {
3449
+ export function __wbg_debug_5cc8027c90c78a2d(arg0, arg1) {
3441
3450
  console.debug(getStringFromWasm0(arg0, arg1));
3442
3451
  };
3443
3452
 
3444
- export function __wbg_trace_0cea385298020a27(arg0, arg1) {
3453
+ export function __wbg_trace_9557117b3153e5eb(arg0, arg1) {
3445
3454
  console.trace(getStringFromWasm0(arg0, arg1));
3446
3455
  };
3447
3456
 
@@ -3811,78 +3820,78 @@ export function __wbindgen_memory() {
3811
3820
  return addHeapObject(ret);
3812
3821
  };
3813
3822
 
3814
- export function __wbindgen_closure_wrapper3069(arg0, arg1, arg2) {
3815
- const ret = makeMutClosure(arg0, arg1, 1012, __wbg_adapter_32);
3823
+ export function __wbindgen_closure_wrapper2558(arg0, arg1, arg2) {
3824
+ const ret = makeMutClosure(arg0, arg1, 723, __wbg_adapter_32);
3816
3825
  return addHeapObject(ret);
3817
3826
  };
3818
3827
 
3819
- export function __wbindgen_closure_wrapper3071(arg0, arg1, arg2) {
3820
- const ret = makeMutClosure(arg0, arg1, 1012, __wbg_adapter_35);
3828
+ export function __wbindgen_closure_wrapper2560(arg0, arg1, arg2) {
3829
+ const ret = makeMutClosure(arg0, arg1, 723, __wbg_adapter_35);
3821
3830
  return addHeapObject(ret);
3822
3831
  };
3823
3832
 
3824
- export function __wbindgen_closure_wrapper3464(arg0, arg1, arg2) {
3825
- const ret = makeMutClosure(arg0, arg1, 1117, __wbg_adapter_38);
3833
+ export function __wbindgen_closure_wrapper3473(arg0, arg1, arg2) {
3834
+ const ret = makeMutClosure(arg0, arg1, 1131, __wbg_adapter_38);
3826
3835
  return addHeapObject(ret);
3827
3836
  };
3828
3837
 
3829
- export function __wbindgen_closure_wrapper6545(arg0, arg1, arg2) {
3830
- const ret = makeMutClosure(arg0, arg1, 2474, __wbg_adapter_41);
3838
+ export function __wbindgen_closure_wrapper6554(arg0, arg1, arg2) {
3839
+ const ret = makeMutClosure(arg0, arg1, 2488, __wbg_adapter_41);
3831
3840
  return addHeapObject(ret);
3832
3841
  };
3833
3842
 
3834
- export function __wbindgen_closure_wrapper6547(arg0, arg1, arg2) {
3835
- const ret = makeMutClosure(arg0, arg1, 2474, __wbg_adapter_44);
3843
+ export function __wbindgen_closure_wrapper6556(arg0, arg1, arg2) {
3844
+ const ret = makeMutClosure(arg0, arg1, 2488, __wbg_adapter_44);
3836
3845
  return addHeapObject(ret);
3837
3846
  };
3838
3847
 
3839
- export function __wbindgen_closure_wrapper6549(arg0, arg1, arg2) {
3840
- const ret = makeMutClosure(arg0, arg1, 2474, __wbg_adapter_47);
3848
+ export function __wbindgen_closure_wrapper6558(arg0, arg1, arg2) {
3849
+ const ret = makeMutClosure(arg0, arg1, 2488, __wbg_adapter_47);
3841
3850
  return addHeapObject(ret);
3842
3851
  };
3843
3852
 
3844
- export function __wbindgen_closure_wrapper19284(arg0, arg1, arg2) {
3845
- const ret = makeMutClosure(arg0, arg1, 7717, __wbg_adapter_50);
3853
+ export function __wbindgen_closure_wrapper19260(arg0, arg1, arg2) {
3854
+ const ret = makeMutClosure(arg0, arg1, 7715, __wbg_adapter_50);
3846
3855
  return addHeapObject(ret);
3847
3856
  };
3848
3857
 
3849
- export function __wbindgen_closure_wrapper19286(arg0, arg1, arg2) {
3850
- const ret = makeMutClosure(arg0, arg1, 7717, __wbg_adapter_50);
3858
+ export function __wbindgen_closure_wrapper19262(arg0, arg1, arg2) {
3859
+ const ret = makeMutClosure(arg0, arg1, 7715, __wbg_adapter_50);
3851
3860
  return addHeapObject(ret);
3852
3861
  };
3853
3862
 
3854
- export function __wbindgen_closure_wrapper25810(arg0, arg1, arg2) {
3855
- const ret = makeMutClosure(arg0, arg1, 10808, __wbg_adapter_55);
3863
+ export function __wbindgen_closure_wrapper25789(arg0, arg1, arg2) {
3864
+ const ret = makeMutClosure(arg0, arg1, 10806, __wbg_adapter_55);
3856
3865
  return addHeapObject(ret);
3857
3866
  };
3858
3867
 
3859
- export function __wbindgen_closure_wrapper25812(arg0, arg1, arg2) {
3860
- const ret = makeMutClosure(arg0, arg1, 10808, __wbg_adapter_55);
3868
+ export function __wbindgen_closure_wrapper25791(arg0, arg1, arg2) {
3869
+ const ret = makeMutClosure(arg0, arg1, 10806, __wbg_adapter_55);
3861
3870
  return addHeapObject(ret);
3862
3871
  };
3863
3872
 
3864
- export function __wbindgen_closure_wrapper25814(arg0, arg1, arg2) {
3865
- const ret = makeMutClosure(arg0, arg1, 10808, __wbg_adapter_55);
3873
+ export function __wbindgen_closure_wrapper25793(arg0, arg1, arg2) {
3874
+ const ret = makeMutClosure(arg0, arg1, 10806, __wbg_adapter_55);
3866
3875
  return addHeapObject(ret);
3867
3876
  };
3868
3877
 
3869
- export function __wbindgen_closure_wrapper25816(arg0, arg1, arg2) {
3870
- const ret = makeMutClosure(arg0, arg1, 10808, __wbg_adapter_55);
3878
+ export function __wbindgen_closure_wrapper25795(arg0, arg1, arg2) {
3879
+ const ret = makeMutClosure(arg0, arg1, 10806, __wbg_adapter_55);
3871
3880
  return addHeapObject(ret);
3872
3881
  };
3873
3882
 
3874
- export function __wbindgen_closure_wrapper32399(arg0, arg1, arg2) {
3875
- const ret = makeMutClosure(arg0, arg1, 13753, __wbg_adapter_64);
3883
+ export function __wbindgen_closure_wrapper31528(arg0, arg1, arg2) {
3884
+ const ret = makeMutClosure(arg0, arg1, 13191, __wbg_adapter_64);
3876
3885
  return addHeapObject(ret);
3877
3886
  };
3878
3887
 
3879
- export function __wbindgen_closure_wrapper32749(arg0, arg1, arg2) {
3880
- const ret = makeMutClosure(arg0, arg1, 13920, __wbg_adapter_67);
3888
+ export function __wbindgen_closure_wrapper32725(arg0, arg1, arg2) {
3889
+ const ret = makeMutClosure(arg0, arg1, 13916, __wbg_adapter_67);
3881
3890
  return addHeapObject(ret);
3882
3891
  };
3883
3892
 
3884
- export function __wbindgen_closure_wrapper32811(arg0, arg1, arg2) {
3885
- const ret = makeMutClosure(arg0, arg1, 13933, __wbg_adapter_70);
3893
+ export function __wbindgen_closure_wrapper32787(arg0, arg1, arg2) {
3894
+ const ret = makeMutClosure(arg0, arg1, 13929, __wbg_adapter_70);
3886
3895
  return addHeapObject(ret);
3887
3896
  };
3888
3897
 
package/re_viewer_bg.wasm CHANGED
Binary file
@@ -8,7 +8,7 @@ export function webhandle_destroy(a: number): void;
8
8
  export function webhandle_has_panicked(a: number): number;
9
9
  export function webhandle_panic_message(a: number, b: number): void;
10
10
  export function webhandle_panic_callstack(a: number, b: number): void;
11
- export function webhandle_add_receiver(a: number, b: number, c: number): void;
11
+ export function webhandle_add_receiver(a: number, b: number, c: number, d: number): void;
12
12
  export function webhandle_remove_receiver(a: number, b: number, c: number): void;
13
13
  export function webhandle_open_channel(a: number, b: number, c: number, d: number, e: number): void;
14
14
  export function webhandle_close_channel(a: number, b: number, c: number): void;
@@ -79,16 +79,16 @@ export function intounderlyingsource_cancel(a: number): void;
79
79
  export function __wbindgen_malloc(a: number, b: number): number;
80
80
  export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
81
81
  export const __wbindgen_export_2: WebAssembly.Table;
82
- export function wasm_bindgen__convert__closures__invoke0_mut__he30d1dfc9e8f5ac2(a: number, b: number): void;
83
- export function wasm_bindgen__convert__closures__invoke1_mut__h0ffc7cb7c87c9f75(a: number, b: number, c: number): void;
82
+ export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5b1e3d49288de840(a: number, b: number): void;
83
+ export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0ff5e9949b0a21b5(a: number, b: number, c: number): void;
84
84
  export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he3e77c8746920ad8(a: number, b: number): void;
85
- export function wasm_bindgen__convert__closures__invoke0_mut__h14967c128432cda5(a: number, b: number): void;
86
- export function wasm_bindgen__convert__closures__invoke1_mut__hebd269c5f48077b6(a: number, b: number, c: number): void;
85
+ export function wasm_bindgen__convert__closures__invoke1_mut__h545ec82ded2d9534(a: number, b: number, c: number): void;
86
+ export function wasm_bindgen__convert__closures__invoke0_mut__h3e523de377ad9304(a: number, b: number): void;
87
87
  export function __wbindgen_add_to_stack_pointer(a: number): number;
88
- export function wasm_bindgen__convert__closures__invoke0_mut__h3b27d7d9583e3626(a: number, b: number, c: number): void;
89
- export function wasm_bindgen__convert__closures__invoke1_mut__h3ee698780fa9dba3(a: number, b: number, c: number): void;
88
+ export function wasm_bindgen__convert__closures__invoke0_mut__h48ee5bf1e8dab96d(a: number, b: number, c: number): void;
89
+ export function wasm_bindgen__convert__closures__invoke1_mut__h389a8557fc3a6c1d(a: number, b: number, c: number): void;
90
90
  export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4415f29ff9ffe1e6(a: number, b: number, c: number): void;
91
- export function wasm_bindgen__convert__closures__invoke1_mut__h4d63b450ab3203e8(a: number, b: number, c: number): void;
91
+ export function wasm_bindgen__convert__closures__invoke1_mut__h1825eb34d949dd69(a: number, b: number, c: number): void;
92
92
  export function wasm_bindgen__convert__closures__invoke1_mut__h74463477a347a8fe(a: number, b: number, c: number): void;
93
93
  export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haf670f9b2e2edd2a(a: number, b: number, c: number): void;
94
94
  export function __wbindgen_free(a: number, b: number, c: number): void;