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 (WEBUI_4 P3) 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.

Structs§

SceneNodeShape
A Shape that accepts exactly one scene node kind.
SceneShape
The umbrella Shape that accepts any recognized scene node.

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.