FastLED 3.10.9
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 596 of file manager.cpp.hpp.

596 {
597 waitForReady(); // Wait for all drivers to become READY before clearing previous frame state.
598}
bool waitForReady(u32 timeoutMs=1000) FL_NO_EXCEPT
Wait for all drivers to become READY.

References fl::FL_NO_EXCEPT, and waitForReady().

+ Here is the call graph for this function: