载入中...
搜索中...
未找到
#include "procgen/heightmap/Heightmap.h"#include <cstdint>#include <span>#include <string>#include <string_view>类 | |
| struct | eve::procgen::DecodedTerrainFile |
| Height field decoded from a persisted terrain file. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::procgen |
枚举 | |
| enum class | eve::procgen::TerrainFileFormat : std::uint8_t { eve::procgen::Auto , eve::procgen::Evtr , eve::procgen::Evtrn , eve::procgen::Raw8 , eve::procgen::Raw16LE , eve::procgen::Raw16BE } |
| Persisted terrain encodings the runtime can decode. 更多... | |
函数 | |
| 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. | |