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

◆ get_last_input()

std::optional< Core::InputValue > MayaFlux::Nodes::Input::InputNode::get_last_input ( ) const

Get the most recent raw InputValue.

Definition at line 65 of file InputNode.cpp.

66{
67 auto history = m_input_history.snapshot();
68 if (history.empty())
69 return std::nullopt;
70 return history.back();
71}
Memory::LockFreeQueue< Core::InputValue, 64 > m_input_history

References m_input_history.