|
Blender V4.3
|
#include <chrono>#include "BLI_compute_context.hh"#include "BLI_enumerable_thread_specific.hh"#include "BLI_generic_pointer.hh"#include "BLI_linear_allocator_chunked_list.hh"#include "BLI_multi_value_map.hh"#include "BKE_geometry_set.hh"#include "BKE_node.hh"#include "BKE_node_tree_zones.hh"#include "BKE_viewer_path.hh"#include "BKE_volume_grid.hh"#include "FN_field.hh"#include "DNA_node_types.h"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::nodes |
| namespace | blender::nodes::geo_eval_log |
Typedefs | |
| using | blender::nodes::geo_eval_log::Clock = std::chrono::steady_clock |
| using | blender::nodes::geo_eval_log::TimePoint = Clock::time_point |
Enumerations | |
| enum class | blender::nodes::geo_eval_log::NodeWarningType { blender::nodes::geo_eval_log::Error = 0 , blender::nodes::geo_eval_log::Warning = 1 , blender::nodes::geo_eval_log::Info = 2 } |
| enum class | blender::nodes::geo_eval_log::NamedAttributeUsage { blender::nodes::geo_eval_log::None = 0 , blender::nodes::geo_eval_log::Read = 1 << 0 , blender::nodes::geo_eval_log::Write = 1 << 1 , blender::nodes::geo_eval_log::Remove = 1 << 2 } |
Many geometry nodes related UI features need access to data produced during evaluation. Not only is the final output required but also the intermediate results. Those features include attribute search, node warnings, socket inspection and the viewer node.
This file provides the system for logging data during evaluation and accessing the data after evaluation. Geometry nodes is executed by a modifier, therefore the "root" of logging is #GeoModifierLog which will contain all data generated in a modifier.
The system makes a distinction between "loggers" and the "log":
Definition in file NOD_geometry_nodes_log.hh.