Blender V5.0
blender::nodes::node_geo_mesh_topology_corners_of_vertex_cc::CornersOfVertInput Class Referencefinal

Inherits blender::bke::MeshFieldInput.

Public Member Functions

 CornersOfVertInput (Field< int > vert_index, Field< int > sort_index, Field< float > sort_weight)
GVArray get_varray_for_context (const Mesh &mesh, const AttrDomain domain, const IndexMask &mask) const final
void for_each_field_input_recursive (FunctionRef< void(const FieldInput &)> fn) const override
uint64_t hash () const final
bool is_equal_to (const fn::FieldNode &other) const final
std::optional< AttrDomainpreferred_domain (const Mesh &) const final
Public Member Functions inherited from blender::bke::MeshFieldInput
GVArray get_varray_for_context (const fn::FieldContext &context, const IndexMask &mask, ResourceScope &scope) const override
 FieldInput (const CPPType &type, std::string debug_name="")
Public Member Functions inherited from blender::fn::FieldInput
 FieldInput (const CPPType &type, std::string debug_name="")
 ~FieldInput () override
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 ~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 32 of file node_geo_mesh_topology_corners_of_vertex.cc.

Constructor & Destructor Documentation

◆ CornersOfVertInput()

blender::nodes::node_geo_mesh_topology_corners_of_vertex_cc::CornersOfVertInput::CornersOfVertInput ( Field< int > vert_index,
Field< int > sort_index,
Field< float > sort_weight )
inline

Member Function Documentation

◆ for_each_field_input_recursive()

void blender::nodes::node_geo_mesh_topology_corners_of_vertex_cc::CornersOfVertInput::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 117 of file node_geo_mesh_topology_corners_of_vertex.cc.

References blender::bke::MeshFieldInput::FieldInput().

◆ get_varray_for_context()

◆ hash()

uint64_t blender::nodes::node_geo_mesh_topology_corners_of_vertex_cc::CornersOfVertInput::hash ( ) const
inlinefinalvirtual

Reimplemented from blender::fn::FieldNode.

Definition at line 124 of file node_geo_mesh_topology_corners_of_vertex.cc.

References final.

◆ is_equal_to()

bool blender::nodes::node_geo_mesh_topology_corners_of_vertex_cc::CornersOfVertInput::is_equal_to ( const fn::FieldNode & other) const
inlinefinalvirtual

Reimplemented from blender::fn::FieldNode.

Definition at line 129 of file node_geo_mesh_topology_corners_of_vertex.cc.

References CornersOfVertInput().

◆ preferred_domain()

std::optional< AttrDomain > blender::nodes::node_geo_mesh_topology_corners_of_vertex_cc::CornersOfVertInput::preferred_domain ( const Mesh & ) const
inlinefinalvirtual

Reimplemented from blender::bke::MeshFieldInput.

Definition at line 138 of file node_geo_mesh_topology_corners_of_vertex.cc.


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