Use batchs to store the entire buffer of loops before drawing. These batchs can be stored in the mesh draw cache later.