---
url: https://cri-middleware.github.io/SSPlayerForReactNative/api/type-aliases/SsTextureSources.md
---
# Type Alias: SsTextureSources

> **SsTextureSources** = [`SsTextureSource`](SsTextureSource.md) | `Record`<`string`, [`SsTextureSource`](SsTextureSource.md)>

Defined in: [packages/react-native-spritestudio/src/view/useSsTextures.ts:26](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/view/useSsTextures.ts#L26)

Textures to use instead of the ones a pack names, keyed by cellmap name.

A bare source is the shorthand for a pack with one cellmap, which is the
common case and the one where the caller would otherwise have to know a name
only the `.ssab` carries. The player resolves it to that cellmap once the pack
has loaded, so the name is genuinely not needed there.
