FastLED 3.10.8
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 1176 of file channel.cpp.hpp.

1176 {
1178 return *this;
1179}
ChannelOptions mSettings
Definition channel.h:459
constexpr u32 gamma(float g) FL_NO_EXCEPT
Definition gamma_lut.h:36
fl::optional< float > mGamma
Definition options.h:100

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

+ Here is the call graph for this function: