Blender V4.3
blender::nodes::GeoNodesCallData Struct Reference

#include <NOD_geometry_nodes_lazy_function.hh>

Public Member Functions

const Objectself_object () const
 

Public Attributes

const bNodeTreeroot_ntree = nullptr
 
geo_eval_log::GeoModifierLogeval_log = nullptr
 
GeoNodesSimulationParamssimulation_params = nullptr
 
GeoNodesBakeParamsbake_params = nullptr
 
const GeoNodesSideEffectNodesside_effect_nodes = nullptr
 
const Set< ComputeContextHash > * socket_log_contexts = nullptr
 
GeoNodesModifierDatamodifier_data = nullptr
 
GeoNodesOperatorDataoperator_data = nullptr
 

Detailed Description

Definition at line 210 of file NOD_geometry_nodes_lazy_function.hh.

Member Function Documentation

◆ self_object()

const Object * blender::nodes::GeoNodesCallData::self_object ( ) const

Member Data Documentation

◆ bake_params

GeoNodesBakeParams* blender::nodes::GeoNodesCallData::bake_params = nullptr

◆ eval_log

geo_eval_log::GeoModifierLog* blender::nodes::GeoNodesCallData::eval_log = nullptr

Optional logger that keeps track of data generated during evaluation to allow for better debugging afterwards.

Definition at line 219 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::modifyGeometry().

◆ modifier_data

GeoNodesModifierData* blender::nodes::GeoNodesCallData::modifier_data = nullptr

Data from the modifier that is being evaluated.

Definition at line 245 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::modifyGeometry(), and self_object().

◆ operator_data

GeoNodesOperatorData* blender::nodes::GeoNodesCallData::operator_data = nullptr

Data from execution as operator in 3D viewport.

Definition at line 249 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::ed::geometry::run_node_group_exec(), self_object(), and blender::nodes::should_log_socket_values_for_context().

◆ root_ntree

const bNodeTree* blender::nodes::GeoNodesCallData::root_ntree = nullptr

Top-level node tree of the current evaluation.

Definition at line 214 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::nodes::execute_geometry_nodes_on_geometry(), and blender::nodes::find_nested_node_id().

◆ side_effect_nodes

◆ simulation_params

◆ socket_log_contexts

const Set<ComputeContextHash>* blender::nodes::GeoNodesCallData::socket_log_contexts = nullptr

Controls in which compute contexts we want to log socket values. Logging them in all contexts can result in slowdowns. In the majority of cases, the logged socket values are freed without being looked at anyway.

If this is null, all socket values will be logged.

Definition at line 240 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::modifyGeometry(), and blender::nodes::should_log_socket_values_for_context().


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