|
Blender V5.0
|
#include <FN_field.hh>
Inherits blender::fn::FieldNode.
Inherited by blender::bke::CurvesFieldInput, blender::bke::GeometryFieldInput, blender::bke::InstancesFieldInput, blender::bke::MeshFieldInput, blender::bke::PointCloudFieldInput, blender::fn::IndexFieldInput, and blender::fn::tests::IndexFieldInput.
Public Types | |
| enum class | Category { NamedAttribute = 0 , Generated = 1 , AnonymousAttribute = 2 , Unknown } |
Public Member Functions | |
| virtual GVArray | get_varray_for_context (const FieldContext &context, const IndexMask &mask, ResourceScope &scope) const=0 |
#FieldInput | |
| FieldInput (const CPPType &type, std::string debug_name="") | |
| ~FieldInput () override | |
#FieldInput Inline Methods | |
| 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 uint64_t | hash () const |
| virtual bool | is_equal_to (const FieldNode &other) const |
| virtual | ~FieldNode () |
| virtual void | for_each_field_input_recursive (FunctionRef< void(const FieldInput &)> fn) const |
Protected Attributes | |
| 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_ |
A FieldNode that represents an input to the entire field-tree.
Definition at line 259 of file FN_field.hh.
|
strong |
| Enumerator | |
|---|---|
| NamedAttribute | |
| Generated | |
| AnonymousAttribute | |
| Unknown | |
Definition at line 262 of file FN_field.hh.
| blender::fn::FieldInput::FieldInput | ( | const CPPType & | type, |
| std::string | debug_name = "" ) |
|
overridedefault |
|
inline |
Definition at line 637 of file FN_field.hh.
|
inline |
Definition at line 632 of file FN_field.hh.
|
inline |
Definition at line 627 of file FN_field.hh.
|
pure virtual |
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.
|
inlineoverridevirtual |
Implements blender::fn::FieldNode.
Definition at line 642 of file FN_field.hh.
|
inlinevirtual |
Definition at line 622 of file FN_field.hh.
Definition at line 272 of file FN_field.hh.
|
protected |
Definition at line 271 of file FN_field.hh.
|
protected |
Definition at line 270 of file FN_field.hh.