For my application, I need to render sprites (or textures) and PolygonSprites (or Mesh) in the same frame. For the sprites, I render them on a Spritebatch, and for the PolygoneSprites, I should render them on a PolygonSpritebatch. But I really can't do that :
spriteBatch.begin()
spritebatch.draw(sprite)
...
spriteBatch.end()
polygonSpritebatch.begin()
polygonSpritebatch.draw(polygonSprite)
...
polygonSpritebatch.end()
spriteBatch.begin()
spritebatch.draw(sprite)
...
spriteBatch.end()
etc...
So, is there a way ? Image is attached to see what i want.
Thank's a lot !