@igormats wrote:
Hi. I need to make a copy of Texture2D. I mean a real copy not reference.
auto a = Sprite::create("file.png"); auto b = Sprite::createWithTexture(a->getTexture()->COPY?);
Thank you!
Posts: 9
Participants: 4
@igormats wrote:
Hi. I need to make a copy of Texture2D. I mean a real copy not reference.
auto a = Sprite::create("file.png"); auto b = Sprite::createWithTexture(a->getTexture()->COPY?);
Thank you!
Posts: 9
Participants: 4