tess
1.0.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
#include <tess/storage/metadata_types.h>
5
6
#include <cstddef>
7
#include <cstdint>
8
9
namespace
tess {
10
18
struct
SparseResident
{};
19
21
struct
ResidencyConfig
{
28
std::size_t
byte_budget
= 0;
29
};
30
40
struct
ResidencyHandle
{
41
ChunkKey
key{};
42
ResidencyGeneration
generation{};
43
44
friend
constexpr
bool
operator==(
ResidencyHandle
lhs,
45
ResidencyHandle
rhs)
noexcept
=
default
;
46
};
47
48
}
// namespace tess
tess::ChunkKey
Definition
shape.h:86
tess::ResidencyConfig
Definition
residency.h:21
tess::ResidencyConfig::byte_budget
std::size_t byte_budget
Definition
residency.h:28
tess::ResidencyGeneration
Definition
metadata_types.h:118
tess::ResidencyHandle
Definition
residency.h:40
tess::SparseResident
Definition
residency.h:18
include
tess
storage
residency.h
Generated by
1.17.0