|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API 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.
| buf | Buffer to attach to. Must not be null. |
| config | Anchor vertex, offset and move behaviour. |
| orientation | Orientation of the Agent, if it has one. |
Definition at line 85 of file Attachment.cpp.
References MayaFlux::Nexus::Attachment::buf, MayaFlux::Nexus::AttachConfig::index, MayaFlux::Journal::Init, MF_WARN, MayaFlux::Journal::Nexus, MayaFlux::Nexus::AttachConfig::offset, and read_anchor().
Referenced by MayaFlux::Nexus::Agent::attach(), and MayaFlux::Nexus::Emitter::attach().
Here is the call graph for this function:
Here is the caller graph for this function: