MLMG Hello everyone, I'm using spSkeletonJson_readSkeletonData() and spAtlas_create() to load data such as .json and .atlas files from memory. How can I also load .png textures from memory? Thank you.
Mario See the spine-c docs: https://en.esotericsoftware.com/spine-c#Implementing-_spAtlasPage_createTexture-and-_spAtlasPage_disposeTexture Here's a concrete implementation of these two functions for SFML: EsotericSoftware/spine-runtimes/blob/4.1/spine-sfml/c/src/spine/spine-sfml.cpp#L99-L114 Here's another one for SDL: EsotericSoftware/spine-runtimes/blob/4.1/spine-sdl/src/spine-sdl-c.c#L185-L206