Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::detail::SystemScheduleScratch Struct Reference

Reusable scratch arrays for one system schedule ordering pass. More...

#include <world.h>

Public Attributes

cnt::darray< SystemScheduleItemitems
 Collected systems for the current run.
 
cnt::darray< SystemPhaseScheduleItemphases
 Collected unique phases for the current run.
 
cnt::darray< SystemScheduleEdgeedges
 Explicit dependency edges for the current run.
 
cnt::darray< SystemScheduleItemordered
 Ordered item output used when explicit edges exist.
 
cnt::darray< EntityentityStack
 Shared entity traversal stack.
 
cnt::darray< uint32_t > entityIndices
 Item indices sorted by entity id.
 
cnt::darray< uint32_t > sortedGroupIndices
 Item indices sorted inside the active group.
 
cnt::darray< uint32_t > primaryTargets
 Primary dependency target per item.
 
cnt::darray< uint32_t > firstChildren
 First child index per target item.
 
cnt::darray< uint32_t > nextSiblings
 Next sibling index per child item.
 
cnt::darray< uint32_t > sortedPhases
 Phase indices sorted by entity id.
 
cnt::darray< uint32_t > primaryPhases
 Primary dependency target per phase.
 
cnt::darray< uint32_t > groupIndices
 Reused group item indices.
 
cnt::darray< uint32_t > childCounts
 Direct child count per target item.
 
cnt::darray< uint32_t > sortedIndices
 Item indices sorted by final deterministic key.
 
cnt::darray< uint32_t > firstEdges
 First edge index per child item.
 
cnt::darray< uint32_t > readyNext
 Next item in the ready list.
 
cnt::darray< uint8_t > states
 Visit states reused by group and phase traversal.
 
cnt::darray< uint8_t > visited
 Visit states for the final topological pass.
 

Detailed Description

Reusable scratch arrays for one system schedule ordering pass.


The documentation for this struct was generated from the following file: