FastLED 3.10.6
Loading...
Searching...
No Matches

◆ setTargetWhite()

bool fl::ChannelOptions::setTargetWhite ( Chromaticity white)

Definition at line 7 of file options.cpp.hpp.

7 {
8#if FL_COLOR_PROFILE_RUNTIME
9 if (!validChromaticity(white)) return false;
10 mColorProfile.mTargetWhite = white;
11 mColorProfile.mHasTargetWhite = true;
12 return true;
13#else
14 FL_UNUSED(white);
15 return false;
16#endif
17}
#define FL_UNUSED(x)
static bool validChromaticity(const float xy[2]) FL_NO_EXCEPT
Definition options.h:281

References fl::FL_NO_EXCEPT, FL_UNUSED, and validChromaticity().

+ Here is the call graph for this function: