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

◆ operator%=()

template<class PIXEL_TYPE>
CPixelView & CPixelView< PIXEL_TYPE >::operator%= ( uint8_t scaledown)
inline

Scale down every LED by the given scale.

Definition at line 242 of file pixelset.h.

242{ for(iterator pixel = begin(), _end = end(); pixel != _end; ++pixel) { (*pixel).nscale8_video(scaledown); } return *this; }
iterator end()
Makes an iterator instance for the end of the LED set.
Definition pixelset.h:484
pixelset_iterator_base< PIXEL_TYPE > iterator
Iterator helper type for this class.
Definition pixelset.h:480
iterator begin()
Makes an iterator instance for the start of the LED set.
Definition pixelset.h:483
Represents a view/window into a set of LED pixels, providing array-like access and rich color operati...
Definition pixelset.h:110