Blender  V2.93
BKE_geometry_set_instances.hh
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 
17 #pragma once
18 
19 #include "BKE_geometry_set.hh"
20 
21 namespace blender::bke {
22 
33 
40 };
41 
44  const int limit);
45 
46 void geometry_set_gather_instances(const GeometrySet &geometry_set,
47  Vector<GeometryInstanceGroup> &r_instance_groups);
48 
51 
52 struct AttributeKind {
55 };
56 
63  Span<GeometryComponentType> component_types,
64  const Set<std::string> &ignored_attributes,
65  Map<std::string, AttributeKind> &r_attributes);
66 
67 } // namespace blender::bke
AttributeDomain
Definition: BKE_attribute.h:41
CustomDataType
DEGForeachIDComponentCallback callback
void geometry_set_gather_instances(const GeometrySet &geometry_set, Vector< GeometryInstanceGroup > &r_instance_groups)
GeometrySet geometry_set_realize_mesh_for_modifier(const GeometrySet &geometry_set)
GeometrySet geometry_set_realize_instances(const GeometrySet &geometry_set)
void geometry_set_gather_instances_attribute_info(Span< GeometryInstanceGroup > set_groups, Span< GeometryComponentType > component_types, const Set< std::string > &ignored_attributes, Map< std::string, AttributeKind > &r_attributes)
void geometry_set_instances_attribute_foreach(const GeometrySet &geometry_set, const AttributeForeachCallback callback, const int limit)