|
Blender V4.3
|
Inherits blender::nodes::GeoNodesSimulationParams.
Classes | |
| struct | DataPerZone |
Public Attributes | |
| Map< int, std::unique_ptr< DataPerZone > > | data_by_zone_id |
Definition at line 1097 of file MOD_nodes.cc.
|
inline |
Definition at line 1120 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::cache_status, DEG_get_bmain(), DEG_get_ctime(), DEG_get_input_scene(), DEG_is_active(), depsgraph, ModifierEvalContext::depsgraph, eModifierFlag_UserModified, ModifierData::flag, Object::flag, FPS, lock, NodesModifierData::modifier, blender::bke::bake::ModifierCache::mutex, OB_FLAG_USE_SIMULATION_CACHE, ModifierEvalContext::object, reset_invalid_node_bakes(), NodesModifierData::runtime, scene, and blender::bke::bake::ModifierCache::simulation_cache_by_id.
|
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 1193 of file MOD_nodes.cc.
References data, init_simulation_info(), lock, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb(), and blender::bke::bake::ModifierCache::mutex.
|
inline |
Definition at line 1211 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::bke::bake::SimulationNodeCache::cache_status, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::BakeFrameIndices::current, blender::nodes::sim_input::OutputCopy::delta_time, blender::nodes::sim_input::OutputMove::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(), int, blender::IndexRange::last(), blender::BakeFrameIndices::next, ModifierEvalContext::object, 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(), blender::bke::bake::ModifierCache::requested_bakes, blender::bke::bake::ModifierCache::simulation_cache_by_id, blender::nodes::sim_output::ReadSingle::state, store_as_prev_items(), and blender::try_find_baked_data().
Referenced by get().
|
inline |
Definition at line 1333 of file MOD_nodes.cc.
References blender::nodes::SimulationZoneBehavior::input.
Referenced by init_simulation_info().
|
inline |
Definition at line 1338 of file MOD_nodes.cc.
References blender::nodes::SimulationZoneBehavior::output.
Referenced by init_simulation_info(), and read_from_cache().
|
inline |
Definition at line 1343 of file MOD_nodes.cc.
References blender::bke::bake::SimulationNodeCache::bake, blender::bke::bake::NodeBakeCache::frames, lock, blender::nodes::SimulationZoneBehavior::output, state, and blender::nodes::sim_output::StoreNewState::store_fn.
Referenced by init_simulation_info().
|
inline |
Definition at line 1374 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 1419 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::state.
Referenced by read_from_cache().
|
inline |
Definition at line 1409 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::state, and blender::nodes::sim_output::ReadSingle::state.
Referenced by read_from_cache().
|
inline |
Definition at line 1168 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(), int, ModifierEvalContext::object, blender::bke::bake::SimulationNodeCache::reset(), and blender::bke::bake::ModifierCache::simulation_cache_by_id.
Referenced by NodesModifierSimulationParams().
|
inline |
Definition at line 1358 of file MOD_nodes.cc.
References lock, blender::nodes::SimulationZoneBehavior::output, blender::bke::bake::SimulationNodeCache::prev_cache, state, and blender::nodes::sim_output::StoreNewState::store_fn.
Referenced by init_simulation_info().
|
mutable |
Definition at line 1118 of file MOD_nodes.cc.
Referenced by blender::add_data_block_items_writeback().