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

Context for TextureNode - provides pixel buffer access. More...

#include <TextureNode.hpp>

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

Public Member Functions

 TextureContext (double value, uint32_t width, uint32_t height, std::span< const float > pixel_data)
 
- 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

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

Friends

class TextureNode
 

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 TextureNode - provides pixel buffer access.

Definition at line 11 of file TextureNode.hpp.


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