Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_geometry_set_instances.hh
| Show All 38 Lines | struct GeometryInstanceGroup { | ||||
| * because they may be transformed from the original data. TODO: Validate that last statement. | * because they may be transformed from the original data. TODO: Validate that last statement. | ||||
| */ | */ | ||||
| Vector<float4x4> transforms; | Vector<float4x4> transforms; | ||||
| }; | }; | ||||
| void geometry_set_gather_instances(const GeometrySet &geometry_set, | void geometry_set_gather_instances(const GeometrySet &geometry_set, | ||||
| Vector<GeometryInstanceGroup> &r_instance_groups); | 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); | GeometrySet geometry_set_realize_instances(const GeometrySet &geometry_set); | ||||
| /** | /** | ||||
| * Add information about all the attributes on every component of the type. The resulting info | * 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 | * will contain the highest complexity data type and the highest priority domain among every | ||||
| * attribute with the given name on all of the input components. | * attribute with the given name on all of the input components. | ||||
| */ | */ | ||||
| void geometry_set_gather_instances_attribute_info( | void geometry_set_gather_instances_attribute_info( | ||||
| Span<GeometryInstanceGroup> set_groups, | Span<GeometryInstanceGroup> set_groups, | ||||
| Span<GeometryComponentType> component_types, | Span<GeometryComponentType> component_types, | ||||
| const Set<std::string> &ignored_attributes, | const Set<std::string> &ignored_attributes, | ||||
| Map<AttributeIDRef, AttributeKind> &r_attributes); | Map<AttributeIDRef, AttributeKind> &r_attributes); | ||||
| } // namespace blender::bke | } // namespace blender::bke | ||||