Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_attribute_access.hh
| Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | |||||
| }; | }; | ||||
| /* Returns false when the iteration should be stopped. */ | /* Returns false when the iteration should be stopped. */ | ||||
| using AttributeForeachCallback = blender::FunctionRef<bool( | using AttributeForeachCallback = blender::FunctionRef<bool( | ||||
| const blender::bke::AttributeIDRef &attribute_id, const AttributeMetaData &meta_data)>; | const blender::bke::AttributeIDRef &attribute_id, const AttributeMetaData &meta_data)>; | ||||
| namespace blender::bke { | namespace blender::bke { | ||||
| const CPPType *custom_data_type_to_cpp_type(const CustomDataType type); | |||||
| CustomDataType cpp_type_to_custom_data_type(const CPPType &type); | |||||
| CustomDataType attribute_data_type_highest_complexity(Span<CustomDataType> data_types); | CustomDataType attribute_data_type_highest_complexity(Span<CustomDataType> data_types); | ||||
| /** | /** | ||||
| * Domains with a higher "information density" have a higher priority, | * Domains with a higher "information density" have a higher priority, | ||||
| * in order to choose a domain that will not lose data through domain conversion. | * in order to choose a domain that will not lose data through domain conversion. | ||||
| */ | */ | ||||
| AttributeDomain attribute_domain_highest_priority(Span<AttributeDomain> domains); | AttributeDomain attribute_domain_highest_priority(Span<AttributeDomain> domains); | ||||
| /** | /** | ||||
| ▲ Show 20 Lines • Show All 369 Lines • Show Last 20 Lines | |||||