Blender  V3.3
Public Member Functions | List of all members
blender::bke::NamedLegacyCustomDataProvider Class Referencefinal

#include <attribute_access_intern.hh>

Inheritance diagram for blender::bke::NamedLegacyCustomDataProvider:
blender::bke::DynamicAttributesProvider

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
 
- Public Member Functions inherited from blender::bke::DynamicAttributesProvider
virtual bool try_create (void *owner, const AttributeIDRef &attribute_id, const eAttrDomain domain, const eCustomDataType data_type, const AttributeInit &initializer) const
 

Detailed Description

This attribute provider is used for uv maps and vertex colors.

Definition at line 169 of file attribute_access_intern.hh.

Constructor & Destructor Documentation

◆ NamedLegacyCustomDataProvider()

blender::bke::NamedLegacyCustomDataProvider::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 
)
inline

Definition at line 181 of file attribute_access_intern.hh.

Member Function Documentation

◆ foreach_attribute()

bool blender::bke::NamedLegacyCustomDataProvider::foreach_attribute ( const void owner,
const AttributeForeachCallback  callback 
) const
finalvirtual

◆ foreach_domain()

void blender::bke::NamedLegacyCustomDataProvider::foreach_domain ( const FunctionRef< void(eAttrDomain)>  callback) const
finalvirtual

Implements blender::bke::DynamicAttributesProvider.

Definition at line 637 of file attribute_access.cc.

References callback.

◆ try_delete()

bool blender::bke::NamedLegacyCustomDataProvider::try_delete ( void owner,
const AttributeIDRef attribute_id 
) const
finalvirtual

◆ try_get_for_read()

GAttributeReader blender::bke::NamedLegacyCustomDataProvider::try_get_for_read ( const void owner,
const AttributeIDRef attribute_id 
) const
finalvirtual

◆ try_get_for_write()

GAttributeWriter blender::bke::NamedLegacyCustomDataProvider::try_get_for_write ( void owner,
const AttributeIDRef attribute_id 
) const
finalvirtual

The documentation for this class was generated from the following files: