1 · engine self-report — capability_report()
Runs inside the wasm module and describes what it probed: adapter, memory, features.
engine not loaded yet
2 · material graph → WGSL — material_graph_to_wgsl(graph_json)
Deterministic codegen: typed material graph in, canonical WGSL report out. Edit the graph and re-run.
engine not loaded yet
3 · WGSL gate — wgsl_canonical_validate(src)
The engine's fail-closed validator: real WGSL passes, junk is rejected with a panic message.
engine not loaded yet