Interface: SsTextureBinding
Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:58
One entry of the texture table drawInto resolves batches against.
The table is handed over when it changes (SsContext.setTextures), and the context keeps each paint alive until the table is replaced.
textureHash is cellmap.name_hash, which is exactly DrawBatch.texture_hash — get it from SsRuntime.hashString, never by re-implementing FNV-1a.
Properties
paint
paint:
SkPaintHandle
Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:61
Carries the atlas image shader.
textureHash
textureHash:
number
Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:59