CFrameStrataNode
struct · ui · 284 bytes
- Meaning
- Holds one level of a stratum: its frame lists, update cursor, five batches and dirty layers
- Confidence
- verified, proof two
- Finding
- ui/strata#strata-records-and-level-nodes
Finding: Strata records and level nodes in ui: strata, levels and the per-frame passes
The top holds nine pointers at +0xcd4, one 0x18-byte record per stratum: a draw-dirty flag, a
levels-dirty flag, the count of levels in use, and an array of level nodes. A level node,
CFrameStrataNode, is 0x11c bytes: two frame lists linked through each frame's +0x30c, a cursor
at +0x18, five draw batches of 0x30 bytes from +0x1c, a dirty-layer mask at +0x10c and the
list of batches to draw at +0x110. The second list holds the level's frames; the first holds
frames added while the update pass walks the level.
The derivation is in the doc.
Fields 6
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 12 | uint32_t[3] | m_pending | Holds the frames that joined while the update walked the level | verified, proof two | ui/strata#strata-records-and-level-nodes |
0x000c | 12 | uint32_t[3] | m_frames | Holds the level's frames in update and draw order | verified, proof two | ui/strata#strata-records-and-level-nodes |
0x0018 | 4 | CSimpleFrame * | m_cursor | Holds the next frame the update pass visits | verified, proof two | ui/strata#the-update-pass |
0x001c | 240 | uint8_t[240] | m_batches | Holds five draw batches of 0x30 bytes, one per layer | verified, proof two | ui/strata#the-draw-pass |
0x010c | 4 | uint32_t | m_dirtyLayers | Holds a bit per draw layer to rebuild | verified, proof two | ui/strata#dirty-marks |
0x0110 | 12 | uint32_t[3] | m_drawBatches | Holds the list of batches the draw pass draws | verified, proof two | ui/strata#the-draw-pass |