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

◆ with_buffer()

Element & MayaFlux::Portal::Forma::Element::with_buffer ( std::shared_ptr< Buffers::FormaBuffer buf)
inline

Attach a FormaBuffer as the rendered output for this region.

nullptr is valid for pure hit-test or pure-spatial elements.

Definition at line 180 of file Element.hpp.

181 {
182 buffer = std::move(buf);
183 return *this;
184 }
std::shared_ptr< Buffers::FormaBuffer > buffer
Buffer whose rendered output occupies this region.
Definition Element.hpp:72

Referenced by MayaFlux::Portal::Forma::Plot::place_label(), and MayaFlux::Portal::Forma::Plot::place_rect().

+ Here is the caller graph for this function: