Skip to main content

Module embed

Module embed 

Source
Expand description

Scene embedding: one lens hosting another lens’s Scene.

Composition is a scene/embed node wrapping a nested Scene produced by another lens. A host lens can therefore render a value through a different lens and place the result inside its own Scene without flattening or duplicating it.

Functions§

embed_scene
Wrap an already-rendered inner Scene in a scene/embed node, recording the lens that produced it.