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

#include <NOD_node_in_compute_context.hh>

Public Member Functions

#SocketInContext Inline Methods
uint64_t hash () const
ComputeContextHash context_hash () const
const bNodeSocketoperator-> () const
const bNodeSocketoperator* () const
 operator bool () const
NodeInContext owner_node () const

Public Attributes

const ComputeContextcontext = nullptr
const bNodeSocketsocket = nullptr

Detailed Description

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

Definition at line 49 of file NOD_node_in_compute_context.hh.

Member Function Documentation

◆ context_hash()

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

Definition at line 132 of file NOD_node_in_compute_context.hh.

References context.

Referenced by hash().

◆ hash()

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

Definition at line 127 of file NOD_node_in_compute_context.hh.

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

◆ operator bool()

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

Definition at line 147 of file NOD_node_in_compute_context.hh.

◆ operator*()

const bNodeSocket & blender::nodes::SocketInContext::operator* ( ) const
inline

Definition at line 142 of file NOD_node_in_compute_context.hh.

◆ operator->()

const bNodeSocket * blender::nodes::SocketInContext::operator-> ( ) const
inline

Definition at line 137 of file NOD_node_in_compute_context.hh.

◆ owner_node()

Member Data Documentation

◆ context

◆ socket


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