|
Toast Engine
|
Records stay in place so a removed volume leaves a dead record and a new one is appended. More...
#include <voxel_scene_patcher.hpp>
Classes | |
| struct | Patched |
Public Member Functions | |
| void | adopt (const voxel::gpu::PackedScene &scene, uint32_t pool_slots, std::vector< uint64_t > node_rids) |
| A full pack is what the GPU will hold so later patches build on it. | |
| auto | tryPatch (const voxel::BrickPool &pool, std::span< const voxel::gpu::SceneVolume > volumes, std::span< const uint64_t > node_rids, std::span< const VolumeDelta > deltas) -> std::optional< Patched > |
| void | reset () |
| auto | valid () const noexcept -> bool |
| auto | scene () const noexcept -> const voxel::gpu::PackedScene & |
| auto | poolSlots () const noexcept -> uint32_t |
Records stay in place so a removed volume leaves a dead record and a new one is appended.
|
nodiscard |