tess
0.4.0
Performance-first tile and path simulation substrate
Toggle main menu visibility
Loading...
Searching...
No Matches
residency.h
1
#pragma once
2
3
#include <tess/core/shape.h>
4
5
#include <cstddef>
6
#include <cstdint>
7
8
namespace
tess {
9
17
struct
SparseResident
{};
18
20
struct
ResidencyConfig
{
27
std::size_t
byte_budget
= 0;
28
};
29
38
struct
ResidencyHandle
{
39
ChunkKey
key{};
40
std::uint64_t generation = 0;
41
42
friend
constexpr
bool
operator==(
ResidencyHandle
lhs,
43
ResidencyHandle
rhs)
noexcept
=
default
;
44
};
45
46
}
// namespace tess
tess::ChunkKey
Definition
shape.h:67
tess::ResidencyConfig
Definition
residency.h:20
tess::ResidencyConfig::byte_budget
std::size_t byte_budget
Definition
residency.h:27
tess::ResidencyHandle
Definition
residency.h:38
tess::SparseResident
Definition
residency.h:17
include
tess
storage
residency.h
Generated by
1.17.0