Toast Engine
Loading...
Searching...
No Matches
renderer::VoxelGpuSections Class Reference

Section buffers shared by every version patched in place since the last full upload. More...

Public Member Functions

auto queuePatch (const VulkanCore &core, const voxel::gpu::ScenePatch &patch) -> std::optional< uint64_t >
void recordPending (vk::CommandBuffer cmd, uint64_t up_to, std::vector< std::shared_ptr< void > > &retired)

Public Attributes

std::array< std::optional< vma::raii::Buffer >, VoxelGpuStorage::k_section_count > buffers
std::array< vk::DeviceSize, VoxelGpuStorage::k_section_count > sizes {}
uint32_t slot_capacity = 0

Detailed Description

Section buffers shared by every version patched in place since the last full upload.


The documentation for this class was generated from the following file:
  • engine/src/toast/renderer/voxel_gpu_storage.cpp