OpenVDB: nanovdb/PNanoVDB.h File Reference

OpenVDB 10.0.1

Classes | Macros | Functions | Variables
PNanoVDB.h File Reference

This file is a portable (e.g. pointer-less) C99/GLSL/HLSL port of NanoVDB.h, which is compatible with most graphics APIs. More...

Go to the source code of this file.

## Classes
struct | pnanovdb_map_t
struct | pnanovdb_map_handle_t
struct | pnanovdb_grid_t
struct | pnanovdb_grid_handle_t
struct | pnanovdb_gridblindmetadata_t
struct | pnanovdb_gridblindmetadata_handle_t
struct | pnanovdb_tree_t
struct | pnanovdb_tree_handle_t
struct | pnanovdb_root_t
struct | pnanovdb_root_handle_t
struct | pnanovdb_root_tile_t
struct | pnanovdb_root_tile_handle_t
struct | pnanovdb_upper_t
struct | pnanovdb_upper_handle_t
struct | pnanovdb_lower_t
struct | pnanovdb_lower_handle_t
struct | pnanovdb_leaf_t
struct | pnanovdb_leaf_handle_t
struct | pnanovdb_grid_type_constants_t
struct | pnanovdb_readaccessor_t

## Macros
#define | PNANOVDB_MAGIC_NUMBER 0x304244566f6e614eUL
#define | PNANOVDB_MAJOR_VERSION_NUMBER 32
#define | PNANOVDB_MINOR_VERSION_NUMBER 4
#define | PNANOVDB_PATCH_VERSION_NUMBER 2
#define | PNANOVDB_GRID_TYPE_UNKNOWN 0
#define | PNANOVDB_GRID_TYPE_FLOAT 1
#define | PNANOVDB_GRID_TYPE_DOUBLE 2
#define | PNANOVDB_GRID_TYPE_INT16 3
#define | PNANOVDB_GRID_TYPE_INT32 4
#define | PNANOVDB_GRID_TYPE_INT64 5
#define | PNANOVDB_GRID_TYPE_VEC3F 6
#define | PNANOVDB_GRID_TYPE_VEC3D 7
#define | PNANOVDB_GRID_TYPE_MASK 8
#define | PNANOVDB_GRID_TYPE_HALF 9
#define | PNANOVDB_GRID_TYPE_UINT32 10
#define | PNANOVDB_GRID_TYPE_BOOLEAN 11
#define | PNANOVDB_GRID_TYPE_RGBA8 12
#define | PNANOVDB_GRID_TYPE_FP4 13
#define | PNANOVDB_GRID_TYPE_FP8 14
#define | PNANOVDB_GRID_TYPE_FP16 15
#define | PNANOVDB_GRID_TYPE_FPN 16
#define | PNANOVDB_GRID_TYPE_VEC4F 17
#define | PNANOVDB_GRID_TYPE_VEC4D 18
#define | PNANOVDB_GRID_TYPE_INDEX 19
#define | PNANOVDB_GRID_TYPE_END 20
#define | PNANOVDB_GRID_CLASS_UNKNOWN 0
#define | PNANOVDB_GRID_CLASS_LEVEL_SET 1
#define | PNANOVDB_GRID_CLASS_FOG_VOLUME 2
#define | PNANOVDB_GRID_CLASS_STAGGERED 3
#define | PNANOVDB_GRID_CLASS_POINT_INDEX 4
#define | PNANOVDB_GRID_CLASS_POINT_DATA 5
#define | PNANOVDB_GRID_CLASS_TOPOLOGY 6
#define | PNANOVDB_GRID_CLASS_VOXEL_VOLUME 7
#define | PNANOVDB_GRID_CLASS_INDEX_GRID 8
#define | PNANOVDB_GRID_CLASS_END 9
#define | PNANOVDB_GRID_FLAGS_HAS_LONG_GRID_NAME (1 << 0)
#define | PNANOVDB_GRID_FLAGS_HAS_BBOX (1 << 1)
#define | PNANOVDB_GRID_FLAGS_HAS_MIN_MAX (1 << 2)
#define | PNANOVDB_GRID_FLAGS_HAS_AVERAGE (1 << 3)
#define | PNANOVDB_GRID_FLAGS_HAS_STD_DEVIATION (1 << 4)
#define | PNANOVDB_GRID_FLAGS_IS_BREADTH_FIRST (1 << 5)
#define | PNANOVDB_GRID_FLAGS_END (1 << 6)
#define | PNANOVDB_LEAF_TYPE_DEFAULT 0
#define | PNANOVDB_LEAF_TYPE_LITE 1
#define | PNANOVDB_LEAF_TYPE_FP 2
#define | PNANOVDB_LEAF_TYPE_INDEX 3
#define | PNANOVDB_MAP_SIZE 264
#define | PNANOVDB_MAP_OFF_MATF 0
#define | PNANOVDB_MAP_OFF_INVMATF 36
#define | PNANOVDB_MAP_OFF_VECF 72
#define | PNANOVDB_MAP_OFF_TAPERF 84
#define | PNANOVDB_MAP_OFF_MATD 88
#define | PNANOVDB_MAP_OFF_INVMATD 160
#define | PNANOVDB_MAP_OFF_VECD 232
#define | PNANOVDB_MAP_OFF_TAPERD 256
#define | PNANOVDB_GRID_SIZE 672
#define | PNANOVDB_GRID_OFF_MAGIC 0
#define | PNANOVDB_GRID_OFF_CHECKSUM 8
#define | PNANOVDB_GRID_OFF_VERSION 16
#define | PNANOVDB_GRID_OFF_FLAGS 20
#define | PNANOVDB_GRID_OFF_GRID_INDEX 24
#define | PNANOVDB_GRID_OFF_GRID_COUNT 28
#define | PNANOVDB_GRID_OFF_GRID_SIZE 32
#define | PNANOVDB_GRID_OFF_GRID_NAME 40
#define | PNANOVDB_GRID_OFF_MAP 296
#define | PNANOVDB_GRID_OFF_WORLD_BBOX 560
#define | PNANOVDB_GRID_OFF_VOXEL_SIZE 608
#define | PNANOVDB_GRID_OFF_GRID_CLASS 632
#define | PNANOVDB_GRID_OFF_GRID_TYPE 636
#define | PNANOVDB_GRID_OFF_BLIND_METADATA_OFFSET 640
#define | PNANOVDB_GRID_OFF_BLIND_METADATA_COUNT 648
#define | PNANOVDB_GRIDBLINDMETADATA_SIZE 288
#define | PNANOVDB_GRIDBLINDMETADATA_OFF_BYTE_OFFSET 0
#define | PNANOVDB_GRIDBLINDMETADATA_OFF_ELEMENT_COUNT 8
#define | PNANOVDB_GRIDBLINDMETADATA_OFF_FLAGS 16
#define | PNANOVDB_GRIDBLINDMETADATA_OFF_SEMANTIC 20
#define | PNANOVDB_GRIDBLINDMETADATA_OFF_DATA_CLASS 24
#define | PNANOVDB_GRIDBLINDMETADATA_OFF_DATA_TYPE 28
#define | PNANOVDB_GRIDBLINDMETADATA_OFF_NAME 32
#define | PNANOVDB_TREE_SIZE 64
#define | PNANOVDB_TREE_OFF_NODE_OFFSET_LEAF 0
#define | PNANOVDB_TREE_OFF_NODE_OFFSET_LOWER 8
#define | PNANOVDB_TREE_OFF_NODE_OFFSET_UPPER 16
#define | PNANOVDB_TREE_OFF_NODE_OFFSET_ROOT 24
#define | PNANOVDB_TREE_OFF_NODE_COUNT_LEAF 32
#define | PNANOVDB_TREE_OFF_NODE_COUNT_LOWER 36
#define | PNANOVDB_TREE_OFF_NODE_COUNT_UPPER 40
#define | PNANOVDB_TREE_OFF_TILE_COUNT_LEAF 44
#define | PNANOVDB_TREE_OFF_TILE_COUNT_LOWER 48
#define | PNANOVDB_TREE_OFF_TILE_COUNT_UPPER 52
#define | PNANOVDB_TREE_OFF_VOXEL_COUNT 56
#define | PNANOVDB_ROOT_BASE_SIZE 28
#define | PNANOVDB_ROOT_OFF_BBOX_MIN 0
#define | PNANOVDB_ROOT_OFF_BBOX_MAX 12
#define | PNANOVDB_ROOT_OFF_TABLE_SIZE 24
#define | PNANOVDB_ROOT_TILE_BASE_SIZE 20
#define | PNANOVDB_ROOT_TILE_OFF_KEY 0
#define | PNANOVDB_ROOT_TILE_OFF_CHILD 8
#define | PNANOVDB_ROOT_TILE_OFF_STATE 16
#define | PNANOVDB_UPPER_TABLE_COUNT 32768
#define | PNANOVDB_UPPER_BASE_SIZE 8224
#define | PNANOVDB_UPPER_OFF_BBOX_MIN 0
#define | PNANOVDB_UPPER_OFF_BBOX_MAX 12
#define | PNANOVDB_UPPER_OFF_FLAGS 24
#define | PNANOVDB_UPPER_OFF_VALUE_MASK 32
#define | PNANOVDB_UPPER_OFF_CHILD_MASK 4128
#define | PNANOVDB_LOWER_TABLE_COUNT 4096
#define | PNANOVDB_LOWER_BASE_SIZE 1056
#define | PNANOVDB_LOWER_OFF_BBOX_MIN 0
#define | PNANOVDB_LOWER_OFF_BBOX_MAX 12
#define | PNANOVDB_LOWER_OFF_FLAGS 24
#define | PNANOVDB_LOWER_OFF_VALUE_MASK 32
#define | PNANOVDB_LOWER_OFF_CHILD_MASK 544
#define | PNANOVDB_LEAF_TABLE_COUNT 512
#define | PNANOVDB_LEAF_BASE_SIZE 80
#define | PNANOVDB_LEAF_OFF_BBOX_MIN 0
#define | PNANOVDB_LEAF_OFF_BBOX_DIF_AND_FLAGS 12
#define | PNANOVDB_LEAF_OFF_VALUE_MASK 16
#define | PNANOVDB_LEAF_TABLE_NEG_OFF_BBOX_DIF_AND_FLAGS 84
#define | PNANOVDB_LEAF_TABLE_NEG_OFF_MINIMUM 16
#define | PNANOVDB_LEAF_TABLE_NEG_OFF_QUANTUM 12

