FastLED 3.10.6
Loading...
Searching...
No Matches

◆ set()

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

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

607 {
608 if (mLookUpTable) {
609 LUTXYFLOAT &lut = *mLookUpTable.get();
610 auto *data = lut.getDataMutable();
611 data[index] = p;
612 }
613}
LUTXYFLOATPtr mLookUpTable
Definition screenmap.h:143
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: