benilla-re systems structs docs

CGxString::Invalidate

function · font · primitive

Address
0x5cdef0 · 78 bytes, up to 0x5cdf3d
Signature
void __thiscall (CGxString *this)
Meaning
Drops a string's layout and its line buffers
Confidence
verified, proof one
Finding
font/api#layout-lifetime

Finding: Layout lifetime in font: fonts, strings and batches

A string's layout is kept for use by the next draw and dropped after 31 frames of disuse. The frame pass 0x5c2ce0 walks the global string list and calls 0x5cdf40 on each string.

The derivation is in the doc.

Callers 7

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.