Hi all,
Let's say I have an AtlasSprite which I've rotated and scaled... Is there a known way to get the pixels data of that AtlasSprite transformed into a RGBA byte buffer?
If the method exists I suppose it will be the same to retrieve pixel datas of a Sprite?
Here is a pseudo example of what I want to achieve:
//-----------------
Sprite *MySprite = [Sprite spriteWithFile: @"catsprite.png"];
[MySprite setRotation: 90.];
[MySprite setScale: 2.0];
unsigned char *RGBA = [self pixelBufferFromSprite: MySprite];
//----------------
Thanks in advance