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

◆ set_visible()

void MayaFlux::Buffers::SliceSet::set_visible ( SliceId  id,
bool  visible 
)

Hide or show a block without moving its data.

Definition at line 100 of file SliceSet.cpp.

101{
102 auto it = m_slices.find(id);
103 if (it == m_slices.end() || it->second.visible == visible) {
104 return;
105 }
106
107 it->second.visible = visible;
108 m_runs_changed = true;
109}
std::unordered_map< SliceId, Slice > m_slices
Definition SliceSet.hpp:114

References m_runs_changed, and m_slices.

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

+ Here is the caller graph for this function: