| 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 { |
| 45 | PSRamAllocator<T>::Free(mDataHandle.release()); |
| 46 | data = mDataHandle.get(); |
| 47 | } |
| 48 | |
| 49 | const T &operator[](u32 index) const FL_NOEXCEPT { return data[index]; } |
| 50 |