17 const u16 *lookUpTable,
20 out.
mData = lookUpTable;
u16 getLength() const FL_NO_EXCEPT
void convertToLookUpTable() FL_NO_EXCEPT
XMap(u16 length, bool is_reverse=false, u16 offset=0) FL_NO_EXCEPT
fl::LUT16Ptr mLookUpTable
static XMap constructWithUserFunction(u16 length, XFunction xFunction, u16 offset=0) FL_NO_EXCEPT
XMap & operator=(const XMap &other) FL_NO_EXCEPT
Type getType() const FL_NO_EXCEPT
static XMap constructWithLookUpTable(u16 length, const u16 *lookUpTable, u16 offset=0) FL_NO_EXCEPT
u16 mapToIndex(u16 x) const FL_NO_EXCEPT
fl::UISlider length("Length", 1.0f, 0.0f, 1.0f, 0.01f)
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)
shared_ptr< T > make_shared(Args &&... args) FL_NO_EXCEPT
u8 u8 fract8 blur_amount FL_NO_EXCEPT
u16(* XFunction)(u16 x, u16 length)
FASTLED_FORCE_INLINE u16 x_linear(u16 x, u16 length) FL_NO_EXCEPT
FASTLED_FORCE_INLINE u16 x_reverse(u16 x, u16 length) FL_NO_EXCEPT
Base definition for an LED controller.