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

◆ clear()

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

Definition at line 30 of file grid.h.

30 {
31 for (u32 i = 0; i < mWidth * mHeight; ++i) {
32 mData[i] = T();
33 }
34 }
fl::vector< T, fl::allocator_psram< T > > mData
Definition grid.h:86
u32 mHeight
Definition grid.h:88
u32 mWidth
Definition grid.h:87

References mData, mHeight, and mWidth.

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

+ Here is the caller graph for this function: