|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
Context delivered to on_complete callbacks when a dispatch completes. More...
#include <GpuComputeNode.hpp>
Inheritance diagram for MayaFlux::Nodes::GpuSync::GpuComputeContext:
Collaboration diagram for MayaFlux::Nodes::GpuSync::GpuComputeContext:Public Member Functions | |
| GpuComputeContext (const Yantra::GpuChannelResult &result) | |
Public Member Functions inherited from MayaFlux::Nodes::NodeContext | |
| template<typename T > | |
| T * | as () |
| Safely cast to a derived context type. | |
| template<typename T > | |
| const T * | as () const |
| virtual | ~NodeContext ()=default |
Public Attributes | |
| const Yantra::GpuChannelResult & | gpu_result |
| Reference to the full dispatch result. Valid during callback only. | |
Public Attributes inherited from MayaFlux::Nodes::NodeContext | |
| double | value |
| Current sample value. | |
Additional Inherited Members | |
Protected Member Functions inherited from MayaFlux::Nodes::NodeContext | |
| NodeContext (double value) | |
| Protected constructor for NodeContext. | |
Context delivered to on_complete callbacks when a dispatch completes.
Carries the primary float readback and the aux map from GpuChannelResult. The contents are valid only for the duration of the callback invocation; callers that need to retain data must copy out of primary or aux.
Definition at line 17 of file GpuComputeNode.hpp.