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

◆ set()

void fl::ScreenMap::set ( uint16_t index,
const pair_xy_float & p )

Definition at line 176 of file screenmap.cpp.

176 {
177 if (mLookUpTable) {
178 LUTXYFLOAT &lut = *mLookUpTable.get();
179 auto *data = lut.getData();
180 data[index] = p;
181 }
182}
LUTXYFLOATPtr mLookUpTable
Definition screenmap.h:83
LUT< pair_xy_float > LUTXYFLOAT
Definition lut.h:34
static FASTLED_NAMESPACE_BEGIN uint8_t const p[]
Definition noise.cpp:56

References fl::LUT< T >::getData(), mLookUpTable, and p.

Referenced by anonymous_namespace{LedRopeTCL.cpp}::init_screenmap(), ParseJson(), and fl::XYMap::toScreenMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: