benilla-re systems structs docs

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

offsetsizetypenamemeaningconfidencefinding
0x000012uint32_t[3]m_pendingHolds the frames that joined while the update walked the levelverified, proof twoui/strata#strata-records-and-level-nodes
0x000c12uint32_t[3]m_framesHolds the level's frames in update and draw orderverified, proof twoui/strata#strata-records-and-level-nodes
0x00184CSimpleFrame *m_cursorHolds the next frame the update pass visitsverified, proof twoui/strata#the-update-pass
0x001c240uint8_t[240]m_batchesHolds five draw batches of 0x30 bytes, one per layerverified, proof twoui/strata#the-draw-pass
0x010c4uint32_tm_dirtyLayersHolds a bit per draw layer to rebuildverified, proof twoui/strata#dirty-marks
0x011012uint32_t[3]m_drawBatchesHolds the list of batches the draw pass drawsverified, proof twoui/strata#the-draw-pass