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

#include <NOD_geometry_nodes_lazy_function.hh>

Public Member Functions

 ~GeoNodesOperatorDepsgraphs ()
 
const IDget_evaluated_id (const ID &id_orig) const
 

Public Attributes

const Depsgraph * active = nullptr
 
Depsgraph * extra = nullptr
 

Detailed Description

Definition at line 169 of file NOD_geometry_nodes_lazy_function.hh.

Constructor & Destructor Documentation

◆ ~GeoNodesOperatorDepsgraphs()

blender::nodes::GeoNodesOperatorDepsgraphs::~GeoNodesOperatorDepsgraphs ( )

Definition at line 5939 of file geometry_nodes_lazy_function.cc.

References DEG_graph_free(), and extra.

Member Function Documentation

◆ get_evaluated_id()

const ID * blender::nodes::GeoNodesOperatorDepsgraphs::get_evaluated_id ( const ID & id_orig) const

The evaluated data-block might be in the scene's active depsgraph, in that case we should use it directly. Otherwise retrieve it from the extra depsgraph that was built for all other data-blocks. Return null if it isn't found, generally geometry nodes can handle null ID pointers.

Definition at line 5955 of file geometry_nodes_lazy_function.cc.

References extra, and blender::nodes::get_only_evaluated_id().

Referenced by blender::ed::geometry::replace_inputs_evaluated_data_blocks().

Member Data Documentation

◆ active

const Depsgraph* blender::nodes::GeoNodesOperatorDepsgraphs::active = nullptr

Current evaluated depsgraph from the viewport. Shouldn't be null.

Definition at line 171 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::nodes::GeoNodesCallData::self_object().

◆ extra

Depsgraph* blender::nodes::GeoNodesOperatorDepsgraphs::extra = nullptr

Depsgraph containing IDs referenced by the node tree and the node tree itself and from node group inputs (the redo panel).

Definition at line 176 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by get_evaluated_id(), and ~GeoNodesOperatorDepsgraphs().


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