Blender V5.0
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

Definition at line 32 of file BKE_geometry_nodes_gizmos_transforms.hh.

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

Referenced by hash().

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 27 of file BKE_geometry_nodes_gizmos_transforms.hh.

◆ node_id

int blender::bke::NodeGizmoID::node_id

Definition at line 28 of file BKE_geometry_nodes_gizmos_transforms.hh.


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