Blender V4.3
blender::bke::CurvesVertexGroupsAttributeProvider 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 CurvesGeometry &curves, 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, 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
 

Detailed Description

This provider makes vertex groups available as float attributes.

Definition at line 357 of file geometry_component_curves.cc.

Member Function Documentation

◆ foreach_attribute()

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

◆ foreach_domain()

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

◆ get_for_vertex_group_index()

GAttributeReader blender::bke::CurvesVertexGroupsAttributeProvider::get_for_vertex_group_index ( const CurvesGeometry & curves,
const Span< MDeformVert > dverts,
const int vertex_group_index ) const
inline

◆ try_delete()

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

◆ try_get_for_read()

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

◆ try_get_for_write()

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

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