|
Blender V4.3
|
#include <deg_eval_runtime_backup_object.h>
Public Member Functions | |
| ObjectRuntimeBackup (const Depsgraph *depsgraph) | |
| void | init_from_object (Object *object) |
| void | backup_modifier_runtime_data (Object *object) |
| void | backup_pose_channel_runtime_data (Object *object) |
| void | restore_to_object (Object *object) |
| void | restore_modifier_runtime_data (Object *object) |
| void | restore_pose_channel_runtime_data (Object *object) |
Public Attributes | |
| bke::ObjectRuntime | runtime |
| optional< LightLinkingRuntime > | light_linking_runtime |
| short | base_flag |
| unsigned short | base_local_view_bits |
| Map< int, ModifierDataBackup > | modifier_runtime_data |
| Map< SessionUID, bPoseChannel_Runtime > | pose_channel_runtime_data |
Definition at line 28 of file deg_eval_runtime_backup_object.h.
| blender::deg::ObjectRuntimeBackup::ObjectRuntimeBackup | ( | const Depsgraph * | depsgraph | ) |
Definition at line 24 of file deg_eval_runtime_backup_object.cc.
References runtime.
| void blender::deg::ObjectRuntimeBackup::backup_modifier_runtime_data | ( | Object * | object | ) |
Definition at line 54 of file deg_eval_runtime_backup_object.cc.
References LISTBASE_FOREACH, and modifier_runtime_data.
Referenced by init_from_object().
| void blender::deg::ObjectRuntimeBackup::backup_pose_channel_runtime_data | ( | Object * | object | ) |
Definition at line 66 of file deg_eval_runtime_backup_object.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_pose_channel_runtime_reset(), BLI_assert, BLI_session_uid_is_generated(), LISTBASE_FOREACH, and pose_channel_runtime_data.
Referenced by init_from_object().
| void blender::deg::ObjectRuntimeBackup::init_from_object | ( | Object * | object | ) |
Definition at line 31 of file deg_eval_runtime_backup_object.cc.
References backup_modifier_runtime_data(), backup_pose_channel_runtime_data(), base_flag, base_local_view_bits, BKE_object_runtime_reset(), blender::bke::ObjectRuntime::bounds_eval, blender::bke::ObjectRuntime::data_orig, light_linking_runtime, and runtime.
Referenced by blender::deg::RuntimeBackup::init_from_id().
| void blender::deg::ObjectRuntimeBackup::restore_modifier_runtime_data | ( | Object * | object | ) |
Definition at line 146 of file deg_eval_runtime_backup_object.cc.
References BKE_modifier_get_info(), BLI_assert, eModifierType_Subsurf, ModifierTypeInfo::free_runtime_data, LISTBASE_FOREACH, modifier_runtime_data, and OB_MESH.
Referenced by restore_to_object().
| void blender::deg::ObjectRuntimeBackup::restore_pose_channel_runtime_data | ( | Object * | object | ) |
Definition at line 172 of file deg_eval_runtime_backup_object.cc.
References BKE_pose_channel_runtime_free(), LISTBASE_FOREACH, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop_try(), pose_channel_runtime_data, runtime, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by restore_to_object().
| void blender::deg::ObjectRuntimeBackup::restore_to_object | ( | Object * | object | ) |
Definition at line 79 of file deg_eval_runtime_backup_object.cc.
References base_flag, base_local_view_bits, BKE_object_free_derived_caches(), blender::bke::ObjectRuntime::data_eval, blender::bke::ObjectRuntime::data_orig, ELEM, GS, ID_RECALC_GEOMETRY, light_linking_runtime, ID::name, OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_GREASE_PENCIL, OB_LATTICE, OB_MESH, OB_POINTCLOUD, OB_VOLUME, restore_modifier_runtime_data(), restore_pose_channel_runtime_data(), runtime, ID::runtime, and Mesh::runtime.
Referenced by blender::deg::RuntimeBackup::restore_to_id().
| short blender::deg::ObjectRuntimeBackup::base_flag |
Definition at line 47 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), and restore_to_object().
| unsigned short blender::deg::ObjectRuntimeBackup::base_local_view_bits |
Definition at line 48 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), and restore_to_object().
| optional<LightLinkingRuntime> blender::deg::ObjectRuntimeBackup::light_linking_runtime |
Definition at line 46 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), and restore_to_object().
| Map<int, ModifierDataBackup> blender::deg::ObjectRuntimeBackup::modifier_runtime_data |
Definition at line 49 of file deg_eval_runtime_backup_object.h.
Referenced by backup_modifier_runtime_data(), and restore_modifier_runtime_data().
| Map<SessionUID, bPoseChannel_Runtime> blender::deg::ObjectRuntimeBackup::pose_channel_runtime_data |
Definition at line 50 of file deg_eval_runtime_backup_object.h.
Referenced by backup_pose_channel_runtime_data(), and restore_pose_channel_runtime_data().
| bke::ObjectRuntime blender::deg::ObjectRuntimeBackup::runtime |
Definition at line 45 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), ObjectRuntimeBackup(), restore_pose_channel_runtime_data(), and restore_to_object().