|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Nexus objects that need the engine's managers, built with them already supplied. More...
#include "MayaFlux/API/Graph.hpp"Go to the source code of this file.
Namespaces | |
| namespace | MayaFlux |
| Main namespace for the Maya Flux audio engine. | |
| namespace | MayaFlux::Core |
| namespace | MayaFlux::Nexus |
| namespace | MayaFlux::Portal |
| namespace | MayaFlux::Portal::Graphics |
Functions | |
| 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. | |
| std::shared_ptr< Nexus::Tapestry > | MayaFlux::create_tapestry () |
| Construct a Tapestry over the default engine's managers. | |
| template<typename Entity> requires requires(Entity& entity, Buffers::BufferManager& manager, uint32_t channel) { entity.remove_audio_sink(manager, channel); } | |
| void | MayaFlux::remove_audio_sink (const std::shared_ptr< Entity > &entity, uint32_t channel) |
Unregister the audio output of an Agent or Emitter on channel. | |
| template<typename Entity> requires requires(Entity& entity, Buffers::BufferManager& manager, const std::shared_ptr<Core::Window>& window) { entity.remove_render(manager, window); } | |
| void | MayaFlux::remove_render_sink (const std::shared_ptr< Entity > &entity, const std::shared_ptr< Core::Window > &window) |
Unregister the render output of an Agent or Emitter targeting window. | |
| template<typename Entity, typename... Args> requires requires(Entity& entity, Buffers::BufferManager& manager, uint32_t channel, Args&&... args) { entity.sink_audio(manager, channel, std::forward<Args>(args)...); } | |
| void | MayaFlux::sink_audio (const std::shared_ptr< Entity > &entity, uint32_t channel, Args &&... args) |
Register an audio output for an Agent or Emitter on channel. | |
| template<typename Entity, typename... Args> requires requires(Entity& entity, Buffers::BufferManager& manager, const Portal::Graphics::RenderConfig& config, Args&&... args) { entity.render(manager, config, std::forward<Args>(args)...); } | |
| void | MayaFlux::sink_render (const std::shared_ptr< Entity > &entity, const Portal::Graphics::RenderConfig &config, Args &&... args) |
| Register a render output for an Agent or Emitter. | |
Nexus objects that need the engine's managers, built with them already supplied.
Fabric and Tapestry take the scheduler, event manager and buffer manager as explicit arguments. These functions pass the default engine's. Everything else in Nexus takes no manager and is constructed directly.
A Fabric keeps references to the engine's managers, so release it before MayaFlux::End(), or hand it to store() to have the persistent store do so.
Definition in file Stagecraft.hpp.