M2SceneRemapVertexShaderId
function · models · primitive
- Address
0x70b040· 145 bytes, up to0x70b0d0- Meaning
- Rewrites a vertex shader id's bone-weight digit for the cache's shader mode, memoized per scene
- Confidence
- verified, proof one
- Finding
- models/scene#vertex-shader-id-remap
Finding: Vertex shader id remap in models: the scene
A vertex shader id is seven mixed-radix digits (shared, Vertex shader id), most significant first
with radices 5, 2, 2, 3, 3, 5 after a leading digit. When the cache mode has bit 8 or 0x10, the
scene rewrites digit 1, the submesh's bone-weight count: to 4 under bit 8; under 0x10, to 4 when it
was nonzero and 0 otherwise. The result is memoized per id.
The derivation is in the doc.
Callers 1
- M2SceneAnimateAndCollect models
Callees 1
- M2DecodeVertexShaderId models
Calls and jumps by a bare address, from tables/calls.tsv.