mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[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:
parent
aab6d81e34
commit
20b081ad5a
@ -45,6 +45,7 @@ namespace Spine {
|
|||||||
SkeletonClipping clipper = new SkeletonClipping();
|
SkeletonClipping clipper = new SkeletonClipping();
|
||||||
GraphicsDevice device;
|
GraphicsDevice device;
|
||||||
MeshBatcher batcher;
|
MeshBatcher batcher;
|
||||||
|
public MeshBatcher Batcher { get { return batcher; } }
|
||||||
RasterizerState rasterizerState;
|
RasterizerState rasterizerState;
|
||||||
float[] vertices = new float[8];
|
float[] vertices = new float[8];
|
||||||
int[] quadTriangles = { 0, 1, 2, 2, 3, 0 };
|
int[] quadTriangles = { 0, 1, 2, 2, 3, 0 };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user