MCPcopy Create free account
hub / github.com/FastLED/FastLED / nscale8

Function nscale8

src/fl/gfx/colorutils.h:113–115  ·  view source on GitHub ↗

@copydoc nscale8()

Source from the content-addressed store, hash-verified

111
112/// @copydoc nscale8()
113inline void nscale8(fl::span<CRGB> leds, fl::u8 scale) FL_NOEXCEPT {
114 nscale8(leds.data(), static_cast<fl::u16>(leds.size()), scale);
115}
116
117/// Reduce the brightness of an array of pixels as thought it were seen through
118/// a transparent filter with the specified color.

Callers 2

CRGBClass · 0.70
CPixelViewClass · 0.50

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected