|
Blender V5.0
|
#include <NOD_geometry_nodes_log.hh>
Public Member Functions | |
| GeoNodesLog () | |
| ~GeoNodesLog () | |
| 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, bke::ComputeContextCache &compute_context_cache) |
| static ContextualGeoTreeLogs | get_contextual_tree_logs (const SpaceNode &snode) |
| static const ViewerNodeLog * | find_viewer_node_log_for_path (const ViewerPath &viewer_path) |
There is one GeoNodesLog 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 465 of file NOD_geometry_nodes_log.hh.
|
default |
Referenced by get_contextual_tree_logs().
|
default |
|
static |
Definition at line 985 of file geometry_nodes_log.cc.
References blender::ed::viewer_path::compute_context_for_viewer_path_elem(), eModifierType_Nodes, blender::nodes::geo_eval_log::GeoTreeLog::ensure_viewer_node_logs(), blender::bke::ComputeContextCache::for_modifier(), get_tree_log(), blender::ComputeContext::hash(), LISTBASE_FOREACH, Object::modifiers, blender::ed::viewer_path::parse_geometry_nodes_viewer(), NodesModifierData::runtime, and blender::nodes::geo_eval_log::GeoTreeLog::viewer_node_logs.
Referenced by blender::ed::spreadsheet::geometry_display_data_get(), object_duplilist_preview(), and blender::ed::spreadsheet::viewer_node_log_lookup().
|
static |
Utility accessor to logged data.
Definition at line 919 of file geometry_nodes_log.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::ed::space_node::compute_context_for_edittree(), SpaceNode::edittree, blender::nodes::geo_eval_log::find_tree_zone_hash_recursive(), blender::ComputeContext::hash(), and blender::bke::bNodeTreeZones::root_zones.
Referenced by blender::ed::geometry::find_socket_log_contexts(), blender::find_socket_log_contexts(), and get_contextual_tree_logs().
|
static |
Definition at line 968 of file geometry_nodes_log.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), GeoNodesLog(), get_context_hash_by_zone_for_node_editor(), blender::nodes::geo_eval_log::get_root_log(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), and log.
Referenced by blender::nodes::node_geo_viewer_cc::draw_input_socket(), and blender::ed::space_node::draw_nodetree().
| GeoTreeLogger & blender::nodes::geo_eval_log::GeoNodesLog::get_local_tree_logger | ( | const ComputeContext & | compute_context | ) |
Get a thread-local logger for the current node tree.
Definition at line 812 of file geometry_nodes_log.cc.
References BLI_assert, blender::nodes::geo_eval_log::GeoTreeLogger::children_hashes, blender::LinearAllocator< Allocator >::construct(), DEG_get_original_id(), DEG_is_evaluated(), get_local_tree_logger(), blender::nodes::geo_eval_log::get_original_session_uid(), blender::ComputeContext::hash(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default(), blender::ComputeContext::parent(), ID::session_uid, tree, and blender::nodes::geo_eval_log::GeoTreeLogger::tree_orig_session_uid.
Referenced by get_local_tree_logger().
| GeoTreeLog & blender::nodes::geo_eval_log::GeoNodesLog::get_tree_log | ( | const ComputeContextHash & | compute_context_hash | ) |
Get a log a specific node tree instance.
Definition at line 887 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(), and find_viewer_node_log_for_path().