benilla-re systems structs docs

DxtAlphaIdentity

function · image · primitive

Address
0x5a60b0 · 3 bytes, up to 0x5a60b2
Signature
uint32_t __thiscall (void *this)
Meaning
Returns a 4-bit alpha unchanged
Confidence
verified, proof one
Finding
image/convert#dxt3-colours
Test
image::image_dxt3_block_decoders, image::image_dxt3_drivers

Finding: DXT3 colours in image: pixel format conversion

A DXT3 block is 8 bytes of explicit 4-bit alpha (row y in the word at y · 2) and a DXT1-style colour half at +8, whose palette is always the four-colour one. The decoders write colour with the alpha: ARGB4444 stores (colour & 0xfff) | alpha << 12, ARGB8888 stores the packed colour with the alpha byte from a callback.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

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