Blender V4.3
blender::bke::NodeGizmoID Struct Reference

#include <BKE_geometry_nodes_gizmos_transforms.hh>

Public Member Functions

uint64_t hash () const
 

Public Attributes

ComputeContextHash compute_context_hash
 
int node_id
 

Detailed Description

A gizmo is identified by a gizmo node (like Linear Gizmo) in a specific compute context (e.g. the path of group nodes to get from the geometry nodes modifier to the group containing the gizmo node).

Definition at line 22 of file BKE_geometry_nodes_gizmos_transforms.hh.

Member Function Documentation

◆ hash()

uint64_t blender::bke::NodeGizmoID::hash ( ) const
inline

Member Data Documentation

◆ compute_context_hash

ComputeContextHash blender::bke::NodeGizmoID::compute_context_hash

Storing only the hash of the compute context is enough here and is cheaper than making a deep copy of the actual compute context.

Definition at line 25 of file BKE_geometry_nodes_gizmos_transforms.hh.

◆ node_id

int blender::bke::NodeGizmoID::node_id

Definition at line 26 of file BKE_geometry_nodes_gizmos_transforms.hh.


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