|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nexus::Agent::add_influence_target | ( | std::shared_ptr< Buffers::RenderProcessor > | proc | ) |
Add a render processor to receive GPU-side influence data.
Allocates the shared influence UBO on the first call. Subsequent calls bind the same UBO to the new processor: all targets receive identical context data each commit. Adding the same processor twice is a no-op.
| proc | Render processor to target. Ignored if null. |
Definition at line 16 of file Agent.cpp.
References MayaFlux::Journal::Init, m_influence_targets, m_influence_ubo, MF_ERROR, MayaFlux::Journal::Nexus, MayaFlux::Buffers::VKBuffer::UNIFORM, and MayaFlux::Kakshya::UNKNOWN.