GetLightFloatBand
function · lighting · primitive
- Address
0x6d6b00· 34 bytes, up to0x6d6b21- Meaning
- Returns LightFloatBand record 6 times the LightParams id less 5, 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 1
- BuildLightRecord lighting
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.