FastLED 3.10.8
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 589 of file manager.cpp.hpp.

589 {
590 waitForReady(); // Wait for all drivers to become READY before clearing previous frame state.
591}
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: