FastLED 3.10.8
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 137 of file pixelset.h.

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