|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Buffers::BuoyancyProcessor::BuoyancyProcessor | ( | std::string | temperature_field, |
| std::string | density_field, | ||
| std::string | velocity_field, | ||
| const glm::vec3 & | direction, | ||
| const Portal::Graphics::ShaderSpec & | spec | ||
| ) |
Construct a buoyancy stage from a generated ShaderSpec.
| temperature_field | Name of the scalar field driving rise. |
| density_field | Name of the scalar field driving fall. |
| velocity_field | Name of the field accumulated into. |
| direction | Force axis and magnitude in world units. |
| spec | ShaderSpec implementing the accumulate. |
Definition at line 56 of file BuoyancyProcessor.cpp.
References MayaFlux::Buffers::VolumeFieldProcessor::add_swap_field(), and m_velocity_field.
Here is the call graph for this function: