|
Blender V5.0
|
Public Member Functions | |
| MeshState (const Mesh &mesh) | |
| void | freeze_shared_state (const ImplicitSharingInfo &sharing_info) |
This class adds a user to shared mesh data, requiring modifications of the mesh to reallocate the data and its sharing info. This allows tracking which data is modified without having to explicitly compare it.
Definition at line 195 of file node_group_operator.cc.
|
inline |
Definition at line 199 of file node_group_operator.cc.
References freeze_shared_state(), blender::bke::AttributeIter::get(), blender::ed::geometry::get_vertex_group_sharing_info(), Mesh::runtime, blender::bke::GAttributeReader::sharing_info, blender::GVArrayCommon::size(), and blender::bke::GAttributeReader::varray.
|
inline |
Definition at line 218 of file node_group_operator.cc.
References blender::ImplicitSharingInfo::add_user().
Referenced by MeshState().