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

Function getPowerScalingExponent

src/FastLED.h:1493–1495  ·  view source on GitHub ↗

Get the configured brightness-to-power response exponent @returns the current exponent. Defaults to 1.0 for linear scaling. @note Returns 1.0 when `SKETCH_HAS_LARGE_MEMORY==0`.

Source from the content-addressed store, hash-verified

1491 /// @returns the current exponent. Defaults to 1.0 for linear scaling.
1492 /// @note Returns 1.0 when `SKETCH_HAS_LARGE_MEMORY==0`.
1493 inline float getPowerScalingExponent() const {
1494 return get_power_scaling_exponent();
1495 }
1496
1497 /// @name RGBW Input Gamut Configuration
1498 /// God-instance wrappers around `fl::set_input_gamut` (#2710). See

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected