106 friend AttributeStorage;
107 struct AttributeNameGetter {
110 return value->name();
BMesh const char void * data
Attribute & add(std::string name, bke::AttrDomain domain, bke::AttrType data_type, Attribute::DataVariant data)
void count_memory(MemoryCounter &memory) const
Attribute * lookup(StringRef name)
void blend_read(BlendDataReader &reader)
std::string unique_name_calc(StringRef name)
bool remove(StringRef name)
void blend_write(BlendWriter &writer, const BlendWriteData &write_data)
AttributeStorage & operator=(const AttributeStorage &other)
AttrStorageType storage_type() const
const DataVariant & data() const
std::variant< ArrayData, SingleData > DataVariant
DataVariant & data_for_write()
AttrDomain domain() const
StringRefNull name() const
AttrType data_type() const
VectorSet< T, InlineBufferCapacity, DefaultProbingStrategy, CustomIDHash< T, GetIDFn >, CustomIDEqual< T, GetIDFn > > CustomIDVectorSet
Vector<::Attribute, 16 > & attributes
BlendWriteData(ResourceScope &scope)
ImplicitSharingPtr sharing_info
ImplicitSharingPtr sharing_info