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

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

How a cellmap's texture is sampled.

The caller's choice, never the cellmap's. `filter` is Linear by default (`FilterMode.Nearest`
for crisp pixel art) and the tiles are Clamp. Left to the paint's default,
`drawVertices` samples nearest-neighbour and every scaled or rotated sprite
comes out jaggy.

## Properties

### filter?

> `optional` **filter?**: [`FilterMode`](https://wcandillon.github.io/react-native-skia/)

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

***

### tileX?

> `optional` **tileX?**: [`TileMode`](https://wcandillon.github.io/react-native-skia/)

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

***

### tileY?

> `optional` **tileY?**: [`TileMode`](https://wcandillon.github.io/react-native-skia/)

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