|
Blender V5.0
|
#include <volume.h>
Public Member Functions | |
| VolumeManager () | |
| ~VolumeManager () | |
| void | device_update (Device *, DeviceScene *, const Scene *, Progress &) |
| void | device_free (DeviceScene *) |
| void | tag_update () |
| void | tag_update (const Shader *shader) |
| void | tag_update (const Object *object, const uint32_t flag) |
| void | tag_update (const Geometry *geometry) |
| void | tag_update_indices () |
Static Public Member Functions | |
| static bool | is_homogeneous_volume (const Object *, const Shader *) |
Definition at line 42 of file scene/volume.h.
| VolumeManager::VolumeManager | ( | ) |
Definition at line 640 of file scene/volume.cpp.
| VolumeManager::~VolumeManager | ( | ) |
Definition at line 1186 of file scene/volume.cpp.
| void VolumeManager::device_free | ( | DeviceScene * | dscene | ) |
Definition at line 1178 of file scene/volume.cpp.
References device_vector< T >::free(), DeviceScene::volume_step_size, DeviceScene::volume_tree_nodes, DeviceScene::volume_tree_root_ids, and DeviceScene::volume_tree_roots.
| void VolumeManager::device_update | ( | Device * | device, |
| DeviceScene * | dscene, | ||
| const Scene * | scene, | ||
| Progress & | progress ) |
Definition at line 1133 of file scene/volume.cpp.
References Device::const_copy_to(), DeviceScene::data, device_vector< T >::free(), Scene::integrator, LOG_DEBUG, NULL_SCATTERING, RAY_MARCHING, DeviceScene::volume_step_size, DeviceScene::volume_tree_nodes, DeviceScene::volume_tree_root_ids, and DeviceScene::volume_tree_roots.
Definition at line 724 of file scene/volume.cpp.
References ATTR_ELEMENT_VOXEL, Object::attributes, Attribute::element, Shader::has_volume, Shader::has_volume_attribute_dependency, and Shader::has_volume_spatial_varying.
| void VolumeManager::tag_update | ( | ) |
Definition at line 645 of file scene/volume.cpp.
Referenced by tag_update(), tag_update(), and tag_update().
| void VolumeManager::tag_update | ( | const Geometry * | geometry | ) |
Definition at line 692 of file scene/volume.cpp.
References tag_update().
| void VolumeManager::tag_update | ( | const Object * | object, |
| const uint32_t | flag ) |
Definition at line 651 of file scene/volume.cpp.
References flag, Shader::has_volume_spatial_varying, ObjectManager::OBJECT_REMOVED, tag_update(), ObjectManager::TRANSFORM_MODIFIED, and ObjectManager::VISIBILITY_MODIFIED.
| void VolumeManager::tag_update | ( | const Shader * | shader | ) |
Definition at line 678 of file scene/volume.cpp.
References tag_update().
| void VolumeManager::tag_update_indices | ( | ) |
Definition at line 719 of file scene/volume.cpp.