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 20 of file grid.h.

20 {
21 clear();
22 if (width != mWidth || height != mHeight) {
23 mWidth = width;
25 mData.resize(width * height);
26
27 }
29 width, height);
30 }
void clear()
Definition grid.h:32
u32 height() const
Definition grid.h:62
fl::vector_psram< T > mData
Definition grid.h:88
fl::MatrixSlice< T > mSlice
Definition grid.h:91
u32 width() const
Definition grid.h:61
u32 mHeight
Definition grid.h:90
u32 mWidth
Definition grid.h:89

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: