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

◆ operator[]() [1/2]

FASTLED_FORCE_INLINE const fl::u8 & fl::hsv8::operator[] ( fl::u8 x) const
inline

Array access operator to index into the hsv8 object.

Parameters
xthe index to retrieve (0-2)
Returns
the hsv8::raw value for the given index

Definition at line 58 of file hsv.h.

59 {
60 return raw[x];
61 }

References FASTLED_FORCE_INLINE, FL_NOEXCEPT, and fl::x.