CM2Shared::~CM2Shared
function · models · host
- Address
0x71d330· 255 bytes, up to0x71d42e- Meaning
- Unlinks a shared model from its bucket, closes its textures and frees its buffers and file data
- Confidence
- verified, proof one
- Finding
- models/shared#shared-model-object
Finding: Shared model object in models: the shared model
| offset | holds |
|---|---|
+0x000, +0x004 | reference count, cache |
+0x008 | flags: 1 loaded, 2 the open flag the load was given |
+0x00c | read request while loading |
+0x010 | instances waiting for the load (link +0x1c/+0x20 in the instance) |
+0x014, +0x018, +0x01c | release list links, release time |
+0x020 | file name, 0x104 bytes |
+0x124, +0x128, +0x12c | bucket links, name hash |
+0x130, +0x134 | file data, file size |
+0x138, +0x13c | selected view, texture handles |
+0x140 to +0x14c | device index buffer handles, device vertex buffer handles |
+0x150, +0x154, +0x158 | per-batch vertex and pixel shader ids, copy of the view's submeshes |
+0x15c, +0x160 | instance copies the device buffers hold, most instances one batched draw may take |
The derivation is in the doc.
Callers 4
- M2CacheEvictReleased models
- M2CacheDestroy models
- M2CacheGetShared models
- CM2Shared::Release models
Callees 4
- HandleClose base
- SMemFree storm
- CM2Shared::FreeBuffers models
- M2FreeBuffer models
Calls and jumps by a bare address, from tables/calls.tsv.