|
Blender V5.3
|
#include <NOD_geometry_nodes_lazy_function.hh>
Inherits blender::fn::UserData.
Public Member Functions | |
| destruct_ptr< fn::LocalUserData > | get_local (LinearAllocator<> &allocator) override |
| bool | is_stack_limit_reached () const |
| Public Member Functions inherited from blender::fn::UserData | |
| virtual | ~UserData ()=default |
Public Attributes | |
| const GeoNodesCallData * | call_data = nullptr |
| const ComputeContext * | compute_context = nullptr |
| bool | verbose_log = true |
Custom user data that can be passed to every geometry nodes related evaluation.
Definition at line 271 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::UserData.
Definition at line 4344 of file geometry_nodes_lazy_function.cc.
References blender::LinearAllocator< Allocator >::construct().
|
inline |
Definition at line 292 of file NOD_geometry_nodes_lazy_function.hh.
References blender::nodes::GeoNodesCallData::call_depth_limit, and blender::ComputeContext::parents_num().
Referenced by blender::nodes::LazyFunctionForGroupNode::execute_impl().
| const GeoNodesCallData* blender::nodes::GeoNodesUserData::call_data = nullptr |
Data provided by the root caller of geometry nodes.
Definition at line 275 of file NOD_geometry_nodes_lazy_function.hh.
Referenced by blender::nodes::LazyFunctionForGeometryNode::anonymous_attribute_name_for_output(), blender::nodes::check_tool_context_and_error(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::LazyFunctionForBakeInputsUsage::execute_impl(), blender::nodes::LazyFunctionForImplicitSceneFrame< T >::execute_impl(), blender::nodes::LazyFunctionForImplicitSelfObject::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::ClosureIntermediateGraphSideEffectProvider::get_nodes_with_side_effects(), 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_tool_active_element_cc::node_exec(), blender::nodes::node_geo_mouse_position_cc::node_geo_exec(), blender::nodes::node_geo_object_info_cc::node_geo_exec(), blender::nodes::node_geo_tool_3d_cursor_cc::node_geo_exec(), blender::nodes::node_geo_tool_selection_cc::node_geo_exec(), blender::nodes::node_geo_tool_set_selection_cc::node_geo_exec(), blender::nodes::node_geo_viewport_transform_cc::node_geo_exec(), and blender::nodes::should_log_verbose_in_context().
| const ComputeContext* blender::nodes::GeoNodesUserData::compute_context = nullptr |
Current compute context. This is different depending in the (nested) node group that is being evaluated.
Definition at line 280 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::LazyFunctionForMultiFunctionNode::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::ForeachGeometryElementNodeExecuteWrapper::execute_node(), blender::nodes::RepeatBodyNodeExecuteWrapper::execute_node(), blender::nodes::find_nested_node_id(), blender::nodes::ClosureIntermediateGraphSideEffectProvider::get_nodes_with_side_effects(), 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::LazyFunctionForEvaluateClosureNode::is_recursive_call(), blender::nodes::node_geo_closure_to_list_cc::node_geo_exec(), 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(), 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::GeoNodesUserData::verbose_log = true |
Log "more" data in the current compute context. If true, the user is likely looking at nodes in this context and expects detailed inspection information. If false, only necessary data like warnings should be logged but not e.g. socket values.
Child contexts might use logging again even if the current compute context does not.
Definition at line 288 of file NOD_geometry_nodes_lazy_function.hh.
Referenced by blender::nodes::LazyFunctionForSimulationZone::execute_impl(), blender::nodes::ForeachGeometryElementNodeExecuteWrapper::execute_node(), blender::nodes::RepeatBodyNodeExecuteWrapper::execute_node(), and blender::nodes::node_geo_closure_to_list_cc::node_geo_exec().