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

◆ operator==()

template<class PIXEL_TYPE>
bool CPixelView< PIXEL_TYPE >::operator== ( const CPixelView< PIXEL_TYPE > & rhs) const
inline

Do these sets point to the same thing? Note that this is different from the contents of the set being the same.

Definition at line 144 of file pixelset.h.

144{ return leds == rhs.leds && len == rhs.len && dir == rhs.dir; }
PIXEL_TYPE *const leds
pointer to the LED data
Definition pixelset.h:115
const int8_t dir
direction of the LED data, either 1 or -1. Determines how the pointer is incremented.
Definition pixelset.h:112
const int len
length of the LED data, in PIXEL_TYPE units.
Definition pixelset.h:113
Represents a view/window into a set of LED pixels, providing array-like access and rich color operati...
Definition pixelset.h:110