Blender V5.0
blender::ed::geometry::MeshState Class Reference

Public Member Functions

 MeshState (const Mesh &mesh)
void freeze_shared_state (const ImplicitSharingInfo &sharing_info)

Detailed Description

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.

Constructor & Destructor Documentation

◆ MeshState()

Member Function Documentation

◆ freeze_shared_state()

void blender::ed::geometry::MeshState::freeze_shared_state ( const ImplicitSharingInfo & sharing_info)
inline

Definition at line 218 of file node_group_operator.cc.

References blender::ImplicitSharingInfo::add_user().

Referenced by MeshState().


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