Blender V4.3
blender::bke::anonymous_attribute_inferencing Namespace Reference

Classes

struct  AnonymousAttributeInferencingResult
 
class  bNodeTreeToDotOptionsForAnonymousAttributeInferencing
 
struct  FieldSource
 
struct  GeometrySource
 
struct  InputFieldSource
 
struct  InputGeometrySource
 
struct  SocketFieldSource
 
struct  SocketGeometrySource
 

Functions

Array< const nodes::aal::RelationsInNode * > get_relations_by_node (const bNodeTree &tree, ResourceScope &scope)
 
bool update_anonymous_attribute_relations (bNodeTree &tree)
 
static bool socket_is_field (const bNodeSocket &socket)
 
static const aal::RelationsInNode & get_relations_in_node (const bNode &node, ResourceScope &scope)
 
static bool or_into_each_other_masked (MutableBoundedBitSpan a, MutableBoundedBitSpan b, const BoundedBitSpan mask)
 
static bool or_into_each_other (MutableBoundedBitSpan a, MutableBoundedBitSpan b)
 
static bool or_into_each_other_masked (BitGroupVector<> &vec, const int64_t a, const int64_t b, const BoundedBitSpan mask)
 
static bool or_into_each_other (BitGroupVector<> &vec, const int64_t a, const int64_t b)
 
static AnonymousAttributeInferencingResult analyze_anonymous_attribute_usages (const bNodeTree &tree)
 

Function Documentation

◆ analyze_anonymous_attribute_usages()

◆ get_relations_by_node()

Array< const aal::RelationsInNode * > blender::bke::anonymous_attribute_inferencing::get_relations_by_node ( const bNodeTree & tree,
ResourceScope & scope )

Definition at line 164 of file node_tree_anonymous_attributes.cc.

References get_relations_in_node(), and tree.

Referenced by analyze_anonymous_attribute_usages().

◆ get_relations_in_node()

static const aal::RelationsInNode & blender::bke::anonymous_attribute_inferencing::get_relations_in_node ( const bNode & node,
ResourceScope & scope )
static

◆ or_into_each_other() [1/2]

static bool blender::bke::anonymous_attribute_inferencing::or_into_each_other ( BitGroupVector<> & vec,
const int64_t a,
const int64_t b )
static

Definition at line 242 of file node_tree_anonymous_attributes.cc.

References b, and or_into_each_other().

◆ or_into_each_other() [2/2]

static bool blender::bke::anonymous_attribute_inferencing::or_into_each_other ( MutableBoundedBitSpan a,
MutableBoundedBitSpan b )
static

Definition at line 224 of file node_tree_anonymous_attributes.cc.

References b, and blender::bits::spans_equal().

Referenced by or_into_each_other().

◆ or_into_each_other_masked() [1/2]

static bool blender::bke::anonymous_attribute_inferencing::or_into_each_other_masked ( BitGroupVector<> & vec,
const int64_t a,
const int64_t b,
const BoundedBitSpan mask )
static

Definition at line 234 of file node_tree_anonymous_attributes.cc.

References b, and or_into_each_other_masked().

◆ or_into_each_other_masked() [2/2]

static bool blender::bke::anonymous_attribute_inferencing::or_into_each_other_masked ( MutableBoundedBitSpan a,
MutableBoundedBitSpan b,
const BoundedBitSpan mask )
static

◆ socket_is_field()

static bool blender::bke::anonymous_attribute_inferencing::socket_is_field ( const bNodeSocket & socket)
static

Definition at line 25 of file node_tree_anonymous_attributes.cc.

References blender::bke::IsField, and bNodeSocket::runtime.

Referenced by get_relations_in_node().

◆ update_anonymous_attribute_relations()

bool blender::bke::anonymous_attribute_inferencing::update_anonymous_attribute_relations ( bNodeTree & tree)