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

◆ draw()

void fl::XYDrawGradient::draw ( const vec2< fl::u16 > & pt,
fl::u32 index,
fl::u8 value )
inline

Definition at line 68 of file draw_visitor.h.

69 {
71 CRGB c = mGradient.colorAt(value);
72 mOut[index] = c;
73}
fl::CRGB CRGB
Definition video.h:15
constexpr int type_rank< T >::value
#define FASTLED_UNUSED(x)
const Gradient mGradient
fl::span< CRGB > mOut

References FASTLED_UNUSED, mGradient, mOut, and fl::type_rank< T >::value.