Blender V4.3
blender::fn::tests::IndexFieldInput Class Referencefinal

Inherits blender::fn::FieldInput.

Public Member Functions

 IndexFieldInput ()
 
GVArray get_varray_for_context (const FieldContext &, const IndexMask &mask, ResourceScope &) const final
 
- 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 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 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
 

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 31 of file FN_field_test.cc.

Constructor & Destructor Documentation

◆ IndexFieldInput()

blender::fn::tests::IndexFieldInput::IndexFieldInput ( )
inline

Definition at line 33 of file FN_field_test.cc.

Member Function Documentation

◆ get_varray_for_context()

GVArray blender::fn::tests::IndexFieldInput::get_varray_for_context ( const FieldContext & context,
const IndexMask & mask,
ResourceScope & scope ) const
inlinefinalvirtual

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 35 of file FN_field_test.cc.

References blender::VArray< T >::ForFunc().


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