MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ initialize()

MAYAFLUX_API bool MayaFlux::Portal::Forma::initialize ( std::shared_ptr< Nodes::NodeGraphManager node_graph_manager,
std::shared_ptr< Buffers::BufferManager buffer_manager,
std::shared_ptr< Vruta::TaskScheduler scheduler,
std::shared_ptr< Vruta::EventManager event_manager,
std::shared_ptr< Core::WindowManager window_manager 
)

Store engine-level references for use by all subsequent Forma calls.

Must be called before any create_* call. Safe to call multiple times; subsequent calls are no-ops and log a warning.

Parameters
node_graph_managerEngine NodeGraphManager. Must outlive all Forma objects.
buffer_managerEngine BufferManager. Must outlive all Forma objects.
schedulerEngine TaskScheduler. Must outlive all Bridge instances.
event_managerEngine EventManager. Must outlive all Context instances.
window_managerEngine WindowManager. Must outlive all Surface instances.
Returns
True on success, false if any argument is null.

Definition at line 36 of file Forma.cpp.

42{
43 return internal::atelier().initialize(
44 std::move(node_graph_manager), std::move(buffer_manager),
45 std::move(scheduler), std::move(event_manager), std::move(window_manager));
46}

References MayaFlux::Portal::Forma::internal::atelier(), and MayaFlux::Portal::Forma::internal::Atelier::initialize().

Referenced by MayaFlux::Core::Engine::Start().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: