TextureAtlasData typedef

TextureAtlasData = ({List<Page> pages, List<Region> regions})

Type definition for texture atlas data containing pages and regions.

This is a record type with two fields:

  • List<Page> pages: List of texture pages
  • List<Region> regions: List of sprite regions

Implementation

typedef TextureAtlasData = ({List<Page> pages, List<Region> regions});