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

◆ nscale8() [2/3]

template<class PIXEL_TYPE>
CPixelView & CPixelView< PIXEL_TYPE >::nscale8 ( PIXEL_TYPE & scaledown)
inline

Scale every LED by the given scale.

Definition at line 206 of file pixelset.h.

206{ for(iterator pixel = begin(), _end = end(); pixel != _end; ++pixel) { (*pixel).nscale8(scaledown); } return *this; }
iterator end()
Makes an iterator instance for the end of the LED set.
Definition pixelset.h:441
pixelset_iterator_base< PIXEL_TYPE > iterator
Iterator helper type for this class.
Definition pixelset.h:437
iterator begin()
Makes an iterator instance for the start of the LED set.
Definition pixelset.h:440
Represents a set of LED objects.
Definition pixelset.h:67