benilla-re systems structs docs

s_bufferedTextureRecords

global · gx

Address
0xb05d1c · 4 bytes, up to 0xb05d1f
Type
uint32_t
Meaning
Counts the async texture records holding a slice of the static file area
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.