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

◆ GpuComputeContext()

MayaFlux::Nodes::GpuSync::GpuComputeContext::GpuComputeContext ( const Yantra::GpuChannelResult result)
inlineexplicit

Definition at line 19 of file GpuComputeNode.hpp.

20 : NodeContext(result.primary.empty() ? 0.0 : static_cast<double>(result.primary[0]))
21 , gpu_result(result)
22 {
23 }
const Yantra::GpuChannelResult & gpu_result
Reference to the full dispatch result. Valid during callback only.
NodeContext(double value)
Protected constructor for NodeContext.
Definition Node.hpp:103