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

◆ processing_function()

void MayaFlux::Buffers::SDFPrepProcessor::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 30 of file SDFPrepProcessor.cpp.

31{
33 return;
34
35 std::memset(m_grid_buf->get_mapped_ptr(), 0, corner_count() * sizeof(float));
36 std::memset(m_counter_buf->get_mapped_ptr(), 0, sizeof(uint32_t));
37}
uint32_t corner_count() const noexcept
std::shared_ptr< VKBuffer > m_counter_buf
std::shared_ptr< VKBuffer > m_grid_buf

References corner_count(), m_counter_buf, and m_grid_buf.

+ Here is the call graph for this function: