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

◆ ScaledPixelIteratorBrightness() [1/2]

fl::detail::ScaledPixelIteratorBrightness::ScaledPixelIteratorBrightness ( PixelIterator * pixels)
inlineexplicit

Construct from PixelIterator.

Parameters
pixelsPointer to PixelIterator (must outlive this adapter)

Definition at line 251 of file pixel_iterator_adapters.h.

252 : mPixels(pixels), mCurrent(0), mHasValue(false) {
253 advance(); // Preload first brightness
254 }
bool mHasValue
true if current value is valid
u8 mCurrent
Current brightness value (cached)
PixelIterator * mPixels
Underlying PixelIterator.
void advance() FL_NOEXCEPT
Advance to next brightness value (or mark as end)

References fl::detail::ScaledPixelIteratorRGB::advance(), and FL_NOEXCEPT.

Referenced by operator!=(), operator++(), operator++(), and operator==().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: