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

◆ reset()

template<typename T>
void fl::Grid< T >::reset ( u32 width,
u32 height )
inline

Definition at line 17 of file grid.h.

17 {
18 clear();
19 if (width != mWidth || height != mHeight) {
20 mWidth = width;
22 mData.resize(width * height);
23
24 }
26 width, height);
27 }
void clear()
Definition grid.h:30
u32 height() const
Definition grid.h:60
fl::vector< T, fl::allocator_psram< T > > mData
Definition grid.h:86
fl::MatrixSlice< T > mSlice
Definition grid.h:89
u32 width() const
Definition grid.h:59
u32 mHeight
Definition grid.h:88
u32 mWidth
Definition grid.h:87

References clear(), height(), mData, mHeight, mSlice, mWidth, and width().

Referenced by Grid().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: