CScriptRegion::UpdateFrameAlpha
function · ui · primitive
- Address
0x77fac0· 405 bytes, up to0x77fc54- Meaning
- Folds the owning frame's alpha into the vertex colour array
- Confidence
- verified, proof one
- Finding
- ui/texture#the-frames-alpha-in-the-colour
Finding: The frame's alpha in the colour in ui: texture colour and drawing
A texture draws with its frame's alpha folded into its vertex colour. The authored alpha stays in the alpha array
and the colour array holds authored × frame alpha / 255. A frame alpha of 0xfe or more with no colour entry that
is not opaque white drops the arrays, and a frame alpha below 0xfe gives a texture with no colour a white entry so
the fold has something to scale. A change of the frame's alpha refreshes every region of the frame.
The derivation is in the doc.
Callers 1
Callees 4
- GrowArrayBy526930 ui
- 0x5ce1c0 font
- 0x667300 storm
- CScriptRegion::NotifyLayerChanged ui
Calls and jumps by a bare address, from tables/calls.tsv.