载入中...
搜索中...
未找到
GpuAgentSimulation.h
浏览该文件的文档.
33 [[nodiscard("check simulation configure")]] Result<void> configure(const EffectProfile& profile);
58 [[nodiscard("check simulation step")]] Result<void> step(float dt, const EnvironmentSnapshot& env);
Move-only, checked operation results for the common layer.
Fixed-step, double-buffered agent simulation owner.
Definition GpuAgentSimulation.h:23
GpuAgentSimulation()=default
Gpu agent simulation.
const std::vector< AgentState > & states() const
Current front-buffer states (read-only).
Definition GpuAgentSimulation.h:65
std::vector< AgentState > & states()
Mutable front buffer (editor preview / tests).
Definition GpuAgentSimulation.h:67
Definition AgentInstanceRenderer.cpp:5
Standardized per-agent simulation output shared by all effect kinds.
Definition AgentState.h:12
Type-erased profile bundle owned by an EffectBackend.
Definition EffectProfile.h:130
Read-only environment semantics prepared by GpuAgentWorld each tick.
Definition EnvironmentSnapshot.h:26