benilla-re systems structs docs

GetLightIntBand

function · lighting · primitive

Address
0x6d6ad0 · 34 bytes, up to 0x6d6af1
Meaning
Returns LightIntBand record 18 times the LightParams id less 17, plus the band
Confidence
verified, proof one
Finding
lighting/tables#band-references

Finding: Band references in lighting: tables

A LightParams record with id g owns 18 colour bands and 6 scalar bands. Colour band k (0 to 17) is the LightIntBand record with id 18·g − 17 + k; scalar band k (0 to 5) is the LightFloatBand record with id 6·g − 5 + k. Light reference k (0 to 4) of a Light record is the LightParams record whose id is in column 7 + k. Each resolver returns null for an id below 0 or above the table's largest id.

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.