载入中...
搜索中...
未找到
RoadNetworkCodec.h 文件参考

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::procgen
 
namespace  eve::procgen::road
 

函数

Result< eve::Value > eve::procgen::road::captureRoadNetwork (const RoadNetwork &network)
 Capture validated, owning author data using the editor-compatible roadNetwork schema v1. @ownership The returned value owns all records; no borrowed buffers or derived meshes. @thread Caller synchronizes concurrent edits. No callbacks. @cost Linear in author records and prefab source geometry; reuse the snapshot across consumers.
 
Result< RoadNetwork > eve::procgen::road::restoreRoadNetwork (const eve::Value &snapshot)
 Decode schema v1 privately; unknown fields are ignored and unsupported versions rejected.
 
EVENGINE_API_DOMAINS Result< void > eve::procgen::road::setRoadRecipeNetwork (Params &params, const RoadNetwork &network)
 Store canonical validated author data in the standard recipe's networkSnapshot parameter. @ownership Params takes an owning canonical JSON copy, published only on success. @thread Caller synchronizes Params and the network; no callbacks. @cost Linear in the author graph/source meshes; prepare once and reuse for mesh/artifact/LOD builds.
 
EVENGINE_API_DOMAINS Result< RoadNetwork > eve::procgen::road::resolveRoadRecipeNetwork (const Params &params)
 Resolve the recipe's author snapshot, or its procedural scene when no snapshot was supplied.