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

◆ bring_to_front()

void MayaFlux::Buffers::SliceSet::bring_to_front ( SliceId  id)

Draw a block after every other.

Definition at line 111 of file SliceSet.cpp.

112{
113 if (!m_slices.contains(id) || m_draw_order.back() == id) {
114 return;
115 }
116
117 std::erase(m_draw_order, id);
118 m_draw_order.push_back(id);
119 m_runs_changed = true;
120}
std::unordered_map< SliceId, Slice > m_slices
Definition SliceSet.hpp:114
std::vector< SliceId > m_draw_order
Definition SliceSet.hpp:116

References m_draw_order, m_runs_changed, and m_slices.

Referenced by MayaFlux::Buffers::FormaProcessor::bring_slice_to_front().

+ Here is the caller graph for this function: