OpenVDB
11.0.0
|
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 |
Functions | |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_uint32_countbits (pnanovdb_uint32_t value) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_uint64_countbits (pnanovdb_uint64_t value) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_uint64_offset (pnanovdb_uint64_t a, pnanovdb_uint32_t b) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_uint64_dec (pnanovdb_uint64_t a) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_uint64_to_uint32_lsr (pnanovdb_uint64_t a, pnanovdb_uint32_t b) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_uint64_bit_mask (pnanovdb_uint32_t bit_idx) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_uint64_and (pnanovdb_uint64_t a, pnanovdb_uint64_t b) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_uint64_any_bit (pnanovdb_uint64_t a) |
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_vec3_t | pnanovdb_read_vec3 (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_read_uint16 (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_read_uint8 (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_read_vec3u16 (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_read_vec3u8 (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 void | pnanovdb_write_uint32 (pnanovdb_buf_t buf, pnanovdb_address_t address, pnanovdb_uint32_t value) |
PNANOVDB_FORCE_INLINE void | pnanovdb_write_uint64 (pnanovdb_buf_t buf, pnanovdb_address_t address, pnanovdb_uint64_t value) |
PNANOVDB_FORCE_INLINE void | pnanovdb_write_int32 (pnanovdb_buf_t buf, pnanovdb_address_t address, pnanovdb_int32_t value) |
PNANOVDB_FORCE_INLINE void | pnanovdb_write_int64 (pnanovdb_buf_t buf, pnanovdb_address_t address, pnanovdb_int64_t value) |
PNANOVDB_FORCE_INLINE void | pnanovdb_write_float (pnanovdb_buf_t buf, pnanovdb_address_t address, float value) |
PNANOVDB_FORCE_INLINE void | pnanovdb_write_double (pnanovdb_buf_t buf, pnanovdb_address_t address, double value) |
PNANOVDB_FORCE_INLINE void | pnanovdb_write_coord (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) value) |
PNANOVDB_FORCE_INLINE void | pnanovdb_write_vec3 (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_vec3_t) value) |
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 void | pnanovdb_map_set_matf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index, float matf) |
PNANOVDB_FORCE_INLINE void | pnanovdb_map_set_invmatf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index, float invmatf) |
PNANOVDB_FORCE_INLINE void | pnanovdb_map_set_vecf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index, float vecf) |
PNANOVDB_FORCE_INLINE void | pnanovdb_map_set_taperf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index, float taperf) |
PNANOVDB_FORCE_INLINE void | pnanovdb_map_set_matd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index, double matd) |
PNANOVDB_FORCE_INLINE void | pnanovdb_map_set_invmatd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index, double invmatd) |
PNANOVDB_FORCE_INLINE void | pnanovdb_map_set_vecd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index, double vecd) |
PNANOVDB_FORCE_INLINE void | pnanovdb_map_set_taperd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index, double taperd) |
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 void | pnanovdb_grid_set_magic (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint64_t magic) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_checksum (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint64_t checksum) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_version (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t version) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_flags (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t flags) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_grid_index (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t grid_index) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_grid_count (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t grid_count) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_grid_size (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint64_t grid_size) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_grid_name (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t index, pnanovdb_uint32_t grid_name) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_world_bbox (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t index, double world_bbox) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_voxel_size (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t index, double voxel_size) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_grid_class (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t grid_class) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_grid_type (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t grid_type) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_blind_metadata_offset (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint64_t blind_metadata_offset) |
PNANOVDB_FORCE_INLINE void | pnanovdb_grid_set_blind_metadata_count (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t metadata_count) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_make_version (pnanovdb_uint32_t major, pnanovdb_uint32_t minor, pnanovdb_uint32_t patch_num) |
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 void | pnanovdb_tree_set_node_offset_leaf (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint64_t node_offset_leaf) |
PNANOVDB_FORCE_INLINE void | pnanovdb_tree_set_node_offset_lower (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint64_t node_offset_lower) |
PNANOVDB_FORCE_INLINE void | pnanovdb_tree_set_node_offset_upper (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint64_t node_offset_upper) |
PNANOVDB_FORCE_INLINE void | pnanovdb_tree_set_node_offset_root (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint64_t node_offset_root) |
PNANOVDB_FORCE_INLINE void | pnanovdb_tree_set_node_count_leaf (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint32_t node_count_leaf) |
PNANOVDB_FORCE_INLINE void | pnanovdb_tree_set_node_count_lower (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint32_t node_count_lower) |
PNANOVDB_FORCE_INLINE void | pnanovdb_tree_set_node_count_upper (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint32_t node_count_upper) |
PNANOVDB_FORCE_INLINE void | pnanovdb_tree_set_tile_count_leaf (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint32_t tile_count_leaf) |
PNANOVDB_FORCE_INLINE void | pnanovdb_tree_set_tile_count_lower (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint32_t tile_count_lower) |
PNANOVDB_FORCE_INLINE void | pnanovdb_tree_set_tile_count_upper (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint32_t tile_count_upper) |
PNANOVDB_FORCE_INLINE void | pnanovdb_tree_set_voxel_count (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p, pnanovdb_uint64_t voxel_count) |
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 void | pnanovdb_root_set_bbox_min (pnanovdb_buf_t buf, pnanovdb_root_handle_t p, PNANOVDB_IN(pnanovdb_coord_t) bbox_min) |
PNANOVDB_FORCE_INLINE void | pnanovdb_root_set_bbox_max (pnanovdb_buf_t buf, pnanovdb_root_handle_t p, PNANOVDB_IN(pnanovdb_coord_t) bbox_max) |
PNANOVDB_FORCE_INLINE void | pnanovdb_root_set_tile_count (pnanovdb_buf_t buf, pnanovdb_root_handle_t p, pnanovdb_uint32_t tile_count) |
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 void | pnanovdb_root_tile_set_key (pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t p, pnanovdb_uint64_t key) |
PNANOVDB_FORCE_INLINE void | pnanovdb_root_tile_set_child (pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t p, pnanovdb_int64_t child) |
PNANOVDB_FORCE_INLINE void | pnanovdb_root_tile_set_state (pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t p, pnanovdb_uint32_t state) |
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 void | pnanovdb_upper_set_bbox_min (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p, PNANOVDB_IN(pnanovdb_coord_t) bbox_min) |
PNANOVDB_FORCE_INLINE void | pnanovdb_upper_set_bbox_max (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p, PNANOVDB_IN(pnanovdb_coord_t) bbox_max) |
PNANOVDB_FORCE_INLINE void | pnanovdb_upper_set_child_mask (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p, pnanovdb_uint32_t bit_index, pnanovdb_bool_t value) |
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 void | pnanovdb_lower_set_bbox_min (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p, PNANOVDB_IN(pnanovdb_coord_t) bbox_min) |
PNANOVDB_FORCE_INLINE void | pnanovdb_lower_set_bbox_max (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p, PNANOVDB_IN(pnanovdb_coord_t) bbox_max) |
PNANOVDB_FORCE_INLINE void | pnanovdb_lower_set_child_mask (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p, pnanovdb_uint32_t bit_index, pnanovdb_bool_t value) |
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 void | pnanovdb_leaf_set_bbox_min (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t p, PNANOVDB_IN(pnanovdb_coord_t) bbox_min) |
PNANOVDB_FORCE_INLINE void | pnanovdb_leaf_set_bbox_dif_and_flags (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t p, pnanovdb_uint32_t bbox_dif_and_flags) |
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 | pnanovdb_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_bool_t | pnanovdb_leaf_index_has_stats (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf) |
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_buf_t buf, pnanovdb_address_t value_address, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_leaf_indexmask_has_stats (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_indexmask_get_min_index (pnanovdb_buf_t buf, pnanovdb_address_t min_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_indexmask_get_max_index (pnanovdb_buf_t buf, pnanovdb_address_t max_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_indexmask_get_ave_index (pnanovdb_buf_t buf, pnanovdb_address_t ave_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_indexmask_get_dev_index (pnanovdb_buf_t buf, pnanovdb_address_t dev_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_indexmask_get_value_index (pnanovdb_buf_t buf, pnanovdb_address_t value_address, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_leaf_indexmask_get_mask_bit (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, pnanovdb_uint32_t n) |
PNANOVDB_FORCE_INLINE void | pnanovdb_leaf_indexmask_set_mask_bit (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, pnanovdb_uint32_t n, pnanovdb_bool_t v) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_leaf_onindex_get_value_count (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindex_get_last_offset (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_leaf_onindex_has_stats (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindex_get_min_index (pnanovdb_buf_t buf, pnanovdb_address_t min_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindex_get_max_index (pnanovdb_buf_t buf, pnanovdb_address_t max_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindex_get_ave_index (pnanovdb_buf_t buf, pnanovdb_address_t ave_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindex_get_dev_index (pnanovdb_buf_t buf, pnanovdb_address_t dev_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindex_get_value_index (pnanovdb_buf_t buf, pnanovdb_address_t value_address, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_leaf_onindexmask_get_value_count (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindexmask_get_last_offset (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_leaf_onindexmask_has_stats (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindexmask_get_min_index (pnanovdb_buf_t buf, pnanovdb_address_t min_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindexmask_get_max_index (pnanovdb_buf_t buf, pnanovdb_address_t max_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindexmask_get_ave_index (pnanovdb_buf_t buf, pnanovdb_address_t ave_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindexmask_get_dev_index (pnanovdb_buf_t buf, pnanovdb_address_t dev_address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_onindexmask_get_value_index (pnanovdb_buf_t buf, pnanovdb_address_t value_address, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_leaf_onindexmask_get_mask_bit (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, pnanovdb_uint32_t n) |
PNANOVDB_FORCE_INLINE void | pnanovdb_leaf_onindexmask_set_mask_bit (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, pnanovdb_uint32_t n, pnanovdb_bool_t v) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_pointindex_get_offset (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_pointindex_get_point_count (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_pointindex_get_first (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, pnanovdb_uint32_t i) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_pointindex_get_last (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, pnanovdb_uint32_t i) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_leaf_pointindex_get_value (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, pnanovdb_uint32_t i) |
PNANOVDB_FORCE_INLINE void | pnanovdb_leaf_pointindex_set_value_only (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, pnanovdb_uint32_t i, pnanovdb_uint32_t value) |
PNANOVDB_FORCE_INLINE void | pnanovdb_leaf_pointindex_set_on (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, pnanovdb_uint32_t i) |
PNANOVDB_FORCE_INLINE void | pnanovdb_leaf_pointindex_set_value (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, pnanovdb_uint32_t i, pnanovdb_uint32_t value) |
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 void | pnanovdb_upper_set_table_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node, pnanovdb_uint32_t n, pnanovdb_int64_t child) |
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 pnanovdb_uint64_t | pnanovdb_root_index_get_value_index (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_root_onindex_get_value_index (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_root_pointindex_get_point_range (pnanovdb_buf_t buf, pnanovdb_address_t value_address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level, PNANOVDB_INOUT(pnanovdb_uint64_t) range_begin, PNANOVDB_INOUT(pnanovdb_uint64_t) range_end) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_root_pointindex_get_point_address_range (pnanovdb_buf_t buf, pnanovdb_grid_type_t value_type, pnanovdb_address_t value_address, pnanovdb_address_t blindmetadata_value_address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level, PNANOVDB_INOUT(pnanovdb_address_t) address_begin, PNANOVDB_INOUT(pnanovdb_address_t) address_end) |
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 void | pnanovdb_lower_set_table_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node, pnanovdb_uint32_t n, pnanovdb_int64_t child) |
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 [26] = { 0, 32, 64, 16, 32, 64, 96, 192, 0, 16, 32, 1, 32, 4, 8, 16, 0, 128, 256, 0, 0, 0, 0, 16, 24, 48 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_table_strides_bits [26] = { 64, 64, 64, 64, 64, 64, 128, 192, 64, 64, 64, 64, 64, 64, 64, 64, 64, 128, 256, 64, 64, 64, 64, 64, 64, 64 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_minmax_strides_bits [26] = { 0, 32, 64, 16, 32, 64, 96, 192, 8, 16, 32, 8, 32, 32, 32, 32, 32, 128, 256, 64, 64, 64, 64, 64, 24, 48 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_minmax_aligns_bits [26] = { 0, 32, 64, 16, 32, 64, 32, 64, 8, 16, 32, 8, 32, 32, 32, 32, 32, 32, 64, 64, 64, 64, 64, 64, 8, 16 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_stat_strides_bits [26] = { 0, 32, 64, 32, 32, 64, 32, 64, 8, 32, 32, 8, 32, 32, 32, 32, 32, 32, 64, 64, 64, 64, 64, 64, 32, 32 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_leaf_type [26] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 2, 2, 2, 2, 0, 0, 3, 3, 4, 4, 5, 0, 0 } |
PNANOVDB_STATIC_CONST pnanovdb_grid_type_constants_t | pnanovdb_grid_type_constants [26] |
PNANOVDB_STATIC_CONST float | pnanovdb_dither_lut [512] |
This file is a portable (e.g. pointer-less) C99/GLSL/HLSL port of NanoVDB.h, which is compatible with most graphics APIs.
#define PNANOVDB_GRID_CLASS_END 10 |
#define PNANOVDB_GRID_CLASS_FOG_VOLUME 2 |
#define PNANOVDB_GRID_CLASS_INDEX_GRID 8 |
#define PNANOVDB_GRID_CLASS_LEVEL_SET 1 |
#define PNANOVDB_GRID_CLASS_POINT_DATA 5 |
#define PNANOVDB_GRID_CLASS_POINT_INDEX 4 |
#define PNANOVDB_GRID_CLASS_STAGGERED 3 |
#define PNANOVDB_GRID_CLASS_TENSOR_GRID 9 |
#define PNANOVDB_GRID_CLASS_TOPOLOGY 6 |
#define PNANOVDB_GRID_CLASS_UNKNOWN 0 |
#define PNANOVDB_GRID_CLASS_VOXEL_VOLUME 7 |
#define PNANOVDB_GRID_FLAGS_END (1 << 6) |
#define PNANOVDB_GRID_FLAGS_HAS_AVERAGE (1 << 3) |
#define PNANOVDB_GRID_FLAGS_HAS_BBOX (1 << 1) |
#define PNANOVDB_GRID_FLAGS_HAS_LONG_GRID_NAME (1 << 0) |
#define PNANOVDB_GRID_FLAGS_HAS_MIN_MAX (1 << 2) |
#define PNANOVDB_GRID_FLAGS_HAS_STD_DEVIATION (1 << 4) |
#define PNANOVDB_GRID_FLAGS_IS_BREADTH_FIRST (1 << 5) |
#define PNANOVDB_GRID_OFF_BLIND_METADATA_COUNT 648 |
#define PNANOVDB_GRID_OFF_BLIND_METADATA_OFFSET 640 |
#define PNANOVDB_GRID_OFF_CHECKSUM 8 |
#define PNANOVDB_GRID_OFF_FLAGS 20 |
#define PNANOVDB_GRID_OFF_GRID_CLASS 632 |
#define PNANOVDB_GRID_OFF_GRID_COUNT 28 |
#define PNANOVDB_GRID_OFF_GRID_INDEX 24 |
#define PNANOVDB_GRID_OFF_GRID_NAME 40 |
#define PNANOVDB_GRID_OFF_GRID_SIZE 32 |
#define PNANOVDB_GRID_OFF_GRID_TYPE 636 |
#define PNANOVDB_GRID_OFF_MAGIC 0 |
#define PNANOVDB_GRID_OFF_MAP 296 |
#define PNANOVDB_GRID_OFF_VERSION 16 |
#define PNANOVDB_GRID_OFF_VOXEL_SIZE 608 |
#define PNANOVDB_GRID_OFF_WORLD_BBOX 560 |
#define PNANOVDB_GRID_SIZE 672 |
#define PNANOVDB_GRID_TYPE_BOOLEAN 11 |
#define PNANOVDB_GRID_TYPE_DOUBLE 2 |
#define PNANOVDB_GRID_TYPE_END 26 |
#define PNANOVDB_GRID_TYPE_FLOAT 1 |
#define PNANOVDB_GRID_TYPE_FP16 15 |
#define PNANOVDB_GRID_TYPE_FP4 13 |
#define PNANOVDB_GRID_TYPE_FP8 14 |
#define PNANOVDB_GRID_TYPE_FPN 16 |
#define PNANOVDB_GRID_TYPE_HALF 9 |
#define PNANOVDB_GRID_TYPE_INDEX 19 |
#define PNANOVDB_GRID_TYPE_INDEXMASK 21 |
#define PNANOVDB_GRID_TYPE_INT16 3 |
#define PNANOVDB_GRID_TYPE_INT32 4 |
#define PNANOVDB_GRID_TYPE_INT64 5 |
#define PNANOVDB_GRID_TYPE_MASK 8 |
#define PNANOVDB_GRID_TYPE_ONINDEX 20 |
#define PNANOVDB_GRID_TYPE_ONINDEXMASK 22 |
#define PNANOVDB_GRID_TYPE_POINTINDEX 23 |
#define PNANOVDB_GRID_TYPE_RGBA8 12 |
#define PNANOVDB_GRID_TYPE_UINT32 10 |
#define PNANOVDB_GRID_TYPE_UNKNOWN 0 |
#define PNANOVDB_GRID_TYPE_VEC3D 7 |
#define PNANOVDB_GRID_TYPE_VEC3F 6 |
#define PNANOVDB_GRID_TYPE_VEC3U16 25 |
#define PNANOVDB_GRID_TYPE_VEC3U8 24 |
#define PNANOVDB_GRID_TYPE_VEC4D 18 |
#define PNANOVDB_GRID_TYPE_VEC4F 17 |
#define PNANOVDB_GRIDBLINDMETADATA_OFF_BYTE_OFFSET 0 |
#define PNANOVDB_GRIDBLINDMETADATA_OFF_DATA_CLASS 24 |
#define PNANOVDB_GRIDBLINDMETADATA_OFF_DATA_TYPE 28 |
#define PNANOVDB_GRIDBLINDMETADATA_OFF_ELEMENT_COUNT 8 |
#define PNANOVDB_GRIDBLINDMETADATA_OFF_FLAGS 16 |
#define PNANOVDB_GRIDBLINDMETADATA_OFF_NAME 32 |
#define PNANOVDB_GRIDBLINDMETADATA_OFF_SEMANTIC 20 |
#define PNANOVDB_GRIDBLINDMETADATA_SIZE 288 |
#define PNANOVDB_LEAF_BASE_SIZE 80 |
#define PNANOVDB_LEAF_OFF_BBOX_DIF_AND_FLAGS 12 |
#define PNANOVDB_LEAF_OFF_BBOX_MIN 0 |
#define PNANOVDB_LEAF_OFF_VALUE_MASK 16 |
#define PNANOVDB_LEAF_TABLE_COUNT 512 |
#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 |
#define PNANOVDB_LEAF_TYPE_DEFAULT 0 |
#define PNANOVDB_LEAF_TYPE_FP 2 |
#define PNANOVDB_LEAF_TYPE_INDEX 3 |
#define PNANOVDB_LEAF_TYPE_INDEXMASK 4 |
#define PNANOVDB_LEAF_TYPE_LITE 1 |
#define PNANOVDB_LEAF_TYPE_POINTINDEX 5 |
#define PNANOVDB_LOWER_BASE_SIZE 1056 |
#define PNANOVDB_LOWER_OFF_BBOX_MAX 12 |
#define PNANOVDB_LOWER_OFF_BBOX_MIN 0 |
#define PNANOVDB_LOWER_OFF_CHILD_MASK 544 |
#define PNANOVDB_LOWER_OFF_FLAGS 24 |
#define PNANOVDB_LOWER_OFF_VALUE_MASK 32 |
#define PNANOVDB_LOWER_TABLE_COUNT 4096 |
#define PNANOVDB_MAGIC_FILE 0x324244566f6e614eUL |
#define PNANOVDB_MAGIC_GRID 0x314244566f6e614eUL |
#define PNANOVDB_MAGIC_NUMBER 0x304244566f6e614eUL |
#define PNANOVDB_MAJOR_VERSION_NUMBER 32 |
#define PNANOVDB_MAP_OFF_INVMATD 160 |
#define PNANOVDB_MAP_OFF_INVMATF 36 |
#define PNANOVDB_MAP_OFF_MATD 88 |
#define PNANOVDB_MAP_OFF_MATF 0 |
#define PNANOVDB_MAP_OFF_TAPERD 256 |
#define PNANOVDB_MAP_OFF_TAPERF 84 |
#define PNANOVDB_MAP_OFF_VECD 232 |
#define PNANOVDB_MAP_OFF_VECF 72 |
#define PNANOVDB_MAP_SIZE 264 |
#define PNANOVDB_MINOR_VERSION_NUMBER 6 |
#define PNANOVDB_PATCH_VERSION_NUMBER 0 |
#define PNANOVDB_ROOT_BASE_SIZE 28 |
#define PNANOVDB_ROOT_OFF_BBOX_MAX 12 |
#define PNANOVDB_ROOT_OFF_BBOX_MIN 0 |
#define PNANOVDB_ROOT_OFF_TABLE_SIZE 24 |
#define PNANOVDB_ROOT_TILE_BASE_SIZE 20 |
#define PNANOVDB_ROOT_TILE_OFF_CHILD 8 |
#define PNANOVDB_ROOT_TILE_OFF_KEY 0 |
#define PNANOVDB_ROOT_TILE_OFF_STATE 16 |
#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_NODE_OFFSET_LEAF 0 |
#define PNANOVDB_TREE_OFF_NODE_OFFSET_LOWER 8 |
#define PNANOVDB_TREE_OFF_NODE_OFFSET_ROOT 24 |
#define PNANOVDB_TREE_OFF_NODE_OFFSET_UPPER 16 |
#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_TREE_SIZE 64 |
#define PNANOVDB_UPPER_BASE_SIZE 8224 |
#define PNANOVDB_UPPER_OFF_BBOX_MAX 12 |
#define PNANOVDB_UPPER_OFF_BBOX_MIN 0 |
#define PNANOVDB_UPPER_OFF_CHILD_MASK 4128 |
#define PNANOVDB_UPPER_OFF_FLAGS 24 |
#define PNANOVDB_UPPER_OFF_VALUE_MASK 32 |
#define PNANOVDB_UPPER_TABLE_COUNT 32768 |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_coord_to_key | ( | PNANOVDB_IN(pnanovdb_coord_t) | ijk | ) |
PNANOVDB_FORCE_INLINE float pnanovdb_dither_lookup | ( | pnanovdb_bool_t | enabled, |
int | offset | ||
) |
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_int64_t pnanovdb_grid_get_blind_metadata_offset | ( | 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_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
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_count | ( | 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_name | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
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_type | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
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 pnanovdb_grid_get_gridblindmetadata_value_address | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid, | ||
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_map_handle_t pnanovdb_grid_get_map | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_tree_handle_t pnanovdb_grid_get_tree | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_version | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
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 double pnanovdb_grid_get_world_bbox | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
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 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 void pnanovdb_grid_set_blind_metadata_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | metadata_count | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_blind_metadata_offset | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint64_t | blind_metadata_offset | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_checksum | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint64_t | checksum | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | flags | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_class | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | grid_class | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | grid_count | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | grid_index | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_name | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
pnanovdb_uint32_t | grid_name | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_size | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint64_t | grid_size | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_type | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | grid_type | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_magic | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint64_t | magic | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_version | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | version | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_voxel_size | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | voxel_size | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_world_bbox | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | world_bbox | ||
) |
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_world_to_indexf | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | src | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_gridblindmetadata_get_byte_offset | ( | 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_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_name | ( | pnanovdb_buf_t | buf, |
pnanovdb_gridblindmetadata_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
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_leaf_coord_to_offset | ( | 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_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_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_fpn_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
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_uint32_t pnanovdb_leaf_get_bbox_dif_and_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | p | ||
) |
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_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_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_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_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 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_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_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_max_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | max_address | ||
) |
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_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_index_has_stats | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_indexmask_get_ave_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | ave_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_indexmask_get_dev_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | dev_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_indexmask_get_mask_bit | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | n | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_indexmask_get_max_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | max_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_indexmask_get_min_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | min_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_indexmask_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_indexmask_has_stats | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_indexmask_set_mask_bit | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | n, | ||
pnanovdb_bool_t | v | ||
) |
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_uint64_t pnanovdb_leaf_onindex_get_ave_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | ave_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_dev_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | dev_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_last_offset | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_max_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | max_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_min_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | min_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_onindex_get_value_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_onindex_has_stats | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_ave_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | ave_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_dev_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | dev_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_last_offset | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_onindexmask_get_mask_bit | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | n | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_max_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | max_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_min_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | min_address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_onindexmask_get_value_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_onindexmask_has_stats | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_onindexmask_set_mask_bit | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | n, | ||
pnanovdb_bool_t | v | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_pointindex_get_first | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_pointindex_get_last | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_pointindex_get_offset | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_pointindex_get_point_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_pointindex_get_value | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_pointindex_set_on | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_pointindex_set_value | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i, | ||
pnanovdb_uint32_t | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_pointindex_set_value_only | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i, | ||
pnanovdb_uint32_t | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_set_bbox_dif_and_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | p, | ||
pnanovdb_uint32_t | bbox_dif_and_flags | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_set_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_min | ||
) |
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_ave_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | node | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_lower_get_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_lower_get_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p | ||
) |
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_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_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_uint64_t pnanovdb_lower_get_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p | ||
) |
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_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_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_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_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_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_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_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_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 void pnanovdb_lower_set_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_max | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_lower_set_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_min | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_lower_set_child_mask | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p, | ||
pnanovdb_uint32_t | bit_index, | ||
pnanovdb_bool_t | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_lower_set_table_child | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | node, | ||
pnanovdb_uint32_t | n, | ||
pnanovdb_int64_t | child | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_make_version | ( | pnanovdb_uint32_t | major, |
pnanovdb_uint32_t | minor, | ||
pnanovdb_uint32_t | patch_num | ||
) |
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_inverse_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_jacobi | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | map, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | src | ||
) |
PNANOVDB_FORCE_INLINE double pnanovdb_map_get_invmatd | ( | 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 double pnanovdb_map_get_matd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
PNANOVDB_FORCE_INLINE float pnanovdb_map_get_matf | ( | 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 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_vecd | ( | 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 void pnanovdb_map_set_invmatd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | invmatd | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_invmatf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
float | invmatf | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_matd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | matd | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_matf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
float | matf | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_taperd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | taperd | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_taperf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
float | taperf | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_vecd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | vecd | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_vecf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
float | vecf | ||
) |
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 pnanovdb_coord_t pnanovdb_read_coord | ( | 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 float pnanovdb_read_float | ( | 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 pnanovdb_int64_t pnanovdb_read_int64 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_read_uint16 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
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_uint32_t pnanovdb_read_uint8 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_read_vec3 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_read_vec3u16 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_read_vec3u8 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
PNANOVDB_FORCE_INLINE int pnanovdb_readaccessor_computedirty | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, |
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
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_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_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_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 void pnanovdb_readaccessor_init | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, |
pnanovdb_root_handle_t | root | ||
) |
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_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 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 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_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_fpn_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level | ||
) |
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_coord_t pnanovdb_root_get_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_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_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_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_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_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_stddev_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root | ||
) |
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_uint32_t pnanovdb_root_get_tile_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_handle_t | p | ||
) |
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_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_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_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_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_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 pnanovdb_uint64_t pnanovdb_root_index_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level | ||
) |
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_uint64_t pnanovdb_root_onindex_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_root_pointindex_get_point_address_range | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_type_t | value_type, | ||
pnanovdb_address_t | value_address, | ||
pnanovdb_address_t | blindmetadata_value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level, | ||
PNANOVDB_INOUT(pnanovdb_address_t) | address_begin, | ||
PNANOVDB_INOUT(pnanovdb_address_t) | address_end | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_root_pointindex_get_point_range | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level, | ||
PNANOVDB_INOUT(pnanovdb_uint64_t) | range_begin, | ||
PNANOVDB_INOUT(pnanovdb_uint64_t) | range_end | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_root_set_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_max | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_root_set_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_min | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_root_set_tile_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_handle_t | p, | ||
pnanovdb_uint32_t | tile_count | ||
) |
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_uint64_t pnanovdb_root_tile_get_key | ( | 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_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 void pnanovdb_root_tile_set_child | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_tile_handle_t | p, | ||
pnanovdb_int64_t | child | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_root_tile_set_key | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_tile_handle_t | p, | ||
pnanovdb_uint64_t | key | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_root_tile_set_state | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_tile_handle_t | p, | ||
pnanovdb_uint32_t | state | ||
) |
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_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_root | ( | 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_root_handle_t pnanovdb_tree_get_root | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | tree | ||
) |
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 void pnanovdb_tree_set_node_count_leaf | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | node_count_leaf | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_count_lower | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | node_count_lower | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_count_upper | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | node_count_upper | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_offset_leaf | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint64_t | node_offset_leaf | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_offset_lower | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint64_t | node_offset_lower | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_offset_root | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint64_t | node_offset_root | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_offset_upper | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint64_t | node_offset_upper | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_tile_count_leaf | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | tile_count_leaf | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_tile_count_lower | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | tile_count_lower | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_tile_count_upper | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | tile_count_upper | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_voxel_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint64_t | voxel_count | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_uint32_countbits | ( | pnanovdb_uint32_t | value | ) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint64_and | ( | pnanovdb_uint64_t | a, |
pnanovdb_uint64_t | b | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_uint64_any_bit | ( | pnanovdb_uint64_t | a | ) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint64_bit_mask | ( | pnanovdb_uint32_t | bit_idx | ) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_uint64_countbits | ( | pnanovdb_uint64_t | value | ) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint64_dec | ( | pnanovdb_uint64_t | a | ) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint64_offset | ( | pnanovdb_uint64_t | a, |
pnanovdb_uint32_t | b | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_uint64_to_uint32_lsr | ( | pnanovdb_uint64_t | a, |
pnanovdb_uint32_t | b | ||
) |
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_ave_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | node | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_upper_get_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_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_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_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_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_uint64_t pnanovdb_upper_get_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p | ||
) |
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_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_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_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_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_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_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_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_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 void pnanovdb_upper_set_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_max | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_upper_set_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_min | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_upper_set_child_mask | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p, | ||
pnanovdb_uint32_t | bit_index, | ||
pnanovdb_bool_t | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_upper_set_table_child | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | node, | ||
pnanovdb_uint32_t | n, | ||
pnanovdb_int64_t | child | ||
) |
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 void pnanovdb_write_coord | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_write_double | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
double | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_write_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
float | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_write_int32 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
pnanovdb_int32_t | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_write_int64 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
pnanovdb_int64_t | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_write_uint32 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
pnanovdb_uint32_t | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_write_uint64 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
pnanovdb_uint64_t | value | ||
) |
PNANOVDB_FORCE_INLINE void pnanovdb_write_vec3 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | value | ||
) |
PNANOVDB_STATIC_CONST float pnanovdb_dither_lut[512] |
PNANOVDB_STATIC_CONST pnanovdb_grid_type_constants_t pnanovdb_grid_type_constants[26] |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_leaf_type[26] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 2, 2, 2, 2, 0, 0, 3, 3, 4, 4, 5, 0, 0 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_minmax_aligns_bits[26] = { 0, 32, 64, 16, 32, 64, 32, 64, 8, 16, 32, 8, 32, 32, 32, 32, 32, 32, 64, 64, 64, 64, 64, 64, 8, 16 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_minmax_strides_bits[26] = { 0, 32, 64, 16, 32, 64, 96, 192, 8, 16, 32, 8, 32, 32, 32, 32, 32, 128, 256, 64, 64, 64, 64, 64, 24, 48 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_stat_strides_bits[26] = { 0, 32, 64, 32, 32, 64, 32, 64, 8, 32, 32, 8, 32, 32, 32, 32, 32, 32, 64, 64, 64, 64, 64, 64, 32, 32 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_table_strides_bits[26] = { 64, 64, 64, 64, 64, 64, 128, 192, 64, 64, 64, 64, 64, 64, 64, 64, 64, 128, 256, 64, 64, 64, 64, 64, 64, 64 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_value_strides_bits[26] = { 0, 32, 64, 16, 32, 64, 96, 192, 0, 16, 32, 1, 32, 4, 8, 16, 0, 128, 256, 0, 0, 0, 0, 16, 24, 48 } |