CTexture::DeletingDestructor
function · gx · orchestration
- Address
0x4482b0· 43 bytes, up to0x4482da- Signature
void * __thiscall (CTexture *this, uint32_t flags)- Meaning
- Destroys a texture and frees its memory when bit 0 of the flags is set
- 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 0
None by a direct call or jump.
Callees 2
- CTexture::~CTexture gx
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.