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

◆ setGamma()

Channel & fl::Channel::setGamma ( float gamma)

Set gamma correction value.

Parameters
gammaGamma value (e.g., 2.8)
Returns
Reference to this channel for chaining

Definition at line 785 of file channel.cpp.hpp.

785 {
787 return *this;
788}
ChannelOptions mSettings
Definition channel.h:278
constexpr u32 gamma(float g) FL_NOEXCEPT
Definition gamma_lut.h:36
fl::optional< float > mGamma
Definition options.h:51

References Channel(), fl::gamma(), and mSettings.

+ Here is the call graph for this function: