FastLED 3.10.8
Loading...
Searching...
No Matches

◆ getMaxBytesInStrip()

u32 fl::RectangularDrawBuffer::getMaxBytesInStrip ( ) const

Definition at line 81 of file rectangular_draw_buffer.cpp.hpp.

81 {
82 u32 max_bytes = 0;
83 for (auto it = mDrawList.begin(); it != mDrawList.end(); ++it) {
84 max_bytes = fl::max(max_bytes, it->mNumBytes);
85 }
86 return max_bytes;
87}
constexpr common_type_t< T, U > max(T a, U b) FL_NO_EXCEPT
Definition math.h:75

References fl::FL_NO_EXCEPT, fl::max(), and mDrawList.

Referenced by ~RectangularDrawBuffer(), getBlockInfo(), and getTotalBytes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: