added method to copy per renderqueue item data into a queue-wide buffer, less mallocs and frees needed now