Blender V4.3
blender::bke::MeshVertexGroupsAttributeProvider Class Referencefinal

Inherits blender::bke::DynamicAttributesProvider.

Public Member Functions

GAttributeReader try_get_for_read (const void *owner, const StringRef attribute_id) const final
 
GAttributeReader get_for_vertex_group_index (const Mesh &mesh, const Span< MDeformVert > dverts, const int vertex_group_index) const
 
GAttributeWriter try_get_for_write (void *owner, const StringRef attribute_id) const final
 
bool try_delete (void *owner, const StringRef attribute_id) const final
 
bool foreach_attribute (const void *owner, const FunctionRef< void(const AttributeIter &)> fn) const final
 
void foreach_domain (const FunctionRef< void(AttrDomain)> callback) const final
 
- Public Member Functions inherited from blender::bke::DynamicAttributesProvider
virtual bool try_create (void *owner, const StringRef attribute_id, const AttrDomain domain, const eCustomDataType data_type, const AttributeInit &initializer) const
 
virtual bool foreach_attribute (const void *owner, FunctionRef< void(const AttributeIter &)> fn) const =0
 

Detailed Description

This provider makes vertex groups available as float attributes.

Definition at line 884 of file geometry_component_mesh.cc.

Member Function Documentation

◆ foreach_attribute()

bool blender::bke::MeshVertexGroupsAttributeProvider::foreach_attribute ( const void * owner,
const FunctionRef< void(const AttributeIter &)> fn ) const
inlinefinal

◆ foreach_domain()

void blender::bke::MeshVertexGroupsAttributeProvider::foreach_domain ( const FunctionRef< void(AttrDomain)> callback) const
inlinefinalvirtual

Implements blender::bke::DynamicAttributesProvider.

Definition at line 987 of file geometry_component_mesh.cc.

References callback.

◆ get_for_vertex_group_index()

GAttributeReader blender::bke::MeshVertexGroupsAttributeProvider::get_for_vertex_group_index ( const Mesh & mesh,
const Span< MDeformVert > dverts,
const int vertex_group_index ) const
inline

◆ try_delete()

bool blender::bke::MeshVertexGroupsAttributeProvider::try_delete ( void * owner,
const StringRef attribute_id ) const
inlinefinalvirtual

◆ try_get_for_read()

GAttributeReader blender::bke::MeshVertexGroupsAttributeProvider::try_get_for_read ( const void * owner,
const StringRef attribute_id ) const
inlinefinalvirtual

◆ try_get_for_write()

GAttributeWriter blender::bke::MeshVertexGroupsAttributeProvider::try_get_for_write ( void * owner,
const StringRef attribute_id ) const
inlinefinalvirtual

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