MCPcopy
hub / github.com/EngoEngine/engo / textureAtlasLoader

Struct textureAtlasLoader

common/texture_atlas.go:54–56  ·  view source on GitHub ↗

textureAtlasLoader is reponsible for managing '.xml' files exported from TexturePacker (https://www.codeandweb.com/texturepacker)

Source from the content-addressed store, hash-verified

52
53// textureAtlasLoader is reponsible for managing '.xml' files exported from TexturePacker (https://www.codeandweb.com/texturepacker)
54type textureAtlasLoader struct {
55 atlases map[string]*TextureAtlasResource
56}
57
58// Load will load the xml file and the main image as well as add references
59// for sub textures/images in engo.Files, subtextures keep their path url (with appended extension from main image path if it does not exist),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected