FastLED 3.10.6
Loading...
Searching...
No Matches

◆ RGBW_MODE

enum class fl::RGBW_MODE
strong
Enumerator
kRGBWInvalid 
kRGBWNullWhitePixel 
kRGBWExactColors 
kRGBWBoostedWhite 
kRGBWMaxBrightness 
kRGBWColorimetric 
kRGBWColorimetricBoosted 
kRGBWUserFunction 

Definition at line 15 of file rgbw.h.

15 {
21 // Chromaticity-aware modes (issue #2545). Off by default at compile time:
22 // require `#define FASTLED_RGBW_COLORIMETRIC 1` to enable the real math
23 // path. Without the define, selecting either mode emits FL_WARN_ONCE and
24 // falls back to kRGBWExactColors.
27 // IMPORTANT: kRGBWUserFunction MUST remain the last enumerator. New modes
28 // are added immediately above this line so the user-function ordinal does
29 // not shift and the dispatch table can rely on it being the maximum value.
31};
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