TextureArraySpriteBatch

fun TextureArraySpriteBatch(context: Context, size: Int = 1000, maxTextureSlots: Int, maxTextureWidth: Int, maxTextureHeight: Int, textureArrayMagFilter: TexMagFilter = TexMagFilter.NEAREST, textureArrayMinFilter: TexMinFilter = TexMinFilter.NEAREST)

Parameters

context

the context

size

the max number of sprites in a single batch. Max of 8191.

maxTextureSlots

the expected number of textures to be in use.

maxTextureWidth

the width of the largest texture

maxTextureHeight

the height of the largest texture

textureArrayMagFilter

the mag filter to use for the texture array

textureArrayMinFilter

the min filter to use for the texture array