载入中...
搜索中...
未找到
RoadRecipes.h 文件参考
#include "procgen/MeshBuild.h"
#include "procgen/Params.h"
#include "procgen/road/RoadBake.h"
#include "procgen/road/RoadNetwork.h"
#include <memory>
#include <string>

浏览源代码.

命名空间

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

函数

Result< RoadBakeResult > eve::procgen::road::bakeRoadNetworkRecipe (const Params &params)
 Build the shared road recipe once for mesh, navigation and artifact projections.
 
bool eve::procgen::road::generateRoadNetworkMesh (const Params &params, MeshBuild &out, std::string &error)
 Generate a multi-level interchange mesh from Params (span/height/lanes/seed).
 
Result< RoadOverlay > eve::procgen::road::generateRoadNetworkOverlay (const Params &params)
 Bake navigation overlay for the same Params used by mesh.roadNetwork.
 
std::unique_ptr< image::ImageData > eve::procgen::road::generateRoadMarkingsTexture (const Params &params, std::string &error)
 Pure-function road marking atlas (asphalt + edge + dashed center + zebra).
 
void eve::procgen::road::registerRoadMeshRecipes (MeshRecipeRegistry &registry)
 Registers road mesh recipes.
 
void eve::procgen::road::registerRoadTextureRecipes (TextureRecipeRegistry &registry)
 Registers road texture recipes.