benilla-re systems structs docs

0x878cf0

global · ui

Address
0x878cf0 · 4 bytes, up to 0x878cf3
Type
uint32_t
Meaning
Holds a dword that Script::SetPortraitTexture, Texture::SetTexture read; not read here
Confidence
inferred
Finding
ui/nameplatedraw#blend-and-batch-state

Finding: Blend and batch state in ui: how a nameplate draws

Each plate texture carries a blend mode at +0xd0, 2 (BLEND) by default; only the glow sets 3 (ADD), and the border, the skull and the raid icon set 2 again. The batch draw sets lighting, fog, depth test and depth write off before it draws the plate's quads, and passes a record's mode to the device as blend state 7 unchanged from 2 up, except that mode 11 leaves the state as it was; a mode below 2 on a record with a texture draws as 2. Mode 3 is source alpha with a destination of one, so a hovered plate's glow adds to what is behind it.

The derivation is in the doc.