Blender
V3.3
|
#include <FN_field.hh>
Public Member Functions | |
IndexFieldInput () | |
GVArray | get_varray_for_context (const FieldContext &context, IndexMask mask, ResourceScope &scope) const final |
uint64_t | hash () const override |
bool | is_equal_to (const fn::FieldNode &other) const override |
![]() | |
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 |
![]() | |
virtual | ~FieldNode () |
FieldNode (FieldNodeType node_type) | |
FieldNodeType | node_type () const |
bool | depends_on_input () const |
const std::shared_ptr< const FieldInputs > & | field_inputs () const |
Static Public Member Functions | |
static GVArray | get_index_varray (IndexMask mask) |
Additional Inherited Members | |
![]() | |
enum class | Category { NamedAttribute = 0 , Generated = 1 , AnonymousAttribute = 2 , Unknown } |
![]() | |
const CPPType * | type_ |
std::string | debug_name_ |
Category | category_ = Category::Unknown |
![]() | |
std::shared_ptr< const FieldInputs > | field_inputs_ |
Definition at line 510 of file FN_field.hh.
blender::fn::IndexFieldInput::IndexFieldInput | ( | ) |
Definition at line 544 of file field.cc.
References blender::fn::FieldInput::category_, and blender::fn::FieldInput::Generated.
Definition at line 549 of file field.cc.
References blender::VArray< T >::ForFunc(), and mask().
Referenced by blender::bke::IDAttributeFieldInput::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.
|
overridevirtual |
Reimplemented from blender::fn::FieldNode.
|
overridevirtual |
Reimplemented from blender::fn::FieldNode.