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

◆ getMaxBytesInStrip()

u32 fl::RectangularDrawBuffer::getMaxBytesInStrip ( ) const

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

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

References 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: