Blender V4.5
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 unique 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 118 of file NOD_node_in_compute_context.hh.

References context, and blender::ComputeContext::hash().

Referenced by hash().

◆ hash()

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

Definition at line 113 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 133 of file NOD_node_in_compute_context.hh.

◆ operator*()

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

Definition at line 128 of file NOD_node_in_compute_context.hh.

References socket.

◆ operator->()

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

Definition at line 123 of file NOD_node_in_compute_context.hh.

References socket.

◆ owner_node()

NodeInContext blender::nodes::SocketInContext::owner_node ( ) const
inline

Member Data Documentation

◆ context

const ComputeContext* blender::nodes::SocketInContext::context = nullptr

◆ socket


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