CTexture::~CTexture
function · gx · orchestration
- Address
0x4482e0· 361 bytes, up to0x448448- Signature
void __thiscall (CTexture *this)- Meaning
- Releases a texture's hash entry, device texture, decoded buffer, async record and log sub-object
- Confidence
- verified, proof one
- Finding
- gx/textures#texture-objects
Finding: Texture objects in gx: textures
A CTexture is 0x15c bytes, allocated under the tag HTEXTURE (0x835604) and wrapped by CreateHandle. The constructor 0x448190 stores the vtable 0x8026b4 (slot 0 the deleting destructor 0x4482b0, slot 1 0x4482a0, which returns this + 0xc). Fields: +0xc name (260 bytes), +0x110 flags (bit 0 set when the image has no alpha, bit 1 set when the caller's file flag was non-zero), +0x114 mip levels dropped, +0x118 pixel type code (below), +0x11c alpha bits, +0x120 decoded mip buffer, +0x138 async load record, +0x140 device texture, +0x144, +0x148 width and height after the drop, +0x14c the GxTex format of the device texture, +0x150 the GxTex flags word.
The derivation is in the doc.
Callers 1
Callees 7
- CStatus::~CStatus client
- 0x4439b0 client
- TexturePoolRelease gx
- TextureFreeMips gx
- 0x44c100 gx
- 0x44c530 gx
- SFile::Close storm
Calls and jumps by a bare address, from tables/calls.tsv.