FastLED
3.9.15
Loading...
Searching...
No Matches
◆
count_active_channels()
int fl::colorimetric_detail::count_active_channels
(
float
s_r
,
float
s_g
,
float
s_b
)
inline
Definition at line
208
of file
rgbw_colorimetric.h
.
208
{
209
// 1 / 65535 — matches the 16-bit verifier precision used in the
210
// reference math model; anything below this is below noise floor.
211
constexpr
float
kTopoEps = 1.0f / 65535.0f;
212
int
n = 0;
213
if
(s_r > kTopoEps) ++n;
214
if
(s_g > kTopoEps) ++n;
215
if
(s_b > kTopoEps) ++n;
216
return
n;
217
}
References
FL_NOEXCEPT
.
fl
colorimetric_detail
Generated on Tue Jun 16 2026 00:07:09 for FastLED by
1.13.2