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

◆ on_frame()

HookId MayaFlux::Nodes::Input::TabletNode::on_frame ( FrameCallback  callback)
inline

Callback on every frame, with the full slot set.

Definition at line 229 of file TabletNode.hpp.

230 {
231 return m_frame_callbacks.add(adapt_hook(callback), callback.target_type());
232 }
PickCallback callback
Definition Picker.cpp:22
HookId add(NodeHook hook, const std::type_info &key, uint8_t tag=0, std::array< double, 2 > params={})
Appends a hook with no duplicate check and returns its id.
NodeHook adapt_hook(const TypedHook< ContextT > &hook)
Wraps a context-typed hook into a NodeHook.

References MayaFlux::Nodes::adapt_hook(), and callback.

+ Here is the call graph for this function: