Blender
V3.3
|
#include <attribute_access_intern.hh>
Public Member Functions | |
NamedLegacyCustomDataProvider (const eAttrDomain domain, const eCustomDataType attribute_type, const eCustomDataType stored_type, const CustomDataAccessInfo custom_data_access, const AsReadAttribute as_read_attribute, const AsWriteAttribute as_write_attribute) | |
GAttributeReader | try_get_for_read (const void *owner, const AttributeIDRef &attribute_id) const final |
GAttributeWriter | try_get_for_write (void *owner, const AttributeIDRef &attribute_id) const final |
bool | try_delete (void *owner, const AttributeIDRef &attribute_id) const final |
bool | foreach_attribute (const void *owner, const AttributeForeachCallback callback) const final |
void | foreach_domain (const FunctionRef< void(eAttrDomain)> callback) const final |
![]() | |
virtual bool | try_create (void *owner, const AttributeIDRef &attribute_id, const eAttrDomain domain, const eCustomDataType data_type, const AttributeInit &initializer) const |
This attribute provider is used for uv maps and vertex colors.
Definition at line 169 of file attribute_access_intern.hh.
|
inline |
Definition at line 181 of file attribute_access_intern.hh.
|
finalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 619 of file attribute_access.cc.
References callback, blender::bke::CustomDataAccessInfo::get_const_custom_data, CustomData::layers, and CustomData::totlayer.
|
finalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 637 of file attribute_access.cc.
References callback.
|
finalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 596 of file attribute_access.cc.
References blender::bke::custom_data_layer_matches_attribute_id(), CustomData_free_layer(), blender::bke::CustomDataAccessInfo::get_custom_data, blender::bke::CustomDataAccessInfo::get_element_num, CustomData::layers, CustomData::totlayer, CustomDataLayer::type, and blender::bke::CustomDataAccessInfo::update_custom_data_pointers.
|
finalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 552 of file attribute_access.cc.
References blender::bke::custom_data_layer_matches_attribute_id(), blender::bke::domain_num(), blender::bke::CustomDataAccessInfo::get_const_custom_data, blender::bke::CustomDataAccessInfo::get_element_num, CustomData::layers, and CustomData::totlayer.
|
finalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 570 of file attribute_access.cc.
References blender::bke::custom_data_layer_matches_attribute_id(), CustomData_duplicate_referenced_layer_named(), blender::bke::CustomDataAccessInfo::get_custom_data, blender::bke::CustomDataAccessInfo::get_element_num, CustomData::layers, CustomData::totlayer, and blender::bke::CustomDataAccessInfo::update_custom_data_pointers.