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

◆ set()

void fl::ScreenMap::set ( u16 index,
const vec2f & p )

Definition at line 504 of file screenmap.cpp.hpp.

504 {
505 if (mLookUpTable) {
506 LUTXYFLOAT &lut = *mLookUpTable.get();
507 auto *data = lut.getDataMutable();
508 data[index] = p;
509 }
510}
LUTXYFLOATPtr mLookUpTable
Definition screenmap.h:126
LUT< vec2f > LUTXYFLOAT
Definition lut.h:26

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

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

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