combine

Combine a TextureSlice with a TextureAtlas into a new TextureAtlas.

This does not dispose of the TextureAtlas or the Texture!!

Parameters

slice

the texture slice to combine

name

the name to give the texture slice in the TextureAtlas

context

the current Context


fun TextureAtlas.combine(texture: Texture, name: String, context: Context): TextureAtlas

Combine a Texture with a TextureAtlas into a new TextureAtlas.

This does not dispose of the TextureAtlas or the Texture!!

Parameters

texture

the texture to combine

name

the name to give the texture in the TextureAtlas

context

the current Context


Combine another TextureAtlas with the current atlas to create a new TextureAtlas.

This does not dispose of either TextureAtlas!!

Parameters

atlas

the texture atlas to combine

context

the current Context