FastLED 3.10.6
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 325 of file options.h.

325 {
326 if (auto* p = mWhiteCfg.ptr<Rgbww>()) return *p;
327 return RgbwwInvalid::value();
328 }
fl::variant< fl::Empty, Rgbw, Rgbww > mWhiteCfg
White-channel selection (variant): Empty = plain RGB, Rgbw = 4-channel, Rgbww = 5-channel.
Definition options.h:91
static Rgbww value() FL_NO_EXCEPT
Definition rgbww.h:90

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

+ Here is the call graph for this function: