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

◆ set_time_step()

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

Set the integration step passed to the shader each cycle.

Parameters
dtSeconds per step. Takes effect next cycle.

Definition at line 55 of file AdvectProcessor.cpp.

56{
57 m_time_step = dt;
58 if (get_volume()) {
59 write_tail();
60 }
61}
void write_tail()
Write time step and dissipation 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: