工作中碰到的问题

1.处于逻辑线程中如何将需要渲染的操作推送到主线程执行。 
Director::getInstance()->getScheduler()->performFunctionInCocosThread([&,this]  
{  
    log("[performFunctionInCocosThread] finished!");  
});  

 

posted @ 2017-07-27 20:57  ITEVOL  阅读(173)  评论(0)    收藏  举报