载入中...
搜索中...
未找到
TerrainAsset.h
浏览该文件的文档.
67 uint32_t storedSize = 0, rawSize = 0, checksum = 0;
std::vector< ClimateData > climate
Current moisture and cloud state per cell.
Definition HexMapGenerator.cpp:397
Move-only, checked operation results for the common layer.
In-memory terrain heightmap: a dense float grid (row-major, index = y * width + x) materialized from ...
Definition Heightmap.h:21
Immutable random-access byte source for an EVTR archive.
Definition TerrainAsset.h:18
virtual std::uint64_t size() const noexcept=0
Total stable byte length of the archive. @thread Safe for concurrent reads.
virtual ~ITerrainArchiveSource()=default
Releases ITerrainArchiveSource resources.
virtual Result< std::vector< std::uint8_t > > read(std::uint64_t offset, std::size_t length) const =0
Read exactly one bounded byte range.
Owning in-memory EVTR source used by compatibility callers and tests.
Definition TerrainAsset.h:34
MemoryTerrainArchiveSource(std::span< const std::uint8_t > bytes)
Copy immutable archive bytes into this source.
Definition TerrainAsset.h:37
Definition EvpackPointGraphLoader.h:12
Definition Container.h:602
Decoded terrain chunk containing all baked runtime layers.
Definition TerrainAsset.h:51
std::vector< float > flowAccumulation
Definition TerrainAsset.h:55
std::vector< int8_t > flowDirection
Definition TerrainAsset.h:57
Metadata for one independently compressed chunk in an EVTR archive.
Definition TerrainAsset.h:63