benilla-re systems structs docs

CSimpleTexture::SetImage

function · ui · orchestration

Address
0x770300 · 91 bytes, up to 0x77035a
Meaning
Replaces the image handle with a referenced one, closes the old and marks the texture dirty
Confidence
verified, proof one
Finding
ui/texture#two-colour-stores

Finding: Two colour stores in ui: texture colour and drawing

A texture has two colour inputs that never overwrite each other: the image at +0xcc, and a vertex colour that multiplies it. <Color> and SetTexture(r, g, b, a) replace the image with a solid one; SetVertexColor and SetAlpha write the vertex colour. GetVertexColor answers opaque white unless the vertex colour holds exactly one entry, so a vertex colour of two or more entries, a gradient, reads back white as well as an empty one.

The derivation is in the doc.

Callers 12

Callees 4

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