Expand description

Plugin for defining and loading [TextureAtlas] assets.

The definitions are added as resources (see GenericAtlasDefinitions or TypedAtlasDefinition), generic over some enumeration index T.

The plugin then loads the needed images as assets before creating the individual [TextureAtlas].

Finally a resource AtlasTextures is created (for each T) through which the [TextureAtlas] handles can be retrieved by the enumeration index T.

The plugin also provides an event AtlasTexturesEvent upon completion or failure.

Structs

Plugin for loading and creating [TextureAtlas] from a simple definition, and providing the results in a AtlasTextures resource.

Resulting resource after creating all [TextureAtlas] for some enumeration index T.

Event sent whenever the plugin has (re)created the defined AtlasTextures for some T (or failed in doing so!).

Defines a [TextureAtlas] as a series of images, read from a folder. The sequence of the images is unknown, and may change each invocation.

Map with AtlasDefinitions for a creating a specific AtlasTextures resource.

Defines a [TextureAtlas] composed from a grid of an image.

Defines a [TextureAtlas] composed as similar sized, mahually placed, regions inside an image.

Resource specifying how to create a specific AtlasTextures.

Enums

Defines how a [TextureAtlas] is to be created from 1 or more textures.

Functions