Blender V4.3
blender::nodes::node_geo_offset_point_in_curve_cc::OffsetValidFieldInput Class Referencefinal

Inherits blender::bke::GeometryFieldInput.

Public Member Functions

 OffsetValidFieldInput (Field< int > index, Field< int > offset)
 
GVArray get_varray_for_context (const bke::GeometryFieldContext &context, const IndexMask &mask) const final
 
void for_each_field_input_recursive (FunctionRef< void(const FieldInput &)> fn) const override
 
- Public Member Functions inherited from blender::bke::GeometryFieldInput
GVArray get_varray_for_context (const fn::FieldContext &context, const IndexMask &mask, ResourceScope &scope) const override
 
virtual std::optional< AttrDomainpreferred_domain (const GeometryComponent &component) const
 
- 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 ()
 

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 107 of file node_geo_offset_point_in_curve.cc.

Constructor & Destructor Documentation

◆ OffsetValidFieldInput()

blender::nodes::node_geo_offset_point_in_curve_cc::OffsetValidFieldInput::OffsetValidFieldInput ( Field< int > index,
Field< int > offset )
inline

Member Function Documentation

◆ for_each_field_input_recursive()

void blender::nodes::node_geo_offset_point_in_curve_cc::OffsetValidFieldInput::for_each_field_input_recursive ( FunctionRef< void(const FieldInput &)> fn) const
inlineoverridevirtual

Calls the callback for every field input that the current field depends on. This is recursive, so if a field input depends on other field inputs, those are taken into account as well.

Reimplemented from blender::fn::FieldNode.

Definition at line 160 of file node_geo_offset_point_in_curve.cc.

References blender::fn::FieldNode::for_each_field_input_recursive(), and blender::fn::GFieldBase< NodePtr >::node().

◆ get_varray_for_context()

GVArray blender::nodes::node_geo_offset_point_in_curve_cc::OffsetValidFieldInput::get_varray_for_context ( const bke::GeometryFieldContext & context,
const IndexMask & mask ) const
inlinefinalvirtual

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