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

◆ rgbwConfig()

const Rgbw * fl::CLEDController::rgbwConfig ( ) const
inline
Returns
The stored Rgbw configuration, or nullptr when the channel holds none. Unlike getRgbw() it does not copy the value, so a caller on the show path does not take and drop a reference on its profile. A subclass that writes mLegacySettings.mWhiteCfg itself must also call detail::enable_rgbw_power_estimate(), or the limiter charges it as RGB.

Definition at line 223 of file cled_controller.h.

223 {
224 return mLegacySettings.mWhiteCfg.ptr<Rgbw>();
225 }
LegacySettings mLegacySettings

References fl::FL_NO_EXCEPT, and mLegacySettings.