[xna] Made MeshBatcher of SkeletonRenderer accessible. Users can use this instead of the less capable XNA SpriteBatch and ensure maximum batching. See #953.

This commit is contained in:
badlogic 2017-10-13 14:51:50 +02:00
parent aab6d81e34
commit 20b081ad5a

View File

@ -45,6 +45,7 @@ namespace Spine {
SkeletonClipping clipper = new SkeletonClipping();
GraphicsDevice device;
MeshBatcher batcher;
public MeshBatcher Batcher { get { return batcher; } }
RasterizerState rasterizerState;
float[] vertices = new float[8];
int[] quadTriangles = { 0, 1, 2, 2, 3, 0 };