MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ expose_vertex_geometry()

template<typename Source, typename Access>
void MayaFlux::Portal::Forma::expose_vertex_geometry ( FactoryTable< Source, Access > & table,
std::string name )

Register vertex_geometry_form under a name.

The factory element needs a topology and one or more vertex children, with an optional defaults child before them. The instance needs a rect.

Definition at line 67 of file StaticGeometry.hpp.

68{
69 table.template expose_typed<std::monostate>(std::move(name),
71 [](const VertexGeometryInputs&, const RectPlacementInputs&, std::string&)
72 -> std::optional<std::monostate> { return std::monostate {}; });
73}
std::optional< Geometry::Form< std::monostate > > vertex_geometry_form(const VertexGeometryInputs &input, const RectPlacementInputs &placement, std::string &error)
A Form with no state that draws ordered vertices.
Reflect::RecordBinding< VertexGeometryInputs, Source, Access > vertex_binding()
The binding of a vertex form: a topology and one or more vertex children, with an optional defaults c...
Reflect::RecordBinding< RectPlacementInputs, Source, Access > rect_placement_binding()
A binding for RectPlacementInputs that requires rect.
A placement by origin and size: x, y, width, height.
A topology and ordered vertices in the Kakshya::Vertex field format.

References rect_placement_binding(), vertex_binding(), and vertex_geometry_form().

Here is the call graph for this function: