Blender V5.3
blender::fn::FieldInputs Class Reference

#include <FN_field.hh>

Inherits blender::blender::ImplicitSharingMixin.

Public Member Functions

void delete_self () override
Public Member Functions inherited from blender::blender::ImplicitSharingInfo
virtual ~ImplicitSharingInfo ()
bool is_mutable () const
bool is_expired () const
void add_user () const
void add_weak_user () const
void tag_ensured_mutable () const
int64_t version () const
int strong_users () const
void remove_user_and_delete_if_last () const
void remove_weak_user_and_delete_if_last () const

Public Attributes

VectorSet< std::reference_wrapper< const FieldInput > > inputs

Detailed Description

Cache of field inputs. This is used quite often and is therefore computed eagerly for intermediate operations. Otherwise one would have to parse the field tree every time the set of inputs is required. Since many fields share the same set of inputs, this is often shared.

Definition at line 324 of file FN_field.hh.

Member Function Documentation

◆ delete_self()

void blender::fn::FieldInputs::delete_self ( )
overridevirtual

Implements blender::blender::ImplicitSharingMixin.

Definition at line 247 of file field.cc.

Member Data Documentation

◆ inputs

VectorSet<std::reference_wrapper<const FieldInput> > blender::fn::FieldInputs::inputs

Deduplicated set of field inputs.

Definition at line 327 of file FN_field.hh.

Referenced by blender::fn::combine_field_inputs(), and blender::fn::FieldInput::field_inputs().


The documentation for this class was generated from the following files: