MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Attachment.hpp File Reference
#include "Influence.hpp"
+ Include dependency graph for Attachment.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MayaFlux::Nexus::AttachConfig
 How an Agent attaches to a buffer that already exists. More...
 
struct  MayaFlux::Nexus::Attachment
 State of one Agent attached to an existing buffer. More...
 

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Buffers
 
namespace  MayaFlux::Nexus
 

Functions

void MayaFlux::Nexus::apply_attachment (Attachment &attachment, const InfluenceContext &ctx)
 Rebuild the transform from ctx and place every render processor of the buffer.
 
void MayaFlux::Nexus::follow_attachment (Attachment &attachment, std::optional< glm::vec3 > &position, const std::optional< glm::quat > &orientation)
 Set position from the buffer, or fold an outside move into the attachment.
 
Attachment MayaFlux::Nexus::make_attachment (std::shared_ptr< Buffers::VKBuffer > buf, const AttachConfig &config, const std::optional< glm::quat > &orientation)
 Build an attachment to buf.
 
void MayaFlux::Nexus::place_attachment (Attachment &attachment)
 Place every render processor of the buffer that is not placed yet.
 
void MayaFlux::Nexus::recenter_attachment (Attachment &attachment, std::optional< glm::vec3 > &position, const std::optional< glm::quat > &orientation)
 Read the buffer's geometry again and move the anchor to match.
 
void MayaFlux::Nexus::release_attachment (Attachment &attachment)
 Give every placed render processor back the geometry transform it had.