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

◆ processing_function()

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

Rewrite field descriptors, then run the shader.

The primary vertex buffer's handle can change on resize, so bindings are rewritten every cycle rather than once, the same reasoning VolumeFieldProcessor applies to fields that may have swapped.

Implements MayaFlux::Buffers::BufferProcessor.

Definition at line 181 of file SpatialHashProcessor.cpp.

182{
185 }
186
188}
virtual void processing_function(const std::shared_ptr< Buffer > &buffer)=0
The core processing function that must be implemented by derived classes.
void write_field_descriptors()
Issue descriptor writes for every entry in the binding table.
std::shared_ptr< NetworkGeometryBuffer > m_buffer
bool are_descriptors_ready() const
Check if descriptors are initialized.

References MayaFlux::Buffers::ShaderProcessor::are_descriptors_ready(), m_buffer, MayaFlux::Buffers::BufferProcessor::processing_function(), and write_field_descriptors().

Referenced by MayaFlux::Buffers::ClaimAccumulateProcessor::processing_function().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: