tess 0.4.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::EnttPathAgentContext Struct Reference

#include <tess/ecs/entt/entt_adapter.h>

Public Member Functions

void reserve (std::size_t agent_capacity)

Public Attributes

PathAgentTickState tick_state {}
PathAgentBatch batch {}
std::vector< EnttAgentEntryentries {}
std::uint64_t next_agent_id = 0

Detailed Description

Persistent tick state and reusable scratch for one EnTT agent system.

Reserve once to avoid warm-path allocations. Persist next_agent_id with the world so collection order remains deterministic across save and load.


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