FastLED 3.9.15
|
#include <grid.h>
Public Member Functions | |
Grid ()=default | |
Grid (u32 width, u32 height) | |
T & | at (u32 x, u32 y) |
const T & | at (u32 x, u32 y) const |
void | clear () |
T * | data () |
const T * | data () const |
u32 | height () const |
vec2< T > | minMax () const |
T & | operator() (u32 x, u32 y) |
const T & | operator() (u32 x, u32 y) const |
void | reset (u32 width, u32 height) |
fl::size | size () const |
u32 | width () const |
Private Member Functions | |
T & | access (u32 x, u32 y) |
const T & | access (u32 x, u32 y) const |
Static Private Member Functions | |
static T & | NullValue () |
Private Attributes | |
fl::vector< T, fl::allocator_psram< T > > | mData |
u32 | mHeight = 0 |
fl::MatrixSlice< T > | mSlice |
u32 | mWidth = 0 |