Check if two palettes have the same color entries.
Definition at line 1532 of file colorutils.h.
1533 {
1534 const uint8_t*
p = (
const uint8_t*)(&(this->
entries[0]));
1535 const uint8_t* q = (
const uint8_t*)(&(rhs.
entries[0]));
1536 if(
p == q)
return true;
1537 for( uint8_t i = 0; i < (
sizeof(
entries)); ++i) {
1538 if( *
p != *q)
return false;
1540 ++q;
1541 }
1542 return true;
1543 }
CRGB entries[32]
the color entries that make up the palette
static FASTLED_NAMESPACE_BEGIN uint8_t const p[]
References CRGBPalette32(), entries, and p.