benilla-re systems structs docs

DrawLayerIdToName

function · ui · primitive

Address
0x6f1900 · 31 bytes, up to 0x6f191e
Signature
const char * __fastcall (int id)
Meaning
Returns the name of a draw layer index, or UNKNOWN
Confidence
verified, proof one
Finding
ui/draworder#regions-within-a-frame

Finding: Regions within a frame in ui: draw order

A frame keeps a list of regions for each draw layer. A region is linked at the head when it is registered and drawn from the tail, so regions of one layer come out in the order of their last registration, oldest first, not the order of declaration. Hiding and showing a texture or font string, or giving it a new draw layer, unregisters and registers it, so it moves to the end of its layer and draws last. There is no finer sort. A frame's layers are enabled by five switches, set for layers 0 to 3 by the constructor and clear for HIGHLIGHT; a region on a disabled layer is not drawn.

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

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