|
Blender V4.3
|
#include <BLI_implicit_sharing.hh>
Inherits blender::ImplicitSharingInfo.
Public Member Functions | |
| template<typename... Args> | |
| ImplicitSharedValue (Args &&...args) | |
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 |
Public Attributes | |
| T | data |
Utility for creating an allocated shared resource, to be used like: new ImplicitSharedValue<T>(args);
Definition at line 208 of file BLI_implicit_sharing.hh.
|
inline |
Definition at line 213 of file BLI_implicit_sharing.hh.
| T blender::ImplicitSharedValue< T >::data |
Definition at line 210 of file BLI_implicit_sharing.hh.