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

◆ create_fabric()

MAYAFLUX_API std::shared_ptr< Nexus::Fabric > MayaFlux::create_fabric ( const std::string & name,
float cell_size = 1.0F )

Construct a named Fabric over the default engine's managers.

Parameters
nameName used when the Fabric is encoded.
cell_sizeGrid cell edge length for the spatial index.
auto fabric = MayaFlux::create_fabric("main");
fabric->wire(emitter).every(0.1).finalise();
std::shared_ptr< Nexus::Fabric > create_fabric(const std::string &name, float cell_size)
Construct a named Fabric over the default engine's managers.

Definition at line 10 of file Stagecraft.cpp.

11{
12 auto fabric = std::make_shared<Nexus::Fabric>(
14 fabric->set_name(name);
15 return fabric;
16}
std::shared_ptr< Vruta::EventManager > get_event_manager()
Gets the event manager from the default engine.
Definition Chronie.cpp:31
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
Definition Graph.cpp:148
std::shared_ptr< Vruta::TaskScheduler > get_scheduler()
Gets the task scheduler from the default engine.
Definition Chronie.cpp:26

References get_buffer_manager(), get_event_manager(), and get_scheduler().

Here is the call graph for this function: