Blender V5.3
attribute_storage_access.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke

Functions

GAttributeReader blender::bke::attribute_to_reader (const Attribute &attribute, const AttrDomain domain, const int64_t domain_size)
GAttributeWriter blender::bke::attribute_to_writer (void *owner, const Map< StringRef, AttrUpdateOnChange > &changed_tags, const int64_t domain_size, Attribute &attribute)
Attribute::DataVariant blender::bke::attribute_init_to_data (const bke::AttrType data_type, const int64_t domain_size, const AttributeInit &initializer, const bool require_array_data)
GVArray blender::bke::get_varray_attribute (const AttributeStorage &storage, AttrDomain domain, const CPPType &cpp_type, StringRef name, int64_t domain_size, const void *default_value)
std::optional< GSpan > blender::bke::get_span_attribute (const AttributeStorage &storage, const AttrDomain domain, const CPPType &cpp_type, const StringRef name, const int64_t domain_size)
GMutableSpan blender::bke::get_mutable_attribute (AttributeStorage &storage, const AttrDomain domain, const CPPType &cpp_type, const StringRef name, const int64_t domain_size, const void *custom_default_value)
bool blender::bke::try_delete_vertex_group (ListBaseT< bDeformGroup > &vertex_groups, const StringRef name, FunctionRef< MutableSpan< MDeformVert >()> get_mutable_dverts)
static bDeformGroup * blender::bke::find_vertex_group (ListBaseT< bDeformGroup > &vertex_groups, const StringRef name)
static void blender::bke::ensure_array_storage (Attribute &attr, const FunctionRef< int(AttrDomain)> domain_size_fn)
static std::variant< std::monostate, Attribute *, bDeformGroup * > blender::bke::find_attr_or_group (AttributeStorage &storage, std::optional< ListBaseT< bDeformGroup > * > vertex_groups, const StringRef name)
Set< StringRef > blender::bke::rename_attributes (AttributeStorage &storage, const Map< StringRef, StringRef > &name_map, const bool overwrite, const Map< StringRef, AttrBuiltinInfo > &builtin_attributes, const Set< StringRef > &array_storage_required, const FunctionRef< int(AttrDomain)> domain_size_fn, std::optional< ListBaseT< bDeformGroup > * > vertex_groups, FunctionRef< MutableSpan< MDeformVert >()> get_mutable_dverts)