MayaFlux 0.2.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 554 of file Logic.cpp.

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

References m_history_count, and m_history_linear.