## Functions
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_read_uint32 (pnanovdb_buf_t buf, pnanovdb_address_t address)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_read_uint64 (pnanovdb_buf_t buf, pnanovdb_address_t address)
PNANOVDB_FORCE_INLINE pnanovdb_int32_t | pnanovdb_read_int32 (pnanovdb_buf_t buf, pnanovdb_address_t address)
PNANOVDB_FORCE_INLINE float | pnanovdb_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address)
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_read_int64 (pnanovdb_buf_t buf, pnanovdb_address_t address)
PNANOVDB_FORCE_INLINE double | pnanovdb_read_double (pnanovdb_buf_t buf, pnanovdb_address_t address)
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_read_coord (pnanovdb_buf_t buf, pnanovdb_address_t address)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_read_bit (pnanovdb_buf_t buf, pnanovdb_address_t address, pnanovdb_uint32_t bit_offset)
PNANOVDB_FORCE_INLINE float | pnanovdb_map_get_matf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE float | pnanovdb_map_get_invmatf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE float | pnanovdb_map_get_vecf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE float | pnanovdb_map_get_taperf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE double | pnanovdb_map_get_matd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE double | pnanovdb_map_get_invmatd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE double | pnanovdb_map_get_vecd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE double | pnanovdb_map_get_taperd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_grid_get_magic (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_grid_get_checksum (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_version (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_flags (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_grid_index (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_grid_count (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_grid_get_grid_size (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_grid_name (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE pnanovdb_map_handle_t | pnanovdb_grid_get_map (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE double | pnanovdb_grid_get_world_bbox (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE double | pnanovdb_grid_get_voxel_size (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_grid_class (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_grid_type (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_grid_get_blind_metadata_offset (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_blind_metadata_count (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_version_get_major (pnanovdb_uint32_t version)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_version_get_minor (pnanovdb_uint32_t version)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_version_get_patch (pnanovdb_uint32_t version)
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_gridblindmetadata_get_byte_offset (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_gridblindmetadata_get_element_count (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_gridblindmetadata_get_flags (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_gridblindmetadata_get_semantic (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_gridblindmetadata_get_data_class (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_gridblindmetadata_get_data_type (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_gridblindmetadata_get_name (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_tree_get_node_offset_leaf (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_tree_get_node_offset_lower (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_tree_get_node_offset_upper (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_tree_get_node_offset_root (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_node_count_leaf (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_node_count_lower (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_node_count_upper (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_tile_count_leaf (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_tile_count_lower (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_tile_count_upper (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_tree_get_voxel_count (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_root_get_bbox_min (pnanovdb_buf_t buf, pnanovdb_root_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_root_get_bbox_max (pnanovdb_buf_t buf, pnanovdb_root_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_root_get_tile_count (pnanovdb_buf_t buf, pnanovdb_root_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_root_tile_get_key (pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_root_tile_get_child (pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_root_tile_get_state (pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_upper_get_bbox_min (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_upper_get_bbox_max (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_upper_get_flags (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_upper_get_value_mask (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p, pnanovdb_uint32_t bit_index)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_upper_get_child_mask (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p, pnanovdb_uint32_t bit_index)
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_lower_get_bbox_min (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_lower_get_bbox_max (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_lower_get_flags (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_lower_get_value_mask (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p, pnanovdb_uint32_t bit_index)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_lower_get_child_mask (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p, pnanovdb_uint32_t bit_index)
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_leaf_get_bbox_min (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_leaf_get_bbox_dif_and_flags (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t p)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_leaf_get_value_mask (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t p, pnanovdb_uint32_t bit_index)
PNANOVDB_FORCE_INLINE pnanovdb_gridblindmetadata_handle_t | pnanovdb_grid_get_gridblindmetadata (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanodvb_grid_get_gridblindmetadata_value_address (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, pnanovdb_uint32_t index)
PNANOVDB_FORCE_INLINE pnanovdb_tree_handle_t | pnanovdb_grid_get_tree (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid)
PNANOVDB_FORCE_INLINE pnanovdb_root_handle_t | pnanovdb_tree_get_root (pnanovdb_buf_t buf, pnanovdb_tree_handle_t tree)
PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t | pnanovdb_root_get_tile (pnanovdb_grid_type_t grid_type, pnanovdb_root_handle_t root, pnanovdb_uint32_t n)
PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t | pnanovdb_root_get_tile_zero (pnanovdb_grid_type_t grid_type, pnanovdb_root_handle_t root)
PNANOVDB_FORCE_INLINE pnanovdb_upper_handle_t | pnanovdb_root_get_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, pnanovdb_root_tile_handle_t tile)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_coord_to_key (PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t | pnanovdb_root_find_tile (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_leaf_coord_to_offset (PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_min_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_max_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_ave_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_stddev_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_table_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t node, pnanovdb_uint32_t n)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE float | pnanovdb_leaf_fp_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t value_log_bits)
PNANOVDB_FORCE_INLINE float | pnanovdb_leaf_fp4_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE float | pnanovdb_leaf_fp8_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE float | pnanovdb_leaf_fp16_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE float | pnanovdb_leaf_fpn_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_uint32_countbits (pnanovdb_uint32_t value)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_leaf_count_on_range (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t p, pnanovdb_uint32_t max_index)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_uint64_offset (pnanovdb_uint64_t a, pnanovdb_uint32_t b)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_index_get_min_index (pnanovdb_buf_t buf, pnanovdb_address_t min_address)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_index_get_max_index (pnanovdb_buf_t buf, pnanovdb_address_t max_address)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_index_get_ave_index (pnanovdb_buf_t buf, pnanovdb_address_t ave_address)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_index_get_dev_index (pnanovdb_buf_t buf, pnanovdb_address_t dev_address)
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_index_get_value_index (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_lower_coord_to_offset (PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_min_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_max_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_ave_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_stddev_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_table_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node, pnanovdb_uint32_t n)
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_lower_get_table_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node, pnanovdb_uint32_t n)
PNANOVDB_FORCE_INLINE pnanovdb_leaf_handle_t | pnanovdb_lower_get_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, pnanovdb_uint32_t n)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_value_address_and_level (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) level)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_upper_coord_to_offset (PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_min_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_max_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_ave_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_stddev_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_table_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node, pnanovdb_uint32_t n)
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_upper_get_table_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node, pnanovdb_uint32_t n)
PNANOVDB_FORCE_INLINE pnanovdb_lower_handle_t | pnanovdb_upper_get_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, pnanovdb_uint32_t n)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_value_address_and_level (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) level)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_min_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_max_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_ave_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_stddev_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_tile_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t root_tile)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_value_address_and_level (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) level)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_value_address_bit (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) bit_index)
PNANOVDB_FORCE_INLINE float | pnanovdb_root_fp4_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level)
PNANOVDB_FORCE_INLINE float | pnanovdb_root_fp8_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level)
PNANOVDB_FORCE_INLINE float | pnanovdb_root_fp16_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level)
PNANOVDB_FORCE_INLINE float | pnanovdb_root_fpn_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level)
PNANOVDB_FORCE_INLINE void | pnanovdb_readaccessor_init (PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, pnanovdb_root_handle_t root)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_readaccessor_iscached0 (PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, int dirty)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_readaccessor_iscached1 (PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, int dirty)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_readaccessor_iscached2 (PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, int dirty)
PNANOVDB_FORCE_INLINE int | pnanovdb_readaccessor_computedirty (PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_value_address_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_value_address_and_level_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_INOUT(pnanovdb_uint32_t) level)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_value_address_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_value_address_and_level_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_INOUT(pnanovdb_uint32_t) level)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_value_address_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_value_address_and_level_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_INOUT(pnanovdb_uint32_t) level)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_value_address_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_readaccessor_get_value_address_and_level (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) level)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_readaccessor_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_readaccessor_get_value_address_bit (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) bit_index)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_leaf_get_dim_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_lower_get_dim_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_upper_get_dim_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_root_get_dim_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_readaccessor_get_dim (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_leaf_is_active_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_lower_is_active_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_upper_is_active_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_root_is_active_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc)
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_readaccessor_is_active (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk)
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_map_apply (pnanovdb_buf_t buf, pnanovdb_map_handle_t map, PNANOVDB_IN(pnanovdb_vec3_t) src)
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_map_apply_inverse (pnanovdb_buf_t buf, pnanovdb_map_handle_t map, PNANOVDB_IN(pnanovdb_vec3_t) src)
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_map_apply_jacobi (pnanovdb_buf_t buf, pnanovdb_map_handle_t map, PNANOVDB_IN(pnanovdb_vec3_t) src)
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_map_apply_inverse_jacobi (pnanovdb_buf_t buf, pnanovdb_map_handle_t map, PNANOVDB_IN(pnanovdb_vec3_t) src)
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_grid_world_to_indexf (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, PNANOVDB_IN(pnanovdb_vec3_t) src)
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_grid_index_to_worldf (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, PNANOVDB_IN(pnanovdb_vec3_t) src)
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_grid_world_to_index_dirf (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, PNANOVDB_IN(pnanovdb_vec3_t) src)
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_grid_index_to_world_dirf (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, PNANOVDB_IN(pnanovdb_vec3_t) src)
PNANOVDB_FORCE_INLINE float | pnanovdb_dither_lookup (pnanovdb_bool_t enabled, int offset)

## Variables
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_value_strides_bits [20] = { 0, 32, 64, 16, 32, 64, 96, 192, 0, 16, 32, 1, 32, 4, 8, 16, 0, 128, 256, 0 }
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_table_strides_bits [20] = { 64, 64, 64, 64, 64, 64, 128, 192, 64, 64, 64, 64, 64, 64, 64, 64, 64, 128, 256, 64 }
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_minmax_strides_bits [20] = { 0, 32, 64, 16, 32, 64, 96, 192, 8, 16, 32, 8, 32, 32, 32, 32, 32, 128, 256, 64 }
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_minmax_aligns_bits [20] = { 0, 32, 64, 16, 32, 64, 32, 64, 8, 16, 32, 8, 32, 32, 32, 32, 32, 32, 64, 64 }
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_stat_strides_bits [20] = { 0, 32, 64, 32, 32, 64, 32, 64, 8, 32, 32, 8, 32, 32, 32, 32, 32, 32, 64, 64 }
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_leaf_type [20] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 2, 2, 2, 2, 0, 0, 3 }
PNANOVDB_STATIC_CONST pnanovdb_grid_type_constants_t | pnanovdb_grid_type_constants [20]
PNANOVDB_STATIC_CONST float | pnanovdb_dither_lut [512]

## Detailed Description

This file is a portable (e.g. pointer-less) C99/GLSL/HLSL port of NanoVDB.h, which is compatible with most graphics APIs.

Author
  Andrew Reidmeyer

## Macro Definition Documentation

## ◆ PNANOVDB_GRID_CLASS_END

#define PNANOVDB_GRID_CLASS_END 9

## ◆ PNANOVDB_GRID_CLASS_FOG_VOLUME

#define PNANOVDB_GRID_CLASS_FOG_VOLUME 2

## ◆ PNANOVDB_GRID_CLASS_INDEX_GRID

#define PNANOVDB_GRID_CLASS_INDEX_GRID 8

## ◆ PNANOVDB_GRID_CLASS_LEVEL_SET

#define PNANOVDB_GRID_CLASS_LEVEL_SET 1

## ◆ PNANOVDB_GRID_CLASS_POINT_DATA

#define PNANOVDB_GRID_CLASS_POINT_DATA 5

## ◆ PNANOVDB_GRID_CLASS_POINT_INDEX

#define PNANOVDB_GRID_CLASS_POINT_INDEX 4

## ◆ PNANOVDB_GRID_CLASS_STAGGERED

#define PNANOVDB_GRID_CLASS_STAGGERED 3

## ◆ PNANOVDB_GRID_CLASS_TOPOLOGY

#define PNANOVDB_GRID_CLASS_TOPOLOGY 6

## ◆ PNANOVDB_GRID_CLASS_UNKNOWN

#define PNANOVDB_GRID_CLASS_UNKNOWN 0

## ◆ PNANOVDB_GRID_CLASS_VOXEL_VOLUME

#define PNANOVDB_GRID_CLASS_VOXEL_VOLUME 7

## ◆ PNANOVDB_GRID_FLAGS_END

#define PNANOVDB_GRID_FLAGS_END (1 << 6)

## ◆ PNANOVDB_GRID_FLAGS_HAS_AVERAGE

#define PNANOVDB_GRID_FLAGS_HAS_AVERAGE (1 << 3)

## ◆ PNANOVDB_GRID_FLAGS_HAS_BBOX

#define PNANOVDB_GRID_FLAGS_HAS_BBOX (1 << 1)

## ◆ PNANOVDB_GRID_FLAGS_HAS_LONG_GRID_NAME

#define PNANOVDB_GRID_FLAGS_HAS_LONG_GRID_NAME (1 << 0)

## ◆ PNANOVDB_GRID_FLAGS_HAS_MIN_MAX

#define PNANOVDB_GRID_FLAGS_HAS_MIN_MAX (1 << 2)

## ◆ PNANOVDB_GRID_FLAGS_HAS_STD_DEVIATION

#define PNANOVDB_GRID_FLAGS_HAS_STD_DEVIATION (1 << 4)

## ◆ PNANOVDB_GRID_FLAGS_IS_BREADTH_FIRST

#define PNANOVDB_GRID_FLAGS_IS_BREADTH_FIRST (1 << 5)

## ◆ PNANOVDB_GRID_OFF_BLIND_METADATA_COUNT

#define PNANOVDB_GRID_OFF_BLIND_METADATA_COUNT 648

## ◆ PNANOVDB_GRID_OFF_BLIND_METADATA_OFFSET

#define PNANOVDB_GRID_OFF_BLIND_METADATA_OFFSET 640

## ◆ PNANOVDB_GRID_OFF_CHECKSUM

#define PNANOVDB_GRID_OFF_CHECKSUM 8

## ◆ PNANOVDB_GRID_OFF_FLAGS

#define PNANOVDB_GRID_OFF_FLAGS 20

## ◆ PNANOVDB_GRID_OFF_GRID_CLASS

#define PNANOVDB_GRID_OFF_GRID_CLASS 632

## ◆ PNANOVDB_GRID_OFF_GRID_COUNT

#define PNANOVDB_GRID_OFF_GRID_COUNT 28

## ◆ PNANOVDB_GRID_OFF_GRID_INDEX

#define PNANOVDB_GRID_OFF_GRID_INDEX 24

## ◆ PNANOVDB_GRID_OFF_GRID_NAME

#define PNANOVDB_GRID_OFF_GRID_NAME 40

## ◆ PNANOVDB_GRID_OFF_GRID_SIZE

#define PNANOVDB_GRID_OFF_GRID_SIZE 32

## ◆ PNANOVDB_GRID_OFF_GRID_TYPE

#define PNANOVDB_GRID_OFF_GRID_TYPE 636

## ◆ PNANOVDB_GRID_OFF_MAGIC

#define PNANOVDB_GRID_OFF_MAGIC 0

## ◆ PNANOVDB_GRID_OFF_MAP

#define PNANOVDB_GRID_OFF_MAP 296

## ◆ PNANOVDB_GRID_OFF_VERSION

#define PNANOVDB_GRID_OFF_VERSION 16

## ◆ PNANOVDB_GRID_OFF_VOXEL_SIZE

#define PNANOVDB_GRID_OFF_VOXEL_SIZE 608

## ◆ PNANOVDB_GRID_OFF_WORLD_BBOX

#define PNANOVDB_GRID_OFF_WORLD_BBOX 560

## ◆ PNANOVDB_GRID_SIZE

#define PNANOVDB_GRID_SIZE 672

## ◆ PNANOVDB_GRID_TYPE_BOOLEAN

#define PNANOVDB_GRID_TYPE_BOOLEAN 11

## ◆ PNANOVDB_GRID_TYPE_DOUBLE

#define PNANOVDB_GRID_TYPE_DOUBLE 2

## ◆ PNANOVDB_GRID_TYPE_END

#define PNANOVDB_GRID_TYPE_END 20

## ◆ PNANOVDB_GRID_TYPE_FLOAT

#define PNANOVDB_GRID_TYPE_FLOAT 1

## ◆ PNANOVDB_GRID_TYPE_FP16

#define PNANOVDB_GRID_TYPE_FP16 15

## ◆ PNANOVDB_GRID_TYPE_FP4

#define PNANOVDB_GRID_TYPE_FP4 13

## ◆ PNANOVDB_GRID_TYPE_FP8

#define PNANOVDB_GRID_TYPE_FP8 14

## ◆ PNANOVDB_GRID_TYPE_FPN

#define PNANOVDB_GRID_TYPE_FPN 16

## ◆ PNANOVDB_GRID_TYPE_HALF

#define PNANOVDB_GRID_TYPE_HALF 9

## ◆ PNANOVDB_GRID_TYPE_INDEX

#define PNANOVDB_GRID_TYPE_INDEX 19

## ◆ PNANOVDB_GRID_TYPE_INT16

#define PNANOVDB_GRID_TYPE_INT16 3

## ◆ PNANOVDB_GRID_TYPE_INT32

#define PNANOVDB_GRID_TYPE_INT32 4

## ◆ PNANOVDB_GRID_TYPE_INT64

#define PNANOVDB_GRID_TYPE_INT64 5

## ◆ PNANOVDB_GRID_TYPE_MASK

#define PNANOVDB_GRID_TYPE_MASK 8

## ◆ PNANOVDB_GRID_TYPE_RGBA8

#define PNANOVDB_GRID_TYPE_RGBA8 12

## ◆ PNANOVDB_GRID_TYPE_UINT32

#define PNANOVDB_GRID_TYPE_UINT32 10

## ◆ PNANOVDB_GRID_TYPE_UNKNOWN

#define PNANOVDB_GRID_TYPE_UNKNOWN 0

## ◆ PNANOVDB_GRID_TYPE_VEC3D

#define PNANOVDB_GRID_TYPE_VEC3D 7

## ◆ PNANOVDB_GRID_TYPE_VEC3F

#define PNANOVDB_GRID_TYPE_VEC3F 6

## ◆ PNANOVDB_GRID_TYPE_VEC4D

#define PNANOVDB_GRID_TYPE_VEC4D 18

## ◆ PNANOVDB_GRID_TYPE_VEC4F

#define PNANOVDB_GRID_TYPE_VEC4F 17

## ◆ PNANOVDB_GRIDBLINDMETADATA_OFF_BYTE_OFFSET

#define PNANOVDB_GRIDBLINDMETADATA_OFF_BYTE_OFFSET 0

## ◆ PNANOVDB_GRIDBLINDMETADATA_OFF_DATA_CLASS

#define PNANOVDB_GRIDBLINDMETADATA_OFF_DATA_CLASS 24

## ◆ PNANOVDB_GRIDBLINDMETADATA_OFF_DATA_TYPE

#define PNANOVDB_GRIDBLINDMETADATA_OFF_DATA_TYPE 28

## ◆ PNANOVDB_GRIDBLINDMETADATA_OFF_ELEMENT_COUNT

#define PNANOVDB_GRIDBLINDMETADATA_OFF_ELEMENT_COUNT 8

## ◆ PNANOVDB_GRIDBLINDMETADATA_OFF_FLAGS

#define PNANOVDB_GRIDBLINDMETADATA_OFF_FLAGS 16

## ◆ PNANOVDB_GRIDBLINDMETADATA_OFF_NAME

#define PNANOVDB_GRIDBLINDMETADATA_OFF_NAME 32

## ◆ PNANOVDB_GRIDBLINDMETADATA_OFF_SEMANTIC

#define PNANOVDB_GRIDBLINDMETADATA_OFF_SEMANTIC 20

## ◆ PNANOVDB_GRIDBLINDMETADATA_SIZE

#define PNANOVDB_GRIDBLINDMETADATA_SIZE 288

## ◆ PNANOVDB_LEAF_BASE_SIZE

#define PNANOVDB_LEAF_BASE_SIZE 80

## ◆ PNANOVDB_LEAF_OFF_BBOX_DIF_AND_FLAGS

#define PNANOVDB_LEAF_OFF_BBOX_DIF_AND_FLAGS 12

## ◆ PNANOVDB_LEAF_OFF_BBOX_MIN

#define PNANOVDB_LEAF_OFF_BBOX_MIN 0

## ◆ PNANOVDB_LEAF_OFF_VALUE_MASK

#define PNANOVDB_LEAF_OFF_VALUE_MASK 16

## ◆ PNANOVDB_LEAF_TABLE_COUNT

#define PNANOVDB_LEAF_TABLE_COUNT 512

## ◆ PNANOVDB_LEAF_TABLE_NEG_OFF_BBOX_DIF_AND_FLAGS

#define PNANOVDB_LEAF_TABLE_NEG_OFF_BBOX_DIF_AND_FLAGS 84

## ◆ PNANOVDB_LEAF_TABLE_NEG_OFF_MINIMUM

#define PNANOVDB_LEAF_TABLE_NEG_OFF_MINIMUM 16

## ◆ PNANOVDB_LEAF_TABLE_NEG_OFF_QUANTUM

#define PNANOVDB_LEAF_TABLE_NEG_OFF_QUANTUM 12

## ◆ PNANOVDB_LEAF_TYPE_DEFAULT

#define PNANOVDB_LEAF_TYPE_DEFAULT 0

## ◆ PNANOVDB_LEAF_TYPE_FP

#define PNANOVDB_LEAF_TYPE_FP 2

## ◆ PNANOVDB_LEAF_TYPE_INDEX

#define PNANOVDB_LEAF_TYPE_INDEX 3

## ◆ PNANOVDB_LEAF_TYPE_LITE

#define PNANOVDB_LEAF_TYPE_LITE 1

## ◆ PNANOVDB_LOWER_BASE_SIZE

#define PNANOVDB_LOWER_BASE_SIZE 1056

## ◆ PNANOVDB_LOWER_OFF_BBOX_MAX

#define PNANOVDB_LOWER_OFF_BBOX_MAX 12

## ◆ PNANOVDB_LOWER_OFF_BBOX_MIN

#define PNANOVDB_LOWER_OFF_BBOX_MIN 0

## ◆ PNANOVDB_LOWER_OFF_CHILD_MASK

#define PNANOVDB_LOWER_OFF_CHILD_MASK 544

## ◆ PNANOVDB_LOWER_OFF_FLAGS

#define PNANOVDB_LOWER_OFF_FLAGS 24

## ◆ PNANOVDB_LOWER_OFF_VALUE_MASK

#define PNANOVDB_LOWER_OFF_VALUE_MASK 32

## ◆ PNANOVDB_LOWER_TABLE_COUNT

#define PNANOVDB_LOWER_TABLE_COUNT 4096

## ◆ PNANOVDB_MAGIC_NUMBER

#define PNANOVDB_MAGIC_NUMBER 0x304244566f6e614eUL

## ◆ PNANOVDB_MAJOR_VERSION_NUMBER

#define PNANOVDB_MAJOR_VERSION_NUMBER 32

## ◆ PNANOVDB_MAP_OFF_INVMATD

#define PNANOVDB_MAP_OFF_INVMATD 160

## ◆ PNANOVDB_MAP_OFF_INVMATF

#define PNANOVDB_MAP_OFF_INVMATF 36

## ◆ PNANOVDB_MAP_OFF_MATD

#define PNANOVDB_MAP_OFF_MATD 88

## ◆ PNANOVDB_MAP_OFF_MATF

#define PNANOVDB_MAP_OFF_MATF 0

## ◆ PNANOVDB_MAP_OFF_TAPERD

#define PNANOVDB_MAP_OFF_TAPERD 256

## ◆ PNANOVDB_MAP_OFF_TAPERF

#define PNANOVDB_MAP_OFF_TAPERF 84

## ◆ PNANOVDB_MAP_OFF_VECD

#define PNANOVDB_MAP_OFF_VECD 232

## ◆ PNANOVDB_MAP_OFF_VECF

#define PNANOVDB_MAP_OFF_VECF 72

## ◆ PNANOVDB_MAP_SIZE

#define PNANOVDB_MAP_SIZE 264

## ◆ PNANOVDB_MINOR_VERSION_NUMBER

#define PNANOVDB_MINOR_VERSION_NUMBER 4

## ◆ PNANOVDB_PATCH_VERSION_NUMBER

#define PNANOVDB_PATCH_VERSION_NUMBER 2

## ◆ PNANOVDB_ROOT_BASE_SIZE

#define PNANOVDB_ROOT_BASE_SIZE 28

## ◆ PNANOVDB_ROOT_OFF_BBOX_MAX

#define PNANOVDB_ROOT_OFF_BBOX_MAX 12

## ◆ PNANOVDB_ROOT_OFF_BBOX_MIN

#define PNANOVDB_ROOT_OFF_BBOX_MIN 0

## ◆ PNANOVDB_ROOT_OFF_TABLE_SIZE

#define PNANOVDB_ROOT_OFF_TABLE_SIZE 24

## ◆ PNANOVDB_ROOT_TILE_BASE_SIZE

#define PNANOVDB_ROOT_TILE_BASE_SIZE 20

## ◆ PNANOVDB_ROOT_TILE_OFF_CHILD

#define PNANOVDB_ROOT_TILE_OFF_CHILD 8

## ◆ PNANOVDB_ROOT_TILE_OFF_KEY

#define PNANOVDB_ROOT_TILE_OFF_KEY 0

## ◆ PNANOVDB_ROOT_TILE_OFF_STATE

#define PNANOVDB_ROOT_TILE_OFF_STATE 16

## ◆ PNANOVDB_TREE_OFF_NODE_COUNT_LEAF

#define PNANOVDB_TREE_OFF_NODE_COUNT_LEAF 32

## ◆ PNANOVDB_TREE_OFF_NODE_COUNT_LOWER

#define PNANOVDB_TREE_OFF_NODE_COUNT_LOWER 36

## ◆ PNANOVDB_TREE_OFF_NODE_COUNT_UPPER

#define PNANOVDB_TREE_OFF_NODE_COUNT_UPPER 40

## ◆ PNANOVDB_TREE_OFF_NODE_OFFSET_LEAF

#define PNANOVDB_TREE_OFF_NODE_OFFSET_LEAF 0

## ◆ PNANOVDB_TREE_OFF_NODE_OFFSET_LOWER

#define PNANOVDB_TREE_OFF_NODE_OFFSET_LOWER 8

## ◆ PNANOVDB_TREE_OFF_NODE_OFFSET_ROOT

#define PNANOVDB_TREE_OFF_NODE_OFFSET_ROOT 24

## ◆ PNANOVDB_TREE_OFF_NODE_OFFSET_UPPER

#define PNANOVDB_TREE_OFF_NODE_OFFSET_UPPER 16

## ◆ PNANOVDB_TREE_OFF_TILE_COUNT_LEAF

#define PNANOVDB_TREE_OFF_TILE_COUNT_LEAF 44

## ◆ PNANOVDB_TREE_OFF_TILE_COUNT_LOWER

#define PNANOVDB_TREE_OFF_TILE_COUNT_LOWER 48

## ◆ PNANOVDB_TREE_OFF_TILE_COUNT_UPPER

#define PNANOVDB_TREE_OFF_TILE_COUNT_UPPER 52

## ◆ PNANOVDB_TREE_OFF_VOXEL_COUNT

#define PNANOVDB_TREE_OFF_VOXEL_COUNT 56

## ◆ PNANOVDB_TREE_SIZE

#define PNANOVDB_TREE_SIZE 64

## ◆ PNANOVDB_UPPER_BASE_SIZE

#define PNANOVDB_UPPER_BASE_SIZE 8224

## ◆ PNANOVDB_UPPER_OFF_BBOX_MAX

#define PNANOVDB_UPPER_OFF_BBOX_MAX 12

## ◆ PNANOVDB_UPPER_OFF_BBOX_MIN

#define PNANOVDB_UPPER_OFF_BBOX_MIN 0

## ◆ PNANOVDB_UPPER_OFF_CHILD_MASK

#define PNANOVDB_UPPER_OFF_CHILD_MASK 4128

## ◆ PNANOVDB_UPPER_OFF_FLAGS

#define PNANOVDB_UPPER_OFF_FLAGS 24

## ◆ PNANOVDB_UPPER_OFF_VALUE_MASK

#define PNANOVDB_UPPER_OFF_VALUE_MASK 32

## ◆ PNANOVDB_UPPER_TABLE_COUNT

#define PNANOVDB_UPPER_TABLE_COUNT 32768

## Function Documentation

## ◆ pnanodvb_grid_get_gridblindmetadata_value_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanodvb_grid_get_gridblindmetadata_value_address | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | grid,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_coord_to_key()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_coord_to_key | ( | PNANOVDB_IN(pnanovdb_coord_t) | ijk | ) |

## ◆ pnanovdb_dither_lookup()

PNANOVDB_FORCE_INLINE float pnanovdb_dither_lookup | ( | pnanovdb_bool_t | enabled,
|  | int | offset
| ) |  |

## ◆ pnanovdb_grid_get_blind_metadata_count()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_blind_metadata_count | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_blind_metadata_offset()

PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_grid_get_blind_metadata_offset | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_checksum()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_grid_get_checksum | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_flags()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_flags | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_grid_class()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_grid_class | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_grid_count()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_grid_count | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_grid_index()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_grid_index | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_grid_name()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_grid_name | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_grid_get_grid_size()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_grid_get_grid_size | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_grid_type()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_grid_type | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_gridblindmetadata()

PNANOVDB_FORCE_INLINE pnanovdb_gridblindmetadata_handle_t pnanovdb_grid_get_gridblindmetadata | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | grid,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_grid_get_magic()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_grid_get_magic | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_map()

PNANOVDB_FORCE_INLINE pnanovdb_map_handle_t pnanovdb_grid_get_map | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_tree()

PNANOVDB_FORCE_INLINE pnanovdb_tree_handle_t pnanovdb_grid_get_tree | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | grid
| ) |  |

## ◆ pnanovdb_grid_get_version()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_version | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p
| ) |  |

## ◆ pnanovdb_grid_get_voxel_size()

PNANOVDB_FORCE_INLINE double pnanovdb_grid_get_voxel_size | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_grid_get_world_bbox()

PNANOVDB_FORCE_INLINE double pnanovdb_grid_get_world_bbox | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_grid_index_to_world_dirf()

PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_grid_index_to_world_dirf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | grid,
|  | PNANOVDB_IN(pnanovdb_vec3_t) | src
| ) |  |

## ◆ pnanovdb_grid_index_to_worldf()

PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_grid_index_to_worldf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | grid,
|  | PNANOVDB_IN(pnanovdb_vec3_t) | src
| ) |  |

## ◆ pnanovdb_grid_world_to_index_dirf()

PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_grid_world_to_index_dirf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | grid,
|  | PNANOVDB_IN(pnanovdb_vec3_t) | src
| ) |  |

## ◆ pnanovdb_grid_world_to_indexf()

PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_grid_world_to_indexf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_grid_handle_t | grid,
|  | PNANOVDB_IN(pnanovdb_vec3_t) | src
| ) |  |

## ◆ pnanovdb_gridblindmetadata_get_byte_offset()

PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_gridblindmetadata_get_byte_offset | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_gridblindmetadata_handle_t | p
| ) |  |

## ◆ pnanovdb_gridblindmetadata_get_data_class()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_gridblindmetadata_get_data_class | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_gridblindmetadata_handle_t | p
| ) |  |

## ◆ pnanovdb_gridblindmetadata_get_data_type()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_gridblindmetadata_get_data_type | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_gridblindmetadata_handle_t | p
| ) |  |

## ◆ pnanovdb_gridblindmetadata_get_element_count()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_gridblindmetadata_get_element_count | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_gridblindmetadata_handle_t | p
| ) |  |

## ◆ pnanovdb_gridblindmetadata_get_flags()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_gridblindmetadata_get_flags | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_gridblindmetadata_handle_t | p
| ) |  |

## ◆ pnanovdb_gridblindmetadata_get_name()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_gridblindmetadata_get_name | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_gridblindmetadata_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_gridblindmetadata_get_semantic()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_gridblindmetadata_get_semantic | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_gridblindmetadata_handle_t | p
| ) |  |

## ◆ pnanovdb_leaf_coord_to_offset()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_coord_to_offset | ( | PNANOVDB_IN(pnanovdb_coord_t) | ijk | ) |

## ◆ pnanovdb_leaf_count_on_range()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_count_on_range | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | p,
|  | pnanovdb_uint32_t | max_index
| ) |  |

## ◆ pnanovdb_leaf_fp16_read_float()

PNANOVDB_FORCE_INLINE float pnanovdb_leaf_fp16_read_float | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_leaf_fp4_read_float()

PNANOVDB_FORCE_INLINE float pnanovdb_leaf_fp4_read_float | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_leaf_fp8_read_float()

PNANOVDB_FORCE_INLINE float pnanovdb_leaf_fp8_read_float | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_leaf_fp_read_float()

PNANOVDB_FORCE_INLINE float pnanovdb_leaf_fp_read_float | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | pnanovdb_uint32_t | value_log_bits
| ) |  |

## ◆ pnanovdb_leaf_fpn_read_float()

PNANOVDB_FORCE_INLINE float pnanovdb_leaf_fpn_read_float | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_leaf_get_ave_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_ave_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | node
| ) |  |

## ◆ pnanovdb_leaf_get_bbox_dif_and_flags()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_get_bbox_dif_and_flags | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | p
| ) |  |

## ◆ pnanovdb_leaf_get_bbox_min()

PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_leaf_get_bbox_min | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | p
| ) |  |

## ◆ pnanovdb_leaf_get_dim_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_get_dim_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | leaf,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_leaf_get_max_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_max_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | node
| ) |  |

## ◆ pnanovdb_leaf_get_min_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_min_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | node
| ) |  |

## ◆ pnanovdb_leaf_get_stddev_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_stddev_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | node
| ) |  |

## ◆ pnanovdb_leaf_get_table_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_table_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | node,
|  | pnanovdb_uint32_t | n
| ) |  |

## ◆ pnanovdb_leaf_get_value_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_value_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | leaf,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_leaf_get_value_address_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_value_address_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | leaf,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_leaf_get_value_mask()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_get_value_mask | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | p,
|  | pnanovdb_uint32_t | bit_index
| ) |  |

## ◆ pnanovdb_leaf_index_get_ave_index()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_index_get_ave_index | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | ave_address
| ) |  |

## ◆ pnanovdb_leaf_index_get_dev_index()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_index_get_dev_index | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | dev_address
| ) |  |

## ◆ pnanovdb_leaf_index_get_max_index()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_index_get_max_index | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | max_address
| ) |  |

## ◆ pnanovdb_leaf_index_get_min_index()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_index_get_min_index | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | min_address
| ) |  |

## ◆ pnanovdb_leaf_index_get_value_index()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_index_get_value_index | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | leaf,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_leaf_is_active_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_is_active_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_leaf_handle_t | leaf,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_lower_coord_to_offset()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_lower_coord_to_offset | ( | PNANOVDB_IN(pnanovdb_coord_t) | ijk | ) |

## ◆ pnanovdb_lower_get_ave_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_ave_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | node
| ) |  |

## ◆ pnanovdb_lower_get_bbox_max()

PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_lower_get_bbox_max | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | p
| ) |  |

## ◆ pnanovdb_lower_get_bbox_min()

PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_lower_get_bbox_min | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | p
| ) |  |

## ◆ pnanovdb_lower_get_child()

PNANOVDB_FORCE_INLINE pnanovdb_leaf_handle_t pnanovdb_lower_get_child | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | lower,
|  | pnanovdb_uint32_t | n
| ) |  |

## ◆ pnanovdb_lower_get_child_mask()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_lower_get_child_mask | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | p,
|  | pnanovdb_uint32_t | bit_index
| ) |  |

## ◆ pnanovdb_lower_get_dim_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_lower_get_dim_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | lower,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_lower_get_flags()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_lower_get_flags | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | p
| ) |  |

## ◆ pnanovdb_lower_get_max_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_max_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | node
| ) |  |

## ◆ pnanovdb_lower_get_min_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_min_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | node
| ) |  |

## ◆ pnanovdb_lower_get_stddev_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_stddev_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | node
| ) |  |

## ◆ pnanovdb_lower_get_table_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_table_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | node,
|  | pnanovdb_uint32_t | n
| ) |  |

## ◆ pnanovdb_lower_get_table_child()

PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_lower_get_table_child | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | node,
|  | pnanovdb_uint32_t | n
| ) |  |

## ◆ pnanovdb_lower_get_value_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_value_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | lower,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_lower_get_value_address_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_value_address_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | lower,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_lower_get_value_address_and_level()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_value_address_and_level | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | lower,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_uint32_t) | level
| ) |  |

## ◆ pnanovdb_lower_get_value_address_and_level_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_value_address_and_level_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | lower,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | PNANOVDB_INOUT(pnanovdb_uint32_t) | level
| ) |  |

