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

◆ setMapFunction()

void fl::Pixels::setMapFunction ( int(* fptr )(int i, void *args),
void * args,
int size )
inline

Definition at line 309 of file ___pixeltypes.h.

310 {
311 mapFunction = fptr;
312 if (arguments == NULL)
313 arguments = (void *)malloc(sizeof(size));
314 memcpy(arguments, args, size);
315 }
int(* mapFunction)(int i, void *args)
void * arguments

References arguments, and mapFunction.