Function: loadImageData()
loadImageData(
uri):Promise<SkData>
Defined in: packages/react-native-spritestudio/src/core/SsTextureLoader.ts:209
The encoded bytes at uri, as Skia data.
Skia.Data.fromURI covers file: and http: and knows nothing about either platform's asset storage — iOS keeps assets inside the .app and Android inside the APK, where only AAssetManager reaches them. So an asset takes the Layer 1 route, which is the same one the .ssab itself took.
Parameters
uri
string
Returns
Promise<SkData>