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

◆ history_linearized_view()

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

Definition at line 636 of file Logic.cpp.

637{
638 for (size_t i = 0; i < m_history_count; ++i) {
640 }
641 return { reinterpret_cast<bool*>(m_history_linear.data()), m_history_count };
642}
std::vector< uint8_t > m_history_linear
Linear view of history for easy access.
Definition Logic.hpp:587
size_t m_history_size
Maximum size of the history buffer.
Definition Logic.hpp:574
std::vector< uint8_t > m_history_ring
Ring buffer for history storage.
Definition Logic.hpp:586
size_t m_history_count
Number of valid entries in the history buffer.
Definition Logic.hpp:573
size_t m_history_head
Head index for the history ring buffer.
Definition Logic.hpp:572

References m_history_count, m_history_head, m_history_linear, m_history_ring, and m_history_size.

Referenced by process_sample(), and update_context().

+ Here is the caller graph for this function: