crank it up!
parent
112fafe9f3
commit
4c31725fc1
BIN
moonlibs/windows/Refresh.dll (Stored with Git LFS)
BIN
moonlibs/windows/Refresh.dll (Stored with Git LFS)
Binary file not shown.
|
@ -13,7 +13,7 @@ namespace MoonWorksComputeSpriteBatch
|
|||
|
||||
public class SpriteBatch
|
||||
{
|
||||
private const int MAX_SPRITES = 16384;
|
||||
public const int MAX_SPRITES = 65536;
|
||||
private const int MAX_VERTICES = MAX_SPRITES * 4;
|
||||
private const int MAX_INDICES = MAX_SPRITES * 6;
|
||||
private const int MAX_MATRICES = MAX_SPRITES;
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace MoonWorksComputeSpriteBatch
|
|||
private Texture whitePixel;
|
||||
private Sampler sampler;
|
||||
|
||||
private const int SPRITECOUNT = 8092;
|
||||
private const int SPRITECOUNT = SpriteBatch.MAX_SPRITES;
|
||||
private Vector3[] positions = new Vector3[SPRITECOUNT];
|
||||
|
||||
private uint windowWidth;
|
||||
|
|
Loading…
Reference in New Issue