|
Blender V4.3
|
#include <BLI_implicit_sharing.hh>
Inherits blender::ImplicitSharingInfo.
Inherited by blender::bke::GeometryComponent, blender::bke::RuntimeNodeEnumItems, and blender::tests::ImplicitlySharedData.
Additional Inherited Members | |
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 |
Makes it easy to embed implicit-sharing behavior into a struct. Structs that derive from this class can be used with #ImplicitSharingPtr.
Definition at line 192 of file BLI_implicit_sharing.hh.