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

◆ submit() [1/3]

void MayaFlux::Portal::Forma::FormaTarget::submit ( const std::vector< uint8_t > &  bytes) const

Replace this target's geometry.

Definition at line 51 of file Target.cpp.

52{
53 if (!m_state)
54 return;
55
56 if (m_state->slice != 0) {
57 m_state->buffer->update_slice(m_state->slice, bytes);
58 return;
59 }
60 m_state->buffer->submit(bytes);
61}
std::shared_ptr< State > m_state
Definition Target.hpp:126

References m_state, and MayaFlux::Buffers::FormaBuffer::update_slice().

Referenced by MayaFlux::Portal::Forma::Scrollable::place(), MayaFlux::Portal::Forma::Plot::place_rect(), MayaFlux::Portal::Forma::internal::TextSlice::refresh(), MayaFlux::Portal::Forma::Element::retarget(), MayaFlux::Portal::Forma::Mapped< T >::sync(), and MayaFlux::Portal::Forma::Element::with_texture().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: