WS2803 example

Do I need to add resistors or capacitators?

I saw the following schematic :

But I don't really get the function of the cap. And I can't really find what the 12V 5050 RGB SMD led's will use per three, to calculate the value of the IREF resistor.