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

◆ operator=() [3/7]

CRGBPalette256 & CRGBPalette256::operator= ( const CRGB rhs[256])
inline

Create palette from array of CRGB colors.

Definition at line 1784 of file colorutils.h.

1785 {
1786 memmove8( (void *) &(entries[0]), &(rhs[0]), sizeof( entries));
1787 return *this;
1788 }
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 CRGBPalette256(), entries, and memmove8().

+ Here is the call graph for this function: