---
url: https://cri-middleware.github.io/SSPlayerForReactNative/api/interfaces/SsTextureLoadPass.md
---
# Interface: SsTextureLoadPass

Defined in: [packages/react-native-spritestudio/src/core/SsTextureLoader.ts:42](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/core/SsTextureLoader.ts#L42)

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](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/core/SsTextureLoader.ts#L54)

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](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/core/SsTextureLoader.ts#L48)

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`
