|
Blender V4.3
|
#include <FN_field.hh>
Inherits blender::fn::FieldInput.
Field Evaluation | |
| IndexFieldInput () | |
| GVArray | get_varray_for_context (const FieldContext &context, const IndexMask &mask, ResourceScope &scope) const final |
| uint64_t | hash () const override |
| bool | is_equal_to (const fn::FieldNode &other) const override |
| static GVArray | get_index_varray (const IndexMask &mask) |
Additional Inherited Members | |
Public Types inherited from blender::fn::FieldInput | |
| enum class | Category { NamedAttribute = 0 , Generated = 1 , AnonymousAttribute = 2 , Unknown } |
Public Member Functions inherited from blender::fn::FieldInput | |
| FieldInput (const CPPType &type, std::string debug_name="") | |
| ~FieldInput () | |
| virtual std::string | socket_inspection_name () const |
| blender::StringRef | debug_name () const |
| const CPPType & | cpp_type () const |
| Category | category () const |
| const CPPType & | output_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 () |
| virtual void | for_each_field_input_recursive (FunctionRef< void(const FieldInput &)> fn) const |
Protected Attributes inherited from blender::fn::FieldInput | |
| const CPPType * | type_ |
| std::string | debug_name_ |
| Category | category_ = Category::Unknown |
Protected Attributes inherited from blender::fn::FieldNode | |
| std::shared_ptr< const FieldInputs > | field_inputs_ |
Definition at line 529 of file FN_field.hh.
| blender::fn::IndexFieldInput::IndexFieldInput | ( | ) |
Definition at line 548 of file field.cc.
References blender::fn::FieldInput::category_, and blender::fn::FieldInput::Generated.
Definition at line 553 of file field.cc.
References blender::VArray< T >::ForFunc().
Referenced by blender::bke::IDAttributeFieldInput::get_varray_for_context(), get_varray_for_context(), and blender::nodes::node_geo_points_cc::PointsFieldContext::get_varray_for_input().
|
finalvirtual |
Get the value of this specific input based on the given context. The returned virtual array, should live at least as long as the passed in #scope. May return null.
Implements blender::fn::FieldInput.
Definition at line 559 of file field.cc.
References get_index_varray().
|
overridevirtual |
Reimplemented from blender::fn::FieldNode.
|
overridevirtual |
Reimplemented from blender::fn::FieldNode.