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

◆ get_history()

std::span< bool > MayaFlux::Nodes::Generator::Logic::get_history ( )

Gets the current state history.

Returns
Reference to the history buffer

Definition at line 556 of file Logic.cpp.

557{
558 return { reinterpret_cast<bool*>(m_history_linear.data()), m_history_count };
559}
std::vector< uint8_t > m_history_linear
Linear view of history for easy access.
Definition Logic.hpp:601
size_t m_history_count
Number of valid entries in the history buffer.
Definition Logic.hpp:587

References m_history_count, and m_history_linear.