载入中...
搜索中...
未找到
RoadRecipeNetwork.cpp 文件参考
#include <algorithm>
#include "procgen/road/RoadNetworkCodec.h"
#include "procgen/road/RoadRailway.h"

浏览源代码.

命名空间

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

函数

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.