FastLED 3.10.10
Loading...
Searching...
No Matches

◆ validPrimaries()

static bool fl::ChannelOptions::validPrimaries ( const RgbPrimaries & primaries)
inlinestaticprivate

Definition at line 301 of file options.h.

301 {
302 return validChromaticity(primaries.red) && validChromaticity(primaries.green) &&
303 validChromaticity(primaries.blue) && validChromaticity(primaries.white);
304 }
static bool validChromaticity(const float xy[2]) FL_NO_EXCEPT
Definition options.h:293

References fl::FL_NO_EXCEPT, and validChromaticity().

Referenced by setColorProfile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: