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

◆ set_time_step()

void MayaFlux::Buffers::BuoyancyProcessor::set_time_step ( float  dt)

Set the integration step passed to the shader each cycle.

Parameters
dtSeconds per step. Match the advection stage's step.

Definition at line 97 of file BuoyancyProcessor.cpp.

98{
99 m_time_step = dt;
100 if (get_volume()) {
101 write_tail();
102 }
103}
void write_tail()
Write every parameter past the shared prefix.
const std::shared_ptr< VolumeGridBuffer > & get_volume() const
The attached volume, or null if attachment failed validation.

References MayaFlux::Buffers::VolumeFieldProcessor::get_volume(), m_time_step, and write_tail().

+ Here is the call graph for this function: