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

◆ CRGBPalette256() [4/17]

CRGBPalette256::CRGBPalette256 ( const CRGB rhs[256])
inline

Create palette from array of CRGB colors.

Definition at line 1773 of file colorutils.h.

1774 {
1775 memmove8( (void *) &(entries[0]), &(rhs[0]), sizeof( entries));
1776 }
CRGB entries[256]
the color entries that make up the palette
void * memmove8(void *dst, const void *src, uint16_t num)
Faster alternative to memmove() on AVR.

References entries, and memmove8().

+ Here is the call graph for this function: