newimage专题

关于cocos2dx RenderTexture的newImage为空

Sprite* spr1 = Sprite::create("spr1.png");spr1->retain();//在3.0此处必须写上这个auto render = RenderTexture::create(visibleSize.width, visibleSize.height, Texture2D::PixelFormat::RGBA8888);render->retain();ren