|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
inline |
Call once per graphics tick.
If state->version has advanced since last_version, invokes geometry_fn with the current value into a local byte buffer, then passes the result to VKBuffer::set_data so the existing upload path handles GPU transfer.
The caller is responsible for driving the graphics tick — Mapped does not register itself with any scheduler.
Definition at line 119 of file Mapped.hpp.
References MayaFlux::Portal::Forma::Element::buffer, MayaFlux::Portal::Forma::Mapped< T >::element, MayaFlux::Portal::Forma::Mapped< T >::force_redraw_on_sync, MayaFlux::Portal::Forma::Mapped< T >::geometry_fn, MayaFlux::Portal::Forma::Mapped< T >::last_version, MayaFlux::Portal::Forma::Mapped< T >::m_bytes, and MayaFlux::Portal::Forma::Mapped< T >::state.
Referenced by MayaFlux::Portal::Forma::Collapsible::place().
Here is the caller graph for this function: