FastLED 3.9.15
Loading...
Searching...
No Matches

◆ onBeginFrame()

void fl::ChannelManager::onBeginFrame ( )
overridevirtual

Poll drivers before frame starts to clear previous frame state.

Note
Called at the beginning of each frame to ensure buffers from previous frame are released

Reimplemented from fl::EngineEvents::Listener.

Definition at line 553 of file manager.cpp.hpp.

553 {
554 waitForReady(); // Wait for all drivers to become READY before clearing previous frame state.
555}
bool waitForReady(u32 timeoutMs=1000) FL_NOEXCEPT
Wait for all drivers to become READY.

References waitForReady().

+ Here is the call graph for this function: