载入中...
搜索中...
未找到
GpuAgentWorld.h
浏览该文件的文档.
57 void setNutrients(std::vector<EnvironmentMarker> nutrients) { nutrients_ = std::move(nutrients); }
66 [[nodiscard("check backend register")]] Result<void> registerBackend(std::string name, EffectBackend* backend);
72 [[nodiscard("check backend unregister")]] Result<void> unregisterBackend(const std::string& name);
80 [[nodiscard("check find result before use")]] EffectBackend* find(const std::string& name) const;
Move-only, checked operation results for the common layer.
Binds an EffectProfile to a GpuAgentSimulation and optional renderer.
Definition EffectBackend.h:19
World-level registry for GPU agent simulations and environment semantics.
Definition GpuAgentWorld.h:27
void setDangers(std::vector< EnvironmentMarker > dangers)
Replace danger markers.
Definition GpuAgentWorld.h:55
void setGoals(std::vector< EnvironmentMarker > goals)
Replace goal markers.
Definition GpuAgentWorld.h:53
void setWaterCurrent(float x, float y, float z)
Set uniform water current.
Definition GpuAgentWorld.h:43
void setNutrients(std::vector< EnvironmentMarker > nutrients)
Replace nutrient markers.
Definition GpuAgentWorld.h:57
void setVerticalBounds(float groundY, float ceilingY)
Set ground / ceiling heights for bird clearance.
Definition GpuAgentWorld.h:47
ObstacleField & obstacles()
Access the shared obstacle field (mutable for baking).
Definition GpuAgentWorld.h:33
Unified static + dynamic obstacle distance field.
Definition ObstacleField.h:28
2.5D surface + life-field textures for Life Network.
Definition SurfaceField.h:16
Definition AgentInstanceRenderer.cpp:5
Read-only environment semantics prepared by GpuAgentWorld each tick.
Definition EnvironmentSnapshot.h:26