|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inline |
Resolve a binding of this context to a shared buffer owned by another context.
Every shader of this context that binds (set, binding_index) then reads the source buffer, in the order of the shared recording and with no copy. Both contexts must have been given the same recording. The import follows the owner when it replaces the buffer. Treat it as read only: only the owner declares and grows the buffer.
| set | Set of the binding to resolve here. |
| binding_index | Binding to resolve here. |
| source | Context that owns the buffer. |
| source_set | Set of the source buffer. |
| source_binding_index | Binding of the source buffer. |
| element_type | Element type expected here. Its width must equal the owner's. |
| std::invalid_argument | when the source holds no such buffer, the recordings differ, the widths differ, or the binding already holds a different buffer. |
Definition at line 327 of file GpuDispatchCore.hpp.
References GpuDispatchCore(), and m_resources.