What problem does this solve or what need does it fill?
Currently the TextureAtlasBuilder API requires the use of the Assets API, tracking its constituent textures through Handles and Assets<Texture>. This limits atlas construction to contexts where the Assets API is available. Specifically, it would help to be able to construct an Atlas during Asset::load where only the load_context API is available.
What solution would you like?
Expand or modify the TextureAtlasBuilder API to work with lower-level types or with a load context.
What alternative(s) have you considered?
Currently the only options are to
- move atlas construction into Systems, which isn't ideal for conveniently loading Asset types, or
- re-implement the TextureAtlasBuilder internals externally
What problem does this solve or what need does it fill?
Currently the TextureAtlasBuilder API requires the use of the Assets API, tracking its constituent textures through
Handles andAssets<Texture>. This limits atlas construction to contexts where the Assets API is available. Specifically, it would help to be able to construct an Atlas duringAsset::loadwhere only theload_contextAPI is available.What solution would you like?
Expand or modify the TextureAtlasBuilder API to work with lower-level types or with a load context.
What alternative(s) have you considered?
Currently the only options are to