|
tess 1.0.0
Performance-first tile and path simulation substrate
|
#include <tess/storage/residency.h>
Public Attributes | |
| ChunkKey | key {} |
| ResidencyGeneration | generation {} |
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; rematerializing the same key receives a newer generation and does not make an old handle valid again. Handles are not transferable between worlds.