Skip to content

Interface: SsTextureLoadPass ​

Defined in: packages/react-native-spritestudio/src/core/SsTextureLoader.ts:42

What an owner that can start a second load before the first is done tells a pass in flight.

Properties ​

registered ​

registered: number[]

Defined in: packages/react-native-spritestudio/src/core/SsTextureLoader.ts:54

Where each hash goes as it is registered rather than at the end, so an owner replacing the load can take back what a pass still in flight has put in. Handed back as the report's registered.

Methods ​

isCurrent() ​

isCurrent(): boolean

Defined in: packages/react-native-spritestudio/src/core/SsTextureLoader.ts:48

Asked after each decode, before the atlas goes in; false ends the pass. An atlas a replaced pass registers is one the live load finds in place and skips — and is then left without when the replaced pass is cleaned up.

Returns ​

boolean