Atlas

class Atlas(val textures: Map<String, BmpSlice>, val info: AtlasInfo = AtlasInfo()) : AtlasLookup

Constructors

Link copied to clipboard
constructor(texture: BmpSlice, info: AtlasInfo = AtlasInfo())
constructor(slices: List<BmpSlice>)
constructor(textures: Map<String, BmpSlice>, info: AtlasInfo = AtlasInfo())

Types

Link copied to clipboard
inner class Entry(val info: AtlasInfo.Region, val page: AtlasInfo.Page)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator fun get(name: String): BmpSlice
Link copied to clipboard
open fun tryGet(name: String): BmpSlice?
Link copied to clipboard
open override fun tryGetEntryByName(name: String): Atlas.Entry?