Blender  V3.3
Public Attributes | List of all members
blender::fn::FieldTreeInfo Struct Reference

Public Attributes

MultiValueMap< GFieldRef, GFieldReffield_users
 
VectorSet< std::reference_wrapper< const FieldInput > > deduplicated_field_inputs
 

Detailed Description

Definition at line 23 of file field.cc.

Member Data Documentation

◆ deduplicated_field_inputs

VectorSet<std::reference_wrapper<const FieldInput> > blender::fn::FieldTreeInfo::deduplicated_field_inputs

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 34 of file field.cc.

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

◆ field_users

MultiValueMap<GFieldRef, GFieldRef> 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 29 of file field.cc.

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


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