|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
protectedvirtual |
Collect the writes for the push descriptor set, set 0.
| buffer | Buffer under processing. |
| writes | Receives one entry per binding of set 0. |
Called once per dispatch, after the pipeline is bound, so a binding that changes between cycles needs no descriptor rewrite. The default pushes the buffer's staged set 0 bindings and the bound buffers whose config binding is in set 0. Subclasses that resolve handles per cycle (field generations, ping-pong state, textures) call the parent, then append their own writes.
Reimplemented in MayaFlux::Buffers::NetworkStateFieldProcessor, MayaFlux::Buffers::RelaxationEmitProcessor, MayaFlux::Buffers::RelaxationStepProcessor, MayaFlux::Buffers::UVFieldProcessor, MayaFlux::Buffers::VertexFieldProcessor, MayaFlux::Buffers::VolumeFieldProcessor, and MayaFlux::Buffers::VolumeSurfaceProcessor.
Definition at line 331 of file ComputeProcessor.cpp.
References MayaFlux::Buffers::ShaderProcessor::m_bound_buffers, and MayaFlux::Buffers::ShaderProcessor::m_config.
Referenced by MayaFlux::Buffers::NetworkStateFieldProcessor::collect_push_writes(), MayaFlux::Buffers::RelaxationEmitProcessor::collect_push_writes(), MayaFlux::Buffers::RelaxationStepProcessor::collect_push_writes(), MayaFlux::Buffers::UVFieldProcessor::collect_push_writes(), MayaFlux::Buffers::VertexFieldProcessor::collect_push_writes(), MayaFlux::Buffers::VolumeFieldProcessor::collect_push_writes(), MayaFlux::Buffers::VolumeSurfaceProcessor::collect_push_writes(), and execute_shader().