|
Blender V5.0
|
Inherits blender::nodes::GeoNodesSimulationParams.
Classes | |
| struct | DataPerZone |
Public Attributes | |
| Map< int, std::unique_ptr< DataPerZone > > | data_by_zone_id |
Definition at line 1149 of file MOD_nodes.cc.
|
inline |
Definition at line 1172 of file MOD_nodes.cc.
References blender::bke::bake::Baked, blender::bke::bake::SimulationNodeCache::cache_status, DEG_get_bmain(), DEG_get_ctime(), DEG_get_input_scene(), DEG_is_active(), depsgraph, eModifierFlag_UserModified, ModifierData::flag, Scene::flag, blender::bke::bake::Invalid, lock, NodesModifierData::modifier, OB_FLAG_USE_SIMULATION_CACHE, reset_invalid_node_bakes(), and NodesModifierData::runtime.
|
inlineoverridevirtual |
Get the expected behavior for the simulation zone with the given id (see bNestedNodeRef). It's possible that this method called multiple times for the same id. In this case, the same pointer should be returned in each call.
Implements blender::nodes::GeoNodesSimulationParams.
Definition at line 1245 of file MOD_nodes.cc.
References data, init_simulation_info(), lock, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb().
|
inline |
Definition at line 1263 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::bke::bake::Baked, blender::bke::bake::SimulationNodeCache::cache_status, blender::BakeFrameIndices::current, blender::bke::bake::NodeBakeCache::failed_finding_bake, blender::IndexRange::first(), float, blender::bke::bake::NodeBakeCache::frames, blender::get_bake_frame_indices(), blender::bke::bake::get_node_bake_frame_range(), blender::nodes::SimulationZoneBehavior::input, input_pass_through(), blender::bke::bake::Invalid, blender::IndexRange::last(), blender::BakeFrameIndices::next, blender::NodesModifierBakeDataBlockMap::old_mappings, blender::nodes::SimulationZoneBehavior::output, output_pass_through(), output_store_frame_cache(), blender::BakeFrameIndices::prev, blender::bke::bake::SimulationNodeCache::prev_cache, read_from_cache(), store_as_prev_items(), and blender::try_find_baked_data().
Referenced by get().
|
inline |
Definition at line 1385 of file MOD_nodes.cc.
References blender::nodes::SimulationZoneBehavior::input.
Referenced by init_simulation_info().
|
inline |
Definition at line 1390 of file MOD_nodes.cc.
References blender::nodes::SimulationZoneBehavior::output.
Referenced by init_simulation_info(), and read_from_cache().
|
inline |
Definition at line 1395 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::bke::bake::NodeBakeCache::frames, lock, blender::nodes::SimulationZoneBehavior::output, and state.
Referenced by init_simulation_info().
|
inline |
Definition at line 1426 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::BakeFrameIndices::current, blender::bke::bake::NodeBakeCache::frames, blender::nodes::SimulationZoneBehavior::input, blender::BakeFrameIndices::next, output_pass_through(), blender::BakeFrameIndices::prev, read_interpolated(), and read_single().
Referenced by init_simulation_info().
|
inline |
Definition at line 1471 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::ensure_bake_loaded(), float, blender::bke::bake::FrameCache::frame, blender::bke::bake::NodeBakeCache::frames, blender::nodes::SimulationZoneBehavior::output, and blender::bke::bake::FrameCache::state.
Referenced by read_from_cache().
|
inline |
Definition at line 1461 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::ensure_bake_loaded(), blender::bke::bake::NodeBakeCache::frames, blender::nodes::SimulationZoneBehavior::output, and blender::bke::bake::FrameCache::state.
Referenced by read_from_cache().
|
inline |
Definition at line 1220 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::bke::bake::SimulationNodeCache::cache_status, blender::bke::bake::NodeBakeCache::frames, blender::bke::bake::get_node_bake_frame_range(), blender::bke::bake::Invalid, and blender::bke::bake::SimulationNodeCache::reset().
Referenced by NodesModifierSimulationParams().
|
inline |
Definition at line 1410 of file MOD_nodes.cc.
References lock, blender::nodes::SimulationZoneBehavior::output, blender::bke::bake::SimulationNodeCache::prev_cache, and state.
Referenced by init_simulation_info().
|
mutable |
Definition at line 1170 of file MOD_nodes.cc.
Referenced by blender::add_data_block_items_writeback().