载入中...
搜索中...
未找到
eve::procgen::ITerrainArchiveSource类 参考abstract
Immutable random-access byte source for an EVTR archive. 更多...
#include <TerrainAsset.h>
类 eve::procgen::ITerrainArchiveSource 继承关系图:
Public 成员函数 | |
| virtual | ~ITerrainArchiveSource ()=default |
| Releases ITerrainArchiveSource resources. | |
| virtual std::uint64_t | size () const noexcept=0 |
| Total stable byte length of the archive. @thread Safe for concurrent reads. | |
| virtual Result< std::vector< std::uint8_t > > | read (std::uint64_t offset, std::size_t length) const =0 |
| Read exactly one bounded byte range. | |
详细描述
Immutable random-access byte source for an EVTR archive.
在文件 TerrainAsset.h 第 18 行定义.
构造及析构函数说明
◆ ~ITerrainArchiveSource()
|
virtualdefault |
Releases ITerrainArchiveSource resources.
成员函数说明
◆ read()
|
pure virtual |
Read exactly one bounded byte range.
- 返回
- Owning bytes, or a structured failure without changing reader state. @thread Safe for concurrent calls. @reentrancy Does not invoke callbacks.
◆ size()
|
pure virtualnoexcept |
Total stable byte length of the archive. @thread Safe for concurrent reads.
该类的文档由以下文件生成:
- src/modules/procgen/heightmap/TerrainAsset.h