MCPcopy Create free account
hub / github.com/FastLED/FastLED / setInputGamut

Function setInputGamut

src/FastLED.h:1509–1511  ·  view source on GitHub ↗

Reconfigure `profile`'s input gamut to one of the named source chromaticity sets (Native / Rec709 / Rec2020 / DCI-P3 D65 / D60). Mutates `profile` in place; no-op if `profile == nullptr`. @code FastLED.setInputGamut(&my_profile, fl::InputGamut::Rec709); @endcode

Source from the content-addressed store, hash-verified

1507 /// FastLED.setInputGamut(&my_profile, fl::InputGamut::Rec709);
1508 /// @endcode
1509 inline void setInputGamut(fl::DiodeProfile* profile, fl::InputGamut g) FL_NOEXCEPT {
1510 fl::set_input_gamut(profile, g);
1511 }
1512
1513 /// Same as above with an explicit input white-point override. Pass
1514 /// `nullptr` for `white_xy` to fall back to the gamut's standard

Callers

nothing calls this directly

Calls 1

set_input_gamutFunction · 0.85

Tested by

no test coverage detected