MCPcopy Create free account
hub / github.com/FastLED/FastLED / LUT

Method LUT

src/fl/math/lut.h:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35template <typename T> class LUT {
36 public:
37 LUT(u32 length) FL_NOEXCEPT : length(length) {
38 T *ptr = PSRamAllocator<T>::Alloc(length);
39 mDataHandle.reset(ptr);
40 data = ptr;
41 }
42 // In this version the data is passed in but not managed by this object.
43 LUT(u32 length, T *data) FL_NOEXCEPT : length(length) { this->data = data; }
44 ~LUT() FL_NOEXCEPT {

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected