Blender V5.0
CustomDataLayerImplicitSharing Class Reference

Inherits blender::ImplicitSharingInfo.

Public Member Functions

 CustomDataLayerImplicitSharing (const void *data, const int totelem, const eCustomDataType type)
Public Member Functions inherited from blender::ImplicitSharingInfo
virtual ~ImplicitSharingInfo ()
bool is_mutable () const
bool is_expired () const
void add_user () const
void add_weak_user () const
void tag_ensured_mutable () const
int64_t version () const
int strong_users () const
void remove_user_and_delete_if_last () const
void remove_weak_user_and_delete_if_last () const

Detailed Description

An ImplicitSharingInfo that knows how to free the entire referenced custom data layer (including potentially separately allocated chunks like for vertex groups).

Definition at line 2431 of file customdata.cc.

Constructor & Destructor Documentation

◆ CustomDataLayerImplicitSharing()

CustomDataLayerImplicitSharing::CustomDataLayerImplicitSharing ( const void * data,
const int totelem,
const eCustomDataType type )
inline

Definition at line 2438 of file customdata.cc.

References data.


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