|
Blender V4.5
|
#include <FN_lazy_function.hh>
Public Member Functions | |
| Context (void *storage, UserData *user_data, LocalUserData *local_user_data) | |
Public Attributes | |
| void * | storage |
| UserData * | user_data |
| LocalUserData * | local_user_data |
Passed to the lazy-function when it is executed.
Definition at line 80 of file FN_lazy_function.hh.
|
inline |
Definition at line 96 of file FN_lazy_function.hh.
| LocalUserData* blender::fn::lazy_function::Context::local_user_data |
Custom user data that is local to the thread that executes the lazy-function.
Definition at line 94 of file FN_lazy_function.hh.
Referenced by blender::nodes::GeoNodeExecParams::local_user_data(), blender::nodes::ScopedComputeContextTimer::~ScopedComputeContextTimer(), and blender::nodes::ScopedNodeTimer::~ScopedNodeTimer().
| void* blender::fn::lazy_function::Context::storage |
If the lazy-function has some state (which only makes sense when it is executed more than once to finish its job), the state is stored here. This points to memory returned from LazyFunction::init_storage.
Definition at line 86 of file FN_lazy_function.hh.
Referenced by blender::nodes::execute_geometry_nodes_on_geometry().
| UserData* blender::fn::lazy_function::Context::user_data |
Custom user data that can be used in the function.
Definition at line 90 of file FN_lazy_function.hh.
Referenced by blender::nodes::GeoNodeExecParams::user_data(), blender::nodes::ScopedComputeContextTimer::~ScopedComputeContextTimer(), and blender::nodes::ScopedNodeTimer::~ScopedNodeTimer().