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

◆ rgbww()

Rgbww fl::ChannelOptions::rgbww ( ) const
inline
Returns
The active Rgbww if mWhiteCfg holds one, else RgbwwInvalid::value().

Definition at line 335 of file options.h.

335 {
336 if (auto* p = mWhiteCfg.ptr<Rgbww>()) return *p;
337 return RgbwwInvalid::value();
338 }
fl::variant< fl::Empty, Rgbw, Rgbww > mWhiteCfg
White-channel selection (variant): Empty = plain RGB, Rgbw = 4-channel, Rgbww = 5-channel.
Definition options.h:99
static Rgbww value() FL_NO_EXCEPT
Definition rgbww.h:111

References fl::FL_NO_EXCEPT, mWhiteCfg, and fl::RgbwwInvalid::value().

+ Here is the call graph for this function: