|
| static std::array< DomainInfo, ATTR_DOMAIN_NUM > | blender::get_domains (BMesh *bm) |
| static bool | blender::bke_attribute_rename_if_exists (AttributeOwner &owner, const StringRef old_name, const StringRef new_name, ReportList *reports) |
| static bool | blender::bke_attribute_rename_if_exists (AttributeOwner &owner, BMesh &bm, const StringRef old_name, const StringRef new_name, ReportList *reports) |
| static bool | blender::name_valid_for_builtin_domain_and_type (const bke::AttributeAccessor attributes, const StringRef name, const AttrDomain domain, const bke::AttrType data_type, ReportList *reports) |
| static bool | blender::mesh_attribute_valid (const Mesh &mesh, const StringRef name, const AttrDomain domain, const bke::AttrType data_type, ReportList *reports) |
| bool | blender::BKE_attribute_rename (AttributeOwner &owner, StringRef old_name, StringRef new_name, struct ReportList *reports) |
| std::string | blender::BKE_attribute_calc_unique_name (const AttributeOwner &owner, StringRef name) |
| struct CustomDataLayer * | blender::BKE_attribute_new (Mesh &mesh, BMesh &bm, StringRef name, eCustomDataType type, bke::AttrDomain domain, struct ReportList *reports) |
| static int | blender::color_name_to_index (AttributeOwner &owner, const StringRef name) |
| static int | blender::color_clamp_index (AttributeOwner &owner, int index) |
| static StringRef | blender::color_name_from_index (AttributeOwner &owner, int index) |
| static int | blender::uv_name_to_index (AttributeOwner &owner, const StringRef name) |
| static int | blender::uv_clamp_index (AttributeOwner &owner, int index) |
| static StringRef | blender::uv_name_from_index (AttributeOwner &owner, int index) |
| bool | blender::BKE_attribute_remove (AttributeOwner &owner, StringRef name, struct ReportList *reports) |
| int | blender::BKE_attributes_length (const AttributeOwner &owner, AttrDomainMask domain_mask, eCustomDataMask mask, bool include_anonymous=true) |
| AttrDomain | blender::BKE_attribute_domain (const Mesh &mesh, const BMesh &bm, const CustomDataLayer *layer) |
| int | blender::BKE_attribute_domain_size (const AttributeOwner &owner, int domain) |
| bool | blender::BKE_attribute_required (const AttributeOwner &owner, StringRef name) |
| std::optional< StringRefNull > | blender::BKE_attributes_active_name_get (AttributeOwner &owner) |
| void | blender::BKE_attributes_active_set (AttributeOwner &owner, StringRef name) |
| void | blender::BKE_attributes_active_clear (AttributeOwner &owner) |
| int * | blender::BKE_attributes_active_index_p (AttributeOwner &owner) |
| void | blender::BKE_attributes_active_index_validate (AttributeOwner &owner) |
| std::optional< StringRef > | blender::BKE_attribute_from_index (AttributeOwner &owner, int lookup_index, AttrDomainMask domain_mask, eCustomDataMask layer_mask, bool include_anonymous=true) |
| int | blender::BKE_attribute_to_index (const AttributeOwner &owner, const StringRef name, AttrDomainMask domain_mask, eCustomDataMask layer_mask, bool include_anonymous=true) |
| std::optional< StringRef > | blender::BKE_id_attributes_active_color_name (const ID *id) |
| std::optional< StringRef > | blender::BKE_id_attributes_default_color_name (const ID *id) |
| void | blender::BKE_id_attributes_active_color_set (struct ID *id, std::optional< StringRef > name) |
| void | blender::BKE_id_attributes_active_color_clear (struct ID *id) |
| void | blender::BKE_id_attributes_default_color_set (struct ID *id, std::optional< StringRef > name) |
| bool | blender::BKE_id_attributes_color_find (const ID *id, const StringRef name) |
| StringRef | blender::BKE_uv_map_pin_name_get (StringRef uv_map_name, char *buffer) |
Implementation of generic geometry attributes management. This is built on top of CustomData, which manages individual domains.
Definition in file blenkernel/intern/attribute.cc.