FastLED 3.9.15
Loading...
Searching...
No Matches

◆ computeAdjustment()

static CRGB CRGB::computeAdjustment ( fl::u8 scale,
const CRGB & colorCorrection,
const CRGB & colorTemperature )
static

Calculates the combined color adjustment to the LEDs at a given scale, color correction, and color temperature.

Parameters
scalethe scale value for the RGB data (i.e. brightness)
colorCorrectioncolor correction to apply
colorTemperaturecolor temperature to apply
Returns
a CRGB object representing the adjustment, including color correction and color temperature

References CRGB(), FASTLED_FORCE_INLINE, and scale.

Referenced by CLEDController::getAdjustment().

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