How can I enable the render thread?

Rendering seems to happen on the main thread for me under void Director::mainLoop()
How do I get this behaviour of rendering on a dedicated thread: http://www.cocos2d-x.org/wiki/Introduction_to_New_Renderer ?

Thanks!

#macos #renderer #multithreading

Easiest way is to use the cocos2d engine and rendering as if your main thread is the rendering thread. Then create and run new separate threads for whatever you want to process in parallel.

You can already do this with (pre)loading of assets and the audio system is mostly already using its own threads.
Search for other posts on the subject as it’s been discussed a number of times.