Defines a lightweight fixed-capacity queue for storing and processing frame events in Raven. More...
Classes | |
| struct | Raven::EventQueue |
| Fixed-size, frame-based event queue. More... | |
Namespaces | |
| namespace | Raven |
Variables | |
| constexpr u32 | Raven::MaxEventsPerFrame = 128 |
| Maximum number of events that can be queued per frame. | |
Defines a lightweight fixed-capacity queue for storing and processing frame events in Raven.
The EventQueue provides a contiguous, cache-friendly buffer for engine events. It supports fast insertion and constant-time clearing, intended to hold transient per-frame events such as input and window messages.
The queue has a fixed maximum capacity to avoid dynamic allocations and guarantee predictable performance characteristics per frame.