Check if two palettes have the same color entries.
Definition at line 1848 of file colorutils.h.
1849 {
1850 const uint8_t*
p = (
const uint8_t*)(&(this->
entries[0]));
1851 const uint8_t* q = (
const uint8_t*)(&(rhs.
entries[0]));
1852 if(
p == q)
return true;
1853 for( uint16_t i = 0; i < (
sizeof(
entries)); ++i) {
1854 if( *
p != *q)
return false;
1856 ++q;
1857 }
1858 return true;
1859 }
CRGB entries[256]
the color entries that make up the palette
static FASTLED_NAMESPACE_BEGIN uint8_t const p[]
References CRGBPalette256(), entries, and p.