|
Blender V4.3
|
#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 107 of file FN_lazy_function.hh.
|
inline |
Definition at line 123 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 121 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 113 of file FN_lazy_function.hh.
Referenced by blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::LazyFunctionForSimulationZone::execute_impl(), blender::nodes::ForeachGeometryElementNodeExecuteWrapper::execute_node(), and blender::nodes::RepeatBodyNodeExecuteWrapper::execute_node().
| UserData* blender::fn::lazy_function::Context::user_data |
Custom user data that can be used in the function.
Definition at line 117 of file FN_lazy_function.hh.
Referenced by blender::nodes::GeoNodeExecParams::user_data(), blender::nodes::ScopedComputeContextTimer::~ScopedComputeContextTimer(), and blender::nodes::ScopedNodeTimer::~ScopedNodeTimer().