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

◆ processing_function()

void MayaFlux::Buffers::TextureProcessor::processing_function ( std::shared_ptr< Buffer buffer)
overrideprotectedvirtual

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 66 of file TextureProcessor.cpp.

67{
68 if (!m_texture_buffer) {
69 return;
70 }
71
73
75}
void update_geometry_if_dirty()
Regenerate quad vertices if transform changed, upload if needed.
void update_pixels_if_dirty()
Re-upload pixels to GPU if they changed.
std::shared_ptr< TextureBuffer > m_texture_buffer

References m_texture_buffer, update_geometry_if_dirty(), and update_pixels_if_dirty().

+ Here is the call graph for this function: