mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +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();
|
||||
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 };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user