FastLED 3.9.15
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 61 of file options.h.

61 {
62 if (auto* p = mWhiteCfg.ptr<Rgbww>()) return *p;
63 return RgbwwInvalid::value();
64 }
fl::variant< fl::Empty, Rgbw, Rgbww > mWhiteCfg
White-channel selection (variant): Empty = plain RGB, Rgbw = 4-channel, Rgbww = 5-channel.
Definition options.h:49
static Rgbww value() FL_NOEXCEPT
Definition rgbww.h:90

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

+ Here is the call graph for this function: