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

Function blend

src/fl/gfx/colorutils.h:165–169  ·  view source on GitHub ↗

@copydoc blend(const CRGB*, const CRGB*, CRGB*, fl::u16, fract8)

Source from the content-addressed store, hash-verified

163
164/// @copydoc blend(const CRGB*, const CRGB*, CRGB*, fl::u16, fract8)
165inline void blend(fl::span<const CRGB> src1, fl::span<const CRGB> src2,
166 fl::span<CRGB> dest, fract8 amountOfsrc2) FL_NOEXCEPT {
167 blend(src1.data(), src2.data(), dest.data(),
168 static_cast<fl::u16>(dest.size()), amountOfsrc2);
169}
170
171/// @copydoc blend(const CRGB*, const CRGB*, CRGB*, fl::u16, fract8)
172/// @param directionCode the direction to travel around the color wheel

Callers 7

sampleBilinearFunction · 0.70
blendAlphaMaxChannelMethod · 0.50
interpolateMethod · 0.50
drawMethod · 0.50
renderMeteorMethod · 0.50
spawnDebrisFromMeteorMethod · 0.50
drawTwinkleFoxMethod · 0.50

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected