Blender V4.3
blender::nodes::geo_eval_log::GeoNodeLog Class Reference

#include <NOD_geometry_nodes_log.hh>

Public Member Functions

 GeoNodeLog ()
 
 ~GeoNodeLog ()
 

Public Attributes

VectorSet< NodeWarningwarnings
 
std::chrono::nanoseconds execution_time {0}
 
Map< int, ValueLog * > input_values_
 
Map< int, ValueLog * > output_values_
 
Map< StringRefNull, NamedAttributeUsageused_named_attributes
 
Vector< StringRefNulldebug_messages
 

Detailed Description

Contains data that has been logged for a specific node in a context. So when the node is in a node group that is used multiple times, there will be a different GeoNodeLog for every instance.

By default, not all of the info below is valid. A #GeoTreeLog::ensure_* method has to be called first.

Definition at line 265 of file NOD_geometry_nodes_log.hh.

Constructor & Destructor Documentation

◆ GeoNodeLog()

blender::nodes::geo_eval_log::GeoNodeLog::GeoNodeLog ( )
default

◆ ~GeoNodeLog()

blender::nodes::geo_eval_log::GeoNodeLog::~GeoNodeLog ( )
default

Member Data Documentation

◆ debug_messages

Vector<StringRefNull> blender::nodes::geo_eval_log::GeoNodeLog::debug_messages

Messages that are used for debugging purposes during development.

Definition at line 277 of file NOD_geometry_nodes_log.hh.

Referenced by blender::ed::space_node::node_get_extra_info().

◆ execution_time

std::chrono::nanoseconds blender::nodes::geo_eval_log::GeoNodeLog::execution_time {0}

Time spent in this node.

Definition at line 270 of file NOD_geometry_nodes_log.hh.

◆ input_values_

Map<int, ValueLog *> blender::nodes::geo_eval_log::GeoNodeLog::input_values_

Maps from socket indices to their values.

Definition at line 272 of file NOD_geometry_nodes_log.hh.

◆ output_values_

Map<int, ValueLog *> blender::nodes::geo_eval_log::GeoNodeLog::output_values_

Definition at line 273 of file NOD_geometry_nodes_log.hh.

◆ used_named_attributes

Map<StringRefNull, NamedAttributeUsage> blender::nodes::geo_eval_log::GeoNodeLog::used_named_attributes

Maps from attribute name to their usage flags.

Definition at line 275 of file NOD_geometry_nodes_log.hh.

Referenced by blender::ed::space_node::node_get_accessed_attributes_row().

◆ warnings

VectorSet<NodeWarning> blender::nodes::geo_eval_log::GeoNodeLog::warnings

Warnings generated for that node.

Definition at line 268 of file NOD_geometry_nodes_log.hh.

Referenced by blender::ed::space_node::node_add_error_message_button().


The documentation for this class was generated from the following files: