|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nexus::Emitter::set_influence_target | ( | std::shared_ptr< Buffers::RenderProcessor > | proc, |
| uint32_t | set = 1, |
||
| uint32_t | binding = 0 |
||
| ) |
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. |
| set | Descriptor set index for the UBO binding. Default is 1. |
| binding | Descriptor binding index for the UBO. Default is 0. |
Definition at line 17 of file Emitter.cpp.
References clear_influence_target(), MayaFlux::Journal::Init, m_influence_target, m_influence_ubo, MF_ERROR, MayaFlux::Journal::Nexus, and MayaFlux::Kakshya::UNKNOWN.
Here is the call graph for this function: