Blender V5.0
blender::nodes::NodeInContext Struct Reference

#include <NOD_node_in_compute_context.hh>

Public Member Functions

#NodeInContext Inline Methods
uint64_t hash () const
ComputeContextHash context_hash () const
const bNodeoperator-> () const
const bNodeoperator* () const
 operator bool () const
SocketInContext input_socket (int index) const
SocketInContext output_socket (int index) const

Public Attributes

const ComputeContextcontext = nullptr
const bNodenode = nullptr

Detailed Description

Utility struct to pair a node with a compute context. This uniquely identifies a node in an node-tree evaluation.

Definition at line 25 of file NOD_node_in_compute_context.hh.

Member Function Documentation

◆ context_hash()

ComputeContextHash blender::nodes::NodeInContext::context_hash ( ) const
inline

Definition at line 91 of file NOD_node_in_compute_context.hh.

References context.

Referenced by hash().

◆ hash()

uint64_t blender::nodes::NodeInContext::hash ( ) const
inline

Definition at line 86 of file NOD_node_in_compute_context.hh.

References context_hash(), and blender::get_default_hash().

◆ input_socket()

◆ operator bool()

blender::nodes::NodeInContext::operator bool ( ) const
inline

Definition at line 106 of file NOD_node_in_compute_context.hh.

◆ operator*()

const bNode & blender::nodes::NodeInContext::operator* ( ) const
inline

Definition at line 101 of file NOD_node_in_compute_context.hh.

◆ operator->()

const bNode * blender::nodes::NodeInContext::operator-> ( ) const
inline

Definition at line 96 of file NOD_node_in_compute_context.hh.

◆ output_socket()

SocketInContext blender::nodes::NodeInContext::output_socket ( int index) const
inline

Member Data Documentation

◆ context

◆ node


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