|
Blender V5.3
|
Go to the source code of this file.
Typedefs | |
| using | ImplicitSharingInfo = const void * |
| using | ImplicitSharingUserAddFn = void (*)(ImplicitSharingInfo) |
| using | ImplicitSharingUserRemoveFn = void (*)(ImplicitSharingInfo) |
Functions | |
| void | implicit_sharing_init (ImplicitSharingUserAddFn add_fn, ImplicitSharingUserRemoveFn remove_fn) |
Variables | |
| ImplicitSharingUserAddFn | g_implicit_sharing_user_add_fn |
| ImplicitSharingUserRemoveFn | g_implicit_sharing_user_remove_fn |
| using ImplicitSharingInfo = const void * |
Definition at line 9 of file implicit_sharing.h.
| using ImplicitSharingUserAddFn = void (*)(ImplicitSharingInfo) |
Definition at line 11 of file implicit_sharing.h.
| using ImplicitSharingUserRemoveFn = void (*)(ImplicitSharingInfo) |
Definition at line 12 of file implicit_sharing.h.
| void implicit_sharing_init | ( | ImplicitSharingUserAddFn | add_fn, |
| ImplicitSharingUserRemoveFn | remove_fn ) |
Set function pointers to be called when implicit sharing (use count tracking) is enabled. "Sharing info" references that own data like attribute arrays are passed as void pointers to various Cycles API functions, and these functions are called to change the reference count.
Definition at line 12 of file util/implicit_sharing.cpp.
References g_implicit_sharing_user_add_fn, g_implicit_sharing_user_remove_fn, and implicit_sharing_init().
Referenced by implicit_sharing_init().
|
extern |
Definition at line 9 of file util/implicit_sharing.cpp.
Referenced by Attribute::Attribute(), implicit_sharing_init(), and Attribute::set_motion_step_shared().
|
extern |
Definition at line 10 of file util/implicit_sharing.cpp.
Referenced by Attribute::Attribute(), buffer_for_write(), free_step_buffer(), and implicit_sharing_init().