GroundTruthSnapshot struct
Snapshot of the ground-truth ECS frame captured before rollback resimulation.
Stores field bytes plus the entity counts from TemporalFrameHeader and the per-field CurrentUsed values so the comparator can detect entity-count drift independently of the raw data check (e.g. correct resim values but fewer entities).
Public variables
- std::vector<uint8_t> Data
- Raw field bytes (one frame, header excluded).
- uint32_t ActiveEntityCount
- TemporalFrameHeader::ActiveEntityCount at capture.
- uint32_t TotalAllocated
- TemporalFrameHeader::TotalAllocatedEntities at capture.
- std::vector<size_t> FieldUsed
Variable documentation
std::vector<size_t> RollbackSim:: GroundTruthSnapshot:: FieldUsed
FieldCompareInfo::CurrentUsed per field at capture, parallel to GetValidFieldInfos() order.