cocos2dx 3.1 sprite visit()好像不起作用

cocos2dx 3.1 sprite visit()不起作用,东西没写到RenderTexture,怎么用的