FastLED 3.10.8
Loading...
Searching...
No Matches
fl::Grid< T > Class Template Reference

Detailed Description

template<typename T>
class fl::Grid< T >

Definition at line 14 of file grid.h.

#include <grid.h>

+ Inheritance diagram for fl::Grid< T >:

Public Member Functions

 Grid () FL_NO_EXCEPT=default
 
 Grid (u32 width, u32 height) FL_NO_EXCEPT
 
const T & at (u32 x, u32 y) const FL_NO_EXCEPT
 
T & at (u32 x, u32 y) FL_NO_EXCEPT
 
void clear () FL_NO_EXCEPT
 
u32 height () const FL_NO_EXCEPT
 
vec2< T > minMax () const FL_NO_EXCEPT
 
const T & operator() (u32 x, u32 y) const FL_NO_EXCEPT
 
T & operator() (u32 x, u32 y) FL_NO_EXCEPT
 
void reset (u32 width, u32 height) FL_NO_EXCEPT
 
fl::size size () const FL_NO_EXCEPT
 
fl::span< const T > span () const FL_NO_EXCEPT
 
fl::span< T > span () FL_NO_EXCEPT
 
u32 width () const FL_NO_EXCEPT
 

Private Member Functions

const T & access (u32 x, u32 y) const FL_NO_EXCEPT
 
T & access (u32 x, u32 y) FL_NO_EXCEPT
 

Static Private Member Functions

static T & NullValue () FL_NO_EXCEPT
 

Private Attributes

fl::vector_psram< T > mData
 
u32 mHeight = 0
 
fl::MatrixSlice< T > mSlice
 
u32 mWidth = 0
 

The documentation for this class was generated from the following files: