Blender V5.3
node_geo_transfer_attributes.cc File Reference
#include <fmt/format.h>
#include "BLI_generic_array.hh"
#include "BLI_implicit_sharing.hh"
#include "BKE_curves.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_instances.hh"
#include "DNA_curves_types.h"
#include "DNA_grease_pencil_types.h"
#include "DNA_mesh_types.h"
#include "DNA_pointcloud_types.h"
#include "NOD_geometry_nodes_list.hh"
#include "NOD_string_pattern.hh"
#include "node_geometry_util.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::nodes
namespace  blender::nodes::node_geo_transfer_attributes_cc

Functions

static void blender::nodes::node_geo_transfer_attributes_cc::node_declare (NodeDeclarationBuilder &b)
static bool blender::nodes::node_geo_transfer_attributes_cc::should_transfer (const Span< StringPattern > patterns, const bke::AttrDomain domain, const StringRef name, const bool exclude_names, MutableSpan< bool > r_found_attribute_using_pattern)
static bool blender::nodes::node_geo_transfer_attributes_cc::add_attribute_with_array (bke::MutableAttributeAccessor &attributes, const StringRef name, const AttrDomain domain, const bke::AttrType type, GArray<> array, const bool replace_existing)
static void blender::nodes::node_geo_transfer_attributes_cc::transfer_attributes (const Span< StringPattern > patterns, const bool exclude_names, const bke::AttributeAccessor &src_attributes, bke::MutableAttributeAccessor &dst_attributes, const Map< bke::AttrDomain, Field< int > > &src_id_fields, const Map< bke::AttrDomain, Field< int > > &dst_id_fields, FunctionRef< fn::FieldContext &(ResourceScope &scope, const bke::AttrDomain domain)> create_src_context, FunctionRef< fn::FieldContext &(ResourceScope &scope, const bke::AttrDomain domain)> create_dst_context, VectorSet< std::string > &r_transferred_names, MutableSpan< bool > r_found_attribute_using_pattern)
static void blender::nodes::node_geo_transfer_attributes_cc::node_geo_exec (GeoNodeExecParams params)
static void blender::nodes::node_geo_transfer_attributes_cc::node_register ()