Blender  V3.3
Public Member Functions | Static Public Member Functions | List of all members
blender::fn::IndexFieldInput Class Referencefinal

#include <FN_field.hh>

Inheritance diagram for blender::fn::IndexFieldInput:
blender::fn::FieldInput blender::fn::FieldNode

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
 
- 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
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

- 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 510 of file FN_field.hh.

Constructor & Destructor Documentation

◆ IndexFieldInput()

blender::fn::IndexFieldInput::IndexFieldInput ( )

Member Function Documentation

◆ get_index_varray()

GVArray blender::fn::IndexFieldInput::get_index_varray ( IndexMask  mask)
static

◆ get_varray_for_context()

GVArray blender::fn::IndexFieldInput::get_varray_for_context ( const FieldContext context,
IndexMask  mask,
ResourceScope scope 
) const
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.

◆ hash()

uint64_t blender::fn::IndexFieldInput::hash ( ) const
overridevirtual

Reimplemented from blender::fn::FieldNode.

Definition at line 563 of file field.cc.

◆ is_equal_to()

bool blender::fn::IndexFieldInput::is_equal_to ( const fn::FieldNode other) const
overridevirtual

Reimplemented from blender::fn::FieldNode.

Definition at line 569 of file field.cc.


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