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

◆ clear()

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

Definition at line 31 of file grid.h.

31 {
32 for (uint32_t i = 0; i < mWidth * mHeight; ++i) {
33 mData[i] = T();
34 }
35 }
uint32_t mHeight
Definition grid.h:84
uint32_t mWidth
Definition grid.h:83
fl::vector< T > mData
Definition grid.h:82
Definition grid.h:9

References mData, mHeight, and mWidth.

Referenced by reset().

+ Here is the caller graph for this function: