s_frameStrataNames
global · ui
- Address
0x8119f8· 64 bytes, up to0x811a37- Type
uint32_t[16]- Meaning
- Holds eight pairs of a stratum index and its name, BACKGROUND 1 to TOOLTIP 8
- Confidence
- verified, proof two
- Finding
- ui/strata#strata-and-their-names
Finding: Strata and their names in ui: strata, levels and the per-frame passes
A frame's stratum is +0xc0, an index 0 to 8, and its level +0xc4, a count from 0. The
constructor of a frame sets the stratum to 3 and the level to 0. The names the XML attribute
frameStrata and the Lua methods accept are, ignoring case:
| index | name | index | name |
|---|---|---|---|
| 1 | BACKGROUND | 5 | DIALOG |
| 2 | LOW | 6 | FULLSCREEN |
| 3 | MEDIUM | 7 | FULLSCREEN_DIALOG |
| 4 | HIGH | 8 | TOOLTIP |
Index 0 has no name, so only a frame that keeps the top's own stratum record 0 uses it.
The derivation is in the doc.