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

◆ clear()

template<typename T>
void fl::Grid< T >::clear ( )
inline

Definition at line 32 of file grid.h.

32 {
33 for (u32 i = 0; i < mWidth * mHeight; ++i) {
34 mData[i] = T();
35 }
36 }
fl::vector_psram< T > mData
Definition grid.h:88
u32 mHeight
Definition grid.h:90
u32 mWidth
Definition grid.h:89

References mData, mHeight, and mWidth.

Referenced by fl::clear(), and reset().

+ Here is the caller graph for this function: