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

◆ beginShowLeds()

virtual void * fl::CLEDController::beginShowLeds ( int size)
inlinevirtual

Reimplemented in RGBWEmulatedController< CONTROLLER, RGB_ORDER >.

Definition at line 315 of file cled_controller.h.

315 {
317 // By default, emit an integer. This integer will, by default, be passed back.
318 // If you override beginShowLeds() then
319 // you should also override endShowLeds() to match the return state.
320 //
321 // For async led controllers this should be used as a sync point to block
322 // the caller until the leds from the last draw frame have completed drawing.
323 // for each controller:
324 // beginShowLeds();
325 // for each controller:
326 // showLeds();
327 // for each controller:
328 // endShowLeds();
329 uintptr_t d = getDither();
330 void* out = fl::int_to_ptr<void>(d);
331 return out;
332 }
fl::u8 getDither() FL_NOEXCEPT
Get the dithering option currently set for this controller.
virtual int size() const FL_NOEXCEPT
How many LEDs does this controller manage?
T * int_to_ptr(uptr value) FL_NOEXCEPT
Definition bit_cast.h:76
fl::uptr uintptr_t
Definition s16x16x4.h:224
#define FASTLED_UNUSED(x)

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

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

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