Blender V5.3
blender::fn::FieldTreeInfo Struct Reference

Public Attributes

FieldHashDeep deep_hashes
MultiValueMap< UniqueHash, UniqueHash > field_users
VectorSet< UniqueHash > deduplicated_input_hashes
Vector< GFieldRef > deduplicated_inputs

Detailed Description

Definition at line 30 of file field_evaluation.cc.

Member Data Documentation

◆ deduplicated_input_hashes

VectorSet<UniqueHash> blender::fn::FieldTreeInfo::deduplicated_input_hashes

The same field input may exist in the field tree as separate nodes due to the way the tree is constructed. This set contains every different input only once.

Definition at line 42 of file field_evaluation.cc.

Referenced by blender::fn::evaluate_fields(), blender::fn::find_varying_fields(), and blender::fn::preprocess_field_tree().

◆ deduplicated_inputs

◆ deep_hashes

◆ field_users

MultiValueMap<UniqueHash, UniqueHash> blender::fn::FieldTreeInfo::field_users

When fields are built, they only have references to the fields that they depend on. This map allows traversal of fields in the opposite direction. So for every field it stores the other fields that depend on it directly.

Definition at line 37 of file field_evaluation.cc.

Referenced by blender::fn::find_varying_fields(), and blender::fn::preprocess_field_tree().


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