|
Blender V5.3
|
Inherits blender::nodes::GeoNodesSimulationParams.
Classes | |
| struct | DataPerZone |
Public Attributes | |
| Map< int, std::unique_ptr< DataPerZone > > | data_by_zone_id |
Definition at line 1059 of file MOD_nodes.cc.
|
inline |
Definition at line 1082 of file MOD_nodes.cc.
References blender::NodesModifierRuntime::cache, blender::bke::bake::SimulationNodeCache::cache_status, blender::DEG_get_bmain(), blender::DEG_get_ctime(), blender::DEG_get_input_scene(), blender::DEG_is_active(), blender::eModifierFlag_UserModified, blender::ModifierData::flag, blender::Scene::flag, lock, blender::NodesModifierData::modifier, blender::OB_FLAG_USE_SIMULATION_CACHE, reset_invalid_node_bakes(), and blender::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 1155 of file MOD_nodes.cc.
References blender::data, init_simulation_info(), lock, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb().
|
inline |
Definition at line 1173 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::bke::bake::SimulationNodeCache::cache_status, blender::BakeFrameIndices::current, blender::nodes::sim_input::UseCache::delta_time, 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::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(), blender::try_find_baked_data(), and blender::nodes::sim_output::ReadSingle::values.
Referenced by get().
|
inline |
Definition at line 1295 of file MOD_nodes.cc.
References blender::nodes::SimulationZoneBehavior::input.
Referenced by init_simulation_info().
|
inline |
Definition at line 1300 of file MOD_nodes.cc.
References blender::nodes::SimulationZoneBehavior::output.
Referenced by init_simulation_info(), and read_from_cache().
|
inline |
Definition at line 1305 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::bke::bake::NodeBakeCache::frames, lock, blender::nodes::SimulationZoneBehavior::output, and blender::nodes::sim_output::StoreNewState::store_fn.
Referenced by init_simulation_info().
|
inline |
Definition at line 1338 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 1383 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::sim_output::ReadInterpolated::mix_factor, blender::nodes::SimulationZoneBehavior::output, and blender::bke::bake::FrameCache::values.
Referenced by read_from_cache().
|
inline |
Definition at line 1373 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::ensure_bake_loaded(), blender::bke::bake::NodeBakeCache::frames, blender::nodes::SimulationZoneBehavior::output, blender::bke::bake::FrameCache::values, and blender::nodes::sim_output::ReadSingle::values.
Referenced by read_from_cache().
|
inline |
Definition at line 1130 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(), and blender::bke::bake::SimulationNodeCache::reset().
Referenced by NodesModifierSimulationParams().
|
inline |
Definition at line 1321 of file MOD_nodes.cc.
References lock, blender::nodes::SimulationZoneBehavior::output, blender::bke::bake::SimulationNodeCache::prev_cache, and blender::nodes::sim_output::StoreNewState::store_fn.
Referenced by init_simulation_info().
|
mutable |
Definition at line 1080 of file MOD_nodes.cc.
Referenced by blender::add_data_block_items_writeback().