|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< InfluxProcessor > MayaFlux::Buffers::VolumeGridBuffer::influx | ( | const std::string & | field, |
| const InfluxProcessor::Spot & | spot, | ||
| const std::string & | shader = "volume_influx_blob.comp.spv" |
||
| ) |
Add an influx stage to this volume's chain and return it.
| field | Name of the double buffered field added into. |
| spot | Placement and strength. |
| shader | Shader defining shape(). The default is a soft round blob. |
Call after registration. A stage added before setup_flow runs ahead of the flow stages, which is where an influx belongs. One added after runs behind them, so what it adds is not transported until the next cycle.
Definition at line 299 of file VolumeGridBuffer.cpp.
References MayaFlux::Journal::Buffers, chain, MayaFlux::Buffers::VKBuffer::get_processing_chain(), MayaFlux::Journal::Init, and MF_ERROR.
Here is the call graph for this function: