Blender V4.5
blender::bke::NodeComputeContext Class Reference

#include <BKE_compute_contexts.hh>

Inherits blender::ComputeContext.

Inherited by blender::bke::EvaluateClosureComputeContext, and blender::bke::GroupNodeComputeContext.

Public Member Functions

 NodeComputeContext (const ComputeContext *parent, int32_t node_id, const bNodeTree *tree=nullptr)
 
int32_t node_id () const
 
const bNodeTreetree () const
 
const bNodenode () const
 
- Public Member Functions inherited from blender::ComputeContext
 ComputeContext (const ComputeContext *parent)
 
virtual ~ComputeContext ()=default
 
const ComputeContextHashhash () const
 
const ComputeContextparent () const
 
void print_stack (std::ostream &stream, StringRef name) const
 

Additional Inherited Members

- Protected Attributes inherited from blender::ComputeContext
const ComputeContextparent_ = nullptr
 
ComputeContextHash hash_
 

Detailed Description

Definition at line 61 of file BKE_compute_contexts.hh.

Constructor & Destructor Documentation

◆ NodeComputeContext()

blender::bke::NodeComputeContext::NodeComputeContext ( const ComputeContext * parent,
int32_t node_id,
const bNodeTree * tree = nullptr )

Definition at line 42 of file compute_contexts.cc.

Member Function Documentation

◆ node()

const bNode * blender::bke::NodeComputeContext::node ( ) const

Definition at line 54 of file compute_contexts.cc.

◆ node_id()

int32_t blender::bke::NodeComputeContext::node_id ( ) const
inline

Definition at line 73 of file BKE_compute_contexts.hh.

Referenced by blender::nodes::report_from_multi_function().

◆ tree()

const bNodeTree * blender::bke::NodeComputeContext::tree ( ) const
inline

Definition at line 78 of file BKE_compute_contexts.hh.


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