## ◆ pnanovdb_lower_get_value_mask()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_lower_get_value_mask | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | p,
|  | pnanovdb_uint32_t | bit_index
| ) |  |

## ◆ pnanovdb_lower_is_active_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_lower_is_active_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_lower_handle_t | lower,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_map_apply()

PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_map_apply | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | map,
|  | PNANOVDB_IN(pnanovdb_vec3_t) | src
| ) |  |

## ◆ pnanovdb_map_apply_inverse()

PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_map_apply_inverse | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | map,
|  | PNANOVDB_IN(pnanovdb_vec3_t) | src
| ) |  |

## ◆ pnanovdb_map_apply_inverse_jacobi()

PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_map_apply_inverse_jacobi | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | map,
|  | PNANOVDB_IN(pnanovdb_vec3_t) | src
| ) |  |

## ◆ pnanovdb_map_apply_jacobi()

PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_map_apply_jacobi | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | map,
|  | PNANOVDB_IN(pnanovdb_vec3_t) | src
| ) |  |

## ◆ pnanovdb_map_get_invmatd()

PNANOVDB_FORCE_INLINE double pnanovdb_map_get_invmatd | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_map_get_invmatf()

PNANOVDB_FORCE_INLINE float pnanovdb_map_get_invmatf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_map_get_matd()

