struct VoxelEntry
Overview
Internal per-voxel bookkeeping. The point indices themselves live in one contiguous array shared by all voxels (see Impl::indices), so that adding a voxel does not require a heap allocation of its own.
struct VoxelEntry { // fields std::uint32_t offset = 0; std::uint32_t filled = 0; std::uint32_t count = 0; };
Fields
std::uint32_t offset = 0
Where this voxel’s run starts within the flat index array.
std::uint32_t filled = 0
How many indices of the run are already written.
std::uint32_t count = 0
Final length of the run, once the ongoing pass finishes.