|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| Mapped< T > MayaFlux::Portal::Forma::make_mapped | ( | T | initial, |
| GeometryFn< T > | geometry, | ||
| std::shared_ptr< Buffers::FormaBuffer > | buffer | ||
| ) |
Construct a Mapped<T> with a freshly allocated MappedState.
| initial | Starting value. |
| geometry | Geometry function producing vertex bytes from a value. |
| buffer | VKBuffer whose raw bytes the geometry function writes into. |
Definition at line 143 of file Mapped.hpp.
References MayaFlux::Portal::Forma::Element::buffer, MayaFlux::Portal::Forma::Mapped< T >::element, MayaFlux::Portal::Forma::Mapped< T >::geometry_fn, MayaFlux::Portal::Forma::Mapped< T >::last_version, and MayaFlux::Portal::Forma::Mapped< T >::state.