MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ on_complete()

void MayaFlux::Nodes::GpuSync::GpuComputeNode::on_complete ( const TypedHook< GpuComputeContext > &  callback)

Register a callback fired once per completed dispatch.

Parameters
callbackReceives a GpuComputeContext carrying the GpuChannelResult.

Definition at line 64 of file GpuComputeNode.cpp.

65{
67}
std::vector< TypedHook< GpuComputeContext > > m_complete_callbacks
bool safe_add_callback(std::vector< TypedHook< ContextT > > &callbacks, const TypedHook< ContextT > &callback)
Adds a callback to the collection if an equivalent one is not already present.
Definition NodeUtils.hpp:77

References m_complete_callbacks, and MayaFlux::Nodes::safe_add_callback().

+ Here is the call graph for this function: