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

◆ at()

pair< bool, u8 > fl::XYRasterU8Sparse::at ( u16 x,
u16 y ) const
inline

Definition at line 100 of file raster_sparse.h.

100 {
101 const u8 *val = mSparseGrid.find_value(vec2<u16>(x, y));
102 if (val != nullptr) {
103 return {true, *val};
104 }
105 return {false, 0};
106 }
int y
Definition simple.h:93
int x
Definition simple.h:92
HashMapLarge mSparseGrid
unsigned char u8
Definition int.h:17

References mSparseGrid, x, and y.