FastLED 3.10.10
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 1213 of file channel.cpp.hpp.

1213 {
1215 return *this;
1216}
ChannelOptions mSettings
Definition channel.h:456
constexpr u32 gamma(float g) FL_NO_EXCEPT
Definition gamma_lut.h:36
fl::optional< float > mGamma
Definition options.h:101

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

+ Here is the call graph for this function: