Blender V5.0
blender::nodes::node_geo_accumulate_field_cc::TotalFieldInput Class Referencefinal

Inherits blender::bke::GeometryFieldInput.

Public Member Functions

 TotalFieldInput (const AttrDomain source_domain, GField input, Field< int > group_index)
GVArray get_varray_for_context (const bke::GeometryFieldContext &context, const IndexMask &) const final
void for_each_field_input_recursive (FunctionRef< void(const FieldInput &)> fn) const final
uint64_t hash () const override
bool is_equal_to (const fn::FieldNode &other) const override
std::optional< AttrDomainpreferred_domain (const GeometryComponent &) const override
Public Member Functions inherited from blender::bke::GeometryFieldInput
GVArray get_varray_for_context (const fn::FieldContext &context, const IndexMask &mask, ResourceScope &scope) const override
 FieldInput (const CPPType &type, std::string debug_name="")
Public Member Functions inherited from blender::fn::FieldInput
 FieldInput (const CPPType &type, std::string debug_name="")
 ~FieldInput () override
virtual std::string socket_inspection_name () const
blender::StringRef debug_name () const
const CPPTypecpp_type () const
Category category () const
const CPPTypeoutput_cpp_type (int output_index) const override
Public Member Functions inherited from blender::fn::FieldNode
 FieldNode (FieldNodeType node_type)
FieldNodeType node_type () const
bool depends_on_input () const
const std::shared_ptr< const FieldInputs > & field_inputs () const
virtual ~FieldNode ()

Additional Inherited Members

Public Types inherited from blender::fn::FieldInput
enum class  Category { NamedAttribute = 0 , Generated = 1 , AnonymousAttribute = 2 , Unknown }
Protected Attributes inherited from blender::fn::FieldInput
const CPPTypetype_
std::string debug_name_
Category category_ = Category::Unknown
Protected Attributes inherited from blender::fn::FieldNode
std::shared_ptr< const FieldInputsfield_inputs_

Detailed Description

Definition at line 293 of file node_geo_accumulate_field.cc.

Constructor & Destructor Documentation

◆ TotalFieldInput()

blender::nodes::node_geo_accumulate_field_cc::TotalFieldInput::TotalFieldInput ( const AttrDomain source_domain,
GField input,
Field< int > group_index )
inline

Definition at line 300 of file node_geo_accumulate_field.cc.

References blender::fn::FieldInput::cpp_type(), and input.

Referenced by is_equal_to().

Member Function Documentation

◆ for_each_field_input_recursive()

void blender::nodes::node_geo_accumulate_field_cc::TotalFieldInput::for_each_field_input_recursive ( FunctionRef< void(const FieldInput &)> fn) const
inlinefinalvirtual

Calls the callback for every field input that the current field depends on. This is recursive, so if a field input depends on other field inputs, those are taken into account as well.

Reimplemented from blender::fn::FieldNode.

Definition at line 357 of file node_geo_accumulate_field.cc.

References blender::bke::GeometryFieldInput::FieldInput().

◆ get_varray_for_context()

◆ hash()

uint64_t blender::nodes::node_geo_accumulate_field_cc::TotalFieldInput::hash ( ) const
inlineoverridevirtual

Reimplemented from blender::fn::FieldNode.

Definition at line 363 of file node_geo_accumulate_field.cc.

References blender::get_default_hash().

◆ is_equal_to()

bool blender::nodes::node_geo_accumulate_field_cc::TotalFieldInput::is_equal_to ( const fn::FieldNode & other) const
inlineoverridevirtual

Reimplemented from blender::fn::FieldNode.

Definition at line 368 of file node_geo_accumulate_field.cc.

References TotalFieldInput().

◆ preferred_domain()

std::optional< AttrDomain > blender::nodes::node_geo_accumulate_field_cc::TotalFieldInput::preferred_domain ( const GeometryComponent & ) const
inlineoverridevirtual

Reimplemented from blender::bke::GeometryFieldInput.

Definition at line 377 of file node_geo_accumulate_field.cc.


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