GxTexMarkRectDirty
function · gx · orchestration
- Address
0x58acd0· 39 bytes, up to0x58acf6- Signature
void __fastcall (void *texture, const int32_t *rect, uint32_t immediate)- Meaning
- Marks a rectangle of a texture dirty on the current device, uploading at once when asked
- Confidence
- verified, proof one
- Finding
- charactermodel/component#composite-without-a-skin
Finding: Composite without a skin in charactermodel: component
For an in-range race with a skin variation 0 and a colour outside its count, and +0x3c clear, the next update still composites. It creates the target, binds it as type 1 and runs all ten handlers, which skip the null skin, underwear, face and hair cells and blit only item cells into 0xb422d8, the one buffer every component uses, which nothing clears. The upload copies all of it, so the body shows earlier composites' leftovers, another character's skin, face and clothes, under its own items. Types 6 and 8 stay unbound. With +0x3c set, only on the unit's extra-row path, the update picks geosets alone and nothing binds type 1.
The derivation is in the doc.
Callers 5
- BakePortrait ui
- GxTexUpdateRect gx
- CGxDevice::SetCursorHotspot gx
- CChunkLiquid::Draw terrain
- OnShadowLodChanged lighting
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.