载入中...
搜索中...
未找到
TerrainFile.cpp 文件参考
#include "procgen/heightmap/TerrainFile.h"
#include "common/Capability.h"
#include "common/ServiceInterfaces.h"
#include "procgen/heightmap/TerrainAsset.h"
#include <algorithm>
#include <bit>
#include <cmath>
#include <cstring>
#include <limits>
#include <vector>

浏览源代码.

命名空间

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

函数

TerrainFileFormat eve::procgen::parseTerrainFileFormat (std::string_view name) noexcept
 Parse a format selector from a script-facing string.
 
eve::Result< DecodedTerrainFile > eve::procgen::decodeTerrainFile (std::span< const std::uint8_t > bytes, TerrainFileFormat format)
 Decode a terrain height field from in-memory file bytes.
 
eve::Result< DecodedTerrainFile > eve::procgen::loadTerrainFile (const std::string &path, TerrainFileFormat format)
 Read and decode a terrain height field through the filesystem capability.