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

◆ on_complete()

HookId 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}
PickCallback callback
Definition Picker.cpp:22
HookId add_unique(NodeHook hook, const std::type_info &key, uint8_t tag=0, std::array< double, 2 > params={})
Appends unless an entry with the same key and params exists, in which case that entry's id is returne...
NodeHook adapt_hook(const TypedHook< ContextT > &hook)
Wraps a context-typed hook into a NodeHook.

References MayaFlux::Nodes::adapt_hook(), MayaFlux::Nodes::HookList::add_unique(), callback, and m_complete_callbacks.

+ Here is the call graph for this function: