Blender  V3.3
BKE_geometry_set.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #pragma once
4 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 struct Collection;
14 struct GeometrySet;
15 struct Object;
16 
17 /* Each geometry component has a specific type. The type determines what kind of data the component
18  * stores. Functions modifying a geometry will usually just modify a subset of the component types.
19  */
20 typedef enum GeometryComponentType {
28 
29 #define GEO_COMPONENT_TYPE_ENUM_SIZE 6
30 
31 void BKE_geometry_set_free(struct GeometrySet *geometry_set);
32 
34 
35 #ifdef __cplusplus
36 }
37 #endif
void BKE_geometry_set_free(struct GeometrySet *geometry_set)
GeometryComponentType
@ GEO_COMPONENT_TYPE_MESH
@ GEO_COMPONENT_TYPE_POINT_CLOUD
@ GEO_COMPONENT_TYPE_INSTANCES
@ GEO_COMPONENT_TYPE_EDIT
@ GEO_COMPONENT_TYPE_CURVE
@ GEO_COMPONENT_TYPE_VOLUME
bool BKE_object_has_geometry_set_instances(const struct Object *ob)