|
Blender V5.0
|
#include <FN_user_data.hh>
Inherited by blender::nodes::GeoNodesUserData.
Public Member Functions | |
| virtual | ~UserData ()=default |
| virtual destruct_ptr< LocalUserData > | get_local (LinearAllocator<> &allocator) |
This allows passing arbitrary data into a function. 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 28 of file FN_user_data.hh.
|
virtualdefault |
|
virtual |
Get thread local data for this user-data and the current thread.
Reimplemented in blender::nodes::GeoNodesUserData.
Definition at line 9 of file user_data.cc.