Blender  V2.93
Public Member Functions | List of all members
blender::bke::VertexGroupsAttributeProvider Class Referencefinal

Inherits blender::bke::DynamicAttributesProvider.

Public Member Functions

ReadAttributePtr try_get_for_read (const GeometryComponent &component, const StringRef attribute_name) const final
 
WriteAttributePtr try_get_for_write (GeometryComponent &component, const StringRef attribute_name) const final
 
bool try_delete (GeometryComponent &component, const StringRef attribute_name) const final
 
bool foreach_attribute (const GeometryComponent &component, const AttributeForeachCallback callback) const final
 
void foreach_domain (const FunctionRef< void(AttributeDomain)> callback) const final
 
- Public Member Functions inherited from blender::bke::DynamicAttributesProvider
virtual bool try_create (GeometryComponent &UNUSED(component), const StringRef UNUSED(attribute_name), const AttributeDomain UNUSED(domain), const CustomDataType UNUSED(data_type)) const
 

Detailed Description

This provider makes vertex groups available as float attributes.

Definition at line 905 of file geometry_component_mesh.cc.

Member Function Documentation

◆ foreach_attribute()

bool blender::bke::VertexGroupsAttributeProvider::foreach_attribute ( const GeometryComponent component,
const AttributeForeachCallback  callback 
) const
inlinefinalvirtual

◆ foreach_domain()

void blender::bke::VertexGroupsAttributeProvider::foreach_domain ( const FunctionRef< void(AttributeDomain)>  callback) const
inlinefinalvirtual

Implements blender::bke::DynamicAttributesProvider.

Definition at line 995 of file geometry_component_mesh.cc.

References ATTR_DOMAIN_POINT, and callback.

◆ try_delete()

bool blender::bke::VertexGroupsAttributeProvider::try_delete ( GeometryComponent component,
const StringRef  attribute_name 
) const
inlinefinalvirtual

◆ try_get_for_read()

ReadAttributePtr blender::bke::VertexGroupsAttributeProvider::try_get_for_read ( const GeometryComponent component,
const StringRef  attribute_name 
) const
inlinefinalvirtual

◆ try_get_for_write()

WriteAttributePtr blender::bke::VertexGroupsAttributeProvider::try_get_for_write ( GeometryComponent component,
const StringRef  attribute_name 
) const
inlinefinalvirtual

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