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
{
17
kRGBWInvalid
,
18
kRGBWNullWhitePixel
,
19
kRGBWExactColors
,
20
kRGBWBoostedWhite
,
21
kRGBWMaxBrightness
,
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.
26
kRGBWColorimetric
,
27
kRGBWColorimetricBoosted
,
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.
31
kRGBWUserFunction
,
32
};
u8
unsigned char u8
Definition
stdint.h:131
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 18 2026 00:57:03 for FastLED by
1.13.2