Threading, vertex buffers and index buffers