CM2Model::GetReplaceableTexture
function · models · orchestration
- Address
0x710e50· 101 bytes, up to0x710eb4- Meaning
- Returns the texture bound to a replaceable texture id of an instance
- Confidence
- verified, proof one
- Finding
- models/model#replaceable-textures
Finding: Replaceable textures in models: the instance
SetReplaceableTexture(type, texture) binds the texture to every model texture of that replaceable
type, to the ribbons, and to each particle emitter whose texture is of that type; it marks the
textures not loaded when the new texture is not, and clears the batchable flag +0xb8.
GetReplaceableTexture returns the texture of an id through the header's replaceable lookup.
Callers bind only the types 1, 2, 6, 8, 11, 12, 13 and 14; a texture of any other type keeps the
handle initialization gave it, from its file name or 0.
The derivation is in the doc.
Callers 1
- CGUnit_C::ReleaseWorldNode objectlayer
Callees 2
- M2LookupIndex models
- CM2Model::WaitForShared models
Calls and jumps by a bare address, from tables/calls.tsv.