|
Blender V5.0
|
#include <chrono>#include "BLI_cache_mutex.hh"#include "BLI_compute_context.hh"#include "BLI_enumerable_thread_specific.hh"#include "BLI_generic_pointer.hh"#include "BLI_linear_allocator_chunked_list.hh"#include "BKE_compute_context_cache_fwd.hh"#include "BKE_geometry_set.hh"#include "BKE_node.hh"#include "BKE_node_socket_value.hh"#include "BKE_node_tree_zones.hh"#include "BKE_volume_grid_fwd.hh"#include "NOD_geometry_nodes_closure_location.hh"#include "NOD_geometry_nodes_list.hh"#include "NOD_geometry_nodes_warning.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::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 } |
Functions | |
| blender::nodes::geo_eval_log::ENUM_OPERATORS (NamedAttributeUsage, NamedAttributeUsage::Remove) | |
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. At the root of the logging data is a #GeoNodesLog which is created by the code that invokes Geometry Nodes (e.g. the Geometry Nodes modifier).
The system makes a distinction between "loggers" and the "log":
Definition in file NOD_geometry_nodes_log.hh.