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

◆ alive()

bool MayaFlux::Portal::Forma::internal::TextSlice::alive ( ) const
private

Definition at line 90 of file TextSlice.cpp.

91{
92 const auto& buffer = m_target.buffer();
93 if (!buffer || buffer->needs_removal()) {
94 return false;
95 }
96 return m_target.slice() == 0 || buffer->has_slice(m_target.slice());
97}
std::shared_ptr< NetworkGeometryBuffer > buffer
SliceId slice() const noexcept
Slice id, 0 when the handle means the whole buffer.
Definition Target.cpp:46
const std::shared_ptr< Buffers::FormaBuffer > & buffer() const noexcept
The underlying buffer; null for an empty handle.
Definition Target.cpp:40

References buffer, MayaFlux::Portal::Forma::FormaTarget::buffer(), m_target, and MayaFlux::Portal::Forma::FormaTarget::slice().

Referenced by refresh().

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