|
Blender V4.5
|
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 193 of file node_group_operator.cc.
|
inline |
Definition at line 197 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 216 of file node_group_operator.cc.
References blender::ImplicitSharingInfo::add_user().
Referenced by MeshState().