FastLED 3.10.8
Loading...
Searching...
No Matches

◆ RGBW_MODE

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

Definition at line 16 of file rgbw.h.

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