CGxDevice::GetTextureSkip
function · gx · orchestration
- Address
0x5920c0· 7 bytes, up to0x5920c6- Signature
uint32_t __thiscall (CGxDevice *this)- Meaning
- Returns the number of top mip levels the texture uploads skip, +0x31c
- Confidence
- verified, proof one
- Finding
- gx/facade#texture-mip-skip
Finding: Texture mip skip in gx: facade calls
0x589bf0(levels) calls slot +0x2c (SetTextureSkip). Both backends call 0x592050, which
stores the count at +0x31c, and then recreate every texture (slots.md, Life cycle slots).
0x589c50 returns +0x31c through 0x5920c0. The constructor stores 0, and nothing else in the
device files writes it. The one caller of 0x589bf0 is the baseMip callback 0x689090, which
compares the new value with 0x589c50's: an equal level returns 1 at once, a level outside 0 to
1 prints BaseMip must be 0 or 1 and returns 0, and 0 or 1 is applied and printed as BaseMip level changed to %d. The uploads read it at 0x59f6d1 (OpenGL) and 0x5a08fc (Direct3D).
The derivation is in the doc.
Callers 1
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.