|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nexus::Agent::add_influence_target | ( | std::shared_ptr< Buffers::RenderProcessor > | proc, |
| uint32_t | set = 1, |
||
| uint32_t | binding = 0 |
||
| ) |
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. |
| set | Descriptor set index for the UBO binding. Default is 1. |
| binding | Descriptor binding index for the UBO. Default is 0. |
Definition at line 16 of file Agent.cpp.
References MayaFlux::Journal::Init, m_influence_targets, m_influence_ubo, MF_ERROR, MayaFlux::Journal::Nexus, and MayaFlux::Kakshya::UNKNOWN.