OpenVDB
9.0.1
|
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_read_uint32 (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_read_uint64 (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE pnanovdb_int32_t | pnanovdb_read_int32 (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE float | pnanovdb_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_read_int64 (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE double | pnanovdb_read_double (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_read_coord (pnanovdb_buf_t buf, pnanovdb_address_t address) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_read_bit (pnanovdb_buf_t buf, pnanovdb_address_t address, pnanovdb_uint32_t bit_offset) |
PNANOVDB_FORCE_INLINE float | pnanovdb_map_get_matf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE float | pnanovdb_map_get_invmatf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE float | pnanovdb_map_get_vecf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE float | pnanovdb_map_get_taperf (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE double | pnanovdb_map_get_matd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE double | pnanovdb_map_get_invmatd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE double | pnanovdb_map_get_vecd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE double | pnanovdb_map_get_taperd (pnanovdb_buf_t buf, pnanovdb_map_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_grid_get_magic (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_grid_get_checksum (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_version (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_flags (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_grid_index (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_grid_count (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_grid_get_grid_size (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_grid_name (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE pnanovdb_map_handle_t | pnanovdb_grid_get_map (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE double | pnanovdb_grid_get_world_bbox (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE double | pnanovdb_grid_get_voxel_size (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_grid_class (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_grid_type (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_grid_get_blind_metadata_offset (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_grid_get_blind_metadata_count (pnanovdb_buf_t buf, pnanovdb_grid_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_version_get_major (pnanovdb_uint32_t version) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_version_get_minor (pnanovdb_uint32_t version) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_version_get_patch (pnanovdb_uint32_t version) |
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_gridblindmetadata_get_byte_offset (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_gridblindmetadata_get_element_count (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_gridblindmetadata_get_flags (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_gridblindmetadata_get_semantic (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_gridblindmetadata_get_data_class (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_gridblindmetadata_get_data_type (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_gridblindmetadata_get_name (pnanovdb_buf_t buf, pnanovdb_gridblindmetadata_handle_t p, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_tree_get_node_offset_leaf (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_tree_get_node_offset_lower (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_tree_get_node_offset_upper (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_tree_get_node_offset_root (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_node_count_leaf (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_node_count_lower (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_node_count_upper (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_tile_count_leaf (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_tile_count_lower (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_tree_get_tile_count_upper (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_tree_get_voxel_count (pnanovdb_buf_t buf, pnanovdb_tree_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_root_get_bbox_min (pnanovdb_buf_t buf, pnanovdb_root_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_root_get_bbox_max (pnanovdb_buf_t buf, pnanovdb_root_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_root_get_tile_count (pnanovdb_buf_t buf, pnanovdb_root_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_root_tile_get_key (pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_root_tile_get_child (pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_root_tile_get_state (pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_upper_get_bbox_min (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_upper_get_bbox_max (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_upper_get_flags (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_upper_get_value_mask (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p, pnanovdb_uint32_t bit_index) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_upper_get_child_mask (pnanovdb_buf_t buf, pnanovdb_upper_handle_t p, pnanovdb_uint32_t bit_index) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_lower_get_bbox_min (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_lower_get_bbox_max (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_lower_get_flags (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_lower_get_value_mask (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p, pnanovdb_uint32_t bit_index) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_lower_get_child_mask (pnanovdb_buf_t buf, pnanovdb_lower_handle_t p, pnanovdb_uint32_t bit_index) |
PNANOVDB_FORCE_INLINE pnanovdb_coord_t | pnanovdb_leaf_get_bbox_min (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_leaf_get_bbox_dif_and_flags (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t p) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_leaf_get_value_mask (pnanovdb_buf_t buf, pnanovdb_leaf_handle_t p, pnanovdb_uint32_t bit_index) |
PNANOVDB_FORCE_INLINE pnanovdb_gridblindmetadata_handle_t | pnanovdb_grid_get_gridblindmetadata (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanodvb_grid_get_gridblindmetadata_value_address (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, pnanovdb_uint32_t index) |
PNANOVDB_FORCE_INLINE pnanovdb_tree_handle_t | pnanovdb_grid_get_tree (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid) |
PNANOVDB_FORCE_INLINE pnanovdb_root_handle_t | pnanovdb_tree_get_root (pnanovdb_buf_t buf, pnanovdb_tree_handle_t tree) |
PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t | pnanovdb_root_get_tile (pnanovdb_grid_type_t grid_type, pnanovdb_root_handle_t root, pnanovdb_uint32_t n) |
PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t | pnanovdb_root_get_tile_zero (pnanovdb_grid_type_t grid_type, pnanovdb_root_handle_t root) |
PNANOVDB_FORCE_INLINE pnanovdb_upper_handle_t | pnanovdb_root_get_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, pnanovdb_root_tile_handle_t tile) |
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t | pnanovdb_coord_to_key (PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t | pnanovdb_root_find_tile (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_leaf_coord_to_offset (PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_min_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_max_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_ave_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_stddev_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_table_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t node, pnanovdb_uint32_t n) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE float | pnanovdb_leaf_fp_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t value_log_bits) |
PNANOVDB_FORCE_INLINE float | pnanovdb_leaf_fp4_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE float | pnanovdb_leaf_fp8_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE float | pnanovdb_leaf_fp16_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE float | pnanovdb_leaf_fpn_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_lower_coord_to_offset (PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_min_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_max_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_ave_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_stddev_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_table_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node, pnanovdb_uint32_t n) |
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_lower_get_table_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t node, pnanovdb_uint32_t n) |
PNANOVDB_FORCE_INLINE pnanovdb_leaf_handle_t | pnanovdb_lower_get_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, pnanovdb_uint32_t n) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_value_address_and_level (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) level) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_upper_coord_to_offset (PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_min_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_max_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_ave_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_stddev_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_table_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node, pnanovdb_uint32_t n) |
PNANOVDB_FORCE_INLINE pnanovdb_int64_t | pnanovdb_upper_get_table_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t node, pnanovdb_uint32_t n) |
PNANOVDB_FORCE_INLINE pnanovdb_lower_handle_t | pnanovdb_upper_get_child (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, pnanovdb_uint32_t n) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_value_address_and_level (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) level) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_min_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_max_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_ave_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_stddev_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_tile_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_tile_handle_t root_tile) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_value_address_and_level (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) level) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_value_address_bit (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) bit_index) |
PNANOVDB_FORCE_INLINE float | pnanovdb_root_fp4_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level) |
PNANOVDB_FORCE_INLINE float | pnanovdb_root_fp8_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level) |
PNANOVDB_FORCE_INLINE float | pnanovdb_root_fp16_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level) |
PNANOVDB_FORCE_INLINE float | pnanovdb_root_fpn_read_float (pnanovdb_buf_t buf, pnanovdb_address_t address, PNANOVDB_IN(pnanovdb_coord_t) ijk, pnanovdb_uint32_t level) |
PNANOVDB_FORCE_INLINE void | pnanovdb_readaccessor_init (PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, pnanovdb_root_handle_t root) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_readaccessor_iscached0 (PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, int dirty) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_readaccessor_iscached1 (PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, int dirty) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_readaccessor_iscached2 (PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, int dirty) |
PNANOVDB_FORCE_INLINE int | pnanovdb_readaccessor_computedirty (PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_leaf_get_value_address_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_value_address_and_level_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_INOUT(pnanovdb_uint32_t) level) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_lower_get_value_address_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_value_address_and_level_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_INOUT(pnanovdb_uint32_t) level) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_upper_get_value_address_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_value_address_and_level_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_INOUT(pnanovdb_uint32_t) level) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_root_get_value_address_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_readaccessor_get_value_address_and_level (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) level) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_readaccessor_get_value_address (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_address_t | pnanovdb_readaccessor_get_value_address_bit (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_uint32_t) bit_index) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_leaf_get_dim_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_lower_get_dim_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_upper_get_dim_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_root_get_dim_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t | pnanovdb_readaccessor_get_dim (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_leaf_is_active_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_leaf_handle_t leaf, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_lower_is_active_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_lower_handle_t lower, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_upper_is_active_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_upper_handle_t upper, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_root_is_active_and_cache (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, pnanovdb_root_handle_t root, PNANOVDB_IN(pnanovdb_coord_t) ijk, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc) |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t | pnanovdb_readaccessor_is_active (pnanovdb_grid_type_t grid_type, pnanovdb_buf_t buf, PNANOVDB_INOUT(pnanovdb_readaccessor_t) acc, PNANOVDB_IN(pnanovdb_coord_t) ijk) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_map_apply (pnanovdb_buf_t buf, pnanovdb_map_handle_t map, PNANOVDB_IN(pnanovdb_vec3_t) src) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_map_apply_inverse (pnanovdb_buf_t buf, pnanovdb_map_handle_t map, PNANOVDB_IN(pnanovdb_vec3_t) src) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_map_apply_jacobi (pnanovdb_buf_t buf, pnanovdb_map_handle_t map, PNANOVDB_IN(pnanovdb_vec3_t) src) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_map_apply_inverse_jacobi (pnanovdb_buf_t buf, pnanovdb_map_handle_t map, PNANOVDB_IN(pnanovdb_vec3_t) src) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_grid_world_to_indexf (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, PNANOVDB_IN(pnanovdb_vec3_t) src) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_grid_index_to_worldf (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, PNANOVDB_IN(pnanovdb_vec3_t) src) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_grid_world_to_index_dirf (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, PNANOVDB_IN(pnanovdb_vec3_t) src) |
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t | pnanovdb_grid_index_to_world_dirf (pnanovdb_buf_t buf, pnanovdb_grid_handle_t grid, PNANOVDB_IN(pnanovdb_vec3_t) src) |
PNANOVDB_FORCE_INLINE float | pnanovdb_dither_lookup (pnanovdb_bool_t enabled, int offset) |
Variables | |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_value_strides_bits [19] = { 0, 32, 64, 16, 32, 64, 96, 192, 0, 16, 32, 1, 32, 4, 8, 16, 0, 128, 256 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_table_strides_bits [19] = { 64, 64, 64, 64, 64, 64, 128, 192, 64, 64, 64, 64, 64, 64, 64, 64, 64, 128, 256 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_minmax_strides_bits [19] = { 0, 32, 64, 16, 32, 64, 96, 192, 8, 16, 32, 8, 32, 32, 32, 32, 32, 128, 256 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_minmax_aligns_bits [19] = { 0, 32, 64, 16, 32, 64, 32, 64, 8, 16, 32, 8, 32, 32, 32, 32, 32, 32, 64 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_stat_strides_bits [19] = { 0, 32, 64, 32, 32, 64, 32, 64, 8, 32, 32, 8, 32, 32, 32, 32, 32, 32, 64 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t | pnanovdb_grid_type_leaf_type [19] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 2, 2, 2, 2, 0, 0 } |
PNANOVDB_STATIC_CONST pnanovdb_grid_type_constants_t | pnanovdb_grid_type_constants [19] |
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 8 |
#define PNANOVDB_GRID_CLASS_FOG_VOLUME 2 |
#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_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 19 |
#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_INT16 3 |
#define PNANOVDB_GRID_TYPE_INT32 4 |
#define PNANOVDB_GRID_TYPE_INT64 5 |
#define PNANOVDB_GRID_TYPE_MASK 8 |
#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_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_LITE 1 |
#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_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 3 |
#define PNANOVDB_PATCH_VERSION_NUMBER 3 |
#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_address_t pnanodvb_grid_get_gridblindmetadata_value_address | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid, | ||
pnanovdb_uint32_t | index | ||
) |
PNANOVDB_FORCE_INLINE pnanovdb_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_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 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_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_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 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 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_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 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_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_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 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 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 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_STATIC_CONST float pnanovdb_dither_lut[512] |
PNANOVDB_STATIC_CONST pnanovdb_grid_type_constants_t pnanovdb_grid_type_constants[19] |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_leaf_type[19] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 2, 2, 2, 2, 0, 0 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_minmax_aligns_bits[19] = { 0, 32, 64, 16, 32, 64, 32, 64, 8, 16, 32, 8, 32, 32, 32, 32, 32, 32, 64 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_minmax_strides_bits[19] = { 0, 32, 64, 16, 32, 64, 96, 192, 8, 16, 32, 8, 32, 32, 32, 32, 32, 128, 256 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_stat_strides_bits[19] = { 0, 32, 64, 32, 32, 64, 32, 64, 8, 32, 32, 8, 32, 32, 32, 32, 32, 32, 64 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_table_strides_bits[19] = { 64, 64, 64, 64, 64, 64, 128, 192, 64, 64, 64, 64, 64, 64, 64, 64, 64, 128, 256 } |
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_value_strides_bits[19] = { 0, 32, 64, 16, 32, 64, 96, 192, 0, 16, 32, 1, 32, 4, 8, 16, 0, 128, 256 } |