42MAYAFLUX_API std::shared_ptr<Nexus::Fabric>
create_fabric(
const std::string& name,
float cell_size = 1.0F);
62template <
typename Entity,
typename... Args>
64 entity.sink_audio(manager, channel, std::forward<Args>(args)...);
66void sink_audio(
const std::shared_ptr<Entity>& entity, uint32_t channel, Args&&... args)
77template <
typename Entity,
typename... Args>
78 requires requires(Entity& entity, Buffers::BufferManager& manager,
const Portal::Graphics::RenderConfig& config, Args&&... args) {
79 entity.render(manager, config, std::forward<Args>(args)...);
92template <
typename Entity>
93 requires requires(Entity& entity, Buffers::BufferManager& manager, uint32_t channel) {
94 entity.remove_audio_sink(manager, channel);
106template <
typename Entity>
107 requires requires(Entity& entity, Buffers::BufferManager& manager,
const std::shared_ptr<Core::Window>& window) {
108 entity.remove_render(manager, window);
110void remove_render_sink(
const std::shared_ptr<Entity>& entity,
const std::shared_ptr<Core::Window>& window)
Token-based multimodal buffer management system for unified data stream processing.
Platform-agnostic window wrapper.
Orchestrates spatial indexing and scheduling for Nexus objects.
Owner of one or more Fabrics and the shared state they rely on.
void sink_audio(const std::shared_ptr< Entity > &entity, uint32_t channel, Args &&... args)
Register an audio output for an Agent or Emitter on channel.
void remove_audio_sink(const std::shared_ptr< Entity > &entity, uint32_t channel)
Unregister the audio output of an Agent or Emitter on channel.
void 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.
std::shared_ptr< Nexus::Fabric > create_fabric(const std::string &name, float cell_size)
Construct a named Fabric over the default engine's managers.
void sink_render(const std::shared_ptr< Entity > &entity, const Portal::Graphics::RenderConfig &config, Args &&... args)
Register a render output for an Agent or Emitter.
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
std::shared_ptr< Nexus::Tapestry > create_tapestry()
Construct a Tapestry over the default engine's managers.
Main namespace for the Maya Flux audio engine.
Unified rendering configuration for graphics buffers.