CM2Model::SetReplaceableTexture
function · models · host
- Address
0x710ec0· 438 bytes, up to0x711075- Meaning
- Binds a texture to every texture of an instance with a replaceable type, and to its emitters
- Confidence
- verified, proof one
- Finding
- models/model#deferred-calls
Finding: Deferred calls in models: the instance
A call that changes animation state while the shared model is loading appends an 80-byte record: its kind, the scene clock at the time, and its arguments. When the load ends, the instance builds its state, plays its default animation, and replays the queue in order with the scene clock set back to each record's time.
| kind | call |
|---|---|
| 0 | SetReplaceableTexture |
| 1 | SetGeosetRange |
| 2 | BuildBatches |
| 3 | SetKeyBoneFlags |
| 4 | PlayAnimation |
| 5, 6 | SetKeyBoneAnimTime, SetKeyBoneAnimSpeed |
| 7 | SetKeyBoneOverride |
| 8 | SetLightEnabled |
| 9 | Update |
The derivation is in the doc.
Callers 11
- UpdateCharacterComponent charactermodel
- ApplyBodySkin charactermodel
- BindHairTexture charactermodel
- LoadBakedSkin charactermodel
- ApplyCreatureDisplay charactermodel
- AttachItemModelFile charactermodel
- ApplyCloakTexture charactermodel
- CreateLooseItemModel charactermodel
- CGGameObject_C::ApplyArtKit objectlayer
- CM2Model::InitializeLoaded models
- SimpleModelReplaceTexture ui
Callees 7
- HandleClose base
- AddHandleRef base
- GetTextureDeviceObject gx
- SMemAlloc storm
- M2DeferredCallConstruct models
- CParticleEmitter2::ReplaceTexture models
- CRibbonEmitter::ReplaceTexture models
Calls and jumps by a bare address, from tables/calls.tsv.