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

◆ processing_function()

void MayaFlux::Buffers::VolumeSurfaceProcessor::processing_function ( const std::shared_ptr< Buffer > &  buffer)
overrideprotectedvirtual

Write the field descriptor for this cycle's slot assignment, then run the normal shader processing path.

The field's read slot changes whenever an upstream stage swaps it, so the binding is rewritten every cycle rather than once.

Reimplemented from MayaFlux::Buffers::ShaderProcessor.

Definition at line 104 of file VolumeSurfaceProcessor.cpp.

105{
108 }
109
111}
virtual void processing_function(const std::shared_ptr< Buffer > &buffer)=0
The core processing function that must be implemented by derived classes.
bool are_descriptors_ready() const
Check if descriptors are initialized.
void write_field_descriptor()
Issue the direct ShaderFoundry descriptor write for the field read slot.
std::shared_ptr< VolumeGridBuffer > m_volume
The attached volume, cached for the descriptor write.

References MayaFlux::Buffers::ShaderProcessor::are_descriptors_ready(), m_volume, MayaFlux::Buffers::BufferProcessor::processing_function(), and write_field_descriptor().

+ Here is the call graph for this function: