Skip to main content

Module graph

Module graph 

Source
Expand description

Scene graph — the structural half of the engine dev-kit.

A Scene is a tree of Nodes (transform + optional Mesh + style + children). Scene::render walks the tree, composes transforms, and drives any Renderer backend (Canvas2D today, WebGPU next). This replaces the per-app hand-rolled draw loops (e.g. the physics surface) and the scene-graph role that three.js/Babylon used to play — but in pure Rust, with geometry that a future native backend can hand to QualiaDB’s geometric_algebra SIMD kernel.

Structs§

Node
A node in the scene graph.
Scene
A renderable scene: background, camera, and root nodes.
Style
Draw style for a node’s mesh. Colors are CSS strings (theme --qualia-* variables work) so values flow straight to the Canvas2D backend.