|
Blender V4.3
|
Inherits blender::bke::MeshFieldInput.
Public Member Functions | |
| CornersOfEdgeInput (Field< int > edge_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 |
| std::optional< AttrDomain > | preferred_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 |
| virtual GVArray | get_varray_for_context (const Mesh &mesh, AttrDomain domain, const IndexMask &mask) const =0 |
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 CPPType & | cpp_type () const |
| Category | category () const |
| const CPPType & | output_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 CPPType * | type_ |
| std::string | debug_name_ |
| Category | category_ = Category::Unknown |
Protected Attributes inherited from blender::fn::FieldNode | |
| std::shared_ptr< const FieldInputs > | field_inputs_ |
Definition at line 33 of file node_geo_mesh_topology_corners_of_edge.cc.
|
inline |
Definition at line 39 of file node_geo_mesh_topology_corners_of_edge.cc.
References blender::fn::FieldInput::category_, and blender::fn::FieldInput::Generated.
|
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 123 of file node_geo_mesh_topology_corners_of_edge.cc.
References blender::fn::FieldNode::for_each_field_input_recursive(), and blender::fn::GFieldBase< NodePtr >::node().
|
inlinefinal |
Definition at line 48 of file node_geo_mesh_topology_corners_of_edge.cc.
References blender::fn::FieldEvaluator::add(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), b, blender::Array< T, InlineBufferCapacity, Allocator >::begin(), blender::bke::mesh::build_edge_to_corner_map(), blender::IndexRange::contains(), blender::Array< T, InlineBufferCapacity, Allocator >::end(), blender::array_utils::fill_index_range(), blender::VArray< T >::ForContainer(), blender::index_mask::IndexMask::from_indices(), blender::VArrayCommon< T >::is_single(), blender::VArrayCommon< T >::materialize_compressed(), mesh, mod_i(), blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), and blender::Span< T >::size().
|
inlinefinalvirtual |
Reimplemented from blender::bke::MeshFieldInput.
Definition at line 130 of file node_geo_mesh_topology_corners_of_edge.cc.