|
Blender V5.3
|
#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 set< Object * > &objects, const uint32_t flag) |
| void | tag_update (const set< Geometry * > &geometry) |
| void | tag_update_indices () |
| void | tag_update_algorithm () |
Static Public Member Functions | |
| static bool | is_homogeneous_volume (const Object *, const Shader *) |
Public Attributes | |
| bool | need_update_step_size |
Definition at line 36 of file scene/volume.h.
| VolumeManager::VolumeManager | ( | ) |
Definition at line 728 of file scene/volume.cpp.
References need_update_step_size.
| VolumeManager::~VolumeManager | ( | ) |
Definition at line 1308 of file scene/volume.cpp.
| void VolumeManager::device_free | ( | DeviceScene * | dscene | ) |
Definition at line 1300 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 1251 of file scene/volume.cpp.
References Device::const_copy_to(), DeviceScene::data, device_vector< T >::free(), Scene::integrator, LOG_INFO, DeviceScene::volume_step_size, DeviceScene::volume_tree_nodes, DeviceScene::volume_tree_root_ids, and DeviceScene::volume_tree_roots.
Definition at line 840 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 734 of file scene/volume.cpp.
Referenced by tag_update(), tag_update(), and tag_update().
| void VolumeManager::tag_update | ( | const set< Geometry * > & | geometry | ) |
Definition at line 791 of file scene/volume.cpp.
References tag_update().
| void VolumeManager::tag_update | ( | const set< Object * > & | objects, |
| const uint32_t | flag ) |
Definition at line 740 of file scene/volume.cpp.
References Shader::has_volume_spatial_varying, node, ObjectManager::OBJECT_REMOVED, tag_update(), ObjectManager::TRANSFORM_MODIFIED, and ObjectManager::VISIBILITY_MODIFIED.
| void VolumeManager::tag_update | ( | const Shader * | shader | ) |
Definition at line 777 of file scene/volume.cpp.
References tag_update().
| void VolumeManager::tag_update_algorithm | ( | ) |
Definition at line 834 of file scene/volume.cpp.
| void VolumeManager::tag_update_indices | ( | ) |
Definition at line 829 of file scene/volume.cpp.
| bool VolumeManager::need_update_step_size |
Definition at line 55 of file scene/volume.h.
Referenced by VolumeManager().