Interface: SsTextureLoadReport
Defined in: packages/react-native-spritestudio/src/core/SsTextureLoader.ts:16
What a texture-load pass could not resolve. Empty on full success.
A missing texture is silent at draw time — drawInto skips a batch it has no paint for — so this is the only thing standing between a mis-shipped atlas and a part that just quietly is not there.
Properties
imageKeys
imageKeys:
string[]
Defined in: packages/react-native-spritestudio/src/core/SsTextureLoader.ts:26
Cache keys this pass took a lease on, for the caller to give back.
The loader cannot release them itself: an atlas outlives the call that decoded it, and only whoever owns the registry knows when the last user of it is gone. SpriteStudioPlayer holds these and releases them on dispose.
registered
registered:
number[]
Defined in: packages/react-native-spritestudio/src/core/SsTextureLoader.ts:35
Texture hashes this pass actually put in the registry — not the ones it was asked about, and not the ones a caller had already registered, since those are left alone.
For the same reason as imageKeys, one level up: an owner replacing what it loaded needs to know which entries were its own.
unresolved
unresolved:
string[]
Defined in: packages/react-native-spritestudio/src/core/SsTextureLoader.ts:18
image_path (or a texture#<hash> placeholder) per unresolved texture.