|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Buffers::SolenoidalProcessor::SolenoidalProcessor | ( | std::string | pressure_field, |
| std::string | velocity_field, | ||
| const std::string & | shader_path | ||
| ) |
Construct a gradient subtraction stage.
| pressure_field | Name of the scalar field differentiated. Must have stride sizeof(float). |
| velocity_field | Name of the field corrected. Must have stride sizeof(glm::vec4) and be double-buffered. |
| shader_path | Path to the compute shader. |
Definition at line 15 of file SolenoidalProcessor.cpp.
References MayaFlux::Buffers::VolumeFieldProcessor::add_swap_field(), and m_velocity_field.
Here is the call graph for this function: