|
Blender V4.3
|
#include <NOD_geometry_nodes_log.hh>
Public Member Functions | |
| GeoModifierLog () | |
| ~GeoModifierLog () | |
| GeoTreeLogger & | get_local_tree_logger (const ComputeContext &compute_context) |
| GeoTreeLog & | get_tree_log (const ComputeContextHash &compute_context_hash) |
Static Public Member Functions | |
| static Map< const bke::bNodeTreeZone *, ComputeContextHash > | get_context_hash_by_zone_for_node_editor (const SpaceNode &snode, StringRefNull modifier_name) |
| static Map< const bke::bNodeTreeZone *, ComputeContextHash > | get_context_hash_by_zone_for_node_editor (const SpaceNode &snode, ComputeContextBuilder &compute_context_builder) |
| static Map< const bke::bNodeTreeZone *, GeoTreeLog * > | get_tree_log_by_zone_for_node_editor (const SpaceNode &snode) |
| static const ViewerNodeLog * | find_viewer_node_log_for_path (const ViewerPath &viewer_path) |
There is one GeoModifierLog for every modifier that evaluates geometry nodes. It contains all the loggers that are used during evaluation as well as the preprocessed logs that are used by UI code.
Definition at line 352 of file NOD_geometry_nodes_log.hh.
|
default |
|
default |
|
static |
Definition at line 736 of file geometry_nodes_log.cc.
References blender::ed::viewer_path::add_compute_context_for_viewer_path_elem(), eModifierType_Nodes, blender::nodes::geo_eval_log::GeoTreeLog::ensure_viewer_node_logs(), get_tree_log(), blender::ComputeContextBuilder::hash(), LISTBASE_FOREACH, blender::ed::viewer_path::parse_geometry_nodes_viewer(), blender::ComputeContextBuilder::push(), NodesModifierData::runtime, and blender::nodes::geo_eval_log::GeoTreeLog::viewer_node_logs.
Referenced by blender::ed::spreadsheet::spreadsheet_get_display_geometry_set().
|
static |
Definition at line 662 of file geometry_nodes_log.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), SpaceNode::edittree, blender::nodes::geo_eval_log::find_tree_zone_hash_recursive(), blender::ComputeContextBuilder::hash(), blender::ed::space_node::push_compute_context_for_tree_path(), and blender::bke::bNodeTreeZones::root_zones.
|
static |
Utility accessor to logged data.
Definition at line 682 of file geometry_nodes_log.cc.
References get_context_hash_by_zone_for_node_editor(), modifier_name, and blender::ComputeContextBuilder::push().
Referenced by get_context_hash_by_zone_for_node_editor(), and get_tree_log_by_zone_for_node_editor().
| GeoTreeLogger & blender::nodes::geo_eval_log::GeoModifierLog::get_local_tree_logger | ( | const ComputeContext & | compute_context | ) |
Get a thread-local logger for the current node tree.
Definition at line 571 of file geometry_nodes_log.cc.
References blender::nodes::geo_eval_log::GeoTreeLogger::children_hashes, blender::LinearAllocator< Allocator >::construct(), get_local_tree_logger(), blender::ComputeContext::hash(), blender::threading::EnumerableThreadSpecific< T >::local(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default(), and blender::ComputeContext::parent().
Referenced by get_local_tree_logger().
| GeoTreeLog & blender::nodes::geo_eval_log::GeoModifierLog::get_tree_log | ( | const ComputeContextHash & | compute_context_hash | ) |
Get a log a specific node tree instance.
Definition at line 614 of file geometry_nodes_log.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append().
Referenced by blender::nodes::gizmos::apply_gizmo_change(), blender::nodes::inverse_eval::backpropagate_socket_values_through_node(), blender::nodes::geo_eval_log::GeoTreeLog::ensure_node_warnings(), blender::nodes::geo_eval_log::GeoTreeLog::ensure_used_named_attributes(), find_viewer_node_log_for_path(), and get_tree_log_by_zone_for_node_editor().
|
static |
Definition at line 690 of file geometry_nodes_log.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BLI_assert_unreachable, SpaceNode::geometry_nodes_tool_tree, SpaceNode::geometry_nodes_type, get_context_hash_by_zone_for_node_editor(), blender::ed::space_node::get_modifier_for_node_editor(), get_tree_log(), bNodeTree::id, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), log(), ID::name, blender::ed::geometry::node_group_operator_static_eval_log(), blender::ComputeContextBuilder::push(), SNODE_GEOMETRY_MODIFIER, and SNODE_GEOMETRY_TOOL.