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

◆ size()

virtual int fl::CLEDController::size ( ) const
inlinevirtual

How many LEDs does this controller manage?

Returns
CLEDController::mLeds.size()

Reimplemented in fl::Channel.

Definition at line 263 of file cled_controller.h.

263{ return mLeds.size(); }
fl::span< CRGB > mLeds
span of LED data used by this controller

References FL_NOEXCEPT, and mLeds.

Referenced by beginShowLeds(), RGBWEmulatedController< CONTROLLER, RGB_ORDER >::beginShowLeds(), calculate_max_brightness_for_power_mW(), RGBWEmulatedController< CONTROLLER, RGB_ORDER >::ControllerT::callBeginShowLeds(), fl::Channel::leds(), fl::Channel::leds(), CFastLED::show(), CFastLED::showColor(), fl::Channel::size(), and visitControllers().

+ Here is the caller graph for this function: