Blender V4.3
blender::nodes::SocketInContext Struct Reference

#include <NOD_node_in_compute_context.hh>

Public Member Functions

uint64_t hash () const
ComputeContextHash context_hash () 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 45 of file NOD_node_in_compute_context.hh.

Member Function Documentation

◆ context_hash()

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

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

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

Member Data Documentation

◆ context

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

◆ socket


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