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

◆ set()

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

Definition at line 190 of file screenmap.cpp.

190 {
191 if (mLookUpTable) {
192 LUTXYFLOAT &lut = *mLookUpTable.get();
193 auto *data = lut.getDataMutable();
194 data[index] = p;
195 }
196}
LUTXYFLOATPtr mLookUpTable
Definition screenmap.h:94
LUT< vec2f > LUTXYFLOAT
Definition lut.h:25
static FASTLED_NAMESPACE_BEGIN uint8_t const p[]
Definition noise.cpp:30

References fl::LUT< T >::getDataMutable(), 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: