|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inline |
Register a Mapped element and scope its presentation sync to a Layer.
Each frame's sync pushes the geometry function's bounds_hint and contains back into layer, so hit testing follows the drawn shape. The Layer scope also stops presentation sync when its Surface closes. unbind(ref) cancels the sync task as well.
layer must be owned by a shared_ptr, as Surface and Forma::create_layer do; otherwise the call logs an error and does nothing.
| layer | Layer owning the element. |
| mapped | Fully constructed Mapped element. |
| project | Optional T to float projection for outbound readers. |
Definition at line 485 of file Bridge.hpp.