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

Defined in: [packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:70](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts#L70)

One texture a pack needs, read out of its `.ssab`.

Sampling does not come along: the `.ssab` carries the SpriteStudio filter and
wrap, but both are the engine's to choose (see `SsTextureOptions`).

## Properties

### embeddedLength

> **embeddedLength**: `number`

Defined in: [packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:84](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts#L84)

Size of the encoded image an embedded pack carries, 0 for a reference one.

The bytes themselves come from `SsContext.copyEmbeddedTexture`, asked for
only when the atlas is not decoded already: copying every one on every
load would pay again for each atlas the image cache holds.

***

### imagePath

> **imagePath**: `string`

Defined in: [packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:76](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts#L76)

Path to the image **relative to the `.ssab`**, or empty when embedded-only.

***

### name

> **name**: `string`

Defined in: [packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:74](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts#L74)

Cellmap name, or an external texture's file name.

***

### textureHash

> **textureHash**: `number`

Defined in: [packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:72](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts#L72)

Look this up with `DrawBatch.texture_hash` directly.
