I'm developing the game using cocos3d, in which large part of models are procedurally generated (like landscapes in Minecraft).
To keep good user experience, I need to populate their meshes in separate thread (via GCD).
Can someone give me advice on is it possible with cocos3d?
Not about /using/ cocos3d for that, of course, but about how to make such async mesh population compatible with cocos3d single-thread model.
Can I just call methods of CC3VertexArray from separate thread? (I suspect I cannot).
Or can I generate mesh in separate thread in CC3VertexArray as long as I didn't bind it to mesh or called createGLBuffers on it?
Or, in worst case, do I need to generate vertex arrays separately with my own classes in another thread and then just copy their buffers data into CC3VertexArray in main thread?