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
{
16
kRGBWInvalid
,
17
kRGBWNullWhitePixel
,
18
kRGBWExactColors
,
19
kRGBWBoostedWhite
,
20
kRGBWMaxBrightness
,
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.
25
kRGBWColorimetric
,
26
kRGBWColorimetricBoosted
,
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.
30
kRGBWUserFunction
,
31
};
kRGBWUserFunction
constexpr RGBW_MODE kRGBWUserFunction
Definition
rgbw.h:27
kRGBWMaxBrightness
constexpr RGBW_MODE kRGBWMaxBrightness
Definition
rgbw.h:23
kRGBWExactColors
constexpr RGBW_MODE kRGBWExactColors
Definition
rgbw.h:21
kRGBWBoostedWhite
constexpr RGBW_MODE kRGBWBoostedWhite
Definition
rgbw.h:22
kRGBWNullWhitePixel
constexpr RGBW_MODE kRGBWNullWhitePixel
Definition
rgbw.h:20
kRGBWColorimetricBoosted
constexpr RGBW_MODE kRGBWColorimetricBoosted
Definition
rgbw.h:25
kRGBWColorimetric
constexpr RGBW_MODE kRGBWColorimetric
Definition
rgbw.h:24
kRGBWInvalid
constexpr RGBW_MODE kRGBWInvalid
Definition
rgbw.h:19
fl
Generated on Sun Oct 4 2026 23:09:07 for FastLED by
1.13.2