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

◆ with_buffer()

Element & MayaFlux::Portal::Forma::Element::with_buffer ( FormaTarget  target)
inline

Attach a FormaBuffer, or a slice of one, as the rendered output for this region.

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

Definition at line 195 of file Element.hpp.

196 {
197 buffer = std::move(target);
198 return *this;
199 }
FormaTarget buffer
Where this region's rendered output is written: a buffer of its own, or a slice of one it shares.
Definition Element.hpp:82

References buffer.

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

+ Here is the caller graph for this function: