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

#include <NOD_geometry_nodes_lazy_function.hh>

Inherits blender::fn::lazy_function::UserData.

Public Member Functions

destruct_ptr< lf::LocalUserDataget_local (LinearAllocator<> &allocator) override
 
- Public Member Functions inherited from blender::fn::lazy_function::UserData
virtual ~UserData ()=default
 

Public Attributes

const GeoNodesCallDatacall_data = nullptr
 
const ComputeContextcompute_context = nullptr
 
bool log_socket_values = true
 

Detailed Description

Custom user data that is passed to every geometry nodes related lazy-function evaluation.

Definition at line 261 of file NOD_geometry_nodes_lazy_function.hh.

Member Function Documentation

◆ get_local()

destruct_ptr< lf::LocalUserData > blender::nodes::GeoNodesLFUserData::get_local ( LinearAllocator<> & allocator)
overridevirtual

Get thread local data for this user-data and the current thread.

Reimplemented from blender::fn::lazy_function::UserData.

Definition at line 5891 of file geometry_nodes_lazy_function.cc.

References blender::LinearAllocator< Allocator >::construct().

Member Data Documentation

◆ call_data

const GeoNodesCallData* blender::nodes::GeoNodesLFUserData::call_data = nullptr

Data provided by the root caller of geometry nodes.

Definition at line 265 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::nodes::LazyFunctionForGeometryNode::anonymous_attribute_name_for_output(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::LazyFunctionForBakeInputsUsage::execute_impl(), blender::nodes::LazyFunctionForSimulationInputsUsage::execute_impl(), blender::nodes::LazyFunctionForViewerInputUsage::execute_impl(), blender::nodes::node_geo_bake_cc::LazyFunctionForBakeNode::execute_impl(), blender::nodes::node_geo_simulation_cc::sim_input_node::LazyFunctionForSimulationInputNode::execute_impl(), blender::nodes::node_geo_simulation_cc::sim_output_node::LazyFunctionForSimulationOutputNode::execute_impl(), blender::nodes::find_nested_node_id(), blender::nodes::ForeachGeometryElementZoneSideEffectProvider::get_nodes_with_side_effects(), blender::nodes::GeometryNodesLazyFunctionSideEffectProvider::get_nodes_with_side_effects(), blender::nodes::RepeatZoneSideEffectProvider::get_nodes_with_side_effects(), blender::nodes::gizmo_is_used(), blender::nodes::node_geo_bake_cc::LazyFunctionForBakeNode::output_cached_state(), blender::nodes::node_geo_simulation_cc::sim_output_node::LazyFunctionForSimulationOutputNode::output_cached_state(), blender::nodes::node_geo_simulation_cc::sim_input_node::LazyFunctionForSimulationInputNode::output_simulation_state_copy(), blender::nodes::node_geo_simulation_cc::sim_input_node::LazyFunctionForSimulationInputNode::output_simulation_state_move(), blender::nodes::node_geo_bake_cc::LazyFunctionForBakeNode::pass_through(), blender::nodes::node_geo_simulation_cc::sim_output_node::LazyFunctionForSimulationOutputNode::pass_through(), and blender::nodes::should_log_socket_values_for_context().

◆ compute_context

const ComputeContext* blender::nodes::GeoNodesLFUserData::compute_context = nullptr

Current compute context. This is different depending in the (nested) node group that is being evaluated.

Definition at line 270 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::nodes::LazyFunctionForGeometryNode::anonymous_attribute_name_for_output(), blender::nodes::GeometryNodesLazyFunctionLogger::dump_when_input_is_set_twice(), blender::nodes::GeometryNodesLazyFunctionLogger::dump_when_outputs_are_missing(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::LazyFunctionForGroupNode::execute_impl(), blender::nodes::LazyFunctionForSimulationInputsUsage::execute_impl(), blender::nodes::LazyFunctionForSimulationZone::execute_impl(), blender::nodes::LazyFunctionForViewerInputUsage::execute_impl(), blender::nodes::node_geo_bake_cc::LazyFunctionForBakeNode::execute_impl(), blender::nodes::node_geo_simulation_cc::sim_output_node::LazyFunctionForSimulationOutputNode::execute_impl(), blender::nodes::ForeachGeometryElementNodeExecuteWrapper::execute_node(), blender::nodes::RepeatBodyNodeExecuteWrapper::execute_node(), blender::nodes::find_nested_node_id(), blender::nodes::ForeachGeometryElementZoneSideEffectProvider::get_nodes_with_side_effects(), blender::nodes::GeometryNodesLazyFunctionSideEffectProvider::get_nodes_with_side_effects(), blender::nodes::RepeatZoneSideEffectProvider::get_nodes_with_side_effects(), blender::nodes::gizmo_is_used(), blender::nodes::node_geo_bake_cc::LazyFunctionForBakeNode::output_cached_state(), blender::nodes::node_geo_simulation_cc::sim_output_node::LazyFunctionForSimulationOutputNode::output_cached_state(), blender::nodes::node_geo_simulation_cc::sim_input_node::LazyFunctionForSimulationInputNode::output_simulation_state_copy(), blender::nodes::node_geo_simulation_cc::sim_input_node::LazyFunctionForSimulationInputNode::output_simulation_state_move(), blender::nodes::node_geo_bake_cc::LazyFunctionForBakeNode::pass_through(), and blender::nodes::node_geo_simulation_cc::sim_output_node::LazyFunctionForSimulationOutputNode::pass_through().

◆ log_socket_values

bool blender::nodes::GeoNodesLFUserData::log_socket_values = true

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