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

◆ feature()

double MayaFlux::Buffers::BlockFeedbackProcessor::feature ( const std::shared_ptr< Buffer > &  buffer) const

The feature of the last block of one attached buffer, zero if none.

Definition at line 32 of file BlockFeedbackProcessor.cpp.

33{
34 const auto found = m_states.find(buffer.get());
35 return found == m_states.end() ? 0.0 : found->second.feature;
36}
std::shared_ptr< NetworkGeometryBuffer > buffer
std::unordered_map< const Buffer *, State > m_states

References buffer, and m_states.