1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! Rendering, picking, and sketch editing for native and WebAssembly hosts.
//!
//! [`scene`] stores named geometry, [`pipeline`] evaluates feature histories,
//! and [`render`] draws into a host-provided texture view. Cameras, picking,
//! sketch state, and display settings are shared across presentation targets.
// `RenderSettings::to_json` is one `json!` literal over every setting, and
// `json_internal!` recurses once per key — the default 128 stops short of the
// full settings object.
// Re-export the kernel crate so downstream shells (e.g. `brep-app`'s wasm
// `WorkerRunner`) can name the run-boundary types the `runner::HistoryRunner`
// trait exposes (`brep_kernel::HistoryRequest`, …) WITHOUT taking their own
// direct path dependency — which would have to mirror this crate's kernel
// feature split (`default-features = false` / native `parallel`) or feature
// unification bites. One canonical instance, reached as `brep_render::brep_kernel`.
pub use brep_kernel;
// The wasm-bindgen browser API (attach/resize/events/camera/pick/scene-feed/
// settings/world→screen) — the R3 seam the host UI programs against. wasm only;
// its GPU wrapper needs a canvas/WebGPU context.
// BREP private tests: 47e523882291b774