|
tess 0.4.0
Performance-first tile and path simulation substrate
|
#include <tess/storage/residency.h>
Public Attributes | |
| ChunkKey | key {} |
| std::uint64_t | generation = 0 |
Friends | |
| constexpr bool | operator== (ResidencyHandle lhs, ResidencyHandle rhs) noexcept=default |
Generation-stamped identity for one residency interval of a chunk.
This is a value token, not an owning reference. Validate it against the originating world with World::valid() before use. Eviction invalidates the handle; reloading the same key receives a newer generation and does not make an old handle valid again. Handles are not transferable between worlds.