|
Blender V4.3
|
#include <NOD_geometry_nodes_lazy_function.hh>
Inherits blender::fn::lazy_function::UserData.
Public Member Functions | |
| destruct_ptr< lf::LocalUserData > | get_local (LinearAllocator<> &allocator) override |
Public Member Functions inherited from blender::fn::lazy_function::UserData | |
| virtual | ~UserData ()=default |
Public Attributes | |
| const GeoNodesCallData * | call_data = nullptr |
| const ComputeContext * | compute_context = nullptr |
| bool | log_socket_values = true |
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.
|
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().
| 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().
| 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().
| bool blender::nodes::GeoNodesLFUserData::log_socket_values = true |
Log socket values in the current compute context. Child contexts might use logging again.
Definition at line 274 of file NOD_geometry_nodes_lazy_function.hh.
Referenced by blender::nodes::LazyFunctionForGroupNode::execute_impl(), blender::nodes::LazyFunctionForSimulationZone::execute_impl(), blender::nodes::ForeachGeometryElementNodeExecuteWrapper::execute_node(), and blender::nodes::RepeatBodyNodeExecuteWrapper::execute_node().