Blender V5.0
GEO_join_geometries.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BKE_geometry_set.hh"
8
9namespace blender::geometry {
10
19 const bke::AttributeFilter &attribute_filter,
20 const std::optional<Span<bke::GeometryComponent::Type>>
21 &component_types_to_join = std::nullopt,
22 bool allow_merging_instance_references = true);
23
25 bke::GeometryComponent &r_result,
26 const Span<StringRef> ignored_attributes = {});
27} // namespace blender::geometry
bke::GeometrySet join_geometries(Span< bke::GeometrySet > geometries, const bke::AttributeFilter &attribute_filter, const std::optional< Span< bke::GeometryComponent::Type > > &component_types_to_join=std::nullopt, bool allow_merging_instance_references=true)
void join_attributes(const Span< const bke::GeometryComponent * > src_components, bke::GeometryComponent &r_result, const Span< StringRef > ignored_attributes={})