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

◆ processing_function()

void MayaFlux::Buffers::InfluxProcessor::processing_function ( const std::shared_ptr< Buffer > &  buffer)
overridevirtual

The core processing function that must be implemented by derived classes.

Parameters
bufferBuffer to process

This method is where the actual transformation logic is implemented. It should contain the algorithmic details of how the buffer's data is transformed, analyzed, or processed. The implementation can utilize any backend capabilities available to the processor, including:

  • Parallel Processing: Using multi-threading or GPU compute for large datasets
  • Data Transformations: Applying mathematical operations, filters, or effects
  • Feature Extraction: Analyzing data characteristics for further processing

Derived classes must override this method to provide specific processing behavior.

Implements MayaFlux::Buffers::BufferProcessor.

Definition at line 89 of file InfluxProcessor.cpp.

90{
91 if (get_volume()) {
94 }
95
97}
void write_lattice_word7(float value)
Write word seven of the parameter prefix, at byte offset 28.
void processing_function(const std::shared_ptr< Buffer > &buffer) override
Rewrite field descriptors, run the shader, then swap.
const std::shared_ptr< VolumeGridBuffer > & get_volume() const
The attached volume, or null if attachment failed validation.

References MayaFlux::Buffers::VolumeFieldProcessor::get_volume(), m_elapsed, m_time_step, MayaFlux::Buffers::VolumeFieldProcessor::processing_function(), and MayaFlux::Buffers::VolumeFieldProcessor::write_lattice_word7().

+ Here is the call graph for this function: