|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nexus::Agent::set_influence_target | ( | std::shared_ptr< Buffers::RenderProcessor > | proc | ) |
Set the render processor to target for GPU-side influence delivery.
Creates a UBO matching the InfluenceUBO layout, registers a binding named "u_influence" at set=1 binding=0 on the target processor, and binds the UBO. On each subsequent invoke(), the context fields are packed into the UBO automatically.
| proc | Target render processor. Must outlive this Emitter or be cleared via clear_influence_target() first. |
Definition at line 9 of file Agent.cpp.
References clear_influence_target(), MayaFlux::Journal::Init, m_influence_target, m_influence_ubo, MF_ERROR, MayaFlux::Journal::Nexus, MayaFlux::Buffers::VKBuffer::UNIFORM, and MayaFlux::Kakshya::UNKNOWN.
Here is the call graph for this function: