|
Blender
V2.93
|
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 |
This provider makes vertex groups available as float attributes.
Definition at line 905 of file geometry_component_mesh.cc.
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 977 of file geometry_component_mesh.cc.
References ATTR_DOMAIN_POINT, BLI_assert, callback, CD_PROP_FLOAT, component(), GEO_COMPONENT_TYPE_MESH, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), and MeshComponent::vertex_group_names().
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 995 of file geometry_component_mesh.cc.
References ATTR_DOMAIN_POINT, and callback.
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 953 of file geometry_component_mesh.cc.
References BKE_defvert_find_index(), BKE_defvert_remove_group(), BLI_assert, component(), Mesh::dvert, GEO_COMPONENT_TYPE_MESH, MeshComponent::get_for_write(), mesh, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop_default_as(), Mesh::totvert, and MeshComponent::vertex_group_names().
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 907 of file geometry_component_mesh.cc.
References ATTR_DOMAIN_POINT, BLI_assert, component(), Mesh::dvert, GEO_COMPONENT_TYPE_MESH, MeshComponent::get_for_read(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default_as(), mesh, Mesh::totvert, and MeshComponent::vertex_group_names().
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 927 of file geometry_component_mesh.cc.
References BKE_object_defgroup_data_create(), BLI_assert, CD_MDEFORMVERT, component(), CustomData_duplicate_referenced_layer(), Mesh::dvert, GEO_COMPONENT_TYPE_MESH, MeshComponent::get_for_write(), Mesh::id, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default_as(), mesh, Mesh::totvert, and MeshComponent::vertex_group_names().