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

◆ getd()

template<EOrder RGB_ORDER, int LANES = 1, uint32_t MASK = 0xFFFFFFFF>
template<int SLOT>
static FASTLED_FORCE_INLINE uint8_t PixelController< RGB_ORDER, LANES, MASK >::getd ( PixelController< RGB_ORDER, LANES, MASK > & pc)
inlinestatic

Gets the dithering data for the provided output slot.

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
Returns
dithering data for the given channel
See also
PixelController::d

Definition at line 431 of file pixel_controller.h.

431{ return pc.d[RO(SLOT)]; }
#define RO(X)
Gets the assigned color channel for a byte's position in the output, using the color order (EOrder) t...
uint8_t d[3]
values for the scaled dither signal
Pixel controller class.

References PixelController(), d, FASTLED_FORCE_INLINE, and RO.

+ Here is the call graph for this function: