Check if two palettes have the same color entries.
Definition at line 962 of file colorutils.h.
963 {
964 const uint8_t*
p = (
const uint8_t*)(&(this->
entries[0]));
965 const uint8_t* q = (
const uint8_t*)(&(rhs.
entries[0]));
966 if(
p == q)
return true;
967 for( uint16_t i = 0; i < (
sizeof(
entries)); ++i) {
968 if( *
p != *q)
return false;
970 ++q;
971 }
972 return true;
973 }
CHSV entries[256]
the color entries that make up the palette
static FASTLED_NAMESPACE_BEGIN uint8_t const p[]
References CHSVPalette256(), entries, and p.