FastLED 3.9.15
Loading...
Searching...
No Matches

◆ RGBW_MODE

enum class fl::RGBW_MODE
strong

Definition at line 14 of file rgbw.h.

14 {
20 // Chromaticity-aware modes (issue #2545). Off by default at compile time:
21 // require `#define FASTLED_RGBW_COLORIMETRIC 1` to enable the real math
22 // path. Without the define, selecting either mode emits FL_WARN_ONCE and
23 // falls back to kRGBWExactColors.
26 // IMPORTANT: kRGBWUserFunction MUST remain the last enumerator. New modes
27 // are added immediately above this line so the user-function ordinal does
28 // not shift and the dispatch table can rely on it being the maximum value.
30};
constexpr RGBW_MODE kRGBWUserFunction
Definition rgbw.h:27
constexpr RGBW_MODE kRGBWMaxBrightness
Definition rgbw.h:23
constexpr RGBW_MODE kRGBWExactColors
Definition rgbw.h:21
constexpr RGBW_MODE kRGBWBoostedWhite
Definition rgbw.h:22
constexpr RGBW_MODE kRGBWNullWhitePixel
Definition rgbw.h:20
constexpr RGBW_MODE kRGBWColorimetricBoosted
Definition rgbw.h:25
constexpr RGBW_MODE kRGBWColorimetric
Definition rgbw.h:24
constexpr RGBW_MODE kRGBWInvalid
Definition rgbw.h:19