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

◆ getBytesPerPixel()

u8 fl::ChannelData::getBytesPerPixel ( ) const
inline

Get encoded bytes per pixel/element, or 0 if unknown.

Definition at line 119 of file data.h.

119 {
121 }
ChannelPixelFormat mPixelFormat
Explicit byte layout for encoded data.
Definition data.h:190
u8 channelPixelFormatBytesPerPixel(ChannelPixelFormat format) FL_NO_EXCEPT
Definition data.h:32

References fl::channelPixelFormatBytesPerPixel(), fl::FL_NO_EXCEPT, and mPixelFormat.

+ Here is the call graph for this function: