|
Toast Engine
|
Finds what changed in each volume between packs and keeps it until a storage carrying it is published. More...
#include <voxel_change_history.hpp>
Public Member Functions | |
| void | observe (std::span< const TrackedVolume > volumes, const PublishedDims &published_dims, std::vector< VolumeDelta > *deltas=nullptr) |
| Call with the voxel lock held since it reads and then discards the dirty bricks of every volume. | |
| auto | packed (uint64_t generation) -> VoxelChangeHistory |
| void | published () |
| The storage from the last packed() is now the one frames use. | |
| void | reset () |
Finds what changed in each volume between packs and keeps it until a storage carrying it is published.
| auto renderer::VoxelChangeTracker::packed | ( | uint64_t | generation | ) | -> VoxelChangeHistory |