I am using quadbatch, and I want to add quad to quadbatch with texture. (I know about function addImage, but I have lot of different quads (different vertex color and vertex position)) so I need to use addQuad() (because smaller pooling).
In your documentation to QuadBatch is
addQuad(quad:Quad, parentAlpha:Number = 1.0, texture:Texture = null, smoothing:String = null...)
I have pooled quads and textures, and I am using it like this:
_quadbatch.addQuad(quad, 1, texture);
But quad on scene dont have texture like I set it in the 3rd parameter, they have just a color.
How can I set texture to this? (texture is in atlas). (Everything works when I used addImage(...), but I need use addBatch with textures).
Thanks for help.