/*1초 단위로 출력*/
schedule([=](float dt)
{
auto bat = (unsigned long) Director::getInstance()->getRenderer()->getDrawnBatches();
auto vert = (unsigned long) Director::getInstance()->getRenderer()->getDrawnVertices();
YIDLOG("%lu / %lu", bat, vert);
}, 1, "checkSTATE" );
'Programming > Cocos2d-x (with. cpp & java )' 카테고리의 다른 글
cocos2d 3.17 box2d (0) | 2018.12.24 |
---|---|
AppDelegate::applicationWillEnterForeground (0) | 2018.12.12 |
cocos2d - firebase (with AndroidStudio) (0) | 2018.08.21 |
template 사용법 (0) | 2018.01.21 |
[cocos2d-x] 스마트폰 Back키 & PC ESC 입력에 따른 화면 전환 (0) | 2017.12.17 |