PNANOVDB_FORCE_INLINE double pnanovdb_map_get_matd | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_map_get_matf()

PNANOVDB_FORCE_INLINE float pnanovdb_map_get_matf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_map_get_taperd()

PNANOVDB_FORCE_INLINE double pnanovdb_map_get_taperd | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_map_get_taperf()

PNANOVDB_FORCE_INLINE float pnanovdb_map_get_taperf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_map_get_vecd()

PNANOVDB_FORCE_INLINE double pnanovdb_map_get_vecd | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_map_get_vecf()

PNANOVDB_FORCE_INLINE float pnanovdb_map_get_vecf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_map_handle_t | p,
|  | pnanovdb_uint32_t | index
| ) |  |

## ◆ pnanovdb_read_bit()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_read_bit | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address,
|  | pnanovdb_uint32_t | bit_offset
| ) |  |

## ◆ pnanovdb_read_coord()

PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_read_coord | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address
| ) |  |

## ◆ pnanovdb_read_double()

PNANOVDB_FORCE_INLINE double pnanovdb_read_double | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address
| ) |  |

## ◆ pnanovdb_read_float()

PNANOVDB_FORCE_INLINE float pnanovdb_read_float | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address
| ) |  |

## ◆ pnanovdb_read_int32()

PNANOVDB_FORCE_INLINE pnanovdb_int32_t pnanovdb_read_int32 | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address
| ) |  |

## ◆ pnanovdb_read_int64()

PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_read_int64 | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address
| ) |  |

## ◆ pnanovdb_read_uint32()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_read_uint32 | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address
| ) |  |

## ◆ pnanovdb_read_uint64()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_read_uint64 | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address
| ) |  |

## ◆ pnanovdb_readaccessor_computedirty()

PNANOVDB_FORCE_INLINE int pnanovdb_readaccessor_computedirty | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_readaccessor_get_dim()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_readaccessor_get_dim | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_readaccessor_get_value_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_readaccessor_get_value_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_readaccessor_get_value_address_and_level()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_readaccessor_get_value_address_and_level | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_uint32_t) | level
| ) |  |

## ◆ pnanovdb_readaccessor_get_value_address_bit()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_readaccessor_get_value_address_bit | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_uint32_t) | bit_index
| ) |  |

## ◆ pnanovdb_readaccessor_init()

PNANOVDB_FORCE_INLINE void pnanovdb_readaccessor_init | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | pnanovdb_root_handle_t | root
| ) |  |

## ◆ pnanovdb_readaccessor_is_active()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_readaccessor_is_active | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_readaccessor_iscached0()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_readaccessor_iscached0 | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | int | dirty
| ) |  |

## ◆ pnanovdb_readaccessor_iscached1()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_readaccessor_iscached1 | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | int | dirty
| ) |  |

