indigo.platform.assets

Type members

Classlikes

final
class AssetCollection(val images: List[LoadedImageAsset], val texts: List[LoadedTextAsset], val sounds: List[LoadedAudioAsset], val fonts: List[LoadedFontAsset])
Companion
object
Companion
class
final case
class Atlas(size: PowerOfTwo, imageData: Option[ImageData])
object AtlasId
final case
class AtlasIndex(id: AtlasId, offset: Point, size: Point)
final case
class AtlasLookupResult(name: AssetName, atlasId: AtlasId, atlas: Atlas, offset: Point)
Companion
object
Companion
class
final case
final case
class AtlasQuadNode(size: PowerOfTwo, atlas: AtlasSum) extends AtlasQuadTree
sealed
Companion
object
Companion
class
sealed
trait AtlasSum
final case
class AtlasTexture(imageRef: ImageRef) extends AtlasSum
final
final case
class ImageRef(name: AssetName, width: Int, height: Int, tag: Option[AssetTag])
final case
class LoadedAudioAsset(name: AssetName, data: AudioBuffer)
final case
final case
class LoadedImageAsset(name: AssetName, data: Image, tag: Option[AssetTag])
final case
class LoadedTextAsset(name: AssetName, data: String)
final case
class TextureAndCoords(imageRef: ImageRef, coords: Point)
Companion
class
final case
class TextureAtlas(atlases: Map[AtlasId, Atlas], legend: Map[AssetName, AtlasIndex])
Companion
object
final case
class TextureDetails(imageRef: ImageRef, size: PowerOfTwo, tag: Option[AssetTag])
final case
class TextureMap(size: PowerOfTwo, textureCoords: List[TextureAndCoords])

Types

opaque type AtlasId