|
Toast Engine
|
#include "frustum.hpp"#include <algorithm>#include <cstdint>#include <functional>#include <glm/glm.hpp>#include <iterator>#include <memory>#include <optional>#include <span>#include <toast/voxel/voxel_volume.hpp>#include <vector>

Go to the source code of this file.
Classes | |
| struct | renderer::VoxelRegion |
| A box that changed in the voxel space of one volume. More... | |
| class | renderer::VoxelChangeHistory |
| Regions each published voxel storage brought oldest first. More... | |
| struct | renderer::VoxelChangeHistory::Entry |
| struct | renderer::TrackedVolume |
| struct | renderer::VolumeDelta |
| What one volume changed since the observe before. More... | |
| class | renderer::VoxelChangeTracker |
| Finds what changed in each volume between packs and keeps it until a storage carrying it is published. More... | |
| struct | renderer::VoxelCaster |
Typedefs | |
| using | renderer::PublishedDims = std::function<std::optional<glm::uvec3>(uint64_t)> |
| Brick dims of a volume in the storage frames use or nullopt when it is not in there. | |
Functions | |
| auto | renderer::regionsReach (const VoxelChangeHistory &history, uint64_t generation, std::span< const VoxelCaster > casters, std::span< const FrustumPlanes > views) -> bool |
True when a region published after generation reaches one of the views or when that generation is gone. | |