## ◆ pnanovdb_readaccessor_iscached2()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_readaccessor_iscached2 | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | int | dirty
| ) |  |

## ◆ pnanovdb_root_find_tile()

PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t pnanovdb_root_find_tile | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_root_fp16_read_float()

PNANOVDB_FORCE_INLINE float pnanovdb_root_fp16_read_float | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | pnanovdb_uint32_t | level
| ) |  |

## ◆ pnanovdb_root_fp4_read_float()

PNANOVDB_FORCE_INLINE float pnanovdb_root_fp4_read_float | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | pnanovdb_uint32_t | level
| ) |  |

## ◆ pnanovdb_root_fp8_read_float()

PNANOVDB_FORCE_INLINE float pnanovdb_root_fp8_read_float | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | pnanovdb_uint32_t | level
| ) |  |

## ◆ pnanovdb_root_fpn_read_float()

PNANOVDB_FORCE_INLINE float pnanovdb_root_fpn_read_float | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_address_t | address,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | pnanovdb_uint32_t | level
| ) |  |

## ◆ pnanovdb_root_get_ave_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_ave_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root
| ) |  |

## ◆ pnanovdb_root_get_bbox_max()

PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_root_get_bbox_max | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | p
| ) |  |

## ◆ pnanovdb_root_get_bbox_min()

PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_root_get_bbox_min | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | p
| ) |  |

## ◆ pnanovdb_root_get_child()

PNANOVDB_FORCE_INLINE pnanovdb_upper_handle_t pnanovdb_root_get_child | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root,
|  | pnanovdb_root_tile_handle_t | tile
| ) |  |

## ◆ pnanovdb_root_get_dim_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_root_get_dim_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_root_get_max_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_max_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root
| ) |  |

## ◆ pnanovdb_root_get_min_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_min_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root
| ) |  |

## ◆ pnanovdb_root_get_stddev_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_stddev_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root
| ) |  |

## ◆ pnanovdb_root_get_tile()

PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t pnanovdb_root_get_tile | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_root_handle_t | root,
|  | pnanovdb_uint32_t | n
| ) |  |

## ◆ pnanovdb_root_get_tile_count()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_root_get_tile_count | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | p
| ) |  |

## ◆ pnanovdb_root_get_tile_zero()

PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t pnanovdb_root_get_tile_zero | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_root_handle_t | root
| ) |  |

## ◆ pnanovdb_root_get_value_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_value_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_root_get_value_address_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_value_address_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_root_get_value_address_and_level()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_value_address_and_level | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_uint32_t) | level
| ) |  |

## ◆ pnanovdb_root_get_value_address_and_level_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_value_address_and_level_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | PNANOVDB_INOUT(pnanovdb_uint32_t) | level
| ) |  |

## ◆ pnanovdb_root_get_value_address_bit()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_value_address_bit | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_uint32_t) | bit_index
| ) |  |

## ◆ pnanovdb_root_is_active_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_root_is_active_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_handle_t | root,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_root_tile_get_child()

PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_root_tile_get_child | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_root_tile_handle_t | p
| ) |  |

## ◆ pnanovdb_root_tile_get_key()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_root_tile_get_key | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_root_tile_handle_t | p
| ) |  |

## ◆ pnanovdb_root_tile_get_state()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_root_tile_get_state | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_root_tile_handle_t | p
| ) |  |

## ◆ pnanovdb_root_tile_get_value_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_tile_get_value_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_root_tile_handle_t | root_tile
| ) |  |

## ◆ pnanovdb_tree_get_node_count_leaf()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_node_count_leaf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_tree_get_node_count_lower()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_node_count_lower | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_tree_get_node_count_upper()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_node_count_upper | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_tree_get_node_offset_leaf()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_tree_get_node_offset_leaf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_tree_get_node_offset_lower()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_tree_get_node_offset_lower | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_tree_get_node_offset_root()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_tree_get_node_offset_root | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_tree_get_node_offset_upper()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_tree_get_node_offset_upper | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_tree_get_root()

PNANOVDB_FORCE_INLINE pnanovdb_root_handle_t pnanovdb_tree_get_root | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | tree
| ) |  |

## ◆ pnanovdb_tree_get_tile_count_leaf()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_tile_count_leaf | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_tree_get_tile_count_lower()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_tile_count_lower | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_tree_get_tile_count_upper()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_tile_count_upper | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_tree_get_voxel_count()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_tree_get_voxel_count | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_tree_handle_t | p
| ) |  |

## ◆ pnanovdb_uint32_countbits()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_uint32_countbits | ( | pnanovdb_uint32_t | value | ) |

## ◆ pnanovdb_uint64_offset()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint64_offset | ( | pnanovdb_uint64_t | a,
|  | pnanovdb_uint32_t | b
| ) |  |

## ◆ pnanovdb_upper_coord_to_offset()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_upper_coord_to_offset | ( | PNANOVDB_IN(pnanovdb_coord_t) | ijk | ) |

## ◆ pnanovdb_upper_get_ave_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_ave_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | node
| ) |  |

## ◆ pnanovdb_upper_get_bbox_max()

PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_upper_get_bbox_max | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | p
| ) |  |

## ◆ pnanovdb_upper_get_bbox_min()

PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_upper_get_bbox_min | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | p
| ) |  |

## ◆ pnanovdb_upper_get_child()

PNANOVDB_FORCE_INLINE pnanovdb_lower_handle_t pnanovdb_upper_get_child | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | upper,
|  | pnanovdb_uint32_t | n
| ) |  |

## ◆ pnanovdb_upper_get_child_mask()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_upper_get_child_mask | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | p,
|  | pnanovdb_uint32_t | bit_index
| ) |  |

## ◆ pnanovdb_upper_get_dim_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_upper_get_dim_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | upper,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_upper_get_flags()

PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_upper_get_flags | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | p
| ) |  |

## ◆ pnanovdb_upper_get_max_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_max_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | node
| ) |  |

## ◆ pnanovdb_upper_get_min_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_min_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | node
| ) |  |

## ◆ pnanovdb_upper_get_stddev_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_stddev_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | node
| ) |  |

## ◆ pnanovdb_upper_get_table_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_table_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | node,
|  | pnanovdb_uint32_t | n
| ) |  |

## ◆ pnanovdb_upper_get_table_child()

PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_upper_get_table_child | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | node,
|  | pnanovdb_uint32_t | n
| ) |  |

## ◆ pnanovdb_upper_get_value_address()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_value_address | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | upper,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk
| ) |  |

## ◆ pnanovdb_upper_get_value_address_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_value_address_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | upper,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_upper_get_value_address_and_level()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_value_address_and_level | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | upper,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_uint32_t) | level
| ) |  |

## ◆ pnanovdb_upper_get_value_address_and_level_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_value_address_and_level_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | upper,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc,
|  | PNANOVDB_INOUT(pnanovdb_uint32_t) | level
| ) |  |

## ◆ pnanovdb_upper_get_value_mask()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_upper_get_value_mask | ( | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | p,
|  | pnanovdb_uint32_t | bit_index
| ) |  |

## ◆ pnanovdb_upper_is_active_and_cache()

PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_upper_is_active_and_cache | ( | pnanovdb_grid_type_t | grid_type,
|  | pnanovdb_buf_t | buf,
|  | pnanovdb_upper_handle_t | upper,
|  | PNANOVDB_IN(pnanovdb_coord_t) | ijk,
|  | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc
| ) |  |

## ◆ pnanovdb_version_get_major()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_version_get_major | ( | pnanovdb_uint32_t | version | ) |

## ◆ pnanovdb_version_get_minor()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_version_get_minor | ( | pnanovdb_uint32_t | version | ) |

## ◆ pnanovdb_version_get_patch()

PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_version_get_patch | ( | pnanovdb_uint32_t | version | ) |

## Variable Documentation

## ◆ pnanovdb_dither_lut

PNANOVDB_STATIC_CONST float pnanovdb_dither_lut[512]

## ◆ pnanovdb_grid_type_constants

PNANOVDB_STATIC_CONST pnanovdb_grid_type_constants_t pnanovdb_grid_type_constants[20]

Initial value:
=
{
{28, 28, 28, 28, 28, 32, 0, 8, 20, 32, 8224, 8224, 8224, 8224, 8224, 270368, 1056, 1056, 1056, 1056, 1056, 33824, 80, 80, 80, 80, 96, 96},
{28, 32, 36, 40, 44, 64, 32, 8, 20, 32, 8224, 8228, 8232, 8236, 8256, 270400, 1056, 1060, 1064, 1068, 1088, 33856, 80, 84, 88, 92, 96, 2144},
{32, 40, 48, 56, 64, 96, 64, 8, 24, 32, 8224, 8232, 8240, 8248, 8256, 270400, 1056, 1064, 1072, 1080, 1088, 33856, 80, 88, 96, 104, 128, 4224},
{28, 30, 32, 36, 40, 64, 16, 8, 20, 32, 8224, 8226, 8228, 8232, 8256, 270400, 1056, 1058, 1060, 1064, 1088, 33856, 80, 82, 84, 88, 96, 1120},
{28, 32, 36, 40, 44, 64, 32, 8, 20, 32, 8224, 8228, 8232, 8236, 8256, 270400, 1056, 1060, 1064, 1068, 1088, 33856, 80, 84, 88, 92, 96, 2144},
{32, 40, 48, 56, 64, 96, 64, 8, 24, 32, 8224, 8232, 8240, 8248, 8256, 270400, 1056, 1064, 1072, 1080, 1088, 33856, 80, 88, 96, 104, 128, 4224},
{28, 40, 52, 64, 68, 96, 96, 16, 20, 32, 8224, 8236, 8248, 8252, 8256, 532544, 1056, 1068, 1080, 1084, 1088, 66624, 80, 92, 104, 108, 128, 6272},
{32, 56, 80, 104, 112, 128, 192, 24, 24, 64, 8224, 8248, 8272, 8280, 8288, 794720, 1056, 1080, 1104, 1112, 1120, 99424, 80, 104, 128, 136, 160, 12448},
{28, 29, 30, 31, 32, 64, 0, 8, 20, 32, 8224, 8225, 8226, 8227, 8256, 270400, 1056, 1057, 1058, 1059, 1088, 33856, 80, 80, 80, 80, 96, 96},
{28, 30, 32, 36, 40, 64, 16, 8, 20, 32, 8224, 8226, 8228, 8232, 8256, 270400, 1056, 1058, 1060, 1064, 1088, 33856, 80, 82, 84, 88, 96, 1120},
{28, 32, 36, 40, 44, 64, 32, 8, 20, 32, 8224, 8228, 8232, 8236, 8256, 270400, 1056, 1060, 1064, 1068, 1088, 33856, 80, 84, 88, 92, 96, 2144},
{28, 29, 30, 31, 32, 64, 1, 8, 20, 32, 8224, 8225, 8226, 8227, 8256, 270400, 1056, 1057, 1058, 1059, 1088, 33856, 80, 80, 80, 80, 96, 160},
{28, 32, 36, 40, 44, 64, 32, 8, 20, 32, 8224, 8228, 8232, 8236, 8256, 270400, 1056, 1060, 1064, 1068, 1088, 33856, 80, 84, 88, 92, 96, 2144},
{28, 32, 36, 40, 44, 64, 0, 8, 20, 32, 8224, 8228, 8232, 8236, 8256, 270400, 1056, 1060, 1064, 1068, 1088, 33856, 88, 90, 92, 94, 96, 352},
{28, 32, 36, 40, 44, 64, 0, 8, 20, 32, 8224, 8228, 8232, 8236, 8256, 270400, 1056, 1060, 1064, 1068, 1088, 33856, 88, 90, 92, 94, 96, 608},
{28, 32, 36, 40, 44, 64, 0, 8, 20, 32, 8224, 8228, 8232, 8236, 8256, 270400, 1056, 1060, 1064, 1068, 1088, 33856, 88, 90, 92, 94, 96, 1120},
{28, 32, 36, 40, 44, 64, 0, 8, 20, 32, 8224, 8228, 8232, 8236, 8256, 270400, 1056, 1060, 1064, 1068, 1088, 33856, 88, 90, 92, 94, 96, 96},
{28, 44, 60, 76, 80, 96, 128, 16, 20, 64, 8224, 8240, 8256, 8260, 8288, 532576, 1056, 1072, 1088, 1092, 1120, 66656, 80, 96, 112, 116, 128, 8320},
{32, 64, 96, 128, 136, 160, 256, 32, 24, 64, 8224, 8256, 8288, 8296, 8320, 1056896, 1056, 1088, 1120, 1128, 1152, 132224, 80, 112, 144, 152, 160, 16544},
{32, 40, 48, 56, 64, 96, 0, 8, 24, 32, 8224, 8232, 8240, 8248, 8256, 270400, 1056, 1064, 1072, 1080, 1088, 33856, 80, 80, 80, 80, 88, 96},
}

## ◆ pnanovdb_grid_type_leaf_type

PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_leaf_type[20] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 2, 2, 2, 2, 0, 0, 3 }

## ◆ pnanovdb_grid_type_minmax_aligns_bits

PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_minmax_aligns_bits[20] = { 0, 32, 64, 16, 32, 64, 32, 64, 8, 16, 32, 8, 32, 32, 32, 32, 32, 32, 64, 64 }

## ◆ pnanovdb_grid_type_minmax_strides_bits

PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_minmax_strides_bits[20] = { 0, 32, 64, 16, 32, 64, 96, 192, 8, 16, 32, 8, 32, 32, 32, 32, 32, 128, 256, 64 }

## ◆ pnanovdb_grid_type_stat_strides_bits

PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_stat_strides_bits[20] = { 0, 32, 64, 32, 32, 64, 32, 64, 8, 32, 32, 8, 32, 32, 32, 32, 32, 32, 64, 64 }

## ◆ pnanovdb_grid_type_table_strides_bits

PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_table_strides_bits[20] = { 64, 64, 64, 64, 64, 64, 128, 192, 64, 64, 64, 64, 64, 64, 64, 64, 64, 128, 256, 64 }

## ◆ pnanovdb_grid_type_value_strides_bits

PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_value_strides_bits[20] = { 0, 32, 64, 16, 32, 64, 96, 192, 0, 16, 32, 1, 32, 4, 8, 16, 0, 128, 256, 0 }