MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Forma.cpp File Reference
+ Include dependency graph for Forma.cpp:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Portal
 
namespace  MayaFlux::Portal::Forma
 

Functions

Bridge & MayaFlux::Portal::Forma::bridge ()
 Return the application-level Bridge instance.
 
std::shared_ptr< Buffers::FormaBuffer > MayaFlux::Portal::Forma::create_buffer (Graphics::RenderConfig render)
 Construct and register a FormaBuffer without creating a Mapped<T>.
 
std::pair< std::shared_ptr< Layer >, std::shared_ptr< Context > > MayaFlux::Portal::Forma::create_layer (const std::shared_ptr< Core::Window > &window, std::string name)
 Construct a Layer and a Context wired to window.
 
Surface MayaFlux::Portal::Forma::create_surface (SurfaceConfig config)
 Construct a Surface from a SurfaceConfig.
 
void MayaFlux::Portal::Forma::destroy (Surface &surface, uint32_t id)
 Tear down an element and everything related to it.
 
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.
 
void MayaFlux::Portal::Forma::inspect (const std::shared_ptr< Buffers::Buffer > &buf)
 Open a dedicated window inspecting a single Buffer and its processing chain.
 
void MayaFlux::Portal::Forma::inspect (const std::shared_ptr< Nodes::Network::NodeNetwork > &net)
 Open a dedicated window inspecting a NodeNetwork.
 
void MayaFlux::Portal::Forma::inspect (const std::shared_ptr< Nodes::Node > &node)
 Open a dedicated window inspecting a single Node and its modulator tree.
 
void MayaFlux::Portal::Forma::inspect (const std::shared_ptr< Vruta::Event > &ev, std::string_view name={})
 Open a dedicated window inspecting a single Event.
 
void MayaFlux::Portal::Forma::inspect_buffers ()
 Open or show the BufferManager inspection window.
 
void MayaFlux::Portal::Forma::inspect_events ()
 Open or show the EventManager inspection window.
 
void MayaFlux::Portal::Forma::inspect_node_graph ()
 Open or show the NodeGraphManager inspection window.
 
void MayaFlux::Portal::Forma::inspect_scheduler ()
 Open or show the TaskScheduler inspection window.
 
Inspector & MayaFlux::Portal::Forma::inspector ()
 Access the Forma introspection subsystem.
 
bool MayaFlux::Portal::Forma::is_initialized ()
 Whether initialize() has been called successfully.
 
std::pair< Mapped< std::shared_ptr< Kakshya::PlotContainer > >, Surface > MayaFlux::Portal::Forma::plot (std::string title, uint32_t width, uint32_t height, std::shared_ptr< Kakshya::PlotContainer > container, Plot::SeriesSpec spec)
 Create a live plot in a new window.
 
void MayaFlux::Portal::Forma::shutdown ()
 Release stored references.