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

◆ operator==()

bool fl::detail::ScaledPixelIteratorBrightness::operator== ( const ScaledPixelIteratorBrightness & other) const
inline

Equality comparison.

Definition at line 279 of file pixel_iterator_adapters.h.

279 {
280 if (!mHasValue && !other.mHasValue) {
281 return true;
282 }
283 if (mHasValue != other.mHasValue) {
284 return false;
285 }
286 return mPixels == other.mPixels;
287 }
bool mHasValue
true if current value is valid
PixelIterator * mPixels
Underlying PixelIterator.

References ScaledPixelIteratorBrightness(), FL_NOEXCEPT, mHasValue, and mPixels.

+ Here is the call graph for this function: