TemporalFrameHeader struct
Cache-line-aligned per-frame metadata stored at the start of each ring-buffer slot.
Holds ownership flags for concurrent read/write coordination, the simulation frame number, camera and lighting state for the render thread, and (under rollback) the input snapshot needed to replay a frame deterministically.
Public variables
- std::atomic<uint8_t> OwnershipFlags
- uint8_t _pad
- uint32_t FrameNumber
- Vector3 CameraPosition
- Vector3 PrevCameraPosition
- Quat CameraRotation
- Quat PrevCameraRotation
- SimFloat CameraFoV
- SimFloat PrevCameraFoV
- Vector3 SunDirection
- Vector3 SunColor
- SimFloat AmbientIntensity
- uint32_t ActiveEntityCount
- uint32_t TotalAllocatedEntities
- uint8_t InputKeyState
- SimFloat InputMouseDX
- SimFloat InputMouseDY
- char _padding