Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-09-23 18:50:33 +0300
committerJacques Lucke <jacques@blender.org>2021-09-23 18:59:44 +0300
commit38af29df5c307517dfdd0803b7e00d979be7185d (patch)
tree67ea679dda4bfd8255e050c24e7671d713084371 /source/blender/blenkernel/BKE_geometry_set_instances.hh
parent105115da9f601c53d87cdc038f795f00f56a3495 (diff)
Geometry Nodes: simplify looping over attributes in geometry set
This adds three new methods: * `InstancesComponent::foreach_reference_as_geometry(...)` * `GeometrySet::attribute_foreach(...)` * `GeometrySet::gather_attributes_for_propagation(...)` The goal is that these iteration primitives can be used in places where we use more specialized iterators currently. Differential Revision: https://developer.blender.org/D12613
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set_instances.hh')
-rw-r--r--source/blender/blenkernel/BKE_geometry_set_instances.hh5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_geometry_set_instances.hh b/source/blender/blenkernel/BKE_geometry_set_instances.hh
index 44a0ee30c4c..9d68d726c3a 100644
--- a/source/blender/blenkernel/BKE_geometry_set_instances.hh
+++ b/source/blender/blenkernel/BKE_geometry_set_instances.hh
@@ -49,11 +49,6 @@ void geometry_set_gather_instances(const GeometrySet &geometry_set,
GeometrySet geometry_set_realize_mesh_for_modifier(const GeometrySet &geometry_set);
GeometrySet geometry_set_realize_instances(const GeometrySet &geometry_set);
-struct AttributeKind {
- CustomDataType data_type;
- AttributeDomain domain;
-};
-
/**
* Add information about all the attributes on every component of the type. The resulting info
* will contain the highest complexity data type and the highest priority domain among every