Compile-time geometry parameters and output sentinels shared by the CPU and CUDA VoxelBlockManager decode structs.
More...
#include <nanovdb/tools/VoxelBlockManager.h>
|
| static constexpr int | BlockWidth = 1 << Log2BlockWidth |
| static constexpr int | JumpMapLength = BlockWidth / 64 |
| | number of uint64_t words per block in the jumpMap
|
| static constexpr uint32_t | UnusedLeafIndex = ~uint32_t{0} |
| | Sentinel written to leafIndex slots with no active voxel in this block.
|
| static constexpr uint16_t | UnusedVoxelOffset = ~uint16_t{0} |
| | Sentinel written to voxelOffset slots with no active voxel in this block.
|
template<int Log2BlockWidth>
struct nanovdb::tools::VoxelBlockManagerBase< Log2BlockWidth >
Compile-time geometry parameters and output sentinels shared by the CPU and CUDA VoxelBlockManager decode structs.
- Template Parameters
-
| Log2BlockWidth | Log2 of the number of active voxels per VBM block |
◆ BlockWidth
template<int Log2BlockWidth>
| int BlockWidth = 1 << Log2BlockWidth |
|
staticconstexpr |
◆ JumpMapLength
template<int Log2BlockWidth>
number of uint64_t words per block in the jumpMap
◆ UnusedLeafIndex
template<int Log2BlockWidth>
| uint32_t UnusedLeafIndex = ~uint32_t{0} |
|
staticconstexpr |
Sentinel written to leafIndex slots with no active voxel in this block.
◆ UnusedVoxelOffset
template<int Log2BlockWidth>
| uint16_t UnusedVoxelOffset = ~uint16_t{0} |
|
staticconstexpr |
Sentinel written to voxelOffset slots with no active voxel in this block.