FastLED 3.10.8
Loading...
Searching...
No Matches

◆ beginShowLeds()

VIRTUAL_IF_NOT_AVR void * fl::CLEDController::beginShowLeds ( int size)
inline

Definition at line 414 of file cled_controller.h.

414 {
416 // By default, emit an integer. This integer will, by default, be passed back.
417 // If you override beginShowLeds() then
418 // you should also override endShowLeds() to match the return state.
419 //
420 // For async led controllers this should be used as a sync point to block
421 // the caller until the leds from the last draw frame have completed drawing.
422 // for each controller:
423 // beginShowLeds();
424 // for each controller:
425 // showLeds();
426 // for each controller:
427 // endShowLeds();
428 uintptr_t d = getDither();
429 void* out = fl::int_to_ptr<void>(d);
430 return out;
431 }
VIRTUAL_IF_NOT_AVR int size() const FL_NO_EXCEPT
How many LEDs does this controller manage?
fl::u8 getDither() const FL_NO_EXCEPT
Get the dithering option currently set for this controller.
#define FASTLED_UNUSED(x)
T * int_to_ptr(uptr value) FL_NO_EXCEPT
Definition bit_cast.h:76
fl::uptr uintptr_t
Definition stdint.h:223

References FASTLED_UNUSED, fl::FL_NO_EXCEPT, getDither(), fl::int_to_ptr(), size(), and VIRTUAL_IF_NOT_AVR.

Referenced by CFastLED::show(), CFastLED::showColor(), and showLeds().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: