Go to the source code of this file.
|
| template<typename T > |
| Mapped< T > | MayaFlux::Portal::Forma::create (Surface &surface, const std::shared_ptr< Buffers::FormaBuffer > &batch, Geometry::Form< T > form, T initial, std::function< float(T)> project={}) |
| | Realize a Form on surface as a slice of batch.
|
| |
| template<typename T > |
| Mapped< T > | MayaFlux::Portal::Forma::create (Surface &surface, Geometry::Form< T > form, T initial, std::function< float(T)> project={}) |
| | Realize a Form on surface.
|
| |
| template<typename T > |
| Mapped< T > | MayaFlux::Portal::Forma::create_element (Surface &surface, FormaTarget target, GeometryFn< T > geom, T initial, std::function< float(T)> project={}) |
| | create_element drawing into target instead of a buffer of its own.
|
| |
| template<typename T > |
| Mapped< T > | MayaFlux::Portal::Forma::create_element (Surface &surface, GeometryFn< T > geom, T initial, Graphics::PrimitiveTopology topology=Graphics::PrimitiveTopology::TRIANGLE_STRIP, std::function< float(T)> project={}) |
| | Build a FormaBuffer, register it, construct a Mapped<T>, add the element to surface's layer, and register it with the application Bridge.
|
| |
| TextField | MayaFlux::Portal::Forma::create_text_field (Surface &surface, Kinesis::AABB2D bounds, std::shared_ptr< Portal::Text::PressParams > params=nullptr, std::string initial_text={}, bool scrollable=false) |
| | Build a text-capable FormaBuffer, register a TextField, and wire text editing onto it in one call.
|
| |