1. 程式人生 > >將Sprite轉換為Image

將Sprite轉換為Image

RenderTexture* pRender = RenderTexture::create(pNewSpr->getContentSize().width, pNewSpr->getContentSize().height, Texture2D::PixelFormat::RGBA8888);