|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inline |
Switch which shader subsequent dispatch_core calls target.
No longer destroys any GpuResourceManager state: each shader path is a persistent key in GpuResourceManager, created once and reused. Switching back to a previously-used shader is free. Preserves all staged image and buffer bindings, same as before.
Use to drive a multi-op sequence through one context: stage the input image, call swap_shader + dispatch_core per op, pipe get_output_image(0) back in via stage_image between steps.
| config | Shader config for the next dispatch. |
Definition at line 192 of file GpuDispatchCore.hpp.