|
Blender V4.3
|
#include <FN_lazy_function.hh>
Inherited by blender::nodes::GeoNodesLFUserData.
Public Member Functions | |
| virtual | ~UserData ()=default |
| virtual destruct_ptr< LocalUserData > | get_local (LinearAllocator<> &allocator) |
This allows passing arbitrary data into a lazy-function during execution. For that, UserData has to be subclassed. This mainly exists because it's more type safe than passing a void * with no type information attached.
Some lazy-functions may expect to find a certain type of user data when executed.
Definition at line 94 of file FN_lazy_function.hh.
|
virtualdefault |
|
virtual |
Get thread local data for this user-data and the current thread.
Reimplemented in blender::nodes::GeoNodesLFUserData.
Definition at line 73 of file lazy_function.cc.