---
url: https://cri-middleware.github.io/SSPlayerForWeb/api/@spritestudio/ssplayer-core/variables/SS_SHADER_ID_HASHES.md
---
# Variable: SS_SHADER_ID_HASHES

> `const` **SS_SHADER_ID_HASHES**: `ReadonlyMap`<`string`, `number`>

Defined in: [src/ShaderIds.ts:51](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-core/src/ShaderIds.ts#L51)

`ss-*` id → its `idHash`, resolved once at module load.

Thirteen short hashes, which is why this is computed rather than written out:
a table of literals is a table that can be typed wrong, and a wrong one shows
up as a shader that silently never matches. `ss_shader_id_hashes_are_stable`
pins the values, so the SDK-side pairing is still asserted rather than assumed.
