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

#include <NOD_node_in_compute_context.hh>

Public Member Functions

#TreeInContext Inline Methods
uint64_t hash () const
ComputeContextHash context_hash () const
const bNodeTreeoperator-> () const
const bNodeTreeoperator* () const
 operator bool () const

Public Attributes

const ComputeContextcontext = nullptr
const bNodeTreetree = nullptr

Detailed Description

Utility struct to pair a tree with a compute context.

Definition at line 71 of file NOD_node_in_compute_context.hh.

Member Function Documentation

◆ context_hash()

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

Definition at line 168 of file NOD_node_in_compute_context.hh.

References context.

Referenced by hash().

◆ hash()

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

Definition at line 163 of file NOD_node_in_compute_context.hh.

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

◆ operator bool()

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

Definition at line 183 of file NOD_node_in_compute_context.hh.

References tree.

◆ operator*()

const bNodeTree & blender::nodes::TreeInContext::operator* ( ) const
inline

Definition at line 178 of file NOD_node_in_compute_context.hh.

References tree.

◆ operator->()

const bNodeTree * blender::nodes::TreeInContext::operator-> ( ) const
inline

Definition at line 173 of file NOD_node_in_compute_context.hh.

References tree.

Member Data Documentation

◆ context

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

Definition at line 72 of file NOD_node_in_compute_context.hh.

Referenced by context_hash().

◆ tree

const bNodeTree* blender::nodes::TreeInContext::tree = nullptr

Definition at line 73 of file NOD_node_in_compute_context.hh.

Referenced by hash(), operator bool(), operator*(), and operator->().


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