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

Per-chunk mesh generation for every hex map surface. 更多...

#include "common/Export.h"
#include "hexmap/HexMap.h"
#include "hexmap/HexMeshData.h"
#include "hexmap/HexVisibility.h"
#include <cstdint>

浏览源代码.

类

struct  eve::hexmap::HexTerrainVertexCode
 Encodes the three contributing cells of a terrain vertex. 更多...
 
struct  eve::hexmap::HexTerrainWeights
 Terrain-layer weights of a vertex; the three entries sum to 1. 更多...
 

命名空间

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

函数

EVENGINE_API_WORLD void eve::hexmap::buildTerrainMesh (const HexMap &map, std::int32_t chunkIndex, HexMeshData &out)
 Builds the ground, terrace and cliff surface of one chunk.
 
EVENGINE_API_WORLD void eve::hexmap::buildWaterMesh (const HexMap &map, std::int32_t chunkIndex, HexMeshData &out)
 Builds the water surface and shore band of one chunk.
 
void eve::hexmap::buildRiverMesh (const HexMap &map, std::int32_t chunkIndex, HexMeshData &out)
 Builds the river channel surface of one chunk.
 
void eve::hexmap::buildRoadMesh (const HexMap &map, std::int32_t chunkIndex, HexMeshData &out)
 Builds the road surface of one chunk.
 
void eve::hexmap::buildChunkSurfaceMesh (const HexMap &map, std::int32_t chunkIndex, HexSurface surface, HexMeshData &out)
 Builds one chunk surface by dispatching on surface.
 
void eve::hexmap::buildFogMesh (const HexMap &map, const HexVisibility &visibility, std::int32_t chunkIndex, HexMeshData &out)
 Builds the fog-of-war overlay of one chunk.
 

详细描述

Per-chunk mesh generation for every hex map surface.

在文件 HexMapMesh.h 中定义.