MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Nodes::GpuSync::ComputeOutContext Class Reference

Context for ComputeOutNode - provides readback buffer access. More...

#include <ComputeOutNode.hpp>

+ Inheritance diagram for MayaFlux::Nodes::GpuSync::ComputeOutContext:
+ Collaboration diagram for MayaFlux::Nodes::GpuSync::ComputeOutContext:

Public Member Functions

 ComputeOutContext (double value, std::span< const float > readback_data, size_t element_count)
 
- Public Member Functions inherited from MayaFlux::Nodes::NodeContext
virtual ~NodeContext ()=default
 
template<typename T >
T * as ()
 Safely cast to a derived context type.
 
- Public Member Functions inherited from MayaFlux::Nodes::GpuVectorData
 GpuVectorData ()=default
 
 GpuVectorData (std::span< const float > data)
 
std::span< const float > gpu_data () const
 
size_t gpu_data_size () const
 
bool has_gpu_data () const
 

Public Attributes

size_t element_count
 
- Public Attributes inherited from MayaFlux::Nodes::NodeContext
double value
 Current sample value.
 
std::string type_id
 Type identifier for runtime type checking.
 

Friends

class ComputeOutNode
 

Additional Inherited Members

- Protected Member Functions inherited from MayaFlux::Nodes::NodeContext
 NodeContext (double value, std::string type)
 Protected constructor for NodeContext.
 
- Protected Attributes inherited from MayaFlux::Nodes::GpuVectorData
std::span< const float > m_gpu_data
 

Detailed Description

Context for ComputeOutNode - provides readback buffer access.

Definition at line 15 of file ComputeOutNode.hpp.


The documentation for this class was generated from the following file: