Blender V5.0
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 172 of file NOD_geometry_nodes_lazy_function.hh.

Constructor & Destructor Documentation

◆ ~GeoNodesOperatorDepsgraphs()

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

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 4260 of file geometry_nodes_lazy_function.cc.

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

Referenced by get_evaluated_id(), and 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 174 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by get_evaluated_id().

◆ 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 179 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by get_evaluated_id(), blender::ed::geometry::run_node_group_exec(), and ~GeoNodesOperatorDepsgraphs().


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