MCPcopy Create free account
hub / github.com/FastLED/FastLED / rgbww

Method rgbww

src/fl/channels/options.h:61–64  ·  view source on GitHub ↗

@return The active Rgbww if mWhiteCfg holds one, else RgbwwInvalid::value().

Source from the content-addressed store, hash-verified

59
60 /// @return The active Rgbww if mWhiteCfg holds one, else RgbwwInvalid::value().
61 Rgbww rgbww() const FL_NOEXCEPT {
62 if (auto* p = mWhiteCfg.ptr<Rgbww>()) return *p;
63 return RgbwwInvalid::value();
64 }
65
66 /// True if this channel emits 4-channel RGBW. Requires both the Rgbw
67 /// variant alternative AND an active mode — a stored

Callers 2

getRgbwwMethod · 0.80
showPixelsMethod · 0.80

Calls 1

valueFunction · 0.50

Tested by

no test coverage detected