I have spine project A. It uses texture pages t1 and t2. I have another Spine project B that uses texture pages t1 and t3.
From Spine I can export a 'combined' texture atlas that would combine t1 and t2, t1 and t3 or all three of those texture pages... but I want to easily be able to unload t2 or t3 (the texture atlases only used by one animation) at runtime.
In the c runtime if I were to unload Spine project B then how would I ensure that texture t1 remains?
Essentially, I don't want a single texture atlas per a project. I want to be able to have projects use multiple texture atlases with some of those atlases shared with other spine animations that might be running.
another example:
Textures.atlas
contains Textures/Shared/ and Textures/OnlyThisProject/
In this situation I'd probably have to unload the OnlyThisProject atlas page manually myself when it's not used I suppose? Probably by using spAtlas_dispose ().
Would be good to get some more thoughts on this before I embark on engineering down a particular path.