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

#include <attribute_access_intern.hh>

Inheritance diagram for blender::bke::DynamicAttributesProvider:
blender::bke::CustomDataAttributeProvider blender::bke::DynamicPointAttributeProvider blender::bke::NamedLegacyCustomDataProvider blender::bke::VertexGroupsAttributeProvider

Public Member Functions

virtual GAttributeReader try_get_for_read (const void *owner, const AttributeIDRef &attribute_id) const =0
 
virtual GAttributeWriter try_get_for_write (void *owner, const AttributeIDRef &attribute_id) const =0
 
virtual bool try_delete (void *owner, const AttributeIDRef &attribute_id) const =0
 
virtual bool try_create (void *owner, const AttributeIDRef &attribute_id, const eAttrDomain domain, const eCustomDataType data_type, const AttributeInit &initializer) const
 
virtual bool foreach_attribute (const void *owner, const AttributeForeachCallback callback) const =0
 
virtual void foreach_domain (const FunctionRef< void(eAttrDomain)> callback) const =0
 

Detailed Description

A #DynamicAttributesProvider manages a set of named attributes on a geometry component. Each attribute has a name, domain and type.

Definition at line 100 of file attribute_access_intern.hh.

Member Function Documentation

◆ foreach_attribute()

virtual bool blender::bke::DynamicAttributesProvider::foreach_attribute ( const void owner,
const AttributeForeachCallback  callback 
) const
pure virtual

◆ foreach_domain()

virtual void blender::bke::DynamicAttributesProvider::foreach_domain ( const FunctionRef< void(eAttrDomain)>  callback) const
pure virtual

◆ try_create()

virtual bool blender::bke::DynamicAttributesProvider::try_create ( void owner,
const AttributeIDRef attribute_id,
const eAttrDomain  domain,
const eCustomDataType  data_type,
const AttributeInit initializer 
) const
inlinevirtual

◆ try_delete()

virtual bool blender::bke::DynamicAttributesProvider::try_delete ( void owner,
const AttributeIDRef attribute_id 
) const
pure virtual

◆ try_get_for_read()

virtual GAttributeReader blender::bke::DynamicAttributesProvider::try_get_for_read ( const void owner,
const AttributeIDRef attribute_id 
) const
pure virtual

◆ try_get_for_write()

virtual GAttributeWriter blender::bke::DynamicAttributesProvider::try_get_for_write ( void owner,
const AttributeIDRef attribute_id 
) const
pure virtual

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