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

◆ loadByte() [2/2]

template<EOrder RGB_ORDER, int LANES = 1, fl::u32 MASK = 0xFFFFFFFF>
template<int SLOT>
static FASTLED_FORCE_INLINE fl::u8 PixelController< RGB_ORDER, LANES, MASK >::loadByte ( PixelController< RGB_ORDER, LANES, MASK > & pc,
int lane )
inlinestatic

Read a byte of LED data for parallel output.

Template Parameters
SLOTThe data slot in the output stream. This is used to select which byte of the output stream is being processed.
Parameters
pcreference to the pixel controller
lanethe parallel output lane to read the byte for

Definition at line 424 of file pixel_controller.h.

424{ return pc.mData[pc.mOffsets[lane] + RO(SLOT)]; }
#define RO(X)
Gets the assigned color channel for a byte's position in the output, using the color order (EOrder) t...
int mOffsets[LANES]
the number of bytes to offset each lane from the starting pointer
const fl::u8 * mData
pointer to the underlying LED data
Pixel controller class.

References PixelController(), FASTLED_FORCE_INLINE, mData, mOffsets, and RO.

+ Here is the call graph for this function: