Skip to main content

Module shapes

Module shapes 

Source
Expand description

Shapes for scene node kinds.

Each baseline scene node kind gets a Shape that matches an Expr::Map whose kind tag equals that kind. View selection is overload selection over these Shapes, so the same matcher the kernel already uses for dispatch chooses lenses; there is no separate selection ladder. An umbrella scene/Scene Shape matches any recognized scene node and is used as the codec:scene expression shape.

Functionsยง

scene_shape_specs
Build (symbol, shape) registrations for the umbrella Shape plus every baseline scene node kind Shape.
scene_shape_symbol
The symbol for the umbrella scene/Scene Shape.