Blender V5.3
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 bNodeTree * operator-> () const
const bNodeTree & operator* () const
 operator bool () const

Public Attributes

const ComputeContext * context = nullptr
const bNodeTree * tree = nullptr

Detailed Description

Utility struct to pair a tree with a compute context.

Definition at line 82 of file NOD_node_in_compute_context.hh.

Member Function Documentation

◆ context_hash()

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

Definition at line 179 of file NOD_node_in_compute_context.hh.

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

Referenced by hash().

◆ hash()

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

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

References tree.

◆ operator*()

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

Definition at line 189 of file NOD_node_in_compute_context.hh.

References tree.

◆ operator->()

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

Definition at line 184 of file NOD_node_in_compute_context.hh.

References tree.

Member Data Documentation

◆ context

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

Definition at line 83 of file NOD_node_in_compute_context.hh.

Referenced by context_hash().

◆ tree

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

Definition at line 84 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: